How this container loading calculator works
The planner builds a three-dimensional arrangement. It does not divide container CBM by carton CBM. This page is the method behind the worked examples: what is subtracted, which way a carton may turn, where the gaps go, and when the number on the screen is a confirmed maximum.
Reviewed . There is no separate public version number. That review date is the version marker for these guides, and the preset dimensions are the values in the planner on that date. The figures on the other guides were produced with a 2 cm margin, a 90% allowance unless the section says otherwise, the volume objective, and upright cartons.
The five steps
- Choose the load space. Choose a container, box truck or custom load space. Preset internals, doors and payloads fill in automatically.
- Enter each cargo line. Enter length, width, height, quantity and unit weight for each cargo line. Cartons stay upright unless you allow another orientation.
- Apply margin, clearance and the allowance. The planner removes the load-space margin, keeps the selected clearance, and applies the volume allowance to physical carton volume.
- Place and check. It places cartons or pallets, then checks the door, support, payload and any limits you entered.
- Read the result. Read the loaded count, the reason anything remains, and whether the search confirmed a maximum.
Container presets are a Hapag-Lloyd series, linked from the 20ft and 40ft guides. Truck presets are conservative Chinese box-truck bodies, linked from the truck guide. Both say the same thing on the screen: reference values, confirm the real equipment.
Orientations
The default is upright. Carton height stays vertical. Length and width may swap, so a 40 × 30 cm footprint can sit as 30 × 40 cm. “Fixed” forbids even that swap. “Landscape” and “Any rotation” allow the height to leave the vertical axis. Loaded pallets are upright or fixed only. The worked examples stay on upright, because that is what a new cargo line does before anyone opens the orientation control.
Gaps
Standard clearance, also the default, is 1 cm along length, 1 cm along width and 2 cm in height. Length and width clearance sits between cartons, or between pallets. Height clearance is reserved once above the top of a stack, not between every layer. Cartons strapped to the same pallet are placed flush; their side clearance is not inserted on the pallet deck. Bulky clearance is 2 / 2 / 3 cm and crate clearance is 4 / 4 / 5 cm. Zero is allowed, and several guides use it when the question is the volume cap or a second layer rather than the handling gap.
The load-space margin is separate. The default 2 cm is subtracted once from internal length, once from internal width and once from internal height. It is not 2 cm on each of the six faces. A 20GP of 590.0 × 235.2 × 239.5 cm becomes 588.0 × 233.2 × 237.5 cm.
The 90% cap
Usable capacity is the smaller of two volumes: the margin-reduced box, and the preset’s published cubic metres. The default allowance is 90% of that usable capacity. You can select 100%. The cap is compared with physical cargo volume, each unit’s length × width × height. It is not compared with the larger “planning” volume that includes the clearance air.
The cap binds only when geometry would otherwise pass it. On the 20ft page, 25 × 20 × 15 cm cartons stop at a confirmed 3,780 at both 90% and 100%. Zero-clearance 25 × 20 × 10 cm cartons stop at a confirmed 5,861 because of the cap, and a 100% run places more. The CBM page shows the same 25 × 20 × 15 cm carton as a division problem: 3,908 from 90% of usable volume, against the confirmed 3,780 from the 3D plan.
What can stop a further carton
- Space. No remaining slot fits the allowed orientation. When the search has proved that, the count is a maximum.
- Volume. Another carton would pass the allowance. The zero-clearance 5,861 example stops here.
- Payload. Gross weight, including pallet tare when the planner builds the pallet, would pass the preset payload. The 4.2 m truck stops a 15 kg carton at 133 pieces and 1,995 kg.
- Door. The single unit, in the orientation chosen for it, must pass the stated door. A stack is not tested as one door-height block. Truck presets have no door until you type one, and the result then says the door is unverified.
- Support. The carton or pallet is not allowed to sit on what is underneath. “Do not stack” keeps that cargo in one layer, including one carton layer on a pallet. Double-stacking finished pallets is a separate switch and stays off by default. A pallet is not placed on loose cartons; it sits on the floor or on another pallet. Either rule fails this way. See the pallet guide and the no-stack 40GP / 40HQ pair.
- Search stopped. The remaining pieces were not placed before the search ended. That is not proof they will not fit.
When the search proves a maximum
The planner tries more than one packing order. Its own description of the method is “multi-start, exact floor search, backtracking, beam search and removal/repacking”. If you ask for more than 80 pieces, the exhaustive floor search and the backtracking are skipped. A large request can still be a confirmed maximum when the plan meets a mathematical upper bound: every requested piece is loaded, or no higher objective is possible. If the shorter search stops below that bound, the status is not a proof. These guides then say the search did not prove a maximum.
That is why a page can show two numbers for one carton. The 80 × 60 × 120 cm comparison is a confirmed 55 versus 110 with clearance off, and a feasible 52 versus 104 with the default clearance. Both pairs are real planner output. Only the first pair was proved.
The default objective is volume, not “as many pieces as possible” when those would differ. Centre-of-gravity tolerance starts at 5% of the horizontal offset and produces a warning. It does not reject the plan unless you turn on the weight-balance limit. Blank top-load strength is reported as unverified, not as a passed compression test.
What the result is not
It is not a loading or securing certificate. It does not model an articulated forklift turning in the doorway, and it does not certify lashing hardware. For packing and securing practice, use the IMO/ILO/UNECE CTU Code and the equipment operator’s instructions. Confirm internal and door dimensions, payload, axle limits, weight distribution, centre of gravity, packaging and dangerous-goods rules before the doors close.
Method FAQ
Which planner version do these pages describe?
The pages were reviewed on 12 November 2026. There is no separate public version number. The review date is the marker, and the preset dimensions are the values in the planner on that date.
When is a loaded count a confirmed maximum?
When every requested piece is loaded, or when the plan meets the mathematical upper bound the planner can prove. A request above 80 pieces skips the exhaustive search. If that shorter search stops below the bound, the count is a feasible plan and the pages say the search did not prove a maximum.