How to Calculate CBM: Formula and Example
The exact formula for calculating CBM (cubic meters), how to handle multiple package lines, and a worked example using the same method behind TGF's CBM calculator.
On this page
- 01The Formula
- 02Step 1: Convert Every Dimension to the Same Unit First
- 03Step 2: Calculate Per-Piece Volume
- 04Step 3: Multiply by Quantity, Then Sum Every Line
- 05Worked Example: Two Package Lines
- 06Worked Example: Three Lines With Mixed Units
- 07Common Rounding and Precision Mistakes
- 08Calculating CBM From a Supplier Spec Sheet or Packing List
- 09Verifying Your Calculation Against a Forwarder's Measurement
- 10Recalculating CBM After a Packaging Change
- 11Using a CBM Calculator Tool Correctly
- 12Worked Example: Palletized Cargo With Overhang
- 13A Quick Sanity Check for Any CBM Number
- 14Checklist: Before You Send a CBM Figure to a Forwarder
Quick Answer
CBM is calculated as length × width × height, with all three dimensions converted to meters first. For a single package type shipped in quantity, multiply the per-piece CBM by the number of pieces. For a shipment with several different package sizes, calculate CBM separately for each package line, then add every line's total together to get the shipment's overall CBM. This is the same method used by TGF's CBM calculator tool, which also lets you add multiple cargo lines and see a combined total. The result is used to estimate LCL freight charges and to check how much of a container's capacity a shipment will use.
Key Takeaways
- CBM formula: length (m) × width (m) × height (m) = volume per piece.
- Multiply per-piece CBM by quantity to get the total for that package line.
- For mixed cargo, calculate each package line separately, then sum all lines for the shipment total.
- Always convert dimensions to meters before multiplying — mixing units is the most common calculation error.
- From centimetres, the shortcut is: multiply all three cm figures, then divide by 1,000,000.
- Keep decimal precision through every step — rounding early compounds error across large piece counts.
Calculating CBM correctly matters because it feeds directly into LCL pricing and into whether cargo will physically fit into a chosen container. The arithmetic itself is simple, but it's worth working through carefully — especially when a shipment has multiple package sizes, when dimensions arrive in mixed units from different suppliers, or when hundreds of pieces are involved and a small rounding habit turns into a meaningful error by the time every line is added up. This guide walks through the formula, the exact order of operations that avoids common mistakes, and a full worked example covering more than one package line. It also covers the calculation habits that separate a reliable CBM figure from one that quietly drifts — unit discipline, decimal precision, and treating packaging as part of what's being measured rather than an afterthought added at the end.
Key points at a glance
CBM formula: length (m) × width (m) × height (m) = volume per piece.
Multiply per-piece CBM by quantity to get the total for that package line.
For mixed cargo, calculate each package line separately, then sum all lines for the shipment total.
Convert every dimension to the same unit — meters — before the first multiplication, not after.
Keep at least two decimal places through the calculation — rounding too early compounds error across many pieces.
The Formula
CBM (per piece) = Length (m) × Width (m) × Height (m). If the package quantity for that size is more than one, multiply the per-piece result by quantity: Total CBM (per line) = CBM per piece × Quantity. If dimensions are given in centimetres, millimetres, or inches, convert to metres first — divide centimetres by 100, divide millimetres by 1,000, or multiply inches by 0.0254 — before applying the formula. A useful shortcut when working from centimetres directly: multiply all three centimetre figures together first, then divide the single result by 1,000,000, since there are 1,000,000 cubic centimetres in a cubic metre. Getting the unit conversion right at this step, before any multiplication happens, avoids the single most common source of calculation error.
CBM formula and unit shortcuts
CBM per piece = L(m) × W(m) × H(m); Line total = CBM per piece × Qty
- From centimetres
- (L cm × W cm × H cm) ÷ 1,000,000 = CBM per piece
- From inches
- Multiply inches by 0.0254 to get metres first
- Shipment total
- Sum of every package line's total
Step 1: Convert Every Dimension to the Same Unit First
Before any multiplication happens, every dimension involved — length, width, and height, for every package line — needs to be in the same unit, and that unit should be metres, since CBM is defined in cubic metres. This step matters more than it sounds: it's tempting to convert dimensions "as you go", multiplying centimetres together and converting the final answer, but that only works cleanly for a single conversion step (divide by 1,000,000) and becomes error-prone the moment a shipment mixes centimetres for one line with inches for another, which happens often when cargo consolidates from multiple suppliers. Converting everything to metres at the very start, before any other arithmetic, removes that risk entirely.
Step 2: Calculate Per-Piece Volume
Once every dimension for a given package line is in metres, multiply the three figures together — length × width × height — to get the volume of one piece in that line. This is the per-piece CBM. Keep at least two, ideally three, decimal places at this stage rather than rounding to a whole number; a box that comes out to 0.127 CBM should stay 0.127 through the next step, not get rounded to 0.13 or 0.1 before being multiplied by quantity.
Step 3: Multiply by Quantity, Then Sum Every Line
Multiply the per-piece CBM by the quantity of pieces in that specific line to get the line total. If the shipment has only one package size, that line total is the shipment's overall CBM and the calculation is finished. If the shipment mixes different package sizes — which is the normal case for most real cargo — repeat Steps 1 through 3 for every distinct package line, then add every line's total together. The final sum is the shipment's total CBM.
Unit conversion reference
| Unit given | Multiply by | To get |
|---|---|---|
| Centimetres (cm) | 0.01 | Metres |
| Millimetres (mm) | 0.001 | Metres |
| Inches (in) | 0.0254 | Metres |
| Feet (ft) | 0.3048 | Metres |
Worked Example: Two Package Lines
Suppose a shipment has two package lines. Line 1: 24 boxes, each 0.45m × 0.35m × 0.25m. Line 2: 6 boxes, each 1.2m × 0.9m × 0.8m. Line 1 per-box volume: 0.45 × 0.35 × 0.25 = 0.039375 CBM, multiplied by 24 = 0.945 CBM. Line 2 per-box volume: 1.2 × 0.9 × 0.8 = 0.864 CBM, multiplied by 6 = 5.184 CBM. Total shipment CBM: 0.945 + 5.184 = 6.129 CBM. In practice this would typically be presented to a forwarder rounded to three decimal places — 6.129 CBM — rather than rounded further, since LCL rates are usually applied to the more precise figure. (These figures are illustrative only, not a live rate calculation.)
Worked Example: Three Lines With Mixed Units
Mixed-unit shipments are common when cargo consolidates from more than one supplier. Suppose Line A is 15 cartons at 55cm × 40cm × 35cm; Line B is 10 cartons at 28in × 20in × 18in; Line C is 4 crates at 1.5m × 1.0m × 1.1m. Converting each to metres first: Line A, 0.55 × 0.40 × 0.35 = 0.077 CBM per carton × 15 = 1.155 CBM. Line B, using 28in × 0.0254 = 0.7112m, 20in × 0.0254 = 0.508m, 18in × 0.0254 = 0.4572m: 0.7112 × 0.508 × 0.4572 = 0.1652 CBM per carton × 10 = 1.652 CBM. Line C, already in metres: 1.5 × 1.0 × 1.1 = 1.65 CBM per crate × 4 = 6.6 CBM. Total shipment CBM: 1.155 + 1.652 + 6.6 = 9.407 CBM. Notice that Line B, given in inches, would have produced a wildly wrong answer if its raw numbers had been multiplied without converting to metres first — this is exactly the kind of error that unit-conversion discipline prevents. (These figures are illustrative only.)
Common Rounding and Precision Mistakes
Rounding errors rarely look dramatic on a single box, but they compound fast across a real shipment. Rounding a per-piece CBM to two decimal places when the true value has three or four can shift a large multi-line total by a noticeable margin once every line and every piece count is factored in. The safest approach is to carry full decimal precision through every intermediate step — per-piece volume, then line total — and only round the final combined shipment total, typically to two or three decimal places, at the very end. Another related mistake is rounding a dimension itself before multiplying — for example, treating a 0.478m length as 0.5m for convenience — which introduces error before the calculation even starts.
Calculating CBM From a Supplier Spec Sheet or Packing List
When dimensions come from a supplier's product spec sheet rather than a physical measurement, treat them as a starting point, not a final answer. Spec sheets often describe the bare product, not the outer carton it ships in — and it's the outer carton or pallet dimensions that determine actual CBM, since that's what occupies space in transit. When working from a packing list that already states CBM per line, it's still worth spot-checking a few lines against the underlying length, width, height and quantity figures, since packing lists are sometimes built from templates and can carry forward an outdated dimension after a packaging change.
Calculation workflow for a mixed shipment
- 1
1. List every distinct package line
Group by identical L×W×H — don't average different sizes together
- 2
2. Convert every dimension to metres
Do this before any multiplication, for every line
- 3
3. Calculate per-piece CBM, then multiply by quantity
Repeat for each package line separately
- 4
4. Sum every line's total
The sum is the shipment's total CBM
Verifying Your Calculation Against a Forwarder's Measurement
Most forwarders re-measure cargo when it arrives at their warehouse, using either manual measurement or a volumetric scanner for higher piece counts. It's worth running your own calculation before that point, not just to have an estimate in hand, but so that any discrepancy between your figure and the forwarder's re-measurement is easy to spot and query immediately, rather than discovered only when a final invoice looks different from the original quote. A gap of a few percent is normal and usually comes down to measuring convention (e.g., whether pallet overhang was included); a much larger gap is worth asking about directly.
Recalculating CBM After a Packaging Change
A CBM figure from a previous shipment should never be reused automatically once packaging changes, even if the product inside hasn't. Small dimension increases compound fast across large quantities. Suppose a carton grows from 0.45m × 0.35m × 0.25m (0.0394 CBM per piece) to 0.48m × 0.38m × 0.27m (0.0493 CBM per piece) — a change that might look minor on a spec sheet. For 500 pieces, that's a jump from roughly 19.7 CBM to roughly 24.6 CBM: nearly 25% more space needed for the same order quantity. A change of that size can be enough to push a shipment that comfortably fit as LCL into territory where booking a full container becomes worth comparing again. Any time a supplier changes carton size, adds inner dividers, switches from bulk packing to individual retail boxes, or changes pallet configuration, the CBM calculation should be redone from measured dimensions — not carried forward from the last purchase order.
Using a CBM Calculator Tool Correctly
A CBM calculator applies exactly the steps above, but it's still only as accurate as the inputs entered into it. To get a reliable result from any CBM calculator, including TGF's, enter each distinct package size as its own line rather than trying to average sizes into one entry, double-check the unit selector matches the unit the dimensions were actually measured in, and include outer packaging dimensions rather than product-only dimensions. A calculator removes arithmetic mistakes; it can't correct for dimensions or units entered incorrectly in the first place.
Worked Example: Palletized Cargo With Overhang
Palletized cargo needs one extra consideration: the pallet unit, not the individual carton, is usually what determines CBM, because cartons rarely tessellate perfectly and the pallet's own footprint plus any overhang is what actually reserves space in the container. Suppose cartons measuring 0.4m × 0.3m × 0.3m are stacked six per layer, five layers high, onto a pallet with a base of 1.2m × 1.0m — but the stacked cartons overhang the pallet edge slightly, so the measured outer footprint of the loaded pallet is 1.25m × 1.05m. Total height, including the pallet itself at 0.15m plus five carton layers at 0.3m each (1.5m), comes to 1.65m. Per-pallet CBM: 1.25 × 1.05 × 1.65 = 2.1656 CBM. For a shipment of 8 such pallets: 2.1656 × 8 = 17.325 CBM. Notice this is meaningfully more than simply multiplying the 30 individual cartons per pallet by their own per-carton volume (0.4 × 0.3 × 0.3 = 0.036 CBM × 30 = 1.08 CBM per pallet) — the pallet-unit method reflects the space actually reserved in the container, including gaps between cartons and the overhang, while the carton-only sum understates it. Always measure the unit that will physically move through the supply chain, not the smallest component inside it.
Two ways to measure the same 8-pallet shipment
Pallet-unit method (8 pallets)
17.33 CBM
Carton-only sum (8 pallets)
8.64 CBM
From the worked example above: pallet-unit CBM = 1.25 x 1.05 x 1.65 m = 2.1656 CBM per pallet x 8 pallets = 17.325 CBM. Carton-only sum = 0.4 x 0.3 x 0.3 m = 0.036 CBM per carton x 30 cartons per pallet = 1.08 CBM per pallet x 8 pallets = 8.64 CBM. Illustrative figures only, not a live rate calculation.
A Quick Sanity Check for Any CBM Number
Once a total is calculated, a short sanity check catches gross errors before they reach a forwarder. Compare the per-piece CBM against an intuitive sense of the item's size — a typical carton in the small-appliance to medium-furniture-part range usually lands somewhere around 0.05 to 0.3 CBM per piece, not 5 CBM or 0.005 CBM. If a result comes out wildly outside that kind of range for an ordinary carton, the most likely cause is a missed unit conversion or a decimal placed in the wrong position rather than a genuinely unusual shipment. A second check: divide the shipment's total CBM by its total piece count to get an average per-piece figure, then confirm that average sits in the same order of magnitude as the actual package lines that made it up — if the average is ten times higher or lower than every real line, a step was likely skipped, duplicated, or applied to the wrong line somewhere in the spreadsheet. These checks don't replace calculating carefully in the first place, but they reliably catch the kind of slip that's easy to make and easy to miss when scanning a long list of numbers.
Checklist: Before You Send a CBM Figure to a Forwarder
A short check before a CBM number gets used for anything — a quote request, a booking, or a container-fit comparison.
- Every dimension has been converted to metres, not left in a mix of centimetres, inches, or millimetres.
- Outer packaging — carton, crate, or pallet, including overhang — has been measured, not just the product.
- Quantity per package line is correct, and mixed sizes have been kept as separate lines rather than averaged.
- Decimal precision has been kept through per-piece and per-line calculations, with rounding only applied to the final total.
- If a calculator tool was used, the unit selector was checked against the source measurement unit before entry.
Common Mistakes
- Mixing units — measuring in centimeters but forgetting to convert to meters before multiplying.
- Averaging box dimensions across a mixed shipment instead of calculating each package line separately.
- Rounding dimensions too early in the calculation, which compounds error across many pieces.
- Measuring only the product and forgetting to include its outer packaging, pallet, or crate.
- Using product spec-sheet dimensions instead of the actual built outer carton or crate size.
What You Need to Prepare
- Length, width and height of each distinct package type, measured on its actual outer shipped dimensions.
- Quantity of pieces for each distinct package line.
- Confirmation of which unit the dimensions were originally measured in.
Frequently Asked Questions
What if I only know the dimensions in inches?
Convert inches to meters first (1 inch = 0.0254 meters) before applying the CBM formula. TGF's CBM calculator tool accepts multiple units directly and converts automatically.
Do I calculate CBM per box or per pallet?
Use whichever unit reflects how the cargo will actually be measured and handled at booking — if boxes are palletized before shipping, the palletized outer dimensions are usually the relevant figure.
Does the formula change for irregularly shaped cargo?
For irregular shapes, CBM is typically estimated using the smallest rectangular box that would fully contain the item, since that's the space it will actually occupy in a container.
Where can I calculate this automatically instead of by hand?
TGF's CBM calculator tool applies this exact formula, supports multiple package lines with different units, and totals everything automatically.
How many decimal places should I keep when calculating CBM?
Keep at least two, ideally three, decimal places through every intermediate step — per-piece volume and each line total — and only round the final shipment total at the very end. Rounding early is a common source of compounded error across large piece counts.
Why does my recalculated CBM differ slightly from the forwarder's warehouse measurement?
A small gap, typically a few percent, is normal and usually comes down to measuring convention — such as whether pallet overhang or packaging looseness was included. A much larger gap is worth querying directly with the forwarder before accepting the revised figure.