Bookcase Shelf Calculator

Shelf count, board feet, and sag flag for bookcases.

Home and DIYUpdated 2026-10-162 min read
Bookcase Shelf Calculator
Shelves
...
Board needed...
Sag risk...

What it does

A bookcase is shelves plus sides, and both come from three numbers: height, width, and row spacing. Count wrong and you buy short; span too far and the middle dips under books within a year.

The tool above divides height by spacing for the shelf count, then adds shelf boards plus two sides for board length. It also flags sag risk past 90 cm (36 in) for common 3/4 inch stock. Metric and imperial modes match.

The count logic follows cabinet practice taught in extension woodworking guides: usable rows are floor divisions minus top and bottom. USDA Forest Products Lab shelf studies back the span flag: near 36 inches, pine and plywood creep under sustained book loads unless stiffened.

Use the answer at the lumber rack. If risk reads High, add a center divider, glue a front lip, or step to thicker stock. Cut shelves a touch shy of the opening to clear dadoes and finish, then level the case before loading.

How to use

  1. Pick imperial (inches, feet) or metric (cm, meters).
  2. Enter case height, width (span), and row spacing.
  3. Read shelf count and total board length.
  4. Read sag risk for the span under books.
  5. Add center support when risk reads High.
  6. Cut shelves to width minus side and dado allowances.

Formula

Shelves = floor(height / spacing) - 1. Board = shelves x width + 2 x height.
height
Case height in cm or inches.
width
Shelf span (case width) in cm or inches.
spacing
Clear spacing per row in cm or inches.

Board length counts shelf boards plus two sides; backs, tops, and face frames sit outside this total. Sag flags at 90 cm (36 in) for 3/4 inch stock under book loads. Wider spans need center support or thicker boards.

Worked example

Example: 72 by 35 inch case

72 inch tall case, 35 inch span, 12 inch shelf spacing.

  1. Case is 72 in tall, 35 in wide, 12 in spacing.
  2. Shelves: floor(72 / 12) - 1 = 5.
  3. Board: (5 x 35 + 2 x 72) / 12 = 26.6 ft.
  4. Sag: 35 in is under 36 in, so Low.
  5. Cut five 35 in shelves plus two 72 in sides.

Reference table

Shelf span guidance for books on 3/4 stock
SpanRiskFix
Under 30 inLowStandard build
30 to 36 inLow to mediumAdd front lip
36 to 42 inHighCenter divider or thicker stock
Over 42 inVery highDivide span or use steel
Files or tileHigherShorten spans further

Limits

  • Boards only. Backs, tops, and trim need separate math.
  • Sag flag suits books on 3/4 stock; files and tile differ.
  • Cut allowances for dadoes and edging not subtracted.
  • Level and wall fixing assumed.

Common mistakes

  • Counting the top and bottom as adjustable shelves.
  • Spanning 42 inches in 3/4 pine under hardcovers.
  • Forgetting dado depth in shelf length.
  • Skipping the back, then watching rack.
  • Loading before the finish cures.

Try it yourself

Quick checks. Answers sit tucked under each question.

Shelves for 200 cm tall, 120 cm wide, 35 cm spacing?

Shelves are floor(200 / 35) - 1 = 4. Board is (4 x 120 + 400) / 100 = 8.80 m. Span 120 cm reads High.

Shelves for 80 in tall, 48 in wide, 14 in spacing?

Shelves are floor(80 / 14) - 1 = 4. Board is (4 x 48 + 160) / 12 = 29.3 ft. Span 48 in reads High.

Questions

How is shelf count figured?

Shelves are floor(height / spacing) minus 1 for top and bottom. Board adds shelves times width plus two sides times height. The tool reports both plus a sag flag for the span.

What span starts to sag under books?

Near 36 inches for 3/4 inch pine or plywood under books. Past that, add a center divider, face frame lip, or thicker stock. Paperbacks forgive more than art books.

How heavy are books per shelf?

Books load about 20 to 30 lb per foot on deep shelves. Encyclopedias and files run heavier. When in doubt, shorten the span or step up thickness rather than trusting the math.

Do fixed shelves change the count?

Yes. Fixed shelves stiffen the case; adjustable pins flex a touch more. The count stays the same, but fixed joints resist racking better. Add a back panel either way.

Plywood or solid pine for shelves?

Plywood paints well and stays flat; solid pine stains well and costs more. MDF is flat but sags faster and hates moisture. Match material to finish and load.

How do I pick shelf spacing?

Measure the books, add an inch of finger room, and set spacing to the tallest row plus that inch. Mixed rows beat equal rows: tall below, short above.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.