Construction estimating · verified formulas Free · no signup

How to Calculate Stairs: The Complete Guide

Stair math starts and ends with one measurement — the total rise — divided into equal steps that pass code and feel natural underfoot. Get the riser height right and the stringer, run, and materials all fall out of it. This guide runs from riser counts to stringer layout, codes, and materials — distilling the 100 questions builders and DIYers ask most into one readable pass.

The 60-second version
  1. Risers = total rise ÷ 7″, rounded to a whole number; treads = risers − 1.
  2. Comfort check (Blondel): 2 × riser + tread = 24–25″.
  3. Code (IRC): max riser 7¾″, min tread 10″; keep all steps within 3/8″ of each other.
  4. Stringer length = √(rise² + run²) — buy lumber 1–2 ft longer.
  5. "Drop the stringer" by one tread thickness so every step ends up equal.
  6. Width drives stringers: 36–48″ = 3, 72″ = 5 (one every ~16″).

1 · Core terms & the step math

Four terms describe any staircase. Total rise is the vertical floor-to-floor height; total run is the horizontal distance it covers. Unit rise is one step's height; unit run is one step's depth (riser face to riser face, not counting nosing). The whole calculation flows from dividing the total rise into equal risers.

The step formulas
Number of risers = Total rise ÷ 7″ (target), rounded to a whole number
Treads = Risers − 1
Blondel comfort rule: 2 × unit rise + unit run = 24–25″
You can't build a fraction of a step, so round the riser count and recompute the exact unit rise = total rise ÷ riser count.

There's always one fewer tread than riser because the top "tread" is the upper floor itself. Blondel's rule is the ergonomic sanity check — two risers plus a tread should land in the natural-stride window of 24–25 inches.

Worked example · 9-ft (108″) total rise

108 ÷ 7 = 15.4 → 15 risers, each 108 ÷ 15 = 7.2″. That's 14 treads; at a 10″ run the total run is 140″ (11.7 ft). Blondel: 2 × 7.2 + 10 = 24.4″ ✓.

2 · Building codes & safety limits

Codes exist because uneven or steep stairs are a leading fall hazard. Residential (IRC) and commercial (IBC) limits differ, so check which applies:

Key stair code limits
ParameterIRC (residential)IBC (commercial)
Max riser height7¾″7″
Min tread depth10″ (11″ no nosing)11″
Min width36″by occupancy load
Min headroom6 ft 8″ (80″)6 ft 8″
Handrail height34–38″34–38″

Two more rules a calculator tracks: the 3/8″ variance rule — the tallest and shortest riser (or deepest and shallowest tread) in a flight can't differ by more than 3/8″ — and the landing rule: no straight flight may exceed 12 ft of vertical rise without a landing, and a landing must be as wide as the stair and at least 36″ deep in the direction of travel.

3 · Stringer geometry & layout

The stringer is the diagonal 2×12 that carries the steps. Its raw length is the hypotenuse of the rise/run triangle:

Stringer length
Raw stringer length = √( Total rise² + Total run² )
Buy boards 1–2 ft longer than this for the plumb (top) and level (bottom) end cuts. Ideal pitch is 30–37°; over 42° fails code.

Cut stringers must keep a minimum 5″ throat (solid wood below the notches) so they don't split. Mark the steps fast with stair gauges clamped to a framing square at your unit rise and run. And do the single most-missed adjustment — "dropping the stringer."

Drop the stringer by one tread thickness

Before fastening, trim the bottom of the stringer by exactly the tread thickness (e.g. 1½″). Skip it and the first step ends up a tread-thickness too tall and the top step too short — a trip hazard and a code fail on the 3/8″ variance.

4 · Landings & L / U shapes

An L-shaped stair turns 90° at a landing; a U-shaped (switchback) makes a 180° turn at a wide landing. The method is the same: treat it as two independent flights — flight 1 from the lower floor to the landing height, flight 2 from the landing to the upper floor — and calculate each. Ideally place the landing to split the rise evenly so both flights share the same step count and unit rise. Watch the landing's finish thickness: if it differs from the steps, adjust the stringer feet where they land.

5 · Spiral & winder stairs

Turning stairs without a landing use special geometry. Winder steps are triangular — wider on the outside, narrow at the inside corner. Code measures their depth along a walkline 12″ out from the inside rail, where they must hit the normal minimum (e.g. 10″), and they must keep at least 6″ of depth at the narrowest point. Spiral stairs rotate 22.5–30° per step, so a full 360° loop takes 12–16 steps, and the footprint is a cylinder (π × radius² × height).

6 · Well-hole & headroom

The well-hole is the opening cut in the upper floor so people clear the ceiling as they climb. To size it, trace the sloped headroom line down from the ceiling and find where the gap from the nosing to the ceiling drops to exactly 6 ft 8″ (80″) — that point sets the minimum length of the floor cutout. A steeper stair drops faster, so it needs a shorter well-hole; a shallow stair needs a longer one. Thick double header joists eat into clearance, so widen the opening if needed, and on a stair under a sloped roofline, plot the path against the ceiling to keep 80″ everywhere along the walkline.

7 · Guardrails & balusters

Open sides need a guardrail. On the stair itself it's a minimum 34″ (measured from the nosings); on flat upper landings it's 36″ residential, 42″ commercial. The two "sphere" rules govern infill spacing:

Even baluster spacing
Spacing = [ Open run − ( number of balusters × baluster thickness ) ] ÷ ( number of balusters + 1 )

8 · Materials & stringer counts

How many stringers depends on width — support every ~16 inches so treads don't sag:

Stringers by stair width
WidthStringers
36–48″ (residential)3 (left, center, right)
72″ (commercial)5

Use straight, knot-free #2-or-better structural lumber (Southern Yellow Pine or Douglas Fir) — a crowned 2×12 throws off every step. Exterior stairs need ground-contact pressure-treated wood. For treads, buy 3-ft pre-cut planks or cross-cut 12-ft blanks into three 36″ pieces. Plan about 1 tube of construction adhesive per 4 steps (glue plus screws prevents squeaks), and fasten treads with 2½″ deck screws or 3″ ring-shank nails. Pre-cut stringer modules (7″ rise / 11″ run) suit quick 3–4 step deck runs, and metal stringers are estimated by rise and step count.

9 · Concrete & steel stairs

For a poured concrete stair, the bulk is a triangular wedge plus the step "teeth":

Concrete stair volume
Wedge volume (cu ft) = ( Total rise(ft) × Total run(ft) ÷ 2 ) × Width(ft)
Cubic yards = total cu ft ÷ 27
Add the small step-teeth blocks on top of the wedge, then convert to yards for ordering.

Commercial steel pan stairs use pre-formed steel trays welded into channel stringers, filled on site with ~1.5–2″ of concrete per step — estimate the channel linear footage, pan count, and fill volume. Commercial egress also sizes width to occupancy: about 0.3″ of width per person. Steeper specialty options (ship's ladders at 50–70°, alternating-tread stairs) are code-limited to tight access.

10 · Cost, finishes & verification

Total material cost stacks stringers, treads, risers, handrails, and balusters against local prices, plus delivery and tax. A few finishing items to include:

Final quality check
Measure every riser — keep variation under 3/8″ · confirm 80″ headroom along the walkline · verify handrails are bolted to framing
1 in = 25.4 mm

Re-run the step math, verify the layout forms are square with a laser, and cross-check your material order before cutting stringers or pouring concrete. Then measure each finished riser to confirm it's within the 3/8″ code limit before the stair goes into service.

Related calculators