How Many Boxes Fit in a Container?

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
MethodEnteredPlacedUnplacedContainers
Max Volume10010001
Best Balance10010001

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.

  1. Add one row for each packed box size. Enter outside width, length, height, quantity and weight per item in the selected units.
  2. Keep Horizontal Only unless the packaging and contents permit other transport faces. Set upright, fragile, stacking and maximum stack-load restrictions as needed.
  3. For loose boxes, leave palletizing off. Do not enter individual-box dimensions when the units to be loaded are already complete pallets.
  4. Select Plan 3D Cargo Loading. Read the quantity summary and each container’s loading table. Recalculate after changing an input.

Container Loading Calculator VERSION 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.

👤 Checking status...

🚢 Load Space & Units

Load Space
Best Fit region

Container Info:

Dimensions: -

Volume: 0.000 m³

Converted: 0.000 ft³

Customized PRO options

🌍 Transport mode

Do you also want to calculate the freight cost?
Planning mode Standard plan

Uses each row quantity as its available ceiling. Equal Quantity FCL currently validates loose cargo only.

Global loading rules

Apply plan-wide constraints before row-level preferences.

Workflow accelerator
Workflow accelerator

Industry loading presets

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

Model a real load space with an optional door opening, wheel arches and fixed internal obstacles. Empty fields preserve current planning behaviour.

Door opening

Wheel arches

Fixed internal obstacles

Reserve non-loadable space for pillars, machinery or other fixed equipment.
No equipment restrictions are active.
⌨️ Shortcuts: Ctrl+N New Row Ctrl+S Save Ctrl+Z Undo Ctrl+Y Redo Enter Add Row (in last row) Tab Next Field
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

📊 Summary

📦 Total volume:
0.000 m³
0.000 ft³
Total Quantity 0
⚖️ Cargo / pallet subtotal
0.0 kg
0.0 lb
Logistics & Freight
N/A
💰 Chargeable weight: 0.0 kg
⚖️ Volumetric weight: 0.0 kg
Estimated freight class N/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 data Add dimensions and quantities to calculate the loading plan.
0
🚚 Freight Class Info:

Estimate based on entered cargo density. Confirm the NMFC item, packaged dimensions, handling, stowability and liability requirements.

🚢
Shipping Recommendation
N/A Select a container and add cargo to see recommendation

💡 💡 Packing Optimizer

Add cargo data and select a container to see intelligent packing advice.

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.

ProfileLength x width x height (cm)Geometric volume (m3)Configured cargo limit (kg)
20DC589 x 235 x 23933.08128,200
40DC1203 x 235 x 23967.56628,600
40HC1203 x 235 x 26976.04828,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.

For equipment-specific context, read the 20DC loading guide, 40DC loading guide or 40ft high-cube guide.

Measure identical and mixed cartons correctly

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 illustration of three differently sized packed cartons, a scale, tape measure and blank checklist beside an empty container
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 / rowWidth (cm)Length (cm)Height (cm)QuantityWeight/item (kg)
A: identical cartons4060801025
B: cartons6080404520
B: cases10012010010125
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.

OrderEnteredPlacedUnplacedContainersCargo volume (m3)Known cargo weight (kg)
A: identical cartons1010011.920250
B: mixed boxes55550120.6402,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.

Use the step-by-step container loading guide for the input-to-report procedure or the main 3D loading tool for the broader workflow.

References and evidence date

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.

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
CargoProfileMethodEnteredPlacedUnplacedContainers
C10020DCMax Volume10010001
C10020DCBest Balance10010001
C10040DCMax Volume10010001
C10040DCBest Balance10010001
C10040HCMax Volume10010001
C10040HCBest Balance10010001
T1020DCMax Volume100100
T1020DCBest Balance100100
T1040DCMax Volume100100
T1040DCBest Balance100100
T1040HCMax Volume101001
T1040HCBest Balance101001

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.

For loaded pallets, see the 120 × 80 and 120 × 100 cm comparison; for profile selection see the four-order equipment comparison.

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.

Product facts, assumptions and limits (English)

Scroll to Top