Skip to content
Omnikalc

Shipping container loading calculator: how many boxes can you load?

Enter the container type and the size and weight of your boxes to get the number of boxes that fit, the limit that applies and the share of the volume used.

Updated on
Your inputs
in

Value out of range

in

Value out of range

in

Value out of range

lb

Value out of range

Results

Boxes you can load

580

Boxes that fit in the space (simple grid)
580
Boxes allowed by the payload limit
1,656
The space is the limit: the weight is within the payload
Share of the container volume used
86.4 %
Weight of the load
20,300 lb
Internal volume of the container
2,685.6 ft³

Before booking a container, you need to know how many boxes it holds. The shipping container loading calculator takes the container type and the size and weight of one box, and gives the number of boxes you can load, the boxes that fit in the space, the boxes allowed by the payload, the share of the volume used, the weight of the load and the internal volume of the container.

How the calculation works

  • Pick the container: a 20 ft standard, a 40 ft standard or a 40 ft high cube. The calculator uses typical internal dimensions and payload limits.
  • Enter the length, width and height of one box and its weight. All boxes must be the same size.
  • The calculator tries the six ways to orient the box and counts how many fit in a simple grid, with floor(L ÷ l) × floor(W ÷ w) × floor(H ÷ h) for each. It keeps the best.
  • It then compares this count with the payload limit divided by the weight of a box. The smaller number is the number of boxes you can load.

Example

Boxes of 24 × 18 × 16 inches weighing 35 lb are loaded into a 40 ft high cube, whose inside is about 1,203 × 235 × 269 cm. The best orientation fits 580 boxes in a simple grid. The payload would allow 1,656 boxes, so the space is the limit. The load weighs about 9,208 kg, or 20,300 lb, and fills 86.4 % of the container volume.

Why it matters

Importers, exporters and online sellers use the count to compare container sizes, plan orders and check that the cost per box is reasonable. Knowing whether space or weight is the limit shows if a bigger container or lighter packaging would help.

Good to know

Container dimensions and payloads vary a little between lines and models, so the values here are typical. The calculation ignores pallets, dunnage, door gaps and the way boxes may be mixed. Always confirm with the carrier or forwarder before shipping.

The CBM calculator gives the volume of a shipment, and the pallet load calculator counts the boxes on a pallet.

Frequently asked questions

How many boxes fit in a shipping container?

It depends on the container and the box. A 20 ft container has about 33 cubic meters of internal volume, a 40 ft container about 67 and a 40 ft high cube about 76. Divide the volume by the volume of a box, then allow for the gaps. This calculator counts the boxes in a simple grid instead.

Why does the calculator try six orientations?

A box can stand on any of its three faces and be turned lengthwise or crosswise. That makes six orientations. Each one fits a different whole number of boxes along the length, width and height, so the best one can be noticeably better than the others.

What is the payload limit?

It is the maximum weight of cargo that the container can carry. For a 20 ft container it is about 28 tonnes, and for a 40 ft container about 26 to 27 tonnes. Heavy products such as tiles or liquids reach the weight limit before the space is full.

Is a simple grid the best possible loading?

No. Mixed orientations, pallets and a smart arrangement can sometimes fit a few more boxes, while dunnage, pallets and air gaps can fit fewer. Treat the result as a first estimate and confirm the loading plan with your freight forwarder.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.