Skip to content
Start free

Tool · Free, no sign-up

Container loading calculator

See how many boxes of one size fit in a 20 ft, 40 ft or 40 ft high cube container, how to stack them, and whether space or weight runs out first. Everything happens in your browser: nothing you type is sent anywhere or saved.

Units
Your box

This calculator needs JavaScript switched on. The sample on this page shows what it works out.

The container

Sizes and payloads are typical figures. Your shipping line's container, and road weight limits on the way, can allow less.

Boxes that fitSpace decides; the load is under the payload limit. 255
Layout 14 long × 3 wide × 5 high, each box 40.0 × 60.0 × 40.0 cm, plus 45 in the gaps
Space used 73.7% (24.48 m³)
Weight loaded 4,590 kg
Container 5.898 × 2.352 × 2.393 m inside

This assumes boxes stand edge to edge with no gaps. In practice leave some room for loading, bulging cartons and the doors.

How the calculator counts

It tries every way your box may stand. For each, it fills the container with a solid block of boxes, then fills the gaps left along the length, width and height with boxes turned whichever way fits best. It keeps the way that loads the most boxes, then checks the total weight against the container's payload.

Worked example

Boxes of 60 × 40 × 40 cm, 18 kg each, this side up, in a 20 ft container (5.898 × 2.352 × 2.393 m inside). Standing the plain way, 9 × 5 × 5 = 225 boxes fit, plus 15 in the gaps. Turned a quarter turn, 14 × 3 × 5 = 210 fit, plus 45 along the side: 255 boxes, 4,590 kg, well under the payload. The sample figures in the calculator above are this example.

Got cartons of several sizes? Total their volume with the CBM calculator.

Put this calculator on your website

Free for any website, blog or intranet. Paste this code where you want the calculator to appear. It keeps working as we improve it.

Questions

How many boxes fit in a 20 ft container?

It depends on the box size and whether it must stay upright. Enter your box in the calculator: it tries every allowed way of standing it and shows the count, the layout and the share of the space used.

What are the inside dimensions of 20 ft and 40 ft containers?

Typical figures: a 20 ft standard container is 5.898 × 2.352 × 2.393 m inside, a 40 ft is 12.032 × 2.352 × 2.393 m, and a 40 ft high cube is 12.032 × 2.352 × 2.698 m. Containers vary a little by maker.

Why can't I fill the whole container?

Boxes rarely divide the inside space exactly, so gaps remain. In practice you also need room to load, and heavy goods can reach the payload limit before the space runs out.

Is anything I type saved?

No. The calculator runs in your browser and nothing you type is sent to Quoreca or anyone else.