Container Loading Calculator: Cartons, Pallets and Mixed Cargo
Plan a container load before you book. Enter cartons, crates or pallets with their handling rules, pick the containers to compare, and get a loading plan. The plan shows how many containers you need, where every unit goes (in 3D, and in top, side and door views), the weight distribution and the freight cost per unit. You can also build cartons into pallets first. Everything runs in your browser.
What the calculator does
- Loose, palletized and mixed cargo: cartons, boxes and crates; pallets that are already loaded; or cartons that the tool builds into pallets (cartons per layer, layers and pallet weight).
- Container comparison: 20' and 40' standard, 40' and 45' high cube, 20' and 40' high cube reefers, plus your own equipment. For each type it reports the containers needed, units loaded and not loaded, volume, floor and payload use, freight per container and per unit.
- Handling rules: orientation (any, this side up, fixed), non-stackable cargo, maximum layers, maximum load on top, fragile cargo, unloading stops and cargo that must not travel together.
- Safety checks:
- the door opening and a clear loading path from the doors
- a minimum supported base under every unit
- payload, and the floor load per running metre
- centre of gravity, and the "60% of the weight in half the length" rule of thumb
- Outputs: an interactive 3D plan with a step-by-step loading sequence, 2D drawings, an Excel workbook (summary, cargo, every unit's X/Y/Z position, pallet plan, warnings) and a printable report you can save as PDF.
How the loading plan is calculated
All inputs are converted to millimetres and kilograms using exact factors (1 in = 25.4 mm, 1 lb = 0.45359237 kg).
The optimiser builds walls, lanes and floor layers of identical units from the front wall towards the doors, placing them at "extreme points" in the remaining space. It runs this with several orderings of the cargo and keeps the best plan:
- fewest units left over
- then fewest containers
- then the best balance
Every unit must fit through the door, have a free path to the doors when it is loaded, and rest on enough support. Every finished plan is checked again unit by unit: no overlaps, inside the usable space, permitted orientations only, supported, and within payload.
Like all practical loading software, this is a heuristic. It returns the best plan found in the time allowed, not a mathematical guarantee that no better plan exists.
Pallet building
- Cartons per layer: the best of straight, rotated and mixed patterns on the pallet, plus any allowed overhang.
- Layers = (maximum loaded height − pallet height) ÷ carton height.
- Weight limit = (maximum pallet gross − pallet tare) ÷ carton weight.
Cartons per pallet is the smallest of the height, weight and carton-strength limits. If carton compression strength is not entered, the tool reports the stacking strength as not verified rather than guessing.
Container and pallet data
The presets are typical values from carrier and lessor specifications, for example:
- Hapag-Lloyd 20' standard: inside 5,895 × 2,350 × 2,392 mm, door 2,340 × 2,292 mm, 30,480 kg max gross
- DSV high cube and reefer data
- EPAL pallet specifications: Euro pallet 1,200 × 800 × 144 mm, approx. 25 kg, safe working load 1,500 kg
Real containers vary by series and owner, so every value is editable. Check it against the CSC plate or your carrier.
Payload is always calculated as maximum gross minus tare. A container's payload rating is not a road weight limit: national road and rail limits are often lower.
Rules of thumb used in the checks
- Centre of gravity: within ±5% of the container length from the middle, and no more than 60% of the cargo weight in either half (CTU Code guidance).
- Floor load: about 4.5 tonnes per running metre for a 20' container and 3 tonnes per metre for a 40' container with a wooden floor. Heavy items need bearers to spread the load.
- Practical volume: planners usually expect about 25–28 m³ in a 20', 55–58 m³ in a 40' and 65–68 m³ in a 40' high cube. This calculator works from the actual dimensions instead.
- VGM: the verified gross mass under SOLAS is cargo, packing, dunnage and securing material, plus the container tare. The calculator's VGM is an estimate; the declared VGM must come from weighing.
- LCL and air: LCL is charged per revenue ton (1 m³ or 1,000 kg, whichever is greater). Air freight uses volumetric weight at 6,000 cm³ per kg (IATA).
Limitations
- This is an indicative plan. It does not replace professional cargo securing (lashing, blocking, bracing), container inspection, VGM weighing, axle-load checks or route weight rules. A geometric fit does not certify that a shipment is safe or legal. Use the IMO/ILO/UNECE Code of Practice for Packing of Cargo Transport Units (CTU Code).
- Open top, flat rack and tank equipment are not modelled.
- Units are treated as rigid boxes. Bags, drums and irregular cargo should be entered as their bounding box.
- Floor point loads and carton compression are only checked when you enter the limits.
Privacy
The calculation runs in your browser. Cargo details are not sent to CalculatorEdge. Saved plans are stored only in your browser, or in a file you download.
Sources
- IMO/ILO/UNECE Code of Practice for Packing of Cargo Transport Units (CTU Code), 2014.
- Hapag-Lloyd container specifications and weight distribution guideline; DSV and Maersk container data sheets.
- ISO 668 (Series 1 freight containers: dimensions and ratings) and ISO 1496-1.
- EPAL product specifications (EPAL 1, 2 and 3 pallets).
- SOLAS chapter VI, regulation 2: verified gross mass of packed containers.
- Crainic, Perboli & Tadei, Extreme point-based heuristics for three-dimensional bin packing (2008); George & Robinson, A heuristic for packing boxes into a container (1980).