CalcThis CalcThis
A partially built wooden staircase with cut stringers exposed, a carpenter's framing square and tape measure resting on one stringer
Blog ยท Construction ยท 7 min read

How to Calculate Stair Rise and Run (Plus Stringer Length)

Every staircase comes down to the same right triangle: rise, run, and the stringer connecting them. Get the riser height right and tread depth, stringer length, and angle all fall out of one formula.

Stair terminology, in one diagram

Before the formulas, the parts. A stair rise is the vertical height of one step; the run is its horizontal depth. The riser is the vertical board at the back of a step, the tread is the horizontal board you step on, and the stringer is the diagonal structural board โ€” usually a 2×12 โ€” that the treads and risers are cut into or attached to.

Total rise Total run Angle Tread Riser Stringer

Two more terms worth knowing: nosing is the small overhang where a tread's front edge hangs past the riser below it (adds foot space, doesn't count toward run), and a flush stringer carries a full top tread level with the upper floor, while a standard stringer stops one riser short โ€” the upper floor itself is the final "step."

The riser-height formula

Start from the one measurement every staircase has to match exactly: total rise โ€” the floor-to-floor height it has to climb. Divide by a comfortable riser height, round to a whole number of steps, then divide back so every riser matches:

Number of steps = Total rise ÷ Target riser height THEN: ACTUAL RISER = TOTAL RISE ÷ NUMBER OF STEPS (ROUNDED)

Rounding matters here. A 9 ft (108 in) total rise divided by a 7.5 in target gives 14.4 โ€” round to 14 steps, then recompute: 108 ÷ 14 = 7.71 in per riser. Every step now matches exactly, which is a hard requirement โ€” building codes cap the difference between the tallest and shortest riser in one flight at ⅔ in (3/8 in).

Prefer to fix the step count instead of a target height? Work it the other direction: pick the number of steps first, then total rise ÷ steps gives the exact riser height directly โ€” no rounding needed. The stair calculator solves it either way and redraws the diagram as you type.

Close-up of a carpenter's framing square laid against a 2x12 stringer board, marking a riser and tread cut line in pencil
A framing square set to the riser height and run marks each cut line on the stringer before the saw ever touches it.

Standard vs. flush stringer mount

Once the riser height is set, the run โ€” how much horizontal space the flight needs โ€” depends on how many treads there actually are, and that depends on the mount:

MountTreads vs. risersStringer height
StandardOne fewer tread than riser โ€” the upper floor is the final "step"Total rise minus one riser
FlushEqual โ€” a full top tread sits level with the upper floorEquals total rise

A standard-mount flight with 14 risers only needs 13 treads cut into the stringer, because the 14th "step up" is simply stepping onto the upper floor. Total run is run per step × 13 โ€” not 14 โ€” a mismatch here is the single most common stair-layout error.

The stringer-length formula

Once total run and stringer height are both known, the stringer itself is just the hypotenuse of a right triangle:

Stringer length = √(Total run² + Stringer height²) PYTHAGOREAN THEOREM โ€” TOTAL RUN AND STRINGER HEIGHT ARE THE TWO LEGS

And the stair's climb angle comes from the same triangle:

Angle = arctan(Stringer height ÷ Total run) 30–40° IS THE COMFORTABLE RANGE FOR A RESIDENTIAL STAIR

Building code and comfort guidelines

The 2015 International Residential Code (IRC R311.7) sets hard maximums and minimums for residential stairs. A separate, older rule of thumb โ€” sometimes called Blondel's formula โ€” targets comfort rather than legal minimums, and the two don't always agree exactly.

MeasurementLimitType
Riser height7.75 in maxIRC code
Tread run10 in minIRC code
2×Riser + Run24–25 inComfort guideline
Climb angle30–40°Comfort guideline
Stair width36 in minIRC code
Headroom6 ft 8 in minIRC code
Max rise between landings147 inIRC code

Local codes can be stricter than the IRC baseline โ€” always confirm with your building department before cutting. The stair calculator checks every one of these automatically and flags anything outside range.

Worked example

A staircase needs to climb a 9 ft (108 in) total rise, standard mount, with a 10 in run per step:

A finished wooden staircase seen from the side with a tape measure laid along one tread, showing riser and tread boards
The same math either checks a finished staircase or plans one before the first board is cut.

How many stringers โ€” and how much lumber?

Every staircase needs at least 2 stringers, one on each side. Add a middle stringer for every additional 24 in (2 ft) of stair width beyond that, so the treads don't flex underfoot โ€” a 42 in-wide stair needs 3 stringers, not 2.

Buy stringer boards longer than the raw calculated length โ€” a 164.2 in stringer needs roughly a foot of extra length for the plumb and level end cuts, then rounds up to the next standard stock length (typically sold in 8, 10, 12, 14, 16 and 20 ft lengths). Tread and riser lumber is priced by the linear foot: each board spans the full stair width, so total footage is (number of treads + number of risers) × stair width, plus a waste allowance for cuts.

The stair calculator does all of this automatically โ€” enter your stair width and it works out the stringer count, rounds the cut length up to a standard board, and totals the tread and riser lumber with a waste buffer and an instant cost estimate.

Free tool
Stair Calculator
Riser height, run, stringer length and angle from your total rise โ€” with a live diagram, code & comfort checks, and a materials & cost estimate.
Calculate now

Common questions

How do I calculate stair rise and run?

Divide your total rise (floor-to-floor height) by a comfortable riser height, around 7 to 7.5 in, and round to a whole number of steps. Divide the total rise back by that step count to get the exact riser height every step will match. The run (tread depth) is typically 10 to 11 in. The stair calculator does both directions automatically.

What is the standard rise and run for stairs?

Most residential stairs use a riser height of 7 to 7.75 in and a tread run of 10 to 11 in. The IRC caps riser height at 7.75 in and requires at least 10 in of run.

How do I calculate stair stringer length?

Stringer length is the hypotenuse of a right triangle: the stringer height (vertical) and the total run (horizontal) are the two legs. Stringer length = √(stringer height² + total run²). A 100.29 in rise with a 130 in run needs about 164.2 in (13 ft 8.2 in) of stringer.

What is the difference between a standard and flush stringer mount?

On a standard mount, the top step is the upper floor itself, so the stringer needs one fewer tread than riser. On a flush mount, the top tread is a separate board level with the upper floor, so risers and treads are equal in number.

How many stringers do I need for a staircase?

Use at least 2 stringers for any staircase, and add a middle stringer for every additional 24 in (about 61 cm) of stair width beyond that to keep the treads from flexing. The stair calculator works out the stringer count from your stair width automatically.