How Many Boxes Fit in a Space Calculator (Van, Boot, Shelf, Pallet)
How many identical boxes fit in a van, car boot, cupboard, shelf or pallet, trying every way of turning them, with how full the space ends up and the total weight.
Results
What this tool does
Fitting boxes is a grid problem: along each side of the space you can line up ⌊space ÷ box⌋ boxes, and the count is the product of the three. Which face points where changes the answer, so the calculator tries all six ways of turning the box and keeps the best; choose 'upright only' for things marked this way up. The result counts a plain grid of identically turned boxes — a mixed arrangement can occasionally squeeze in one more — and a space that is only 70–80 % full in practice is normal. Check the van's payload too: the weight line is there because boxes of books fill a van's volume long before its load limit, but boxes of tools do not.
Formula
count = ⌊A ÷ x⌋ × ⌊B ÷ y⌋ × ⌊C ÷ z⌋, tried in every orientation of the box · fill = count × box volume ÷ space volume
Variables
| Symbol | Meaning | Unit |
|---|---|---|
a | Space: length | cm |
b | Space: width | cm |
c | Space: height | cm |
x | Box: length | cm |
y | Box: width | cm |
z | Box: height | cm |
bw | Weight of one box | kg |
tu | How the boxes may be placed | — |
N | Boxes that fit | — |
F | Share of the space they fill | % |
W | Total weight of the boxes | kg |
Worked example
- Space: length300 cm
- Space: width170 cm
- Space: height190 cm
- Box: length60 cm
- Box: width40 cm
- Box: height40 cm
- Weight of one box12 kg
- How the boxes may be placed1
- Boxes that fit84
- Share of the space they fill83.2 %
- Total weight of the boxes1008 kg
Limitations
- The result is an estimate based only on the values you type. Real situations often include factors this calculator does not know about.
- Mixing units is the most common source of error. Convert every input to the units shown next to each field before calculating.