Give your visitors an instant "will it fit?" answer without sending them away. Two lines of HTML embed the real ContainerMath 3D packing engine — white-labeled to your brand, locked to your domain, metered on your plan.
Configure it, copy it, paste it. The CBM calculator is free and needs no account — it runs entirely in your visitor's browser, so there's nothing to sign up for and nothing to meter.
<script src="http://127.0.0.1:4321/embed.js"
data-widget="cbm"
async></script>
<div id="containermath-embed"></div>Powered by ContainerMath
That attribution line is part of the free widget and can't be switched off — it's what the free tier is exchanged for. The Pro Plus planner supports data-attribution="false".
Works on WordPress, Webflow, Shopify pages, plain HTML — anywhere you can paste a script tag. For the 3D planner, mint a publishable key (and set its domain allowlist) in Developers → Embed once you're signed in.
| Attribute | Required | What it does |
|---|---|---|
| data-widget | Optional | "cbm" for the free, keyless CBM calculator (the default when no data-key is present), or "planner" for the 3D load planner. |
| data-key | Optional | Required for the 3D planner only. Your publishable key (cm_pk_…) from Developers · Embed. Safe to expose — it only works on domains you allowlist. The free CBM widget needs no key. |
| data-units | Optional | metric (default, cm/kg) or imperial (in/lb) — the units the widget opens in. |
| data-container | Optional | Preselected vessel, e.g. 40ft-standard or 20ft-standard. |
| data-theme | Optional | light (default) or dark. |
| data-accent-color | Optional | Hex accent (no #) for buttons and highlights — white-label it to your brand. |
| data-bg-color | Optional | Hex background (no #). |
| data-height | Optional | Widget height in px (default 430 for the CBM widget, 520 for the planner). |
| data-target | Optional | Id of the div to render into (default containermath-embed). |
| data-attribution | Optional | Set to "false" to remove the small "Powered by ContainerMath" link under the widget. Honoured for the 3D planner only — the free CBM widget always shows it. |
Sign up, mint a publishable key on the Pro Plus plan, paste the snippet — your visitors are planning loads on your site today.
The industry standard for 3D container cargo packing and loading plans. Optimize layouts, maximize volume, and reduce shipping overhead.
Built by Backrock Studios