Skip to the tool
Priostack Apps

Container load calculator

How many cartons fit in a shipping container, by space and by weight, with the verified gross mass (VGM).

Container load calculator

Container type

Typical figures for a dry container. For a reefer, open top or flat rack, choose Other.

cm

cm

Kept upright, this side stays vertical.

cm

Optional: without it, only the space is worked out.

kg

Optional: leave empty for one full container.

Carton orientation

Optional: leave empty for as many as the height allows. 1 for pallets that cannot be double-stacked.

Counted in the weight loaded and in the VGM.

kg

Optional for a listed type: leave empty to use the typical figure.

kg

Optional for a listed type: leave empty to use the typical figure.

kg

Cartons per container

—

Enter the measurements of a carton to see how many fit.

Cartons that fit by space
—
Share of the volume used
—
Volume loaded
—

Recent calculations

Nothing yet: copy, export or save a calculation to find it here.

How it works

Choose a container, enter the size of one carton and, if you know it, its weight. The calculator places the cartons the way a loader would, block by block, and tells you how many fit by space, how many the payload allows, and so how many go in each container. Add the number of cartons you are shipping to see how many containers you need. With a weight, you also get the verified gross mass (VGM) that has to be declared before a container goes on a ship.

Choose the container

The four listed types are dry containers, with the typical inside measurements, tare and maximum gross mass published by the carrier Ocean Network Express. Yours may differ by a few centimetres or kilograms: type the tare marked on its door and the maximum gross mass on its CSC safety approval plate to use them instead. For a reefer, an open top or any other container, choose Other and enter its inside length, width and height, its maximum gross mass and its tare.

Describe the cartons

Measure one carton in centimetres. Upright keeps the top of the carton up but lets it turn on its base; Any side lets the calculator lay it on its side too. If the cartons can only be stacked so high, enter the most cartons in one stack: 1 for pallets that cannot be double-stacked. Pallets, dunnage and lashing are counted once per container, in the weight loaded and in the VGM.

Read the result

The calculator first fills a main block with cartons all placed the same way, then the rest of the length and the rest of the width with cartons turned the best way. Each block is shown in the workings, so you can check it with a tape measure. The number per container is the smaller of what fits and what the payload allows: cartons are rounded down and containers rounded up. Measurements are used as typed, to 0.01 cm; anything finer is rounded up for a carton and down for an Other container, so a carton that does not fit is never counted. Volumes are rounded to the litre (0.001 m³) and shares to 0.1 of a percentage point, to the nearest. With several containers, the volume, weight and VGM are those of a full one; a note gives the VGM of the last. For a listed type, a carton too tall or too wide to pass the door is not placed that way.

By space: for each block, (length ÷ carton length) × (width ÷ carton width) × (height ÷ carton height), each rounded down, then the blocks added up.

By weight: (maximum gross mass − tare − pallets and dunnage) ÷ weight of one carton, rounded down.

Per container: the smaller of the two. Containers = cartons to ship ÷ cartons per container, rounded up.

VGM = cartons + pallets, dunnage and lashing + tare (SOLAS method 2).

Example: 500 cartons of 60 × 40 × 50 cm in 20ft containers

Inside, a 20ft standard container measures 589.8 × 235 × 239 cm. Turned so that their 40 cm side runs along the container, 14 × 3 cartons cover the floor and 4 stack up: 168 cartons. The 55 cm left across the width takes a row of 9 cartons the other way round, 4 high: 36 more, so 204 fit. At 18 kg each, the payload of 28,330 kg would allow 1,573, so space is the limit. 500 cartons need 3 containers, the last holding 92. A full container carries 24.48 m³ of cartons, 73.9% of its volume, and 3,672 kg; with the typical tare of 2,150 kg, its VGM is 5,822 kg, which the MCA would check to within ±500 kg.

Frequently asked questions

How many boxes fit in a 20ft container?

It depends on the size of the boxes, which way they may be turned and their weight. A 20ft standard container has about 33 m³ inside (589.8 × 235 × 239 cm), but boxes never fill it completely: with 60 × 40 × 50 cm cartons, 204 fit, filling 73.9% of the volume. A 40ft standard container has the same width and height and is just over twice as long (1,203.2 cm), and a 40ft high cube is 30.5 cm taller.

Why does weight run out before space?

Heavy goods reach the payload before they fill the volume. Tiles are a typical case: in 40 × 40 × 30 cm cartons of 60 kg, 490 cartons fit in a 20ft standard container, but its payload of 28,330 kg allows only 472. A 40ft standard container has a smaller payload than a 20ft one (26,840 kg against 28,330 kg in the figures used here), so heavy cargo usually travels in 20ft containers.

What is the VGM and who has to provide it?

Since 1 July 2016 the SOLAS convention has required the shipper to state the verified gross mass of every packed container in the shipping document, in good time before it is loaded: without it, the container is not loaded. It is obtained either by weighing the packed container (method 1) or by adding up the mass of every package, the pallets, dunnage and lashing, and the container’s tare (method 2). In the UK, a shipper using method 2 needs its method approved by the Maritime and Coastguard Agency (MCA).

Is the result a VGM I can declare?

Not on its own. The calculator adds up the weights you type in, so it is a planning figure. It becomes a declared VGM only when the weights come from accurate weighing under an approved method 2, or when the packed container is weighed. The shipper is responsible for an accurate figure; the MCA enforces it with a tolerance of 5% or 500 kg, whichever is greater, which the calculator works out for you.

Can a fully loaded container go by road?

Not always. The lorry, its trailer and the container together must stay within the road weight limits, as must each axle. In Great Britain an articulated lorry with five axles may weigh 40,000 kg in total, and one with six or more axles 44,000 kg if it meets the conditions of the Authorised Weight Regulations. Add the weight of the tractor unit and the trailer to the VGM and check with your haulier: this calculator does not check road weights.

Why might fewer cartons fit in practice?

A real load loses some space to bulging cartons, gaps left for lashing and the door, which is lower than the inside (228 cm against 239 cm in a 20ft standard container). A loading plan that turns cartons one by one can sometimes fit a few more. Keep a margin, and compare the result with your forwarder’s loading plan.

Sources

  1. Ocean Network Express (ONE): Container Information, dry 20ft, 40ft, 40ft high cube and 45ft specifications (11 November 2026)
  2. IMO: Verification of the gross mass of a packed container (SOLAS regulation VI/2, in force from 1 July 2016) (11 November 2026)
  3. GOV.UK (MCA): Verification of the gross mass of packed containers transported by sea, including the enforcement tolerance (28 April 2020)
  4. legislation.gov.uk: Road Vehicles (Authorised Weight) Regulations 1998, Schedule 2 (11 November 2026)
  5. legislation.gov.uk: Road Vehicles (Authorised Weight) (Amendment) Regulations 2000, regulation 6 (44,000 kg on six axles) (11 November 2026)

This calculator gives general information, not legal, tax, financial or accounting advice. Container figures are typical values: the tare and maximum gross mass marked on your own container govern, and your forwarder or the carrier has the final say on the loading plan and the VGM.

Last reviewed: