Depth past your reach is archive, not pantry
The arithmetic of a shelf is grid arithmetic: how many fit across, how many rows deep, how many layers high. What makes a pantry different from a warehouse is that the rows are not equal. The front row is the one you use. The second row you use when the front one runs out. Anything behind that is functionally invisible, and it is where duplicate purchases come from, because you buy what you cannot see.
| Shelf depth | Rows of soup cans (2.6 in, 1/8 gap) | Rows within a 12 in reach |
|---|---|---|
| 8 in | 2 | 2 |
| 12 in | 4 | 4 |
| 16 in | 5 | 4 |
| 20 in | 7 | 4 |
| 24 in | 8 | 4 |
The middle column keeps growing and the right hand one stops. That is the entire case for shallow pantry shelving. Two twelve inch shelves on the same wall, one above the other, give you eight reachable rows. One twenty-four inch shelf gives you four reachable rows and four rows of storage you have to unload the front to get at. The wall area is identical.
The gap is not optional
Set the gap to zero and the arithmetic says a 30 inch shelf takes eleven 2.6 inch cans. It does, once, if you place them carefully and never take one out. In practice you need enough space to get fingers around a can and lift it, and enough slack that a row does not domino when you pull from the middle. An eighth of an inch is tight and workable for cans. A quarter is comfortable. For jars with lugs or boxes that are not square, more.
The same field covers a different problem for boxes: a cereal box is not a rectangular prism, it bulges, and two of them side by side take more than twice the nominal width. If your measured shelf holds fewer than the calculator says, increase the gap rather than distrusting the arithmetic.
Stacking is a height question and a retrieval question
Two layers of soup cans in a 13 inch bay is easy arithmetic and a mild nuisance in use: to reach a bottom can you move a top one. Two layers of quart jars is heavier and less stable. Three layers of anything is where a pantry starts behaving like a Jenga tower.
The calculator will happily stack to the clear height because that is what the geometry allows, but the number it gives is a ceiling rather than a recommendation. What most people actually do is stack the things that come in identical units and never stack the things that do not. If you set stacking on and the layer count comes back as three or four, that is a signal that the shelf spacing is too generous for the item, and the fix is another shelf rather than another layer. The shelf spacing calculator works out where it goes.
Weight, which this page does not calculate
Canned goods are the densest thing most households put on a shelf. A 30 inch shelf, four rows deep, packed with soup cans is well over a hundred cans, and the load per running foot is far higher than a shelf of hardbacks. That number belongs in the shelf sag calculator along with the span and the material, not in a capacity count. A shelf that is fine for cereal boxes is not automatically fine for the same volume of tinned tomatoes.
Two hazards to name plainly. A tall pantry unit loaded heavy at the top can go over, and a child pulling on an open shelf is exactly how that happens; heavy stock belongs on the bottom bays and a full-height unit belongs fastened back to the structure, to whatever schedule its maker or the anchor maker publishes. And a shelf carried on drywall anchors alone will pull out of the wall under a canned goods load — where a fixing lands and what it is rated for is the anchor manufacturers question, and this calculator offers no figure for it.
Related
For how much food a household should be storing in the first place, rather than how much fits, the emergency food storage calculator works from calories to pounds to cubic feet. For the shelves themselves, the shelf spacing calculator handles the vertical layout and the plywood sheet calculator handles the material. If the shelving is going in a closet rather than a kitchen, the reach-in closet layout calculator gives you the shelf run you have to work with. For a garage or shop wall, the garage shelving planner works out how deep a shelf can be before it hits a vehicle.
Questions people ask
How many cans fit on a pantry shelf?
For a 30 inch wide shelf and standard 2.6 inch soup cans with an eighth-inch gap, eleven fit across. How many deep depends on the shelf: four rows in twelve inches, eight rows in twenty-four. So a 30 by 12 shelf holds around 44 single-layer, and 88 if you stack two high in a 13 inch bay. The number that matters more is how many of those you can actually reach without unloading the front, which is what the reach depth field is for.
How deep should pantry shelves be?
Shallower than most people build them, and the calculator shows why rather than naming a number. Every inch of depth past what you can comfortably reach stores things you will not see. Twelve to fourteen inches keeps everything within one arm movement for most people. Deeper shelves are genuinely useful for bulk and back stock as long as you know that is what the back is, and for large items like number 10 cans or countertop appliances where the item itself is deep.
Why does the calculator say fewer items fit than I measured?
Usually the gap. The default eighth of an inch between items is deliberately small and real packing is looser, especially with boxes that bulge or jars with lugged shoulders. Increase the gap to a quarter and the count drops noticeably, which is normal. The other common cause is rounding: the calculator counts whole items only, so a shelf that could take 11.8 cans across reports 11, because the 0.8 of a can is not storage.
Is it better to have more shelves or deeper shelves?
For anything you use regularly, more shelves. The table in the guide shows the mechanism: reachable rows stop increasing past your reach depth while the shelf keeps getting deeper, so a second shallow shelf above the first doubles the reachable storage on the same wall while a deeper shelf does not. Deeper wins only where the item itself is deep, or where you genuinely want back stock and are content to treat it as back stock.
Does this work for a chest freezer or a fridge?
Only loosely. The grid arithmetic is the same, but a freezer is a bin rather than a shelf, so the reach problem runs vertically rather than front to back and the bottom layer is the one you lose. Fridge shelves are closer to the model on this page and you can use it, though door bins, drawers and irregular packaging make the practical count lower than the geometry. For appliance sizing rather than contents, the refrigerator size calculator is the closer fit.