HornTrack / Free tools / Container loading calculator
Container loading calculator
Estimate how many identical cartons fit in a shipping container and how many containers your shipment needs.
Result
Indicative result, calculated only from the values you enter. It is neither a rate nor a quote: exact rules (rounding, divisors, minimums) depend on the carrier.
Calculated in your browser: no data is sent or stored.
How it works
The calculator stands the cartons upright in regular rows across the internal length, width and height of the container. It tries both possible floor orientations (carton length along the container length, or the carton turned a quarter turn) and keeps the one that loads the most cartons.
That number is then compared with the payload: with heavy cartons, the maximum weight is reached before the container is full. The capacity used is the lower of the two values, and the number of containers is rounded up to the next whole container.
The internal dimensions and payloads used are typical ISO dry container values (20': 5.898 × 2.352 × 2.393 m, 28,200 kg; 40': 12.032 × 2.352 × 2.393 m, 26,700 kg; 40' High Cube: 12.032 × 2.352 × 2.698 m, 26,500 kg). They vary by shipping line and equipment, so check them with your carrier. The result ignores pallets, dunnage, door clearance and mixed loads: it is a theoretical maximum.
Formula
Cartons per container (dimensions) = ⌊L ÷ l⌋ × ⌊W ÷ w⌋ × ⌊H ÷ h⌋, also calculated with l and w swapped: the higher value is keptL, W, H: internal length, width and height of the container; l, w, h: carton dimensions; ⌊x⌋: x rounded down to a whole numberWeight limit = ⌊payload ÷ weight of one carton⌋; capacity used = the lower of the two valuesContainers needed = number of cartons ÷ capacity used, rounded up to a whole numberFill rate (%) = capacity used × volume of one carton ÷ internal container volume × 100; 1 inch = 2.54 cm; 1 pound = 0.45359237 kgWorked examples
Frequently asked questions
How many cartons fit in a 20 ft container?
It depends on the carton dimensions, not just their volume. A 20' container offers about 33 m³ of internal space, but the gaps left at the end of each row reduce the volume actually used. With 60 × 40 × 40 cm cartons, you get 225 cartons in regular rows, about 65% of the volume.
Why does weight sometimes limit the load?
Every container has a maximum payload. With dense goods (tiles, drinks, metals, cement), it is reached well before the container is full. Road regulations in the origin or destination country may also impose a lower gross weight: check before loading.
Does the calculator take pallets into account?
No: it assumes identical cartons placed directly on the floor, upright and stacked in regular rows. For pallets, enter the dimensions and weight of one loaded pallet as if it were a carton; if they cannot be stacked, only one layer is possible.
Should I choose a 40' or a 40' High Cube?
The 40' High Cube is about 30 cm taller, which sometimes adds a layer of cartons: compare both types with your dimensions. For heavy goods there is no gain if weight is already the limiting factor.
More free tools
Go further with HornTrack
Join the waiting list: we will let you know as soon as HornTrack opens in your country. The free tools stay free.
Already have an account? Log in