Stair Calculator: Rise, Run and Stringers

Work out risers, treads, total run and stringer length for code-safe stairs, with the IRC limits and a full 9 ft worked example.

Loading the stair calculator...

A stair calculator turns one floor-to-floor height into step count, riser height, tread depth, total run and stringer length before you cut anything. For a 9 ft (2.74 m) rise, the answer is 15 risers at 7.2 in and 14 treads at 10.5 in, for a total run of 147 in. That sits inside IRC limits.

The formula

Total rise is the vertical distance from the lower finished floor to the upper finished floor, not ceiling height.

Risers = total rise / target riser height, rounded up to a whole number

Actual riser height = total rise / number of risers

Treads = risers - 1

Total run = treads x tread depth

Stringer length = square root of (total rise squared + total run squared)

That last line is Pythagoras: the stringer is the diagonal of a right triangle, with total rise and total run as the other sides.

Check the result against IRC R311.7.5:

Item IRC limit Section
Riser height 7-3/4 in (196 mm) maximum R311.7.5.1
Tread depth 10 in (254 mm) minimum R311.7.5.2
Riser or tread variation in one flight 3/8 in maximum R311.7.5.1 and R311.7.5.2
Nosing projection 3/4 in to 1-1/4 in R311.7.5.3
Headroom 6 ft 8 in minimum R311.7.2
Stair width 36 in minimum R311.7.1

A nosing is not required at 11 in tread depth or more. If the riser is over 7-3/4 in, add one riser and redo the math.

Worked example: a 9 ft floor-to-floor rise

Total rise is 108 in, which is 9 ft. Your target riser is 7.5 in, you pick a 10.5 in tread depth, and you have a run limit of 150 in before a doorway.

Step 1, riser count: 108 / 7.5 = 14.4 risers. Steps cannot be part numbers, so round up to 15 risers. We rounded up like a builder.

Step 2, actual riser height: 108 / 15 = 7.2 in. That is under the 7-3/4 in maximum, so it passes. Cut every riser at 7.2 in, not at the 7.5 in target.

Step 3, tread count: 15 - 1 = 14 treads. The upper floor is the top stepping surface, so it gets no tread board.

Step 4, total run: 14 x 10.5 = 147 in, or 12 ft 3 in (3.73 m). It fits your 150 in run limit with 3 in to spare.

Step 5, stringer length: square root of (108 squared + 147 squared) = square root of (11,664 + 21,609) = square root of 33,273 = 182.4 in, about 15.2 ft (4.63 m). Stock sells in whole lengths, so round up to a 16 ft board per stringer.

Checked a second way: 15 x 7.2 = 108 in, the exact total rise. For deck stairs, measure from deck surface to finished ground or pad, and use our deck board calculator for the boards at the top step.

How to measure total rise and total run

Measure total rise from finished floor to finished floor. If the upper floor will get 3/4 in hardwood and the lower floor is bare subfloor today, add that thickness now.

Measure in two places. A rise that reads 108 in on the left can read 108-1/2 in on the right. Use the larger number, then level the stringer seats when you set them.

Check run space before you pick a tread depth. Tape along the floor from the face of the bottom step to the wall or landing edge above. Use our square footage calculator if the layout is tight.

Check headroom during layout. Rest a long board on the line of the tread nosings and measure straight up to the ceiling above. You need 6 ft 8 in minimum at every point.

What changes the step count and stringer length?

Total rise is the big one. Add about 7 in of rise and you add about one step. A house with 10 ft ceilings and a thick floor frame can need 17 or 18 risers.

Tread depth changes total run fast. Going from 10 in to 11 in treads on a 14-tread flight adds 14 in of run.

A tight run limit can force a change of shape. If total run will not fit straight, use an L shape with a landing, run the calculator once per flight, and add the landing depth to the plan. Do not fix a short run by cutting tread depth below 10 in or pushing risers past 7-3/4 in.

Deck stairs have one extra variable: the bottom surface. If the bottom step lands on a concrete pad, the top of that pad is your lower floor for measuring. Our concrete calculator works out that pad, and our guide to the cost to build a deck covers the deck itself.

Common mistakes to avoid

Do not use ceiling height as total rise. You will miss the joists, subfloor and finish floor above, which can add 10 in or more. That error makes the top step short and the flight wrong.

Do not let risers vary. Code allows only 3/8 in between tallest and shortest riser in a flight. People trip on the odd step, because their feet settle into a rhythm.

Do not forget tread thickness at the first riser. If treads are 1 in thick, shorten the first riser cut by that thickness, or the first step ends up 1 in tall.

Do not cut every stringer from your first plan. Cut one, hold it in place, and set a tread board and level on it. Check risers and headroom in real space, then use it as the pattern for the rest.

Do not bury a wood stringer end in soil outdoors. Set the bottom on a concrete pad or paver so the end grain stays dry.

When to hire a pro

Call a carpenter or stair builder if the flight needs a landing framed into a floor opening, or if your permit office wants a drawn plan.

Get help if the math gives a riser over the limit and a run that will not fit. A pro can fix that with a landing, a shifted opening, or winder treads that meet code at the walkline. Those fixes are cheap on paper and costly after stringers are cut.

Open-riser, spiral and wide stairs with no wall support are also pro work.

Frequently asked questions

How many steps do I need for a 9 ft rise?

At a 7.5 in target riser, 108 / 7.5 = 14.4, rounded up to 15 risers. Actual riser height is 108 / 15 = 7.2 in, and you build 14 treads.

What is the maximum riser height and minimum tread depth?

IRC R311.7.5 sets a 7-3/4 in maximum riser and a 10 in minimum tread depth. Local code can be stricter, so check before you cut.

How long should my stair stringer be?

Use square root of (total rise squared + total run squared). For 108 in rise and 147 in run, that is 182.4 in, so buy 16 ft stock.

Do stairs need a nosing?

If tread depth is under 11 in, yes. The nosing must project 3/4 in to 1-1/4 in past the riser below, with no more than 3/8 in variation in one flight.

How much headroom do stairs need?

At least 6 ft 8 in, measured straight up from the line of the tread nosings or from a landing.

Why is there one fewer tread than risers?

The upper floor is the last stepping surface. A flight with 15 risers climbs 15 vertical gaps, but only the lower 14 need a tread board.

Next step

Run your own total rise through the stair calculator above, then plan the pad at the bottom with our concrete calculator if your stairs land outside.

Sources

Keep reading