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:
Fit in this container
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.
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.
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:
| Container | Internal (L × W × H) | Volume (CBM) | Max Payload |
|---|---|---|---|
| 20 ft Standard | 5.90 × 2.35 × 2.39 m | 33.2 CBM | 28,200 kg |
| 40 ft Standard | 12.03 × 2.35 × 2.39 m | 67.7 CBM | 26,700 kg |
| 40 ft High Cube | 12.03 × 2.35 × 2.69 m | 76.3 CBM | 26,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.
Every container load hits one of two ceilings first:
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.
Sea freight is quoted per container for FCL and per CBM for less-than-container-load (LCL). Getting the carton count right helps you:
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.
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.
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.
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.
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.