CBM calculator for cartons and containers

CBM is length × width × height in metres, so a 60 × 40 × 50 cm carton is 0.12 m³, and an order's CBM is that figure times the number of cartons. Enter each carton type to get the total cubic metres and kilograms, and the share of a 20ft, 40ft or 40HC container they take.

Last reviewed

Invented sample carton

Carton types
RowLength (cm)Width (cm)Height (cm)Cartonskg per cartonm³Actions
Row 112
Volume
12m³
Weight
1,500kg

100 cartons take 12 m³ and weigh 1,500 kg.

m³ = L × W × H ÷ 1,000,000 (cm) × cartons

Share of a container
ContainerBy volume, Allocates.ai defaultBy volume, ONE publishedBy weight, Allocates.ai default
20' (28 / 33.1 m³)43%36%5%
40' (58 / 67.6 m³)21%18%6%
40' HC (68 / 76.2 m³)18%16%6%

The Allocates.ai default is the usable volume a planner can count on; ONE publishes the nominal inside volume. Use the container loading calculator for weight-bound loads.

Nothing you type leaves this page.Container fill check is coming. Join the founding cohort to use it first

The formula

CBM = length × width × height ÷ 1,000,000 (cm) × cartons

  • length, width, height: outside carton size, cm
  • cartons: number of cartons of this type
  • Share of a container = total CBM ÷ usable m³ (Allocates.ai default: 28, 58 or 68 m³ for 20ft, 40ft or 40HC)

In Excel: =B2*C2*D2/1000000*E2 with length, width and height in B:D and cartons in E; the order total: =SUM(F2:F21)

How to use it with your export

Start from the item master, not the sales report. For each carton type you need the outside length, width and height, the gross weight of a full carton and the number of units per carton. In most ERP exports these fields sit on the item card and are often blank for older items; fill the gaps from the supplier's packing list. Measure the outside of the carton: inside sizes understate the volume.

Pick one unit for the whole table: centimetres, millimetres or inches. The calculator converts to cubic metres, and the formula under the result changes with the unit: ÷ 1,000,000 for cm, ÷ 1,000,000,000 for mm and × 0.000016387 for inches. If your export mixes units, convert the odd rows before you type them. Type numbers without a thousands separator (15000, not 15,000): the calculator reads a single comma as a decimal sign, so 0,12 and 0.12 both work.

Enter one row per carton type, up to 20, with Add a carton type. Cartons means cartons, not units: divide the order quantity by the units per carton and round up, because a part carton still ships as a whole one. Each row shows its own m³ as you type, which makes a slipped unit easy to spot: a 600 × 400 × 500 mm carton typed with the unit set to centimetres comes out a thousand times too large.

The kg per carton column is optional. Leave it empty on every row and the result gives volume only. Once any row has a weight, a row without one counts as 0 kg, so the total weight is a lower bound until every row is filled.

The result gives the total m³ and kg, and under them the share of a 20', 40' and 40' HC container. The sample on the page, 100 cartons of 60 × 40 × 50 cm at 15 kg each, takes 12 m³ and 1,500 kg: 43% of a 20' against the Allocates.ai usable default of 28 m³, and 36% of the 33.1 m³ that ONE publishes. Plan on the first column. The second is the inside of an empty box, and carriers do not even agree on that: Maersk lists 33.2 m³ for its 20'. With weights entered, a third column gives the share of the Allocates.ai payload default (28,000 kg for a 20', 26,500 kg for a 40' or 40' HC). The sample's 1,500 kg is 5% of a 20', so volume binds.

For goods that ship on pallets, enter the loaded pallet as one row: its outside size including the pallet itself, and the number of pallets in the Cartons column. That counts the pallet and the gaps between cartons, which a carton-by-carton sum leaves out.

When the order comes close to one box, or its weight share is higher than its volume share, switch to the container loading calculator: it checks volume and payload per order line, shows which limit binds and what a top-up would add. For a part load, send the m³ and kg to your forwarder for an LCL quote. To keep the figure with the SKU, the Excel formula above gives the m³ of each row. Nothing you enter leaves the page.

Assumptions and limits

  • Cartons are measured on the outside, in cm, mm or inches; the calculator converts to metres.
  • Container shares use Allocates.ai's usable volume and payload defaults, with ONE's published inside volume beside them.
  • Cubic metres are not a load plan: carton shape, stacking and pallets decide what really fits.
  • Inches convert at 1 in³ = 0.000016387 m³ (NIST); one unit applies to every row.
  • Weight is optional; once any row has one, rows without it count as 0 kg, so the total weight is a lower bound.

Frequently asked questions

How do I calculate CBM from inches or millimetres?

Multiply the three sides, then convert: in millimetres divide by 1,000,000,000; in inches multiply the cubic inches by 0.000016387, the NIST factor for one cubic inch in cubic metres. A 600 × 400 × 500 mm carton is the same 0.12 m³ as the 60 × 40 × 50 cm one, and a 24 × 16 × 20 in carton is 7,680 in³, about 0.126 m³. Set the unit in the calculator and it does the conversion for every row.

How do I convert cubic feet (CFT) to CBM?

Multiply cubic feet by 0.0283 (NIST gives 1 ft³ = 0.02831685 m³), or divide by about 35.31. Maersk lists its 40' high cube as 76.4 m³ and 2,700 ft³: 76.4 × 35.31 ≈ 2,698 ft³, which it rounds to 2,700. The calculator takes carton sides in cm, mm or inches, so for sizes in feet multiply each side by 12 and enter inches.

Should I calculate CBM per carton or per pallet?

Per the unit that ships. For floor-loaded cartons, use the outside size of each carton. For pallets, measure the whole loaded pallet, pallet included: a euro pallet is 1,200 × 800 mm and 144 mm high (EPAL), so one built to 1.25 m takes 1.2 × 0.8 × 1.25 = 1.2 m³, whatever its cartons add up to. Enter it as one row with the number of pallets as the count.

Why does the CBM calculator show two volume percentages for each container?

One divides your m³ by the Allocates.ai usable default (28, 58 or 68 m³ for a 20', 40' or 40' HC), the other by the inside volume ONE publishes (33.1, 67.6 or 76.2 m³). The sample's 12 m³ is 18% of a 40' HC by the default and 16% by ONE's figure. Plan on the default, or on your own loads: cartons rarely fill an empty box. Once any row has a weight, a third column divides the kg by the Allocates.ai payload default.

How is LCL freight charged by CBM?

Usually on a weight-or-measure (W/M) basis, per revenue ton: one cubic metre counts the same as 1,000 kg, and you pay on whichever is larger. In Cogoport's example, 0.6 m³ weighing 900 kg is charged as 0.9 revenue tons, because the weight is larger; the page's sample of 12 m³ and 1,500 kg would be charged on 12. Minimum charges and rounding differ by forwarder, so read the quote's terms.

Sources

  1. Ocean Network Express (ONE), 2026. Dry containers (20' dry, 40' dry, 40' high cube: internal dimensions, door opening, capacity, tare, max payload, gross ratings)Primary sourceAccessed 2026-11-30
  2. Maersk, 2026. What is the weight limit for the cargo?Primary sourceAccessed 2026-11-30
  3. European Pallet Association (EPAL), 2026. EPAL Euro palletStandardAccessed 2026-11-30
  4. National Institute of Standards and Technology (NIST), 2026. NIST Guide to the SI, Appendix B.8: Factors for units listed alphabetically (inch = 0.0254 m exactly; cubic inch = 1.638706 E-05 m³; cubic foot = 2.831685 E-02 m³)StandardAccessed 2026-11-30
  5. Cogoport, 2026. How to Calculate Volume & Weight for Ocean Freight (26 Feb 2026): revenue ton = 1 CBM or 1,000 kg, whichever is higherRule of thumbAccessed 2026-11-30
  6. Allocates.ai, 2026. Container planning presets: usable volume 28 / 58 / 68 m³ and payload 28,000 / 26,500 / 26,500 kg for 20ft / 40ft / 40HCOur own estimateAccessed 2026-11-30