Container Loading Calculator
v1.0.0Work out how many flat-pack units fit in a 20ft or 40HQ container: layers, weight and utilisation.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
container_loading Container loading plan
Work out how many flat-pack units or panels fit in one 20ft (20GP) or 40ft high cube (40HQ) container. Returns units per layer, layers that fit the height, units limited by volume and by payload, the binding constraint, and the volume/payload utilisation. Use the packed size and weight of ONE unit. It does not estimate: if a dimension or the weight is missing it returns what is missing instead of a number.
| Parameter | Type | Description |
|---|---|---|
container * | string | Container type: 20gp (20ft general purpose) or 40hq (40ft high cube). |
unitHeightMm * | number | Packed height of one unit, in millimetres. |
unitLengthMm * | number | Packed length of one unit, in millimetres. |
unitWeightKg * | number | Weight of one packed unit, in kilograms. |
unitWidthMm * | number | Packed width of one unit, in millimetres. |
allowRotation | boolean | Optional. When true, the tool also tries each unit rotated 90 degrees and keeps the better units-per-layer. Default false, matching the web calculator. |
maxLayers | number | Optional stacking limit: the most layers you are willing to stack. Omit or send 0 for no cap. |