Container Loading Calculator

Pick a container or trailer and enter your box size. The calculator works out how many boxes fit on the floor and how many layers high, within the container's height and payload, and shows the load in 3D.

Units
Container

Inside 473.7 × 92.5 × 106.2 in, door 101.5 in high, max payload 63,096 lb (Maersk’s figures; check the container’s door plate).

Box or pallet

Enter the box size to see how many fit in the container.

How it works

  1. It finds the floor pattern that fits the most boxes: rows of boxes facing one way, with blocks turned 90° where that fills leftover space along the walls.
  2. It stacks that pattern as many layers high as the inside height allows (or as many as you allow), and stops early if the payload is reached.
  3. With "can lie on any side", it also tries each box on its side and keeps whichever way fits the most.

It plans one box size at a time. For mixed cargo, add up the cubic meters to see if it's near a container's capacity, then plan the load with your forwarder.

Worked example

Cartons of 60 × 40 × 40 cm weighing 20 kg, in a 20 ft container (inside 589.6 × 235 × 239.3 cm):

  • Floor: 52 cartons, mixing rows of cartons lengthwise and crosswise (all one way would fit 45: 9 along × 5 across)
  • Layers: 239.3 ÷ 40 = 5 (5.98, rounded down)
  • Total: 52 × 5 = 260 cartons, 5,200 kg, well under the 28,200 kg payload
  • 1,000 cartons need 4 containers

Press Try an example to load it.

Container sizes

TypeInside L × W × H (mm)m³Max payload
20 ft standard (20' GP)5,896 × 2,350 × 2,3933328,200 kg
40 ft standard (40' GP)12,032 × 2,350 × 2,3936728,800 kg
40 ft high cube (40' HC)12,032 × 2,350 × 2,6977628,620 kg
45 ft high cube (45' HC)13,556 × 2,352 × 2,6988527,600 kg
53 ft dry van trailer (typical)16,002 × 2,540 × 2,74311120,400 kg

Containers: Maersk's dry container specifications (steel). Other lines' containers differ by a few millimeters and a few hundred kilograms. The 53 ft trailer is typical, not one maker's spec; its payload depends on the truck and the road limits.

FAQ

How many pallets fit in a 20 ft or 40 ft container?

On the floor, one high: 11 EUR pallets (1200 × 800 mm) or 9 to 10 standard 48 × 40 inch pallets in a 20 ft; 23 to 25 EUR or 20 to 21 48 × 40 pallets in a 40 ft. It depends on the container’s exact inside width. Enter the pallet as the box, untick "can be stacked" (unless the pallets can be), and the calculator works it out.

What are the inside dimensions of a 40 ft high cube container?

Maersk’s 40 ft high cube: 12,032 mm long, 2,350 mm wide and 2,697 mm high inside (39 ft 5 in × 7 ft 8 in × 8 ft 10 in), about 76 m³, with a maximum payload of 28,620 kg. A standard 40 ft is the same length and width but 2,393 mm high.

Why do fewer boxes fit than the volume suggests?

Boxes don’t divide the container exactly: there are gaps along the walls and under the ceiling that are too small for another box. A real load also needs room to work in, and the doors are a little smaller than the inside.

Does the calculator mix box orientations?

On the floor, yes: it finds the best pattern of blocks of boxes facing one way or the other. All layers use the same pattern, and boxes stand the same way up in every layer (any side down if you allow it). A loader can sometimes fit a few more by laying the top layer on its side.

Is the payload the most I can load?

It’s the container’s own limit. Road weight limits where the container is trucked are often lower, and so is what the ship line accepts for a given booking. Check with your forwarder for heavy cargo.

Freight Multitool: free freight and shipping calculators. Everything is calculated in your browser; nothing you type is sent anywhere.

Results are estimates from published rules. Carriers measure and weigh freight themselves and bill by their own tariffs; check with your carrier before you rely on a number.