Free Container Loading Calculator

Enter your carton size and pick a container to see how many boxes fit in a 20ft, 40ft or 40ft HC container instantly

Quick presets:

Carton Dimensions

Container

0 cartons

Fit in this container

Volume Used
0%
CBM Loaded
0.0
CBM Per Carton
0.000
Loaded Weight
-

What Is a Container Loading Calculator?

A container loading calculator works out how many cartons of a given size fit inside a shipping container: a 20ft, 40ft, or 40ft High Cube. Instead of guessing whether your purchase order will fill one container or spill into a second, you enter your carton dimensions and read the answer instantly. For ecommerce sellers importing stock from suppliers on Alibaba, consolidating inventory for Amazon FBA, or shipping bulk orders across Southeast Asia, knowing how many boxes fit is the difference between a full container load (FCL) that ships economically and a half-empty container you overpaid for. The five ecommerce presets above (Amazon FBA, Shopee/Lazada, Alibaba Import, Apparel, Electronics) load realistic carton sizes in one click.

How the Calculator Works Out How Many Boxes Fit

The calculator tries every orientation of your carton against the container's internal dimensions and keeps the arrangement that fits the most boxes. For each orientation it works out how many cartons fit along the length, width, and height of the container, then multiplies:

Boxes that fit = floor(Container L ÷ Box L) × floor(Container W ÷ Box W) × floor(Container H ÷ Box H)

The floor (rounding down) matters: a carton that is 60% into a second row does not count, because you cannot ship two-thirds of a box. This grid-stacking method assumes all cartons face the same way, which is how most real container loads are actually packed for stable, retrievable stowage. It gives a realistic, slightly conservative number. Professional load planners using mixed orientations may squeeze in a few more, so always treat the result as a planning estimate and confirm final counts with your freight forwarder.

Standard Shipping Container Internal Dimensions

Container loading depends on internal dimensions, not the external size quoted in the container's name. Here are the usable internal measurements this calculator uses:

ContainerInternal (L × W × H)Volume (CBM)Max Payload
20 ft Standard5.90 × 2.35 × 2.39 m33.2 CBM28,200 kg
40 ft Standard12.03 × 2.35 × 2.39 m67.7 CBM26,700 kg
40 ft High Cube12.03 × 2.35 × 2.69 m76.3 CBM26,460 kg

A 40ft High Cube is 30 cm taller than a standard 40ft, adding roughly 8.6 CBM of stacking height, useful for light, bulky goods that cube out (fill the space) before they weigh out (hit the payload limit). To convert your shipment into total cubic metres first, use our CBM calculator; this page instead answers the carton-count question of how many boxes physically fit.

Cube Out vs Weigh Out: The Two Limits

Every container load hits one of two ceilings first:

  • Cube out (volume-bound). Light products like apparel, cushions, or empty packaging fill the container's space long before reaching the weight limit. Here, taller containers (40ft HC) and tighter carton sizing win.
  • Weigh out (weight-bound). Dense products like ceramics, canned goods, or hardware hit the container's maximum payload while there is still air space above. Here, a 20ft container is often the sensible choice, because you cannot use the extra room in a 40ft anyway.

This calculator checks both. If you enter a carton weight, it caps the box count at whatever the payload allows and tells you which limit binds. That single insight stops sellers from booking a 40ft container they can never legally fill by weight.

Why Container Loading Matters for Ecommerce Sellers

Sea freight is quoted per container for FCL and per CBM for less-than-container-load (LCL). Getting the carton count right helps you:

  • Choose FCL vs LCL. Below roughly 15 CBM, LCL is usually cheaper; above it, a full 20ft container often costs less per unit. Knowing your box count tells you which side of that line you are on.
  • Avoid paying for empty space. If your order fills only 70% of a 40ft, either add stock to reach a clean full load or downgrade to a 20ft and save on freight.
  • Plan purchase orders around container capacity. Round your order quantity up or down to a whole number of containers to cut per-unit shipping cost. Pair this with the landed cost calculator to see the true per-unit import cost.
  • Coordinate pallets and stacking. If you ship on pallets rather than floor-loaded cartons, use the pallet calculator to plan how boxes stack per pallet, then how pallets fill the container.

If you sell on Shopee, Lazada, or TikTok Shop and import inventory in bulk, planning container loads accurately before each order keeps freight costs predictable and stops stock from arriving in awkward part-container shipments.

Tips to Fit More Boxes Per Container

  • Right-size the carton. Shaving even 2-3 cm off one dimension can add a whole extra row across the container floor. Ask your supplier for master carton options.
  • Match carton dimensions to the container. Cartons that divide evenly into the 235 cm internal width leave less wasted gap than odd sizes that strand a half-row.
  • Consider a 40ft HC for light goods. The extra 30 cm of height turns into a full extra layer of cartons for short boxes.
  • Keep safety stock so you can wait for full loads. Rushing a half-empty container because you ran out of stock wastes freight. Hold safety stock and reorder in time to consolidate into full loads.
  • Reconcile inbound stock automatically. Once a container lands, syncing the received quantity across every marketplace at once prevents overselling, and OneCart keeps inventory accurate across all your channels from a single stock count.

Frequently Asked Questions

How many boxes fit in a 20ft container?

It depends entirely on carton size. A 20ft container has about 33.2 CBM of internal volume, so a standard 45 × 35 × 20 cm carton (0.0315 CBM) fits around 880 cartons once grid-stacking is accounted for. Pure volume would suggest closer to 1,050, but cartons cannot be split across rows, so the real, packable count is lower. Enter your exact carton size above for a precise number.

What is the difference between a 40ft and a 40ft High Cube container?

Both are the same length and width, but the High Cube (HC) is 30 cm taller internally (2.69 m vs 2.39 m), giving about 8.6 CBM more space, roughly 13% extra volume. For light, bulky cargo that fills space before it hits the weight limit, the HC often fits a full additional layer of cartons.

Does the calculator account for container weight limits?

Yes. If you enter a weight per carton, the calculator compares the maximum boxes by volume against the maximum allowed by the container's payload and reports whichever is lower, so you never plan a load that exceeds the legal weight. Leave weight blank to see the volume-only maximum.

Is this the same as a CBM calculator?

No. A CBM calculator converts your shipment into total cubic metres for freight quoting. This container loading calculator answers a different question, how many physical cartons fit inside a specific container, using grid-stacking maths rather than a pure volume divide. Use both together when planning an import.

Importing stock and selling across multiple marketplaces?

Try OneCart Free