There is no single box count for a 20ft or 40ft container. The outside dimensions, quantity, weight and handling rules of your cargo determine the plan. Test an identical or mixed order below, then compare the entered, placed and unplaced quantities.
In Standard plan, this calculator tests the quantity you enter. It does not search for an unlimited maximum number of boxes or prove a mathematically optimal arrangement. A plan can use more than one container, so check the container count as well as the placed total.
Checked example: can 100 cartons fit in one 20ft container?
This synthetic order placed all 100 cartons in one 20DC planning profile. A live guest-browser check on 31 October 2026 used CBM3 11.63.94, Metric, Standard plan and the 589 x 235 x 239 cm profile. Each carton was 60 x 40 x 40 cm and 12 kg. Rotation was Horizontal Only, stacking was enabled, and palletizing was off. The arithmetic totals are 9.600 m3 and 1,200 kg of cargo.
Same inputs and handling rules; automatically compared methods
Method
Entered
Placed
Unplaced
Containers
Max Volume
100
100
0
1
Best Balance
100
100
0
1
This is a recorded software result for those inputs, not the maximum carton capacity of every 20ft container. Additional packing materials and equipment tare are not included in the cargo subtotal; it is not VGM. Verify the actual unit, door access, packaging strength, loading method and securing separately. The older examples below retain their original 11.63.53 evidence date.
Test your box quantities
The starting equipment is 20DC. Select 40DC, 40HC or another suitable profile if needed before planning. Your own selection or a saved calculation takes priority over a starting preset. Selecting equipment does not start a calculation.
Keep Standard plan selected for this page’s tests. The separate Equal Quantity FCL mode answers a different question and is not the entered-order workflow described here.
Add one row for each packed box size. Enter outside width, length, height, quantity and weight per item in the selected units.
Keep Horizontal Only unless the packaging and contents permit other transport faces. Set upright, fragile, stacking and maximum stack-load restrictions as needed.
For loose boxes, leave palletizing off. Do not enter individual-box dimensions when the units to be loaded are already complete pallets.
Select Plan 3D Cargo Loading. Read the quantity summary and each container’s loading table. Recalculate after changing an input.
Container Loading CalculatorVERSION 11.64.00
Test your carton quantities
Enter one or more carton rows and a quantity for each. The result tests the entered order, not an unlimited capacity.
Unsaved cargo changes. Save your calculation before leaving this page.
💾 Save Calculation
🔍 Load by Save Code
Enter the save code (e.g. CBM-ABC123) to load a saved calculation.
The file could not be read. Check its format and try again.
1 USD = 1.00 USD
📥 Import from CSV / Excel
▼
Upload CSV, TSV or Excel. Use the template for units and loading rules. Length may be blank for cylinders. Invalid rows are shown before you choose what to import.
📤 Export Data
▼
Cargo CSV/XLSX does not include private CSC/VGM records. Transfer those separately in Private record files.
Export current table data together with the new loading constraints, plus calculation results such as volume, density and freight class.
Filename: CBM_Export_YYYY-MM-DD.csv/xlsx
🚢 Load Space & Units
Load Space
No matching containers
Schematic equipment icons, not to scale. Check the selected profile's dimensions and restrictions.
Custom Container Dimensions
My Equipment
Approximate ULD model
Approximate planning only. This model is not approved by a carrier or manufacturer. Fit and loading feasibility in real equipment have not been verified. Check the actual interior, door clearance and carrier requirements before loading.
Enter a rectangular planning envelope in cm. No internal dimensions are inferred from photos or external dimensions. Tapered extensions are excluded. The entered cargo weight limit is an assumption, not a verified rating; if blank, payload is not assessed.
Open-deck profile settings
Enter the operating envelope for this equipment before planning.
Open-deck results are planning aids. Verify the actual vehicle, route, legal limits and cargo securement.
My cargo dimensions do not include pallets
This ULD is already a container or aircraft pallet; nested palletization is disabled.
📦 Pallet ConfigurationShared shipment settings appear when a row uses pallets.
For a second pallet layer, open Advanced loaded-pallet stacking, enable it and enter the verified weight limit. The row's Stackable setting alone applies to cargo on a pallet.
Row controls choose how each product uses pallets. These shared settings define the Auto Compare pool, shipment default height, groups and advanced stacking.
Check only profiles that Auto Compare may consider. A fixed row selection does not need a checkbox here.
Advanced profile assignment
Optional ordering behavior for Auto Compare. Fixed pallet choices are made in each cargo row.
Required specifications for generic pallets
Enter the real pallet deck height. Tare and cargo limit are optional; weight validation remains unverified when omitted.
Advanced loaded-pallet stacking
This is a user-supplied operating rule, not a pallet certificate. Full footprint support, a flat top and non-fragile stackable cargo are still required.
Apply proven starting rules, then adjust any row or plan rule to match the shipment.
Applies only the selected starting defaults. You can edit any value afterwards.
Equipment restrictions
⌨️ Shortcuts:Ctrl+N New RowCtrl+S SaveCtrl+Z UndoCtrl+Y RedoEnter Add Row (in last row)Tab Next Field
📚 Product Library 0 items▼
Products are added with quantity 1. New manual products use standard rules; save a cargo row to keep its loading rules.
No saved products yet. Save a row to build your library.
Use only for box-shaped units with flat rigid load-bearing faces in allowed orientations. Assumes a centered center of gravity; verifies static balance, not transport forces or crushing strength.
🕒 Calculation History 0 records▼
Last 10 calculations are auto-saved. Click to reload.
No history yet. Calculations are automatically saved.
📋 Templates Saved templates: 0▼
Templates now keep product constraints such as pallet requirement, rotation mode, side-up rule, fragile flag, max stack, loading priority and drop-off stop.
No templates saved yet.
📁 My Records 0▼
Your saved calculations. Click to reload.
No saved calculations yet.
CBM3
Total Items
Set handling and route constraints for this cargo row.
Item Name
Width [cm]
x
Length [cm]
x
Height [cm]
Qty
Wt/pc [kg]
Total [kg]
Volume [m³]
Density (kg/m³)
Est. class
Actions
Number of rows to add: 1–100
Approximate planning only. This model is not approved by a carrier or manufacturer. Fit and loading feasibility in real equipment have not been verified. Check the actual interior, door clearance and carrier requirements before loading.
📊 Summary
📦Total volume:
0.000m³
0.000ft³
Total Quantity0
Net cargo volume (excluding pallets)
0.000 m³
⚖️Cargo / pallet subtotal
0.0kg
0.0lb
Logistics & Freight
N/A
💰 Chargeable weight:0.0 kg
⚖️ Volumetric weight:0.0 kg
Estimated freight classN/A
Cargo/pallet subtotals and freight estimates exclude additional packing materials and equipment tare. They are not the complete loaded mass.
Total rows:0
Planned load spaces:0
Selected load space
Automatic
○
Ready for cargo dataAdd dimensions and quantities to calculate the loading plan.
0
Matched-set resultEqual Quantity FCL result
Matched sets0
Per SKU0
Total units0
📦 Pallet Configuration
Pallets needed
0
Cargo / pallet subtotal
0kg
Cargo/pallet subtotals and freight estimates exclude additional packing materials and equipment tare. They are not the complete loaded mass.
Avg pallet fill
0%
Cargo area
—
📏 Loading Metres (LDM)
LDM:— / 13.6 m
0%
Floor positions: —
Cargo/pallet subtotals and freight estimates exclude additional packing materials and equipment tare. They are not the complete loaded mass.
✈️ Chargeable Weight
Actual Weight:—
Volumetric Weight:—
Chargeable Weight:—
🚚 Freight Class Info:
Estimate based on entered cargo density. Confirm the NMFC item, packaged dimensions, handling, stowability and liability requirements.
🚢
Shipping Recommendation
N/ASelect a container and add cargo to see recommendation
⭐ ⭐ Best Fit Container
Add cargo and select a sea container to see Best Fit recommendation.
💡 💡 Packing Optimizer
Add cargo data and select a container to see intelligent packing advice.
🌍 🌍 Transport Mode Comparison
Volumetric weight & cost comparison across all modes
💡 💡 Smart Insights
Shipment-level estimates, not carrier quotations. The displayed comparison factors are planning assumptions. The air-ULD panel uses its own separate divisor. Confirm the service, per-piece rules, rounding and minimum charges with your carrier.
3D visualization is not available for refrigerated containers.
🎮 🎮 3D Loading Simulation
Approximate planning only. This model is not approved by a carrier or manufacturer. Fit and loading feasibility in real equipment have not been verified. Check the actual interior, door clearance and carrier requirements before loading.
View
Camera
Equipment exteriors are illustrative. In realistic view, near walls may hide to reveal cargo; load-space dimensions and loading rules do not change.
0 / 0
Multi-container load planReview each container and any unplaced cargo separately.
ℹ️ Step Information
Item:—
Dimensions:—
Weight:—
Drop-off Stop:—
Alternative load plans
Compare loading plans
Choose the plan that best matches capacity, balance, or warehouse handling priorities.
3 scenarios
Your selection drives the summary, 3D view, PDF, saved record, and shared link.
Pareto Explorer
Compare non-dominated completed plans. This view never starts another solver.
Public plan handoffShare this loading planSend an editable plan link to your customer, warehouse or logistics team.
Loading method:
Transport Check
⚖️ Weight Distribution
Rear:—
Front:—
📊 Volume utilization
📦 Volume
0%
⚖️ Weight
0%
🧾 Create Quote / Request
Fill in your details to generate a professional quote PDF or send via WhatsApp/Email.
Only the selected mode's details will appear in the generated PDF quote.
🚢 Sea Freight Details
✈️ Air Freight Details
🚛 Road Freight Details
Rail Freight Details
Rail cost is calculated only from the carload quote you enter. Confirm operator, route and accessorial charges.
📎 Attach images: Ctrl+V paste or drag & drop (PNG/JPG/GIF/WEBP, max 2MB)
🔒 Your information is stored locally in your browser only. We do not collect or transmit your data.
📂 Recent Quotes
No quotes generated yet.
Read placed, unplaced and container counts together
The task summary compares entered, placed and unplaced units for each input row. Placed does not necessarily mean placed in one container. A total of 100 placed units across two containers does not answer whether all 100 fit in one. Open the container-level tables and inspect the distribution of each box size.
An order of three 40 x 60 x 80 cm cartons at 25 kg each and one 300 x 650 x 300 cm item at 50 kg produced three placed and one unplaced in the checked 20DC software test. The oversized item remains in the requested order. A completed calculation with a remainder is not a fully placed shipment.
How many boxes fit in a 20ft, 40ft or high-cube container?
Start with your actual carton sizes and order quantity, not a generic box count. A longer container adds floor length; a high cube adds height. Neither change guarantees another complete row or layer when box dimensions, stacking permission or weight are the limiting factor.
CBM3 11.63.53 planning inputs, not a specification for every real container
Scroll horizontally to see all columns. Keyboard users can focus this table region and use the arrow keys.
Profile
Length x width x height (cm)
Geometric volume (m3)
Configured cargo limit (kg)
20DC
589 x 235 x 239
33.081
28,200
40DC
1203 x 235 x 239
67.566
28,600
40HC
1203 x 235 x 269
76.048
28,600
The volumes above are calculated from the displayed software dimensions, not rounded marketing capacities. Door openings and real payload must be checked separately. Confirm the assigned container’s interior, door aperture and permitted load with its operator; Hapag-Lloyd’s fleet guidance notes that specifications vary by manufacturer. Do not treat the configured cargo limits as a legal allowance for every shipment.
Use the outside envelope of the packed carton, including any bulge or attached packaging that occupies space. One row can represent identical cartons; different sizes or handling permissions need separate rows. Enter the count of packed transport units, not the number of retail products hidden inside each box.
Keep dimensions and weight units consistent. When weighing one packed carton, include its packaging. If you model already loaded pallets, use their complete outside footprint, total height and gross weight, including pallet tare once. Do not add a second pallet beneath an already palletized unit or permit vertical tipping merely to improve the count.
AI-generated explanatory illustration: prepare box dimensions, quantities and weights before planning. This is not a measured shipment, a scale drawing or a CBM3 calculation result.
Two reproducible box-loading examples
These synthetic orders were checked with CBM3 11.63.53. Dimensions are width x length x height in centimeters; weights are kilograms per item. Run A and B separately using 20DC, metric units, Horizontal Only and stackable boxes. Leave This Side Up and Fragile off, maximum stack weight unlimited, priority Normal, delivery stop None, palletizing off and global rules off.
Input rows: run order A and order B separately
Scroll horizontally to see all columns. Keyboard users can focus this table region and use the arrow keys.
Order / row
Width (cm)
Length (cm)
Height (cm)
Quantity
Weight/item (kg)
A: identical cartons
40
60
80
10
25
B: cartons
60
80
40
45
20
B: cases
100
120
100
10
125
Checked Max Volume results for the entered orders
Scroll horizontally to see all columns. Keyboard users can focus this table region and use the arrow keys.
Order
Entered
Placed
Unplaced
Containers
Cargo volume (m3)
Known cargo weight (kg)
A: identical cartons
10
10
0
1
1.920
250
B: mixed boxes
55
55
0
1
20.640
2,150
Order B places 45 cartons and 10 cases in the same container. These results establish a checked placement of those entered quantities, not the largest possible number. A different permitted orientation or search method can change the arrangement. Do not compare methods after changing their cargo permissions.
Why CBM alone does not prove a fit
For rectangular cartons measured in centimeters, calculate width x length x height x quantity / 1,000,000, then add the row volumes. Order A is 40 x 60 x 80 x 10 / 1,000,000 = 1.920 m3. FedEx’s cubic-meter guidance uses the same volume principle and sums different-size packages separately.
Dividing container volume by carton volume gives a volume-only upper bound for identical cartons, not a loading plan. It ignores wasted strips, permitted faces, non-stackable items, loading access and weight. Avoid a universal fill-percentage adjustment: it cannot prove that your specific order fits. Use the CBM calculator when you only need volume arithmetic.
Check rotation, stacking and weight before increasing quantity
A 40 x 60 x 250 cm item occupies only 0.600 m3. Its 250 cm upright height exceeds this 20DC profile’s 239 cm height. The checked Horizontal Only case left it unplaced; Full 3D explicitly permitted with This Side Up off allowed it to be placed. This changes the handling permission, not the optimizer’s quality. Do not tip cargo that must stay upright.
Empty space is not proof that another carton can be added. The remaining space may be too narrow or may not support the cargo under its stacking rules. The shipment may also reach its entered weight limit before filling the geometric volume. Missing packaging strength, securing, door or transport information still requires review even when the entered count is fully placed.
Common box-capacity questions
Can I test mixed box sizes in one container?
Yes. Add a separate row for each size or rule set and enter its quantity. Check both the whole-order result and container-level quantities; mixed-size planning is not the same as multiplying a uniform grid by its number of layers.
Does a 40ft container always fit twice as many boxes as a 20ft?
No fixed multiplier answers every order. Compare the actual interior profiles with the same carton dimensions and rules. Floor geometry, complete layers, cargo weight and restrictions can change the count.
Can I use inches and pounds?
Choose the matching unit system before entering data and review the displayed units. Do not type centimeter values into inch fields. The worked tables on this page use centimeters and kilograms.
Does Excel calculate the 3D arrangement?
CSV/XLSX import transfers rows to the web calculator; it is not an Excel optimization engine. Use the current template from the calculator, review imported quantities and rotation permissions, and run the web plan. Missing or invalid fields must be corrected rather than silently ignored.
Can I leave quantity blank to find the maximum?
No. This workflow tests an order with explicit quantities. It does not perform an unlimited capacity search or certify a mathematical optimum or minimum container count.
Before using the loading plan
Confirm actual internal and door dimensions, permitted loads, packaging strength, handling clearance and securing arrangements with the responsible loading team. A simulation is a planning aid, not a securing design, VGM declaration or transport-safety certificate. An unassessed check is not a pass.
Named references: FedEx, Cubic Meter (CBM) glossary, for volume arithmetic; Hapag-Lloyd, Container Offerings, for fleet-specification variability; IMO/ILO/UNECE, CTU Code, for non-mandatory cargo-packing guidance. The numerical profile table and worked results come from CBM3’s checked software sources and tests, not a universal carrier specification.
Technical copy, source checks and recorded example evidence reviewed: 6 October 2026. Examples are simulated orders, not measured loading trials.
If cartons first need to become a loaded pallet, compare pallet loading patterns and the four-carton layer example before testing the finished pallet here. Count pallet base height and tare once, and preserve the upright and stacking permissions.
Same CBM, different geometry: six checked box-loading cases
Recorded on with live CBM3 11.63.94. Each order/profile was run in the browser; the two displayed methods were cross-checked against a replay of the same public production worker sources. These are synthetic software examples, not measured loading trials.
Use Metric, Standard plan, Horizontal Only and floor loading; leave global rules and pallet creation off. Keep This Side Up and Fragile off, maximum stack load unlimited, priority Normal and delivery stop None for these reproducible examples. Real cargo permissions must come from its packaging and handling requirements, not from this test.
Profile length × width × height: 20DC 589 × 235 × 239 cm; 40DC 1203 × 235 × 239 cm; 40HC 1203 × 235 × 269 cm. Configured cargo limits: 28,200 / 28,600 / 28,600 kg respectively. These software profiles are not universal fleet specifications.
C100: 100 cartons, 60 × 40 × 40 cm, 12 kg each, stackable. T10: 10 tall units, 48 × 80 × 250 cm, 120 kg each, stackable. Dimensions are width × length × height. Both orders total exactly 9.600 m³ and 1,200 kg. Run each order separately; do not change the permitted orientation between methods.
Twelve recorded method results for two box geometries
Cargo
Profile
Method
Entered
Placed
Unplaced
Containers
C100
20DC
Max Volume
100
100
0
1
C100
20DC
Best Balance
100
100
0
1
C100
40DC
Max Volume
100
100
0
1
C100
40DC
Best Balance
100
100
0
1
C100
40HC
Max Volume
100
100
0
1
C100
40HC
Best Balance
100
100
0
1
T10
20DC
Max Volume
10
0
10
0
T10
20DC
Best Balance
10
0
10
0
T10
40DC
Max Volume
10
0
10
0
T10
40DC
Best Balance
10
0
10
0
T10
40HC
Max Volume
10
10
0
1
T10
40HC
Best Balance
10
10
0
1
The 250 cm upright units exceed the two 239 cm dry-container profiles, despite having the same total CBM as C100. The 269 cm high-cube profile placed them in this software check. Door access and real loading operations remain separate checks.
The table reports the entered order across all generated containers, not a maximum capacity or a proven optimum. Zero containers with unplaced cargo means no usable plan for those units, not that no container is needed. Check actual interior and door dimensions, load limits, packaging strength, handling access and securing separately. Cargo subtotals are not VGM; these results are not transport-safety approval.
From shipment volume to a practical loading plan
A container loading calculator should answer two different questions: how much volume the shipment has, and whether its actual packages can be placed under the declared rules. Review both, not just a percentage-full image.
What does the 3D plan check?
Enter packed outside dimensions, quantity and per-unit mass. Set real rotation, stacking, pallet and equipment restrictions, then inspect placed and unplaced units. A feasible candidate is not proof of maximum capacity or the fewest possible containers.
Free browser-based planning
The core calculation, import and 3D workflow is free without installing desktop software. Technical file, browser-resource and method limits still apply. An optional account provides account-linked records; it does not make a public share link private.
Use the finished shipping unit
For an already loaded pallet, include its base, protrusions and total gross mass once. For carton-to-pallet planning, enter cartons and let the pallet workflow add the declared base and tare. These are different input workflows.
Arithmetic example, not a fit promise: 100 boxes of 60 × 40 × 40 cm, each 12 kg, total 9.6 m³ and 1200 kg of cargo. Test those units in the planner. Door access, package strength, securing, additional materials and equipment tare remain separate; the cargo subtotal is not VGM.