Container, Carton and Pallet Load Calculator
The number of cartons that fit in a container is set by how many whole cartons line up along each inside wall, so a 50 × 40 × 30 cm carton loads 392 to a typical 20GP, not the 552 that dividing 33.13 CBM by 0.06 CBM suggests. Enter your carton size, gross weight and units per carton, and this calculator returns the carton CBM, the cartons and units per 20GP, 40GP or 40HC in the best allowed orientation, cartons per pallet and pallets per container, and whether weight or volume is the limit that binds.
Planning estimate, not a load plan, booking, freight quote, or customs or legal advice. Container sizes and payloads vary by unit and carrier; confirm with your forwarder.
How this works
A container is a box with fixed inside walls, and a carton cannot be cut to fill the last few centimetres. So the count is not container volume divided by carton volume. The calculator turns the carton every way it is allowed to go, counts how many whole cartons fit along the length, across the width and up the height for each orientation, multiplies the three, and keeps the best. With this side up ticked, only the two orientations that keep the carton's own height vertical are tried. All cartons in one load face the same way. That is the grid method used by most published loading calculators, and it is a lower bound: a loader who turns the last rows can sometimes fit a few more.
Space is only one limit. Every container also has a payload, the most cargo it may carry by weight. The calculator divides the payload by the carton's gross weight, rounds down, and loads whichever of the two counts is smaller. The result says which one bound, because the fix is different: a volume-limited load improves with a better carton size, a weight-limited one only with lighter packing or a different container.
A block pattern lets one change of direction: some rows of pallets run lengthwise and the rest crosswise, either side by side across the width or one group after another along the length. That is how a 20 ft box takes 11 EUR pallets: one row of seven turned crosswise (1,200 mm across) and one row of four lengthwise (800 mm across), using 2,000 mm of the 2,350 mm width. A straight grid of EUR pallets gets only eight. The same pattern is used for cartons on a pallet layer, where builders often alternate directions to interlock the stack.
Worked example
A buyer has a molded housing packed 100 to a master carton of 50 × 40 × 30 cm that weighs 12 kg gross, marked this side up. The order is 100,000 units. The question before accepting an FOB price is how many containers that is, and whether the carton should go on pallets. The container is a 20GP at the typical inside size of 5,898 × 2,350 × 2,390 mm with DSV's published 25,000 kg payload.
Floor loading needs three containers for the order; the same cartons on these pallets need four, because the pallet decks, the 150 mm of unused width beside the pallets and the space above a 1,650 mm stack in a 2,390 mm box are all empty. Neither answer is wrong. Pallets cost space and buy faster, safer handling at both ends, and some receiving docks and retailers require them. Press Load the worked example to see the calculator reproduce these numbers, then change the pallet height or untick this side up to see what moves.
Container sizes used, and why they are editable
The inside size of a "20 ft" box is not a single number. It varies with the builder, the corrugation of the walls, the floor and the age of the unit, and the carrier's own spec sheet is the authority for the box you are booked on. The defaults below are typical published values. Overwrite any of them with the figures from your booking, and enter the payload your carrier or forwarder gives you; road weight limits at either end of the trip can be lower than the container's own rating.
| Type | Inside L × W × H (mm) | Inside volume (m³, computed) | Payload default (kg) | Source and status |
|---|---|---|---|---|
| 20GP | 5,898 × 2,350 × 2,390 | 33.13 | 25,000 | Length from ONE's dry-container spec; DSV lists 5.90 × 2.35 × 2.39 m and 25,000 kg payload. Typical, check your carrier. |
| 40GP | 12,032 × 2,350 × 2,390 | 67.58 | 27,600 | DSV lists 12.03 × 2.35 × 2.39 m and 27,600 kg payload; length to the millimetre from ONE. Typical, check your carrier. |
| 40HC | 12,032 × 2,350 × 2,695 | 76.20 | none: enter from booking | ONE's published high-cube height; other public tables round it to 2.69 m. No payload default on this page. |
Sources: DSV dry container dimensions (checked 2026-11-15; DSV notes that specifications vary by manufacturer, age and owner) and Ocean Network Express (ONE) dry-container specifications. If the payload field is left blank for a 20GP or 40GP, the default above is used and the result is marked "assumed".

Weight-limited or volume-limited
Divide the payload by the inside volume and you get the cargo density at which a box runs out of weight and space at the same moment: about 755 kg per m³ for a 20GP (25,000 / 33.13) and about 408 kg per m³ for a 40GP (27,600 / 67.58). A 40GP has roughly twice the volume of a 20GP but only about 10 % more payload, so dense cargo that loads comfortably in a 20 ft box can be weight-limited in a 40 ft one. Because grid stacking never fills the whole box, the practical break-even is higher; the calculator reports it per carton as payload ÷ cartons by volume.
Molded parts packed in cartons are mostly air, so most plastic product ships volume-limited. Exceptions are parts with metal inserts, thick-walled or glass-filled parts packed tightly, and anything bulk-packed in bags. To estimate a carton's gross weight before you have a sample, get the part weight from the part weight calculator (resin densities are in the plastic density lookup), multiply by units per carton, and add the inner packing and the carton itself. Then weigh a real packed carton when the first samples arrive and rerun the numbers.
Common mistakes
- Dividing CBM by CBM. 33.13 / 0.06 = 552 cartons in the example, against 392 that actually stack. The difference is the remainder on each wall, and it grows when the carton is large relative to the container.
- Using the carton drawing instead of the packed carton. A carton that bulges 5 mm on its long side can lose a whole row. Measure a packed sample before you fix the count.
- Forgetting the weight check. A count that fits by space can still be over the payload. The calculator shows both numbers and which one binds.
- Ignoring this side up. If the carton or its contents must stay upright, the free-orientation answer can be too high. Tick the box and compare.
- Planning pallets with floor-loaded numbers. Pallets take deck height, leave width unused and rarely reach the roof. Run both plans before you quote a per-unit freight figure.
- Treating the inside height as usable. Hand loaders need a gap under the roof to place the last row. Enter some headroom if the top layer is tight.
What the calculator does not check
It does not produce a loadable plan. It does not check the door opening, which is smaller than the inside section, or how the weight is spread along the floor, how cargo is blocked, braced and lashed, axle or road limits, dangerous-goods rules, or the verified gross mass the shipper must declare before loading. It does not price freight, give transit times or say whether space is available. A forwarder's load plan, or the packing team at the partner factory working with your forwarder, is the final word on what goes in the box.
When to use this calculator vs other methods
| Method | Use it when | Limit |
|---|---|---|
| CBM ÷ CBM | Rough freight budget for loose, small parcels | Over-counts whole cartons, often by a quarter or more |
| Grid count with payload check (this page) | Choosing a carton size, comparing 20GP and 40HC, checking a supplier's "per container" figure | One orientation per load; no door, bracing or weight-distribution check |
| 3D load-planning software | Mixed carton sizes, mixed orientations, many SKUs in one box | Needs every SKU's size and weight; usually run by the forwarder |
| Forwarder's load plan | Before booking and before the PO quantity is fixed | Comes late; use this page first so the quantity question is already answered |
Tips for carton size
- Size the carton to the box, not the box to the carton. If the remainder on one wall is close to a full carton, a few millimetres off one side adds a row. Try the calculator with the carton 1–2 cm smaller in each direction.
- Match units per carton to a round order. If the order is 100,000 units, 100 per carton gives 1,000 cartons; a count that leaves a part-carton creates a mixed carton the receiving dock has to handle.
- Ask for the packed-carton spec early. Carton size, gross weight and units per carton belong on the quote and the packaging sign-off, so the freight math is done on real numbers. The packaging step covers what to agree before production.
- Carry the freight into the part cost. Containers needed × the freight quote ÷ units gives freight per part, which the cost-per-part calculator adds to landed cost.
Questions and answers
How many cartons fit in a 20ft container?
It depends on how many whole cartons line up along each inside wall, not on dividing volumes. A 50 × 40 × 30 cm carton stacks 14 along the 5,898 mm length, 4 across the 2,350 mm width and 7 high in the 2,390 mm height of a typical 20GP, which is 392 cartons and 23.52 CBM, about 71 percent of the 33.13 CBM inside. Dividing 33.13 by 0.06 suggests 552, which cannot be loaded because no carton can be cut to fill the gaps.
How do I calculate the CBM of a carton?
Multiply length × width × height in centimetres and divide by 1,000,000. A 50 × 40 × 30 cm carton is 60,000 cubic centimetres, which is 0.06 CBM or about 2.12 cubic feet. In inches, multiply the three sides and divide by 61,023.7. Use the outside dimensions of the shipping carton, measured after it is packed, because bulging cartons take more room than the drawing says.
How many pallets fit in a 20ft and a 40ft container?
From the typical internal dimensions, a 20GP floor takes 11 EUR pallets (1200 × 800 mm) or 9 pallets of 48 × 40 in when some pallets are turned the other way, single stacked. A 40GP or 40HC floor takes 25 EUR pallets or 20 of 48 × 40 in. These are floor positions from geometry; pallet overhang, door width and the forklift can reduce them, so confirm with your forwarder.
When is a container weight-limited instead of volume-limited?
When the cartons that fit by space would weigh more than the payload. Divide the payload by the cartons that fit by volume to get the break-even carton weight. For 50 × 40 × 30 cm cartons in a 20GP with a 25,000 kg payload, 392 cartons fit, so any carton over about 63.8 kg makes the load weight-limited. A 40GP has about twice the volume of a 20GP but only about 10 percent more payload, so it turns weight-limited at a lower cargo density.
Should I palletize or floor-load my cartons?
Floor loading fits more cartons; pallets unload faster and protect the cartons. In the worked example, 392 floor-loaded cartons fit a 20GP but only 270 fit on nine 1200 × 1000 mm pallets, so an order of 100,000 units needs 3 containers loose or 4 on pallets. Many importers floor-load and let the destination warehouse palletize, but your receiving dock or retailer routing guide may require pallets.
Why is the real container load lower than the calculator?
The calculator assumes rigid, identical cartons and a clean rectangular box. Real loads lose space to corrugation ribs, door clearance, dunnage and bracing, uneven floors and the loader's need to reach the top row. They can also gain a little where the loader turns some cartons to fill end gaps. Treat the result as a planning estimate and ask the forwarder or the packing team for the actual load plan.
Ask JCH about your carton and container plan
Not sure whether to floor-load or palletize, or whether your carton size is wasting a row? Ask our AI assistant. It answers from this website, and our team follows up if you want.
AI assistant. Answers can be wrong; nothing it says is a quote or a promise.
Want the carton and load plan checked before the PO?
JCH designs tooling and supervises production at vetted partner factories. Send your part, carton spec and order quantity, and we will go through the packing and container math with you before the quantity is fixed.
Book a call Send a drawing or sample