Building & DIY

Stairs Calculator (Rise, Run & IRC Compliance)

Size residential stairs to IRC R311.7 from your total rise and tread depth. You get the best riser count, actual riser height, stringer length, pitch angle, and a 2R+T comfort score.

Reviewed and updated

How to use
  1. Enter the total rise from floor to floor.
  2. Set your tread depth.
  3. Check stringer length, pitch, and the 2R+T score.
Estimates only, allow for waste and confirm against local building codes and supplier specs.
Was this helpful?

The 7–11 rule and the comfort formula

2R + T = 24–25 in   (R = rise, T = tread)

A rise near 7 inches with a tread of 11 inches is the everyday sweet spot: 2(7) + 11 = 25. The rule tracks a natural stride, so stairs built to it feel even and safe. Every step in a flight must share the same rise — that is the part people get wrong.

Sizing a flight from the total rise

Start from the floor-to-floor height, pick the number of risers, and the geometry follows. Treads are always one fewer than risers, since the top floor is the last landing.

  • Risers. Total rise ÷ target rise (~7 in), rounded to a whole number.
  • Actual rise. Total rise ÷ number of risers — this is what you build to.
  • Treads. Number of risers minus 1.
  • Total run. Number of treads × tread depth — the floor space the stairs eat up.
stringer length = √( total rise² + total run² )

US code limits (IRC / IBC)

DimensionMinMaxTypical home
Riser (rise)4 in7.75 in7 to 7.5 in
Tread (run)10 in10 to 11 in
Stair width36 in36 in (44 for two people)
Nosing overhang0.75 in1.25 in1 in
Headroom80 in80 in clear

Any two risers in the same flight may differ by no more than 3/8 inch. Uneven steps are a leading cause of falls, because your body expects every step to be the same after the first one. A comfortable pitch lands between 30° and 38°.

Common questions

What is the difference between rise and run?

Rise is the vertical height of one step; run is the horizontal depth you place your foot on (also called the tread). US code allows a rise up to 7.75 inches and requires a run of at least 10 inches. Together they set how steep and how comfortable the stairs feel.

Why is 2R + R the rule for comfortable stairs?

Two times the rise plus the run should land between 24 and 25 inches, which matches the length of a natural walking stride. A 7-inch rise with an 11-inch run gives 2(7) + 11 = 25, close to ideal. Adding an inch to the rise means taking an inch off the run.

How many steps do I need for a given height?

Divide the total floor-to-floor height by a target rise near 7 inches and round up to a whole number of risers, then divide the height by that count to get the exact rise. For a 108-inch rise: 108 / 7 is about 15.4, round to 15 risers, so each rise is 7.2 inches.

From the blog

Guides & how-tos

All articles →