Home · Everyday · Life, School & Work · Container Loading Calculator
Container Loading Calculator
How many cartons fit a shipping container (grid packing, all orientations) — 20 ft, 40 ft and 40 ft high-cube.
What this calculator does
How many cartons fit a shipping container (grid packing, all orientations) — 20 ft, 40 ft and 40 ft high-cube. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.
The formula and method
The count tries all six orientations of the carton and keeps the best axis-aligned packing.
Internal container dimensions are the industry-standard nominal figures.
Real loads lose space to pallets, dunnage and door clearance — treat the count as an upper bound.
Worked example
With the example inputs this page opens with (carton length (cm) 40, carton width (cm) 30, carton height (cm) 20), the result is 2310 — cartons that fit (grid packing). Against the 40 ft standard (internal, cm). All six orientations are tried. Real loads fit fewer: door clearance, carton bulge, pallet overhang rules and weight limits all eat space — planners treat grid counts as an upper bound.
Quick reference
| Carton length (cm) | Cartons that fit (grid packing) |
|---|---|
| 20 | 4840 |
| 32 | 3080 |
| 40 | 2310 |
| 50 | 1848 |
| 60 | 1540 |
| 80 | 1155 |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
How does the Container Loading Calculator work?
How many cartons fit a shipping container (grid packing, all orientations) — 20 ft, 40 ft and 40 ft high-cube. Carton size · Container → Carton count. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Container Loading Calculator need?
Carton size · Container → Carton count. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.
Is the Container Loading Calculator free to use?
Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.