Free Tool · No Signup Required

CBM Calculator for Shipping

Calculate the cubic meters (CBM) of your cargo and instantly see how many cartons fit in a 20GP or 40HQ container. The fastest way to estimate sea freight volume before you book.

🧮 CBM Calculator

Length (cm)Width (cm)Height (cm)QuantityUnit CBM
Stacking margin:
Total CBM
6.000
CBM (with margin)
6.300
Cartons fit in 20GP
0
Cartons fit in 40HQ
0
Open Full Calculator → Excel Export How many boxes in a 20ft container?

What is CBM in shipping?

CBM (cubic meter) is the standard volume unit for sea freight. Freight forwarders use it to price LCL (less-than-container-load) shipments and to work out how many cartons fit inside a container. The formula is simple:

CBM = Length(m) × Width(m) × Height(m) × Quantity

In practice, cartons never stack perfectly — corners get wasted and cartons bulge. That's why forwarders add a 5–10% stacking margin. Our calculator includes this margin by default so the numbers match what your forwarder will actually tell you.

Container volumes at a glance

ContainerInternal VolumePractical LoadingMax Payload
20GP (20ft)33.2 CBM~28 CBM~21,700 kg
40GP (40ft)67.7 CBM~58 CBM~26,500 kg
40HQ (40ft High Cube)76.3 CBM~68 CBM~26,500 kg

"Practical loading" is lower than internal volume because of stacking gaps and door clearance. Compare the two most common options in our 20GP vs 40HQ guide.

Example: 100 cartons of 50×40×30 cm

One carton = 0.5 × 0.4 × 0.3 = 0.06 CBM. For 100 cartons: 6 CBM, or 6.3 CBM with a 5% margin. That fills about 19% of a 20GP — so a less-than-container-load (LCL) shipment is likely cheaper than booking a full container.

Ready to go beyond CBM? The full Container Loading Calculator supports multiple products, saves your product library, and exports professional packing lists to Excel.