Stair Calculator
Building a staircase starts with two numbers: how high the stairs must climb (the total rise) and how far you have for them to run. This stair calculator turns the total rise into the number of risers, the actual riser height, the number of treads, the total run, the stringer length and the stair angle — and checks the result against the IRC code and the 2R + T comfort rule.
Enter your total rise, target riser height, tread depth and stair width. The calculator counts risers against the IRC maximum riser of 7 3/4 inches, so the actual riser height always comes out at or below the code limit, and it warns you if the tread, the width or the total rise break the code.

Number of risers: 14
Actual riser height: 7.50 in (target 7.5 in)
Number of treads: 13
Total run: 130 in (10 ft 10 in)
Stringer length: 167.1 in (13 ft 11 in)
Angle: 38.9°
Comfort check (2R + T = 24–25 in): 25.0 — pass
Code check: No code issues — riser, tread and width are within IRC limits.
Stair Calculator Formula
Risers = ceil(total rise / max riser 7.75 in); actual riser = total rise / risers; treads = risers – 1; total run = treads x tread depth; stringer = square root of (rise squared + run squared)
- IRC 2021 R311.7 (2024 same limits): max riser 7 3/4 in; min tread 10 in (nosing to nosing); min stair width 36 in; min headroom 6 ft 8 in (80 in); max rise per flight 151 in; max riser/tread variation within a flight 3/8 in; handrail 34–38 in high (required at 4+ risers); nosing 3/4–1 1/4 in where treads <11 in.
- Comfort rule: 2R + T = 24–25 in.
- Most comfortable: 7 in riser x 11 in tread (~32 degrees).
- A 7 3/4 in riser with a 10 in tread is legal but steep (~38 degrees) — the widget warns when 2R+T falls outside 24–25.
- The widget counts risers from the IRC maximum riser of 7.75 in, so the actual riser height is always at or below the code limit; the target riser you enter is shown for comparison.
Stair Calculator Worked Example
A common case: a floor-to-floor height of 105 inches (8 ft 9 in), a target riser of 7.5 in and 10 in treads.
- Step 1: Risers = ceil(105 / 7.75) = 14 risers.
- Step 2: Actual riser = 105 / 14 = 7.50 in.
- Step 3: Treads = 14 – 1 = 13 x 10 in -> total run 130 in (10 ft 10 in).
- Step 4: Stringer = square root of (105 squared + 130 squared) = 167.1 in (13 ft 11 in).
- Step 5: Angle = atan(105/130) = 38.9 degrees. Comfort: 2 x 7.5 + 10 = 25.0 (pass).
Answer: 14 risers at 7.50 in, 13 treads, 10 ft 10 in run, 13 ft 11 in stringer, 38.9 degrees.
Total Rise vs Risers and Run
With 10 in treads and a 7.5 in target riser:
| Total rise | Risers | Riser height | Treads | Total run |
|---|---|---|---|---|
| 84 in (7 ft) | 11 | 7.64 in | 10 | 100 in |
| 105 in (8 ft 9 in) | 14 | 7.50 in | 13 | 130 in |
| 120 in (10 ft) | 16 | 7.50 in | 15 | 150 in |
Frequently Asked Questions
Total rise / 7.75 in, rounded up — a 105 in rise needs 14 risers at 7.50 in each.
About a 7 in riser with an 11 in tread — the 2R+T rule says twice the riser plus the tread should be 24–25 in.
7 3/4 in under the IRC; treads must be at least 10 in deep. Check your local code — some jurisdictions are stricter.
Stringer = square root of (rise squared + run squared) — for a 105 in rise and 130 in run it is 167.1 in (13 ft 11 in). Cut it from a 2×12 board.
More Calculators
- Flooring Calculator
- Insulation Calculator
- Siding Calculator
- Tile Calculator
- AC Size Calculator
- Mortgage Calculator
- Compound Interest Calculator