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.
Related tools
The CBM calculator gives the volume of a shipment, and the pallet load calculator counts the boxes on a pallet.