Home › Tools › Container loading calculator

Container loading calculator

Type one carton size and see its CBM, how many fit in a 20 ft, 40 ft or high cube container, and how many containers your order needs. Or paste a whole SKU list below. For pallets, use the pallet calculator.

Made by Show Sourcing, the sourcing app for buyers at trade shows and factories

Your carton

Clearances and tolerances

Cartons bulge and are never the exact size, and loaders need room to push the last cartons in. Set any of these to 0 for the exact math.

Freight cost (optional)

Type what you pay per container, port to port (ocean freight, no trucking). Leave a size empty to skip it.

Not sure what a container costs now? Public spot rate indexes, port to port, per 40 ft: Freightos FBX and Drewry World Container Index. A quote from your forwarder is more exact.

Volume and weight

Container loading

Empty spots in the picture are gaps too small for one more carton. Inside sizes of standard dry containers. Real loads often lose a few percent to door space, carton bulge and the order you load. Check the max cargo weight with your forwarder: road limits are often lower than the container limit (in the US, often about 19,000 to 20,000 kg in a 20 ft and 20,000 to 22,000 kg in a 40 ft).

Download the carton and container results:

How the math works

CBM (cubic meters) = length × width × height in centimeters ÷ 1,000,000. A 60 × 40 × 40 cm carton is 0.096 CBM. In inches, divide cubic inches by 61,024. One CBM is 35.3 cubic feet.

Container loading tries every way to turn the carton (only the two upright ways when "This side up" is on). It fills the container with the best grid, then fills the gaps that are left with turned cartons. It then caps the count at the container's max cargo weight.

SKU lists mix many carton sizes, so the tool adds up the CBM and weight and divides by the container's space times the usable space you pick. 85% is a common rule for mixed cartons.

Frequently asked questions

How many CBM fit in a 20 ft, 40 ft and 40 ft high cube container?

The inside space is about 33 CBM in a 20 ft, 67.7 CBM in a 40 ft and 76.4 CBM in a 40 ft high cube. In practice you load about 25 to 28 CBM, 55 to 58 CBM and 65 to 68 CBM of mixed cartons.

How do I calculate CBM for a carton?

Multiply length × width × height in centimeters and divide by 1,000,000. Then multiply by the number of cartons. For inches, divide the cubic inches by 61,024.

What is "this side up"?

Many cartons must stay upright. With the box ticked, cartons only turn flat on the floor (length and width swap). Untick it to let the tool lay cartons on their side, which often fits more.

Is my data saved or sent anywhere?

No. All math runs in your browser. Nothing you type or upload leaves your device.

Show SourcingThe sourcing app for trade shows and factories

Keep every product, photo, price and vendor in one place. Scan business cards, and see the landed cost of each product with your country's tariff rules. Free for up to 10 products and 5 vendors.

Show Sourcing product list
A product with price, vendor and landed cost

More free tools

Pallet calculator

Cartons per pallet, layers, height and weight, pallets per container, 3D picture.

Landed cost calculator

Real cost per unit with freight, duty, tariffs and US fees.

Margin calculator

Real margin after retailer programs and licensing royalties.

Volumetric weight calculator

Billable weight at UPS, FedEx, DHL, USPS and air freight.

Incoterms 2020 guide

All 11 rules: who pays what, and where the risk moves.

Free, no sign-up and no ads. Your numbers stay in your browser: nothing you type is sent anywhere. Updated 2026-12-01.