load_plan
Compute optimal container loading: determine how many cartons fit by volume and weight, identify the binding constraint, and compare container types. Get overweight warnings and container mix recommendations.
Instructions
Optimize how a product LOADS into a container — the stowage/cube-and-weight question every importer faces. Give the CARTON dimensions (cm) and gross weight (kg) and optionally a target quantity, and it computes: how many units fit BY VOLUME and BY WEIGHT and which constraint BINDS FIRST (the crux — dense cargo like tiles/stone tops out by WEIGHT at low cube, while light cargo like apparel/foam fills the CUBE with payload to spare); the utilization on BOTH axes (% volume AND % payload) so you see the wasted constraint; the 40HC-vs-2×20DV head-to-head for the cargo's density (two 20ft give ~2× the payload for ~the same cube — the right answer for heavy cargo, which a naïve volume-only divide gets wrong); an OVERWEIGHT warning when a box that's 'full' by cube would be ILLEGAL to truck because the destination ROAD/axle weight limit (e.g. US ~38-44k lb cargo on a standard chassis) is far below the ISO 26.7t container plate; and a recommended container MIX for a target quantity with the last box right-sized. Uses real interior dimensions and max payloads of 20DV/40DV/40HC (and reefers) plus per-country road weight caps. Indicative stowage PLANNING (practical-cube loadability, not 3D bin-packing), not a load-securing certification (regla 7). PREMIUM: x402 (USDC on Base) or a prepaid key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| length_cm | Yes | Carton length in cm. REQUIRED. | |
| width_cm | Yes | Carton width in cm. REQUIRED. | |
| height_cm | Yes | Carton height in cm. REQUIRED. | |
| weight_kg | Yes | Gross weight per carton in kg. REQUIRED — it drives the weight-binding & overweight logic. | |
| units_per_carton | No | Units (pieces) per carton, for unit-level totals. Optional; default 1. | |
| reefer | No | Evaluate reefer containers (20RF/40RF) instead of dry. Optional. | |
| destination_country | No | Destination ISO-2 country (e.g. 'US', 'DE') → enables the road-weight overweight check. Optional. | |
| heavy_chassis | No | Use the heavy/tri-axle road limit instead of the standard chassis cap. Optional. | |
| target_cartons | No | Total cartons to ship → produces a container MIX. Optional. | |
| target_units | No | Total units to ship (converted via units_per_carton) → produces a container mix. Optional. |