Bookshelf spacing calculator: how many shelves, and where

Enter the bookcase's inside height and width and the books going on it. This works out how many shelves fit, where each one goes measured from the bottom, and whether a shelf that wide will sag under them.

14 7/8"27 1/2"40 1/8"52 3/4"65 3/8"30" inside78"0
in

Top of the bottom to underside of the top

in

The shelf's span

Books
in

= 0.75"

At the bottom

Fit

5shelves

Openings

5 at 11 7/8"

Oversize

1 at 14 7/8"

Sag, loaded

0.037"

Marks from the inside bottom

Shelf 1Underside; its top is at 15 5/8"
14 7/8"
Shelf 2Underside; its top is at 28 1/4"
27 1/2"
Shelf 3Underside; its top is at 40 7/8"
40 1/8"
Shelf 4Underside; its top is at 53 1/2"
52 3/4"
Shelf 5Underside; its top is at 66 1/8"
65 3/8"

Each mark is the shelf's underside — the lower edge of a dado, or the pin line — measured from the top of the bottom panel, every one from the same end so rounding never compounds up the case. Openings, bottom first: 14 7/8", 11 7/8", 11 7/8", 11 7/8", 11 7/8", 11 7/8", which with 5 shelves at 3/4" add back to 78". The marks run the full height of the case, so they go on with a tape rather than a printed template; for a run of identical openings, a spacer block cut to 11 7/8" sets every dado the same. For adjustable shelves, the shelf-pin calculator lays out the holes instead.

Will a 30" shelf sag?

3/4" Hardwood plywood, 11 1/4" deep, loaded at 25 lb a foot and resting on its ends — the same beam the shelf sag calculator solves, where you can add a stiffening strip to the front edge.

All 2 checks passShow the numbers
  • Sag within span ÷ 360 — passes0.037" of sag against an allowance of 0.083" — that is span ÷ 810.
  • Under 1/32" of sag per foot of span — passes0.015" per foot. Past about 0.031" the curve is visible against a straight line above or below it — which is how anyone notices a sagging shelf.

Neither limit is law about a bookshelf: span ÷ 360 is borrowed from the IRC's floor deflection limit, and a thirty-second of an inch per foot is the woodworker's rule for when a sag becomes visible.