How it works
Boxes fit a pallet two ways, so the page tries both rotations and keeps the tighter pack rather than assuming one. Layers come from dividing the height limit by the box height, remembering that the pallet deck itself takes about five or six inches of that limit. Multiply the two for the total. Real loads also need a weight check and an overhang check, and those rules belong to the carrier, so confirm them before you build the load.
Formula
layers = floor(max stack height ÷ box height)
total = boxes per layer × layers
Sources
Example
16 × 12 × 12 boxes on a 48 × 40 pallet: one way gives 3 × 3 = 9, the other 4 × 2 = 8, so 9 per layer. Layers = 60 ÷ 12 = 5, so 45 boxes. Check: 9 × 5 = 45, and the footprint used is 9 × 192 ÷ 1,920 = 90%.
Frequently asked questions
What is a standard pallet?
48 by 40 inches in North America.
Does rotation matter?
Yes. The page tries both ways round and keeps the better pack.
What about weight?
Carriers set weight limits separately. Check them for your product.
Why a height limit?
Stability, and clearance in the truck or the warehouse.