Container Loading Calculator
Work out how many cartons fit in a shipping container — and how much of the box they actually fill. Enter the carton, pick the container, and the loading plan runs in your browser.
Cartons must sit inside the container — no overhang, no crushing the door frame. Everything is calculated in your browser; nothing is uploaded.
How the loading math works
The calculator tries all six orientations of the carton — length, width and height in every order — and keeps the one that fits the most cartons: floor(container length ÷ carton length) × floor(container width ÷ carton width) × floor(container height ÷ carton height). Utilisation is the cartons' volume as a share of the container's geometric volume. Real loads come in under the geometric figure: the door frame, corner castings and the cartons that don't stack square all take their cut — plan on 80–88% utilisation for uniform cartons, less for mixed sizes.
One carton, four containers
A 24 × 18 × 12 in carton, worked out for every standard box:
| Container | Cartons | Best orientation (L × W × H) | Utilisation |
|---|---|---|---|
| 20 ft standard (20GP) | 315 | 24 × 18 × 12 in | 81.4% |
| 40 ft standard (40GP) | 665 | 24 × 18 × 12 in | 84.3% |
| 40 ft high cube (40HQ) | 780 | 12 × 18 × 24 in | 87.7% |
| 45 ft high cube (45HQ) | 880 | 24 × 18 × 12 in | 87.8% |
The 40HQ takes 780 cartons against the 40GP's 665 — the extra foot of height is worth 115 cartons on this size. But the best orientation changes with the box: in a 40HQ the carton loads best on its side (12 in long, 18 in wide, 24 in high), not flat. Always check the orientation the calculator found — it is not always the obvious one.
How to load a shipping container
The calculator gives you the count; the load plan decides whether the freight survives the trip. Work in this order:
- Draw the load plan first. A container load plan is a sketch of the box before the forklift starts: how many cartons per row, how many layers, which orientation, and where the heavy cartons go. The plan is the count above, turned into a sequence — load the back of the container first and work toward the doors.
- Heavy low, heavy centred. The heaviest cartons go on the floor, spread evenly across the length so the weight does not sit over one axle set on the road leg. Never stack heavy on light.
- Fill the gaps. Empty space is what lets freight shift. Fill voids with dunnage, airbags or spare cartons, and brace the last row at the doors so nothing falls out when they open.
- Check the weight, not just the count. A full 40HQ of the 24 × 18 × 12 in cartons above is 780 cartons at 10 lb — 7,800 lb, or 3,538 kg, which is only about 13.3% of a 40HQ's roughly 26,540 kg payload. Light cartons cube out by volume long before they weigh out; dense cartons do the opposite, so run the total weight against the payload before you seal the doors.
- Check the doors close. The last carton has to clear the door frame and the corner castings — plan on 80–88% utilisation for uniform cartons, less for mixed sizes, and leave the door end accessible for the customs or carrier inspection.
From loading to freight class
Take one 24 × 18 × 12 in carton at 10 lb: 3.00 ft³, so the density is 3.33 pcf — Class 250. In a 40HQ, 780 of them weigh 7,800 lb in 76.3 CBM — the container is nowhere near its payload, because light cartons cube out by volume long before they weigh out. To get your own class from here, run the same measurements through the freight density calculator. Loading pallets instead of cartons? The pallets per container calculator works out the pallet count, and the CBM calculator gives the volume of a single carton.
Got the load plan — now the class
Enter the measurements and weight and get the density-based class for every piece.
Open the freight class calculatorContainer interiors are the published figures from the shipping container dimensions page (20 ft: 19 ft 4 in × 7 ft 8 in × 7 ft 10 in; 40 ft: 39 ft 5 in × 7 ft 8 in × 7 ft 10 in; 40HQ: 8 ft 10 in high; 45HQ: 44 ft 5 in long). Confirm the assigned container's clear dimensions before you load — builds differ by a few inches.