Methodology & data sources

For planning only. Verify container dimensions, weights and loading safety before shipping.

Container loading

The planner splits the container floor into rectangles and fills each with columns of identically oriented cartons, trying several sort orders, preferred orientations and cut directions. Gaps are then filled with cartons that can sit fully on top of an existing stack. Every plan is re-checked by an independent validator for:

It does not model crush strength, load securing, centre of gravity, axle loads or forklift paths.

Upper bound and “proven maximum”

For a single carton size we compute a strict upper bound: each container dimension is first rounded down to a multiple of the greatest common divisor of the carton edges that can lie along it, then the reduced volume is divided by the carton volume. Payload (when weights are known) gives a second bound. No valid plan can exceed the smaller of the two. When our plan reaches it, we label the result proven maximum. Otherwise we show the bound and the gap — the true maximum lies somewhere in between.

Units

Imperial inputs are calculated in exact sixteenths of an inch. Metric inputs use whole millimetres. Carton sizes are rounded up and container space rounded down, so unit conversion never turns a load that doesn’t fit into one that does.

Container data

TypeInside L × W × HDoor W × HMax payload
20GP 20' standard5,898 mm (232.2 in) × 2,352 mm (92.6 in) × 2,393 mm (94.2 in)2,340 mm (92.1 in) × 2,280 mm (89.8 in)28,300 kg
40GP 40' standard12,032 mm (473.7 in) × 2,352 mm (92.6 in) × 2,393 mm (94.2 in)2,340 mm (92.1 in) × 2,280 mm (89.8 in)28,870 kg
40HQ 40' high cube12,032 mm (473.7 in) × 2,352 mm (92.6 in) × 2,698 mm (106.2 in)2,340 mm (92.1 in) × 2,585 mm (101.8 in)28,690 kg
45HQ 45' high cube13,556 mm (533.7 in) × 2,352 mm (92.6 in) × 2,698 mm (106.2 in)2,340 mm (92.1 in) × 2,585 mm (101.8 in)27,650 kg

Source: a major ocean carrier’s published dry-container equipment specification (PDF), data version 2026-11-04. Actual boxes vary by manufacturer and age — check the data plate and door of the container you receive.

Pallet stacking

For each carton orientation we search layer patterns (blocks of cartons in two directions, plus mixed “pinwheel”-style splits) on the pallet deck plus any allowed overhang. A column stack repeats one pattern; an interlock stack alternates two patterns with the same count so upper cartons bridge the seams below. Layers are added until the height or weight limit is reached. The per-layer upper bound is the deck area (with overhang) divided by the carton footprint, tightened by edge-length combinations; per-pallet bounds also use the height and weight limits.

Pallet presets

Pallet weights are typical values for wooden pallets; enter your own if you know it. Height and weight limit presets are typical published inbound and freight limits — confirm with your carrier or warehouse.

Found a problem?

Send the share link of the calculation to us — it contains all the inputs, so we can reproduce it exactly.