Pallets per Container Calculator
Work out how many pallets fit in a shipping container — straight, turned, and stacked two high. Pick the container and the pallet, and the floor plan runs in your browser.
Straight means the pallet's long side runs along the container; turned means it runs across. Everything is calculated in your browser; nothing is uploaded.
How the container math works
Straight is pallets with the long side along the container: floor(container width ÷ pallet short side) × floor(container length ÷ pallet long side). Turned is the long side across the container. The calculator takes the better of the two. Stacked multiplies the best count by the number of layers, if the load and the container height allow it. Pinwheeling — turning every other pallet 90° — packs more than either straight figure: typically 10 GMA pallets in a 20 ft and 20 in a 40 ft, against 8 and 18 straight. Plan on the straight figure unless you know the loading crew pinwheels.
Common combinations, worked out
| Container | Pallet | Straight | Turned | Best |
|---|---|---|---|---|
| 20 ft standard (20GP) | GMA 48 × 40 | 8 | 5 | 8 |
| 20 ft standard (20GP) | Euro 1,200 × 800 | 8 | 7 | 8 |
| 40 ft standard (40GP) | GMA 48 × 40 | 18 | 11 | 18 |
| 40 ft standard (40GP) | Euro 1,200 × 800 | 20 | 15 | 20 |
| 40 ft high cube (40HQ) | GMA 48 × 40 | 18 | 11 | 18 |
| 40 ft high cube (40HQ) | Euro 1,200 × 800 | 20 | 15 | 20 |
| 45 ft high cube (45HQ) | GMA 48 × 40 | 22 | 13 | 22 |
| 45 ft high cube (45HQ) | Euro 1,200 × 800 | 22 | 16 | 22 |
Floor-plan math on the planning interior lengths (20 ft: 232 in, 40 ft: 473 in, 45 ft: 533 in; width 92 in). The practical count is usually a little lower — the door frame, corner castings and load bars eat floor space, and pallets are rarely loaded hard against the walls. A 40 ft box takes the same pallets as a 40HQ: the high cube is taller, not longer, so the floor count is identical and only the stacking changes.
How many pallets fit in a 40 ft container?
18 pallets loaded straight, or 20 pinwheeled — and double that if the load stacks two high. The arithmetic is the floor plan: a 40 ft container has about 473 in of floor length and 92 in of width. A standard GMA pallet is 48 × 40 in. Loaded straight — the 40 in side across the width, two abreast — each row eats 48 in of length: 473 ÷ 48 = 9 rows, 9 × 2 = 18 pallets. Pinwheeling turns every other pallet 90° and packs 20 into the same floor. Stacked two high, that is 36 straight or up to 40 pinwheeled — and the weight still fits: 36 pallets at 800 lb each is 28,800 lb, well under the container's roughly 26,500–28,700 kg payload.
The same question for a 20 ft container: 8 pallets straight, 10 pinwheeled, 16 stacked two high. The 40 ft high cube takes the same floor count as the 40 ft standard — the high cube is taller, not longer, so only the stacking changes. Plan on the straight figure unless you know the loading crew pinwheels, and remember the door frame and corner castings eat floor space: the practical count is usually one or two pallets under the arithmetic.
From container math to freight class
Load a 40HQ with its 18 GMA pallets straight at 800 lb each — 14,400 lb in total, well under the 26,300–28,500 kg payload. Each pallet is 53.33 ft³ at 800 lb, so the density is 15.00 pcf — Class 70. On a container the cube runs out before the weight does: the same 18 pallets would have to weigh over 3,000 lb each to touch the payload limit. To get your own class from here, run the same measurements through the freight density calculator.
Got the pallet count — now the class
Enter the measurements and weight and get the density-based class for every piece.
Open the freight class calculatorContainer floors are the published interior dimensions from the shipping container dimensions page (20 ft: 19 ft 4 in × 7 ft 8 in; 40 ft: 39 ft 5 in × 7 ft 8 in; 45 ft: 44 ft 5 in × 7 ft 8 in). Stacking two high needs pallets that can take the weight and a container tall enough — a 40HQ has about 106 in inside, so two 48 in pallets stack with room to spare.