Box size calculator

Tell us what you are packing and how much padding it needs, and this works out the smallest box that holds it. For several identical items it tries every sensible arrangement and keeps the smallest box it finds.

Your item

Up to 100 identical items. Padding is added around the finished group, so each measurement grows by twice the value.

How it can be packed Arrangement

One layer suits anything that should not be stacked on itself. Stacked forces at least two layers.

How this calculator works

  1. For a single item, the answer is the item plus twice your padding on each measurement.
  2. For several, it tries every whole-number grid that holds the quantity — two across and three deep, six in a row, and so on — in every orientation the item is allowed to take.
  3. It keeps the arrangement that produces the smallest box.
  4. Your padding is then added around the outside of the whole group.

This is a search over rectangular arrangements, not a general packing solver. It will not find a clever interlocking arrangement, and it does not claim to. What it gives you is a box size that definitely works, with the arrangement shown so you can check it against reality.

Worked example

Four 4 × 4 × 4 inch boxed mugs, no extra padding.

Edge cases worth knowing

Common questions

Is this the mathematically smallest possible box?
It is the smallest box among rectangular grid arrangements, which is what almost everyone packs in practice. A true optimal solver could occasionally do better with an irregular arrangement, and we do not claim to be one.
How much padding should I use?
Half an inch per side for sturdy goods, two inches per side for fragile ones. Two inches of padding adds four inches to every measurement, which is often the difference between one box size and the next.
Why did it pick a square-ish box over a long one?
When two arrangements have the same volume, the squarer one wins. It has a lower length plus girth and is less likely to attract a size surcharge.
Can I stop it stacking my items?
Yes — choose "one layer only". That forces a single layer even when stacking would give a smaller box.

Related tools