Freight Vol Calculator
Claude Code plugin: freight volume arithmetic - pallet quantity across 11 standards, container loads palletised or floor-loaded, master-carton permutations, and freight cost per unit from your own rates.
About This Project
Freight-Vol-Calculator is a Claude Code plugin written in Python that works out how many units of a product fit on a pallet, in a shipping container, or in a 13.6 m trailer, given the product's external dimensions and weight. It covers 11 pallet standards, including EUR-1/EPAL, GMA, China GB/T 2934 and Australian 1165 x 1165 pallets, and 7 transport units, with palletised and floor-loaded layouts. The plugin also enumerates master-carton permutations, verifies figures copied from supplier listings for internal consistency, and divides a freight rate supplied by the user by the computed load to give cost per container, per cubic metre, per pallet, or per kilogram of chargeable weight.
The implementation uses only the Python standard library, with no dependencies, network calls, or API keys. Reference data for pallets and transport units is held in CSV files with a provenance column that records whether each figure is fixed by a standard, a typical build, or dependent on the manufacturer. Buffers such as loading clearance and floor-load derates are stated explicitly in every result and can be overridden. A self-test asserts 45 published trade figures against the packer, and every returned layout is checked for overlap and overhang. The plugin is structured as six skills, with a main entry point that collects inputs and produces a shipment brief, and each subcommand supports JSON output.
The project is aimed at importers, exporters, sourcing staff, and logistics planners who need to estimate container loads or freight cost per unit before committing to a supplier or carrier. It is also relevant to developers who want a deterministic, auditable packing calculator that can be used directly from the command line or inside Claude Code without relying on external rate data.