Container sizes
Back to calculator ↑| Type | Internal L × W × H | Door W × H | Volume | Typical payload |
|---|---|---|---|---|
| 20ft standard (20GP) | 5.90 × 2.35 × 2.39 m | 2.34 × 2.28 m | 33.2 CBM | 28,200 kg |
| 40ft standard (40GP) | 12.03 × 2.35 × 2.39 m | 2.34 × 2.28 m | 67.7 CBM | 26,700 kg |
| 40ft high cube (40HC) | 12.03 × 2.35 × 2.70 m | 2.34 × 2.58 m | 76.4 CBM | 26,500 kg |
| 45ft high cube (45HC) | 13.56 × 2.35 × 2.70 m | 2.34 × 2.58 m | 86.0 CBM | 27,700 kg |
Typical values. Actual dimensions, payload and door openings vary by carrier and container condition—confirm before booking.
How the calculator works
Choose a container preset or enter internal dimensions. Add the carton size, the maximum payload and the top clearance. The calculator tests every allowed carton orientation, builds each layer with simple grids and two-region split patterns, and keeps the arrangement with the highest carton count.
Layers are limited by the usable inside height and by payload. If weight runs out first, the result card says so. The top and side views show the recommended floor arrangement and the stack height.
What the numbers mean
- Per layer — cartons that fit on the container floor in the best arrangement.
- Layers — full layers allowed by the height and payload limits.
- Payload used — total carton weight, excluding the container tare weight.
- CBM used — total carton volume in cubic meters.
- Floor coverage — share of the container floor covered by cartons on one layer.
- Container fill — carton volume as a share of the full internal container volume.
What it assumes
- All cartons are identical and rigid.
- Cartons are loaded loose, without pallets, dunnage, straps or air bags.
- The floor is flat and the container is in good condition.
- Door openings are wide and tall enough for every carton.
- Payload excludes the container tare weight and any packaging added at loading.
Frequently asked questions
How many boxes fit in a 20ft container?
It depends on the carton size and the payload limit. A 20ft standard container has about 33 CBM of internal volume and a typical payload of 28,000 kg. Enter your carton dimensions in the calculator to get the exact count for your box.
How many boxes fit in a 40ft container?
A 40ft standard container has about 68 CBM of internal volume, and a 40ft high cube has about 76 CBM. The carton count depends on carton dimensions, stacking height and payload. Use the calculator for your specific carton.
Does this calculator account for pallets?
No. This page calculates loose cartons loaded directly into the container. Palletized loads need a pallet loading plan first, then a pallets-per-container calculation.
What is CBM?
CBM means cubic meter. It is the volume of the cargo and is used for container capacity, freight quotes and chargeable weight. One cubic meter equals 1,000,000 cubic centimeters.
What clearance should I use?
A common planning clearance is 50 mm between the top of the cargo and the container roof. Leave more if the cartons are compressible or the floor is uneven, and always follow the carrier's loading rules.
Why is the real carton count lower?
The calculator assumes rigid cartons, no dunnage, no ventilation gaps and perfect stacking. Real loads lose space to pallets, straps, air bags, door clearance and uneven cartons. Use the result as a planning estimate.
Related tools
- Pallet calculator — how many cartons fit on a pallet.
- CBM and volumetric weight calculator — total volume and chargeable weight.
- Pallet size guide — EUR, GMA and ISO pallet dimensions.
Updated November 2026. Estimates only; confirm the final load plan with your carrier or loading supervisor.