Pantry Container Size Calculator

Quick answer

Measure the shelf, then multiply how many containers fit across, front to back, and in the height. The household mode is a rough guideline for how much pantry shelf you need, not a rule.

Shelf (inches)
Container size (inches)

21 containers

7 across, 3 deep, and 1 high is 21 containers. About 2 in of width, 0 in of depth, and 5 in of height stay open.

Best common footprint: Snack bin (11 × 6 × 4 in). 15 fit.

Top-down, one layer

These results are estimates. Measure your space and check the product's listed size before you buy.

Common pantry container sizes, outside measurements in inches.
ContainerSizeHoldsFit on this shelf
Spice jar1.75 × 1.75 × 4 inSpices306
Small jar3.5 × 3.5 × 4.5 inTea, small grains48
Quart jar4 × 4 × 7 inRice, beans, sugar21
Medium canister5.5 × 5.5 × 8 inFlour, oats10
Snack bin11 × 6 × 4 inPackets and bars15
Cereal bin4.25 × 10.5 × 10 inA cereal box7
Wide bin14 × 8 × 6 inBoxes and backups4

How many containers fit on the shelf?

Use whole containers only. The count is containers across, times containers front to back, times layers that fit in the height.

The tool also turns the container sideways when that fits more. If the leftover on a side is under about half an inch, the row may be too tight to pull out. Drop one when they drag.

Which container footprint should you buy?

The best common footprint is the standard size that covers the shelf with the least empty space. When two sizes fill the shelf about as well, the larger one is the pick. A shelf of tiny jars is harder to live with.

Buy one container and set it on the shelf before you buy a set. Measure the outside, including a lid that sticks past the base.

How much pantry space do I need?

The second mode estimates shelf length from household size. It assumes shelves about 12 inches deep and counts dry food and snacks, not the fridge or a separate spice drawer.

It is a rough guideline. Cook most meals at home and use the high end of the range. Eat out often and the low end is enough.

What sizes are in the chart?

The chart lists common outside sizes in inches: a spice jar, a small jar, a quart jar, a medium canister, a snack bin, a cereal bin, and a wide bin. Your brand may be a little different.

Square and rectangular containers use the shelf better than round jars. If you buy rounds, leave the corners out of the plan and drop one from the width if they rattle.

Frequently asked questions

Can I enter centimeters?
Yes. The shelf and the container you type convert together, so the count stays the same. The size guide stays in inches, because that is how these containers are usually labeled.
Should the lid count in the container size?
Yes, if you store it with the lid on. Measure the outside as it will sit on the shelf.
Why might fewer containers fit than the count?
A pipe, a bracket, or a hinge is not usable space. Leave it out of the measurement. A leftover under about half an inch (1 cm) can also make the last container drag.
Is the household number exact?
No. It is a rough guideline for dry food and snacks on shelves about 12 inches deep. A household that bakes, or that stores paper goods in the pantry, needs the high end or more.
Do I have to use the best footprint?
No. The best footprint wastes the least shelf. You may still want a shorter bin on a tight shelf, or a bin with a handle if the shelf is deep. Run the count for the container you can actually buy.

Get the small apartment checklist

One short email a week with a small-space fix that actually works in a rental. You also get our printable room-by-room checklist. No spam, unsubscribe anytime.