Container Loading Calculator

Enter your carton's outer size and gross weight to see how many fit in a 20ft, 40ft and 40ft High Cube. The calculator tries every orientation your carton allows, picks the one that fits the most, and then checks the container's payload, because heavy cartons run out of weight before they run out of space.

Carton
Unit
in
in
in
lb
Orientation

Free with an account. Pro removes the watermark and adds your logo.

Floor plan · 40HQ · 5 layers · space left: 246 mm along the length, 218 mm across, 160 mm above
39.5 ft7.7 ft

The count is for one orientation, stacked square. Mixed orientations can sometimes fit more; pallets, dunnage and loading clearance usually mean fewer. Your loading plan decides.

Inside dimensions and tare vary slightly by box maker, line and floor. Check the CSC plate on the door.

Road and rail weight limits at the destination are often lower than the container's payload. Confirm before you ship heavy goods.

Put the carton size and loading plan on your product sheet

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

How the count is worked out

  1. Each orientation of the carton is tested against the container's inside length, width and height. Only whole cartons count, so the leftover gap on each side is wasted.
  2. The orientation that fits the most cartons wins. A carton that must stay upright has two orientations; one that can lie on its side has six.
  3. The count is then capped by payload. A 20GP carries about 30 t of cargo and a 40GP about 28.8 t, so dense goods such as tiles, steel parts or liquids in drums often fill a 40ft by weight long before they fill it by volume.

Tips that change the count

Measure the packed carton.
A carton that bulges 1 cm can cost a whole row.
Check the door, not just the inside.
The door opening is lower than the inside height: 2,292 mm against 2,393 mm on a 20GP.
A 40HQ only helps tall stacks.
It adds about 30 cm of height. If your cartons hit the payload limit first, the extra height buys nothing.
Pallets cost space.
A pallet adds its own height and leaves gaps around the footprint. Calculate pallet loads separately.

Inside dimensions and payload used by the calculator

ContainerInside L × W × HDoor W × HInside volumeMax payload
20GP (20ft standard)5,900 × 2,352 × 2,393 mm2,340 × 2,292 mm33.2 m³30,200 kg
40GP (40ft standard)12,032 × 2,352 × 2,395 mm2,340 × 2,292 mm67.7 m³28,800 kg
40HQ (40ft high cube)12,032 × 2,352 × 2,700 mm2,340 × 2,597 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.

Related: shipping container dimensions · container loading quantity · export pallet dimensions and container fit · master carton dimensions · volumetric weight calculator

Frequently asked questions

How many cartons fit in a 20ft container?

It depends on the carton. A 50 × 40 × 30 cm carton fits 392 in a 20GP when stacked in the best single orientation. Enter your own size above. The answer changes with every centimetre.

Is the result exactly what will fit?

It is the count for one orientation, stacked square. Mixed orientations can sometimes fit more: 60 × 40 × 40 cm cartons fit 600 in a 40HQ one way, while four rows running lengthwise plus one row turned across fit 660. Pallets, dunnage and loading clearance usually mean fewer.

When should I choose a 40HQ over a 40GP?

When your cargo is light for its volume and you can stack higher. The High Cube adds about 30 cm of inside height for roughly 13% more volume, but its payload is about the same as a 40GP's.

Why does the calculator say I'm limited by payload?

Your cartons are heavy enough that the container reaches its maximum payload before it is full. Check road weight limits at the destination too, since they are often lower.

What dimensions should I give a buyer for loading?

The outer carton size, gross weight, units per carton and the cartons-per-container figure for the container they ship in, all on the product sheet.

Other free tools

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