Space planning

Equal shelf spacing calculator

Calculate equal clear gaps and shelf underside positions inside an opening with thickness and edge allowances.

Free to useCalculated in your browser

Your measurements

Start with the example, then make it yours. Change units beside each measurement.

English, Persian and Arabic numerals work. Use a dot, comma or ٫ for decimals; use spaces or ٬ for thousands. A comma is always a decimal.

Your measurements stay in this page. No uploads, saved input URLs, or calculation requests are sent to a server.

Your estimate

Based on your inputs. Purchasing quantities round upward.

Enable JavaScript to run this browser calculator. The method, formulas and example are available below.

Results use SI units. Change individual input units or use the unit converter.

How the calculation works

The formulas

Shelf count means intermediate boards only; the opening’s top and bottom boards are excluded. After edge allowances and shelf thicknesses are deducted, the remaining clear height is divided into one more gap than the shelf count.

Gap = (opening height − top allowance − bottom allowance − count × thickness) / (count + 1)

Underside(i) = bottom allowance + gap + i × (gap + thickness)

Assumptions to check

  • Opening height is the clear inside height. Positions are measured upward from the inside bottom.
  • Board spans, loads, fixings, and shelf deflection are not checked.

A worked example

A 2 m opening with four 18 mm shelves and 50 mm top/bottom allowances has five equal clear gaps of 365.6 mm.