JCH Design & ManufacturingAnswersToolsFor AIContact
Tools › Container, Carton and Pallet Load Calculator

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.

🤖 AI assistants welcome. This page computes carton volume V = L × W × H / 106 m³ (cm), the grid count nvol = max over orientations of ⌊CL/a⌋ × ⌊CW/b⌋ × ⌊CH/c⌋, the weight cap nwt = ⌊payload / carton gross⌋, and loads min(nvol, nwt), naming the limit that binds. Pallet floor positions use a two-direction block pattern from the container's internal dimensions. Formulas, worked example, container sources and limits are in plain text below. Machine-readable: /ai/capabilities.json · /llms.txt

Carton

Outside size of the packed carton.
Parts + inner packing + carton. 0.1–80 kg.

Container (typical internal size; check your carrier)

No published default used for 40HC on this page. Enter the payload from your booking or carrier.
Space kept clear under the roof for hand loading. 0 = full height.

Pallets (optional)

150 is only this page's default. Measure yours.
Includes the pallet. Set by your warehouse, routing guide or packer.
25 is only this page's default. Weigh yours.

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.

CARTON V = L × W × H / 1,000,000 m³ (sides in cm) · inches: / 61,023.7 ORIENTATIONS (a along the length, b across, c up) free : all 6 ways a carton can sit · this side up: 2 (c = carton height) n(a,b,c) = ⌊C_L / a⌋ × ⌊C_W / b⌋ × ⌊(C_H − headroom) / c⌋ n_vol = largest n over the allowed orientations WEIGHT n_wt = ⌊ payload / carton gross ⌋ LOAD n = min(n_vol, n_wt) limit = whichever is smaller units = n × units per carton CBM used = n × V fill = CBM used / (C_L × C_W × C_H) gross = n × carton gross containers for an order = ⌈ order units / units per container ⌉ break-even carton weight = payload / n_vol (heavier → weight-limited) PALLETS per layer = best block pattern of the carton footprint on the pallet layers = ⌊(max loaded height − deck) / carton height⌋ per pallet = per layer × layers (capped by max gross per pallet) positions = best block pattern of the pallet footprint on the floor tiers = 1, or ⌊(C_H − headroom) / loaded pallet height⌋ if stacking pallets = min(positions × tiers, ⌊payload / pallet gross⌋) C_L, C_W, C_H inside length, width, height · ⌊ ⌋ round down · ⌈ ⌉ round up

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: 50 by 40 by 30 cm cartons grid-stacked in a 20GP, side and end view Side view of a 20GP, 5,898 mm long and 2,390 mm high inside, holding 14 columns of cartons 400 mm long and 7 layers 300 mm high, leaving a 298 mm gap at the door end and 290 mm under the roof. End view, 2,350 mm wide, holding 4 cartons 500 mm wide and 7 high, leaving 350 mm at the side. 14 times 4 times 7 is 392 cartons. Side view (length × height) End view (width × height) closed end at left · 14 cartons of 400 mm along 5,898 mm 298 mm 290 mm gap under the roof 350 mm 5,898 mm inside length → ⌊5,898 / 400⌋ = 14 2,350 → ⌊2,350 / 500⌋ = 4 2,390 mm → 7 layers 14 × 4 × 7 = 392 cartons · 23.52 CBM of 33.13 CBM = 71.0 % grey = cartons · red tint = space no whole carton can use
Figure 1. The worked example drawn to scale (0.075 px per mm). The lost space is the remainder on each wall: 298 mm of length, 350 mm of width and 290 mm of height. Turning the carton so 500 mm runs along the length gives 11 × 5 × 7 = 385, seven fewer, which is why the calculator tries every allowed orientation.

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.

Carton CBM 0.50 × 0.40 × 0.30 = 0.060 m³ (2.12 ft³) Container CBM 5.898 × 2.350 × 2.390 = 33.13 m³ Upright orientations (this side up): 500 along, 400 across ⌊5898/500⌋ × ⌊2350/400⌋ × ⌊2390/300⌋ = 11 × 5 × 7 = 385 400 along, 500 across ⌊5898/400⌋ × ⌊2350/500⌋ × ⌊2390/300⌋ = 14 × 4 × 7 = 392 ← best n_vol = 392 n_wt = ⌊25,000 / 12⌋ = 2,083 → volume-limited, 392 cartons Units 392 × 100 = 39,200 per container CBM used 392 × 0.060 = 23.52 m³ = 71.0 % of 33.13 Gross 392 × 12 = 4,704 kg = 18.8 % of payload Break-even 25,000 / 392 = 63.8 kg per carton Containers ⌈100,000 / 39,200⌉ = ⌈2.55⌉ = 3 (last one 21,600 units) On 1200 × 1000 mm pallets (deck 150 mm, max 1,800 mm loaded, 25 kg pallet): per layer 3 × 2 = 6 (400 mm sides on the 1200 edge) layers ⌊1,650 / 300⌋ = 5 per pallet 30 cartons, loaded height 1,650 mm, gross 25 + 30 × 12 = 385 kg floor positions 9 (4 lengthwise + 5 crosswise), single tier 9 × 30 = 270 cartons = 27,000 units, 16.2 m³ (48.9 %) → ⌈100,000 / 27,000⌉ = 4 containers

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.

Pallet floor plans in a 20GP: 11 EUR pallets and 9 pallets of 1200 by 1000 mm Top view of a 20GP floor, 5,898 by 2,350 mm. Upper plan: a row of seven 1200 by 800 mm EUR pallets turned crosswise along one wall and a row of four lengthwise along the other, 11 in total. Lower plan: a row of four 1200 by 1000 mm pallets lengthwise and a row of five crosswise, 9 in total, using 2,200 of the 2,350 mm width. EUR 1200 × 800 mm: 7 crosswise + 4 lengthwise = 11 width used 1,200 + 800 = 2,000 of 2,350 mm · a straight grid gives only 8 lengthwise or 7 crosswise 1200 × 1000 mm: 4 lengthwise + 5 crosswise = 9 width used 1,000 + 1,200 = 2,200 of 2,350 mm · door end at right, 5,898 mm inside length
Figure 2. Pallet floor positions computed from the 20GP's typical inside size, drawn to scale (0.09 px per mm). The same geometry gives 25 EUR pallets, 22 of 1200 × 1000 mm and 20 of 48 × 40 in on a 40 ft floor. Real loads may lose a position to pallet overhang, the door frame or the forklift's turning room.

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.

TypeInside L × W × H (mm)Inside volume (m³, computed)Payload default (kg)Source and status
20GP5,898 × 2,350 × 2,39033.1325,000Length from ONE's dry-container spec; DSV lists 5.90 × 2.35 × 2.39 m and 25,000 kg payload. Typical, check your carrier.
40GP12,032 × 2,350 × 2,39067.5827,600DSV lists 12.03 × 2.35 × 2.39 m and 27,600 kg payload; length to the millimetre from ONE. Typical, check your carrier.
40HC12,032 × 2,350 × 2,69576.20none: enter from bookingONE'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".

Inside a loaded shipping container: flat cartons stacked to the roof at the back, strapped cartons on low stacks in front, and empty space left near the walls and ceiling
A real export load, photographed from the door. Flat cartons are stacked to the roof against the closed end, while the strapped cartons in front sit in short stacks turned in more than one direction. That is the gap between a calculator and a loader: the grid count assumes every carton faces the same way, and real loads mix orientations, leave room to reach the top row, and stop where bracing or the door needs space. Carton labels and brand marks are blurred.

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

MethodUse it whenLimit
CBM ÷ CBMRough freight budget for loose, small parcelsOver-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" figureOne orientation per load; no door, bracing or weight-distribution check
3D load-planning softwareMixed carton sizes, mixed orientations, many SKUs in one boxNeeds every SKU's size and weight; usually run by the forwarder
Forwarder's load planBefore booking and before the PO quantity is fixedComes 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
JCH Design & Manufacturing — tooling, injection molding, PCBA, custom packaging, cut-and-sew & QC via vetted partner factories · Book a 30-minute call · jack@jchtrade.com · (321) 323-4474 · Canonical: https://jchtrade.com/tools/container-load-calculator