Container loading calculator: cartons and pallets per container

Pick a 20 ft, 40 ft or 40 ft high cube. Put in your carton or pallet. Get how many fit by space, how many the payload allows, and which one runs out first.

  • 1 min
  • Free, no signup
  • Runs in your browser
  • Formula shown

Container

40 ft standard: 473.7 x 92.6 x 94.2 in inside, 58,863 lb payload

Carton

Carton size (in)
L
W
H
lb

0 to ignore weight.

Result

Live

Cartons per 40 ft standard

742

106 x 7

Cartons per layer
106
Layers
7
Fits by space
742
Payload allows
1,962
Cargo weight
22,260 lb
Payload used
37.8%
Cube used
82.7%
  • On the road, axle and gross vehicle limits are often lower than the container's payload. Check the weight with your forwarder and trucker.
  • Real loads lose some space to dunnage, airbags and uneven cartons. Plan a few percent under the number above.

OpsBox receives containers against the inbound shipment, carton by carton on the handheld, so what was loaded overseas is what lands in your bins.

Have a quick chat with Patrick

How the math works

Per layer = most boxes on the floor (one way, turned, or two blocks)
Layers    = floor(inside height / box height)
By space  = per layer x layers
By weight = floor(max payload / weight per box)
Fits      = the smaller of the two

The floor plan works like the pallet calculator: every box one way, every box turned 90 degrees, and two-block patterns where one block is turned to use the leftover width or length. Cartons stay upright unless you allow any side down, in which case each side is tried as the bottom. Pallets go in one tier unless you tick that they can stack. Then the payload check: if the weight runs out first, that is your number.

The containers use typical published figures for ISO dry containers:

ContainerInside L x W x H (m)Inside (ft)Door W x H (m)Max payload
20 ft standard5.898 x 2.352 x 2.39319' 4.2" x 7' 8.6" x 7' 10.2"2.340 x 2.28028,200 kg (62,170 lb)
40 ft standard12.032 x 2.352 x 2.39339' 5.7" x 7' 8.6" x 7' 10.2"2.340 x 2.28026,700 kg (58,863 lb)
40 ft high cube12.032 x 2.352 x 2.69839' 5.7" x 7' 8.6" x 8' 10.2"2.340 x 2.58526,500 kg (58,422 lb)

Real containers vary by a few centimetres and a few hundred kilos between lines and build series, and the payload printed on the door is the one that counts. Road limits are often tighter than the container: on US roads the 80,000 lb gross vehicle limit, the chassis and axle weights often cap the cargo well below the container's payload. Check with your forwarder before you plan a heavy load.

Worked example. 24 x 16 x 12 in cartons at 30 lb, upright, in a 40 ft standard (473.7 x 92.6 x 94.2 in inside). One way round fits 19 x 5 = 95 on the floor; turned, 29 x 3 = 87. Three rows turned (24 in across, 72 in) plus one row the other way in the last 20.6 in gives 87 + 19 = 106. 94.2 / 12 = 7 layers, so 742 cartons by space. The payload allows 58,863 / 30 = 1,962, so space is the limit.

Questions people ask

How many pallets fit in a 40 ft container?

With 48 x 40 in pallets, single stacked, 20 by the inside figures above, in a 40 ft standard or a high cube (same floor). With 1200 x 800 mm euro pallets, 25 on paper, but that leaves about 3 cm of spare length, so many loaders plan 24. Double that if the pallets can stack and the height allows. Check the weight too: heavy pallets often hit the payload first.

How many pallets fit in a 20 ft container?

With 48 x 40 in pallets, single stacked, 9 by the inside figures above: one row turned each way along the 92.6 in width. With 1200 x 800 mm euro pallets, 11. Some guides quote 10 standard pallets; check that against your container's actual inside width.

What is the difference between a 40 ft and a 40 ft high cube?

Same length and width, about one foot more inside height (roughly 2.70 m vs 2.39 m). The extra height helps light, bulky cartons and stackable pallets. Floor space is the same, so single-stacked pallet counts do not change.

Why does weight limit my container before space?

Dense products such as liquids, tile, metal or paper reach the maximum payload before the box is full. Road weight rules where the container travels can be stricter still.

Should I floor load or palletize?

Floor loading fits more cartons, often a lot more, and saves the pallet cost. Palletizing loads and unloads much faster and protects the product. Many importers floor load and palletize on arrival when the volume justifies it.

Done doing this by hand?

OpsBox is the WMS that runs this math on the floor, for every order, without a spreadsheet.

See OpsBox live

Estimates from the formulas above, for planning. Check against your carrier, landlord, supplier or team before you commit money. Reset this tool.