Container Loading Calculator

Work out how many boxes fit in a shipping container, testing every box orientation, with the volume used and the weight limit checked.

m
m
m
mm
mm
mm
kg
kg
Boxes that fit 225
per orientation: floor(L÷l) × floor(W÷w) × floor(H÷h), maximised over all six orientations, then capped by payload ÷ box weight
Limited by Space — 225 fit, and the payload limit would allow 2333.
Best orientation 600 × 400 × 400 mm (length × width × height as loaded)
Boxes per layer 45
Layers 5
Container volume used 65.18 %
Total weight 2700 kg
Unused volume 11.537 m³
Worth knowing Best orientation gives 45 per layer and 5 layers. Rotating the box changes the answer substantially, which is why all orientations are tested rather than just the one you typed. Volume used is 65.18%. Anything above about 85% is excellent; boxes that do not divide the container dimensions leave a strip down one side that nothing fills, and that is geometry rather than bad packing. This is a clean grid of identical boxes in a single block. Real loading loses space to pallets, dunnage, door clearance and mixed cartons, so treat the figure as an upper bound and allow a margin.

Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.

What the Container Loading Calculator does

Use this container loading calculator to work out how many boxes fit in a shipping container, testing every box orientation, with the volume used and the weight limit checked. Fill in all 10 fields and the result updates as you type — there is no Calculate button to press and no page reload. It is most often used for estimating how many cartons fit in a container before booking freight. There are more free online tools on FreeToolStation.org.

How to use it

  1. Choose a container, or enter custom internal dimensions.
  2. Enter the box dimensions in millimetres and the weight of each box.
  3. Set whether boxes can be laid on any face or must stay upright.
  4. Read what limits the load — space or weight.

How it works

The calculation is a grid: how many boxes fit along the length, across the width and up the height, with each division rounded down because a part of a box is no boxes. The important part is that it is repeated for every distinct orientation of the box, and the best one is reported. Which face goes down can change the total by a third or more, because the remainders change — a box that leaves 200 mm unused along the length in one orientation may leave almost nothing in another.

Volume used is the figure worth watching, and it is rarely close to a hundred per cent. Boxes whose dimensions do not divide the container’s leave strips that nothing fills, and that is geometry rather than poor packing. Above about eighty-five per cent is excellent for a single box size. If you are designing a carton rather than packing one, choosing dimensions that divide the container’s internal measurements neatly is worth far more than any amount of clever stacking.

Weight frequently binds before space does, and the calculator reports which. A twenty-foot container has a payload of roughly 28 tonnes, so anything averaging more than about 850 kg per cubic metre fills the weight allowance while the container still looks half empty. That is why freight is priced on volumetric or actual weight, whichever is greater — a container of feathers and a container of tiles cost the carrier very different things, and neither is priced on the box count.

Two honest limitations. This models identical boxes in a single clean block, which real loading is not: pallets add their own height and footprint, door clearance and lashing points take space, and a mixed load of carton sizes packs worse than any single size. And it says nothing about weight distribution, which matters — a container loaded heavy at one end can exceed axle limits on the road even when the total is legal. Treat the number as an upper bound and leave a margin.

When to use it

  • Estimating how many cartons fit in a container before booking freight.
  • Choosing between a 20 ft and a 40 ft container.
  • Checking whether a load is weight-limited or space-limited.
  • Designing carton dimensions that fit a container efficiently.
  • Checking a freight forwarder’s quantity.

Common mistakes to avoid

  • Testing only one box orientation. Rotating the box can change the total by a third.
  • Using external container dimensions. The internal measurements are what hold cargo.
  • Ignoring the payload limit for dense goods, where weight binds long before space.
  • Treating the figure as achievable without allowance for pallets, dunnage and door clearance.
  • Mixing units — container dimensions in metres, box dimensions in millimetres.

Frequently asked questions

How many boxes fit in a 20 ft container?

It depends entirely on the box. A 600 × 400 × 400 mm carton gives 225 in a 20 ft standard container in its best orientation, using about 65 per cent of the volume. Change the box size and the answer changes disproportionately, because the remainders change.

What are the internal dimensions of a shipping container?

A 20 ft standard is roughly 5.90 × 2.35 × 2.39 m internally, a 40 ft standard 12.03 × 2.35 × 2.39 m, and a 40 ft high cube the same floor with 2.70 m of height. Exact figures vary slightly by manufacturer, so check the container if the fit is tight.

Why does rotating the box change the answer so much?

Because the unused remainder along each dimension changes. A box that wastes 200 mm along the length in one orientation may waste almost nothing in another, and that difference multiplies across the other two dimensions.

Is my load limited by weight or space?

The calculator says which. As a guide, a 20 ft container with a 28 tonne payload is weight-limited above roughly 850 kg per cubic metre of cargo density — which includes tiles, stone, liquids and most metal.

Can I trust this figure for a real shipment?

Treat it as an upper bound. It assumes identical boxes in one clean block, with no pallets, dunnage or door clearance. Real loads achieve less, and a mixed carton size considerably less.

Related tools

See all everyday tools →