Rise, run & dimensions

Stair formula calculator

A stair formula calculator is really just a set of equations chained together: total rise in, then riser count, riser height, tread depth, total run, angle, and stringer length out. Once you see how each formula feeds the next one, laying out a flight stops being guesswork.

This page lays out every formula a stair builder actually reaches for, with the variables defined plainly and a real worked example under each one. Keep it next to the calculator above and check your own numbers against it.

Stair formula calculator

Finished floor to finished floor, measured plumb.

The riser height you would like; the calculator rounds to a whole number of equal risers.

Nosing to nosing. Nosing overhang is not included.

15 risers of 7 3/16″, 14 treads of 10 1/2″, total run 147″, angle 34.4°, stringer 182 7/16″.

Risers

15

Riser height

7 3/16″

Treads

14

Tread depth

10 1/2″

Total run

12′ 3″

Stair angle

34.4°

Stringer length

15′ 2 7/16″

2R + T

24 7/8″

comfort ≈ 24–25 in

Run + nosing

12′ 4″

Stair side-elevation diagramSide elevation of a stair with 15 risers of 7 3/16″ and 14 treads of 10 1/2″, total rise 108″, total run 147″, angle 34.4°.UP108″147″7 3/16″10 1/2″34.4°Stringer 182 7/16″
Side elevation of the calculated flight (auto-scaled).
Rise, run and angle triangle diagramRight triangle with rise 7 3/16″, run 10 1/2″, hypotenuse 12 3/4″, and angle 34.4°.34.4°Run 10 1/2″Rise 7 3/16″Hyp 12 3/4″
Unit rise, unit run and the resulting stair angle.

Need presets, code profiles, printing or sharing? Continue with these values.

Open in the full stair calculator

Riser count and riser height

Every stair starts with total rise, the vertical distance from finished floor to finished floor. You pick a target riser height, then let the math round it to a whole number of steps: risers = round(total rise ÷ target riser). You can't build a fraction of a step, so this rounding step is not optional.

Once you know the riser count, go back and divide the total rise by it to get the real riser height: riser height = total rise ÷ risers. That number is what actually gets cut, and it will rarely match your original target exactly.

Riser count and height formulas
FormulaVariablesExample
risers = round(rise ÷ target riser)rise = total floor-to-floor height, target riser = desired step height108 in ÷ 7.25 in = 14.9 → 15 risers
riser height = rise ÷ risersrise, risers from above108 in ÷ 15 = 7.2 in per riser

Treads and total run

A flush-top stair (top step level with the upper floor) always has one fewer tread than riser, because the top floor itself acts as the last step: treads = risers − 1. If you're building a platform-style bottom step or an open-top design, that count can shift, so confirm which convention your plan uses before ordering lumber.

Multiply the tread count by your chosen tread depth to get the total horizontal run of the stair: total run = treads × tread depth. This is the number you check against the floor space you actually have before you cut anything.

Tread and run formulas
FormulaVariablesExample
treads = risers − 1risers = riser count15 risers − 1 = 14 treads
run = treads × treadtreads, tread = chosen tread depth14 × 10.5 in = 147 in total run

Stair angle and slope

The stair angle is the pitch of the stringer line above horizontal, and it comes straight out of basic trigonometry: angle = atan(riser height ÷ tread depth). Most residential stairs land between about 30 and 37 degrees; steeper stairs feel more like a ladder, shallower stairs eat up more floor space.

The same right triangle also gives you slope as a percentage (rise ÷ run × 100) or as a ratio (rise : run) if your local code or drawings call for that instead of degrees.

FormulaVariablesExample
angle = atan(riser ÷ tread)riser height, tread depthatan(7.2 ÷ 10.5) = 34.4°

Stringer length

Stringer length is the hypotenuse of the same right triangle, using the full rise and run of the flight, not a single step: stringer length = √(rise² + run²). This is the theoretical layout line down the top of the stringer board, before you add material for the bottom cut or a horseshoe-style tail.

For a 12-foot stringer board, remember you're buying length along that diagonal, not along the floor, so a shallow stair with a long run needs a noticeably longer board than a steep one with the same total rise.

FormulaVariablesExample
stringer = √(rise² + run²)rise = total rise, run = total run√(108² + 147²) = 182.4 in

Comfort formulas: Blondel, R+T, and R×T

Blondel's formula (2R + T) is the oldest and still the most-quoted comfort check for a stair, and it aims for a stride length that matches a natural walking pace: 2 × riser height + tread depth should land somewhere around 24 to 25 in.

Two simpler backup checks: R + T (riser plus tread) should be roughly 17 to 18 in, and R × T (riser times tread) should land around 70 to 75 sq in. None of these are code minimums, they're comfort guidelines, and a stair can pass code while failing all three if it's unusually steep or shallow.

Comfort formulas and comfortable ranges
FormulaComfortable range108 in / 7.2 in / 10.5 in example
2R + T (Blondel)≈ 24–25 in2(7.2) + 10.5 = 24.9 in
R + T≈ 17–18 in7.2 + 10.5 = 17.7 in
R × T≈ 70–75 sq in7.2 × 10.5 = 75.6 sq in

Headroom, notch depth, and throat

Headroom is the clear vertical distance from the nosing line (an imaginary line touching the front edge of every tread) up to the underside of the ceiling or framing above. It isn't a formula you solve for directly on a finished stair; it's measured on site or checked against a planned floor opening, since it depends on where the opening starts and ends, not just the stair's own geometry.

The notch depth on a cut stringer is simply the riser height minus the tread board's thickness, so the first tread sits level with the rest once it's fastened on. The throat is the narrowest remaining width of stringer material below the bottom of the notches; framing guidance commonly calls for keeping at least 3½ in to 5 in of solid wood there so the stringer doesn't crack under load.

TermFormula or definition
Notch depthriser height − tread board thickness
Throatremaining stringer width below the deepest notch point, commonly kept ≥ 3½–5 in
Headroommeasured, not calculated: vertical clearance from the nosing line to the ceiling above

Work every formula from the same two starting numbers, total rise and target riser, so riser height, run, angle, and stringer length all stay consistent with each other.

Full formula reference table

Here's every formula from this page side by side, so you can scan for the one you need without re-reading each section.

All stair formulas
QuantityFormula
Riser countround(rise ÷ target riser)
Riser heightrise ÷ risers
Tread countrisers − 1
Total runtreads × tread depth
Angleatan(riser ÷ tread)
Stringer length√(rise² + run²)
Blondel (2R+T)2 × riser + tread ≈ 24–25 in
R+Triser + tread ≈ 17–18 in
R×Triser × tread ≈ 70–75 sq in
Notch depthriser height − tread thickness

Worked math

Worked example: 108 in rise, 7.25 in target riser, 10.5 in tread

Given

  • Total rise: 108 in
  • Target riser: 7.25 in
  • Tread depth: 10.5 in

Steps

  1. Risers = round(108 ÷ 7.25) = round(14.9) = 15
  2. Riser height = 108 ÷ 15 = 7.2 in
  3. Treads = 15 − 1 = 14
  4. Total run = 14 × 10.5 = 147 in
  5. Angle = atan(7.2 ÷ 10.5) = 34.4°
  6. Stringer length = √(108² + 147²) = √(11,664 + 21,609) = √33,273 ≈ 182.4 in
  7. Blondel check = 2(7.2) + 10.5 = 24.9 in, within the comfortable 24–25 in range

15 risers at 7.2 in, 14 treads at 10.5 in, a 34.4° angle, and a 182.4 in stringer that also passes the Blondel comfort check.

Questions

Stair formula calculator FAQ

What is the basic stair formula?

The chain most builders use is: risers = round(total rise ÷ target riser), riser height = rise ÷ risers, treads = risers − 1, and total run = treads × tread depth. From there, angle and stringer length follow from basic right-triangle trig.

What is the 2R+T stair formula?

2R+T is Blondel's formula: two times the riser height plus the tread depth. It's a comfort check, not a code rule, and it commonly aims for a total between about 24 and 25 in so the stair matches a natural stride.

How do you calculate stair stringer length by formula?

Stringer length is the hypotenuse of the rise-and-run triangle: √(total rise² + total run²). For a 108 in rise and 147 in run, that's √(108² + 147²) ≈ 182.4 in of layout line along the top of the board.

What formula gives the stair angle?

Angle = atan(riser height ÷ tread depth). Most residential stairs fall between roughly 30 and 37 degrees; steeper stairs save floor space but feel more aggressive to climb.

Is there a formula for headroom?

Not a standalone one. Headroom is measured from the nosing line up to the framing or ceiling above, and it depends on where a floor opening starts and ends, not on rise and run alone, so it has to be checked on the actual layout.

What is the notch depth formula for a cut stringer?

Notch depth equals riser height minus the thickness of the tread board that will sit on it, so the first step ends up the same height as the rest once the tread is fastened in place.

Why do R+T and R×T give different comfort numbers than 2R+T?

They're three separate rules of thumb checking the same idea from different angles. R+T targets roughly 17–18 in, R×T targets roughly 70–75 sq in, and 2R+T (Blondel) targets roughly 24–25 in. A stair rarely fails all three at once if the proportions are reasonable.

Keep going

Important

Disclaimer

StairCalculator.app provides calculations and educational information. Building codes and construction requirements vary by location. Verify final dimensions and requirements with the applicable local building authority or qualified professional.

Calculations are only as accurate as the measurements and inputs you provide; small errors in measuring total rise or floor thickness can shift the results, so double-check field measurements before cutting materials, and treat every reference value and worked example on this site as illustrative rather than a guarantee of code compliance.