Container Loading Calculator

How many cartons fit in a 20GP, 40GP and 40HQ — counted by space and by payload.

Carton
cm
cm
cm
kg
Orientation

Upright cartons only turn on the floor.

2,000 cartons → 2 × 40HQ · last container 85% full
Floor plan · 40HQ · 9 layers
12.03 m2.35 m

Theoretical maximum from inside dimensions (Hapag-Lloyd, ISO 668). Pallets, dunnage and stacking limits lower real counts.

Put these numbers on your carton photo

Carton size, gross weight and cartons per container — marked on the photo buyers already look at.

How the calculator counts cartons

Each container is filled with cartons lying the same way. The calculator divides the container's inside length, width and height by the carton's three sides, rounds each down to whole cartons and multiplies. It tries all six ways a carton can lie — or only the two upright ones if the carton must stay upright — and keeps the one that fits most. A 50 × 40 × 30 cm carton in a 20GP (inside 5,900 × 2,352 × 2,393 mm) fits 14 × 4 × 7 = 392 cartons.

Payload then caps the count: maximum payload ÷ gross weight per carton. A 20GP carries about 30,200 kg, so 18 kg cartons would stop at 1,677 — far above 392, so space is the limit. At 40 kg per carton a 40GP is full by weight at 720 cartons while 840 would still fit. Whichever limit comes first is the answer.

Inside dimensions and payload used by the calculator

ContainerInside L × W × HInside volumeMax payload
20GP (20ft standard)5,900 × 2,352 × 2,393 mm33.2 m³30,200 kg
40GP (40ft standard)12,032 × 2,352 × 2,395 mm67.7 m³28,800 kg
40HQ (40ft high cube)12,032 × 2,352 × 2,700 mm76.3 m³28,650 kg

Typical ISO 668 figures from the Hapag-Lloyd container specification — the same numbers as our shipping container dimensions page. Individual units vary by maker and floor type; check the CSC plate.

Cartons per container for common carton sizes

Carton (cm)Carton volume20GP40GP40HQ
40 × 30 × 300.036 m³6861,4701,890
50 × 40 × 300.060 m³3928401,080
55 × 40 × 400.088 m³280600720
60 × 40 × 400.096 m³225500600
70 × 50 × 500.175 m³132288360
80 × 60 × 600.288 m³63135180

Same method as the calculator: one orientation per container, any side up, payload not applied. For heavy cartons, enter the gross weight above.

Why a real load can differ

Mixed orientations can add a few cartons
The calculator keeps one orientation per container. Loaders sometimes fill the leftover strip at the door end or along one wall with cartons turned the other way, which can add a few percent.
Stacking strength sets the height
Corrugated cartons have a crush limit. Heavy goods are often stacked only two or three high, so the top of the container stays empty.
Pallets take height and floor
A pallet adds 12–15 cm under every stack and leaves gaps on the floor that loose cartons would have filled.
Road limits can be lower than payload
Trucking and rail limits at the destination are often below the container's payload. Confirm the weight you can actually move with your forwarder.

Loading figures belong on the spec sheet

A buyer comparing quotes works out the landed cost per unit, and that starts with how many units ship in one container. Put the carton size, gross weight and cartons per 40HQ on the product photo or spec diagram and the question never comes up.

Related: volumetric weight calculator for air and express, shipping container dimensions, standard pallet sizes, standard carton box sizes.

Frequently asked questions

How many cartons fit in a 20ft container?

It depends on the carton. With inside dimensions of 5,900 × 2,352 × 2,393 mm, a 50 × 40 × 30 cm carton fits 392 and a 60 × 40 × 40 cm carton fits 225. Heavy cartons can reach the 30,200 kg payload first — divide the payload by the gross weight per carton and take the smaller number.

How many cartons fit in a 40HQ?

A 40HQ is 12,032 × 2,352 × 2,700 mm inside. A 50 × 40 × 30 cm carton fits 1,080 (24 × 5 × 9) and a 60 × 40 × 40 cm carton fits 600. The payload is about 28,650 kg, so 50 × 40 × 30 cm cartons heavier than about 26.5 kg reach the weight limit before the container is full.

Why is the result lower than my forwarder's estimate?

Forwarders often quote from a usable volume — commonly around 28 m³ for a 20GP and 68 m³ for a 40HQ — divided by the carton volume, which assumes cartons can be fitted around each other. The calculator only counts whole cartons stacked one way, so its number is one you can rely on; mixed loading may add a little.

Should I enter the carton size or the product size?

The outer carton size as shipped, including any bulge. Containers are loaded with cartons, and a few millimetres per carton can remove a whole row.

What if my order doesn't fill a container?

Ship it as LCL (less than container load). Sea LCL is billed by W/M: one cubic metre counts as 1,000 kg and you pay for whichever is greater. Compare the LCL quote with a full 20GP once the shipment passes roughly 15 m³.

Other free tools

Container Loading Calculator: Cartons per 20GP, 40GP & 40HQ | SizeMarker