Stair Calculator

Work out the number of steps, the exact riser height, the number of treads, and the total run for a staircase — from your floor-to-floor height.

How to measure stairs — total rise and total run Total run Total rise
Measure the total rise and total run.

How to calculate a staircase

Stairs start from the total rise — the finished floor-to-floor height. From there:

Steps (risers) = total rise ÷ target riser height (rounded), then riser height = total rise ÷ steps

The number of treads is always one less than the number of risers, because the top floor itself acts as the last "step." Total run is the number of treads times the tread depth.

Comfort and code

MeasurementTypical target
Riser height7–7.75 in (lower is easier)
Tread depth10–11 in minimum
Comfort rule2 × riser + tread ≈ 24–25 in

Know the stair terms

  • Rise — the total floor-to-floor height; riser is the vertical face of one step.
  • Run — the total horizontal distance the stair covers; tread is the part you step on.
  • Nosing — the lip where the tread overhangs the riser (about ¾–1¼ in).
  • Stringer — the sawtooth board that carries the treads and risers.
  • Headroom — the clear height above the stairs (code minimum 6 ft 8 in).

Code essentials (typical IRC)

ItemLimit
Max riser height7¾ in
Min tread depth10 in
Min stair width36 in
Riser/tread variation≤ ⅜ in across the flight
Handrail height34–38 in
Min headroom6 ft 8 in

Figures are common IRC values — always confirm against your local code.

Stringers and layout

Most stairs use three stringers (two outside, one center) for a 36-inch width, with more for wider stairs or heavy use. Make sure the total run fits the space before you frame — a steeper stair saves floor space but is harder to climb, and a tall flight (more than about 12 ft of rise) usually needs an intermediate landing.

Good to know

  • Keep risers equal. Codes require all risers within about 3/8 in of each other — uneven steps are a trip hazard.
  • Mind the headroom and total run. A longer run needs more floor space; check it fits before you frame.
  • Confirm local code. Riser/tread limits and handrail rules vary by jurisdiction.

Laying out and cutting stair stringers

Once you know your riser height and tread depth, transfer them to a 2×12 stringer with a framing square and a pair of stair gauges (the little brass buttons that clamp to the square). Set one gauge at your riser height on the tongue and the other at your tread depth on the body, then step the square down the board, marking each triangle. The key gotcha is the first-riser deduction: cut the bottom of the stringer down by the thickness of one tread, so that once the treads are installed, every finished riser — including the first and last — ends up equal. Cut the notches with a circular saw, finish the inside corners with a handsaw, and test-fit before cutting the matching stringers.

Straight, L-shaped, or U-shaped?

The layout you choose affects the run and whether you need a landing:

  • Straight. The simplest and cheapest — one run from bottom to top, but it needs the most uninterrupted floor length.
  • L-shaped. Turns 90° at a landing, which softens a fall and tucks the stair into a corner.
  • U-shaped. Doubles back 180° around a landing, saving floor space in a compact footprint.

Any flight taller than about 12 feet of rise generally needs an intermediate landing, and a landing is a smart break point on long or steep stairs regardless.

Frequently asked questions

How many steps for a 9 ft floor height?
108 inches ÷ 7.5 ≈ 14 steps, giving an actual riser of about 7.7 in and 13 treads.
What's the max riser height?
Usually about 7.75 in, with a minimum tread of about 10 in — but always confirm your local code.
Why is there one fewer tread than risers?
The upper floor surface serves as the final landing, so you step up one more riser than the number of treads.
What makes stairs feel comfortable?
Aim for 2 × riser + tread ≈ 24–25 in, with risers around 7–7.5 in and treads of 10–11 in.
How much floor space (run) do stairs need?
Multiply the number of treads by the tread depth. A typical 14-step flight with 13 treads at 10 in needs about 130 in — nearly 11 ft of horizontal run.
How wide should a staircase be?
Code minimum is 36 in above the handrail. 36–42 in is comfortable for a home, and wider lets two people pass.
How many stringers do I need?
Three for a standard 36-in stair (two sides plus a center), with extra stringers for wider stairs or thinner treads to prevent flex.
What's the ideal riser height?
Around 7 to 7.5 inches feels comfortable to most people — lower is easier to climb but adds steps and run. Code caps it near 7.75 inches.
Why cut the bottom of the stringer shorter?
It's the first-riser deduction: drop the bottom riser by one tread's thickness so that, once treads are installed, all finished risers are equal. Skipping it leaves an oversized first or last step.
Do I need a landing?
Yes for any flight over about 12 ft of total rise, and wherever the stair changes direction (L- or U-shaped). Landings also give a safe rest and break a long fall.

How we calculate this

  • Risers = total rise ÷ a comfortable riser height (~7–7.75 in)
  • Treads = risers − 1; total run = treads × tread depth (~10–11 in)
  • Dimensions follow common residential stair guidelines

Stairs are strictly code-regulated — confirm riser, tread, and headroom limits with your local building code before building.

Sources: International Residential Code (IRC) stair guidelines. Last reviewed: June 2026. See our methodology for how we build every estimate.