How Many Cartons Fit in a 20ft or 40ft Container?
A practical guide to container loading: internal dimensions, carton orientation, payload limits, utilisation and common planning mistakes.

How Many Cartons Fit in a 20ft or 40ft Container?
Ordering a full container load is often cheaper per unit than sending the same goods in smaller shipments, but only if you fill it well. The first planning question is how many cartons will fit. The Container Loading Calculator answers it in seconds. This guide explains the method and its limits.
Know the inside of the box
Containers are described by their outside length, 20 or 40 feet, but cargo goes inside, where the walls and floor take up space. Typical internal dimensions are:
- 20 ft standard: 5,898 × 2,352 × 2,393 mm, about 33 m³.
- 40 ft standard: 12,032 × 2,352 × 2,393 mm, about 67.7 m³.
- 40 ft high cube: 12,032 × 2,352 × 2,698 mm, about 76.4 m³.
- 45 ft high cube: 13,556 × 2,352 × 2,698 mm, about 86 m³.
The door opening is smaller than the interior, about 2,340 mm wide and 2,280 mm high on a standard container, which matters for large items and full pallets.
Counting cartons
For one orientation, count how many cartons fit along each axis by dividing and rounding down, then multiply. A carton of 600 × 400 × 400 mm in a 20 ft container:
- Length: 5,898 / 600 = 9.8, so 9.
- Width: 2,352 / 400 = 5.9, so 5.
- Height: 2,393 / 400 = 5.98, so 5.
That is 9 × 5 × 5 = 225 cartons.
Turning the carton can change the answer. Placing the 400 mm side along the length gives 14 × 3 × 5 = 210. The calculator tries all six orientations, or just the two that keep a carton upright when it must stay "this side up", and keeps the best.
Space or weight?
Light goods fill the container before they reach its weight limit; heavy goods reach the limit with space left. A 20 ft container can carry about 28 t of cargo, a 40 ft about 26.5-26.7 t. But road weight limits in many countries cap a loaded 40 ft container at much less, often around 20-22 t of cargo, so check the routes at both ends.
At 15 kg per carton, the 225 cartons above weigh 3,375 kg, far below the limit. At 200 kg per carton, only 141 would be allowed.
Utilisation
In our example, 225 cartons occupy 21.6 m³, about 65 % of the container. That sounds poor, but whole cartons cannot fill odd gaps. Real-world loading rarely exceeds 80-90 % of internal volume, even with careful planning, because of pallets, dunnage, bracing and irregular sizes.
Ways to improve utilisation:
- Design cartons for the container. A carton of 587 × 470 × 478 mm divides a 20 ft container almost exactly (10 × 5 × 5).
- Mix orientations. Fill the leftover strip at the end or along the side with cartons turned another way. Load planning software does this automatically.
- Use a high cube. For light goods, the extra 305 mm of height adds a whole layer for many carton sizes.
- Floor-load instead of palletising. Pallets waste height and floor space but speed handling, a trade-off worth costing.
Pallets
Pallets have their own rules. A 20 ft container takes 11 Euro pallets (1,200 × 800 mm) or 9-10 standard 1,200 × 1,000 mm pallets on the floor; a 40 ft takes 23-24 Euro pallets or 20-21 standard ones. Double-stacking depends on the pallet height and the load's strength.
Stacking strength
Fitting physically is not the same as surviving the journey. The bottom carton must carry everything above it through weeks of humidity, vibration and handling. Check the carton's compression strength against the stack load, and add the layer limit to the calculator if cartons cannot reach the roof.
Before you book
- Measure real cartons, filled and taped; they are rarely exactly the drawing size.
- Declare the verified gross mass (VGM) as SOLAS requires.
- Distribute weight evenly and secure the load against shifting.
- Leave space for the doors to close.
Summary
Divide the container's internal dimensions by the carton's, try every allowed orientation, and check the payload. Run your carton through the container loading calculator for each container type before ordering, and consider resizing cartons if utilisation is low.



