Stair Calculator
Risers = total rise ÷ 7 3/4 in (the IRC maximum), rounded up, and there is one tread fewer than risers. A 108 in floor-to-floor rise gives 14 risers of 7 11/16 in and 13 treads; with 10 in treads, that is 130 in of run. Never round risers down: 108 ÷ 7.75 = 13.9 means 14 risers, or every riser ends up over the 7 3/4 in limit.
Risers (steps up)
14 risers of 7 11/16 in
13 treads of 10 in
Estimate only. Check dimensions, loads and local code requirements with a qualified professional before you build.
Example values. Enter your measurements above to see your result.
- Exact riser height
- 7.714 in
- Total run
- 10 ft 10 in (130 in)
- Stringer length (along the nosings)
- 14 ft 1 in (169 in)
- Stair angle
- 37.6°
- IRC checks
- Riser, tread and flight rise within IRC limits
IRC limits used: riser ≤ 7.75 in, tread ≥ 10 in, flight rise ≤ 151 in. Local codes can differ.
Checked by the Yardstick Math team · How we check
Worked examples
A 9 ft (108 in) floor-to-floor rise, 10 in treads
- 108 ÷ 7.75 = 13.9, rounded up to 14 risers
- 108 ÷ 14 = 7.714 in per riser (about 7 11/16 in)
- 13 treads × 10 in = 130 in of run
- √(108² + 130²) = 169 in of stringer, angle 37.6°
Result: 14 risers of 7 11/16 in, 13 treads, 10 ft 10 in of run.
Checked by the automated test “stairs — 108 in rise → 14 risers of 7.71 in, 13 treads, 130 in run”.
A 30 in deck stair, 7 1/2 in max riser, 11 in treads
- 30 ÷ 7.5 = 4 risers of exactly 7.5 in
- 3 treads × 11 in = 33 in of run
Result: 4 risers, 3 treads, 33 in of run.
Checked by the automated test “stairs — 30 in deck rise → 4 risers of 7.5 in, 3 treads, 33 in run”.
A 14 ft (168 in) total rise — two flights with a landing
- 168 in exceeds the 151 in limit for one flight (IRC R311.7.3) → split into two flights
- Flight 1 (lower): 96 in rise → 96 ÷ 7.75 = 12.4 → 13 risers of 96/13 = 7 3/8 in, 12 treads × 10 in = 120 in run
- Flight 2 (upper): 72 in rise → 72 ÷ 7.75 = 9.3 → 10 risers of 7.2 in, 9 treads × 10 in = 90 in run
- Landing depth ≥ 36 in per IRC R311.7.6; total horizontal = 120 + 36 + 90 = 246 in
Result: 13 + 10 = 23 risers, 12 + 9 = 21 treads, 246 in total run including landing.
Checked by the automated test “stairs — 168 in total rise with landing → flight 1: 13 risers of 7 3/8 in, 120 in run; flight 2: 10 risers of 7.2 in, 90 in run; total run 246 in”.
A 108 in rise with only 120 in of run available — constrained space
- 108 ÷ 7.75 = 13.9 → 14 risers of 7 11/16 in (same as unconstrained)
- With 120 in max run, 13 treads fit at 120 ÷ 13 = 9.23 in — below the 10 in IRC minimum
- To meet code: reduce to 12 treads at 10 in = 120 in run, needing 13 risers at 108 ÷ 13 = 8.31 in — exceeds 7 3/4 in max
- Result: no code-compliant straight flight fits; needs a landing, winder, or longer opening
Result: No IRC-compliant straight flight fits in 120 in of run for a 108 in rise. Plan a landing, winder, or increase the stair opening.
Checked by the automated test “stairs — 108 in rise, 120 in max run → no code-compliant straight flight (12 treads = 8.31 in riser, 13 treads = 9.23 in tread)”.
Metric — 2.75 m floor-to-floor rise, 254 mm treads (10 in IRC min)
- 2.75 m = 2750 mm = 108.27 in total rise; IRC max riser = 7.75 in = 196.85 mm
- 108.27 ÷ 7.75 = 13.97 → 14 risers of 108.27 ÷ 14 = 7.73 in (196.4 mm) each — within IRC limit
- 13 treads × 10 in = 130 in (3.30 m) of run
- Stringer = √(108.27² + 130²) = 169.2 in = 4.30 m, angle = arctan(7.73 ÷ 10) = 37.7°
Result: 14 risers of 7.73 in (196.4 mm), 13 treads, 130 in (3.30 m) of run.
Checked by the automated test “stairs — metric: 2.75 m rise, 7.75 in max riser, 10 in treads → 14 risers of 7.73 in, 13 treads, 130 in run”.
Stair stringer length for a 9 ft rise — stair stringer calculator
- 9 ft = 108 in total rise; IRC max riser = 7.75 in; IRC min tread = 10 in
- 108 ÷ 7.75 = 13.94 → 14 risers of 108 ÷ 14 = 7.714 in each (≤ 7.75 in, code OK)
- 13 treads × 10 in = 130 in total run
- Stringer diagonal = √(108² + 130²) = √28,564 = 169.0 in (14 ft 1 in)
- Board must be longer: add ~12 in for top/bottom cuts → buy 16 ft (or 14 ft if tight)
Result: Stringer along nosings = 169 in (14 ft 1 in). Use a 16 ft 2×12 board to allow for top and bottom cuts; 3 stringers at 16 in spacing for 36 in width.
Checked by the automated test “stairs — stair stringer calculator: 108 in rise → 14 risers, 130 in run, 169 in stringer diagonal → 16 ft board”.
How it works
Risers = total rise ÷ maximum riser height, rounded up
Riser height = total rise ÷ risers
Treads = risers − 1 · total run = treads × tread depth
Stringer (along the nosings) = √(total rise² + total run²)
Angle = arctan(riser height ÷ tread depth)
Assumptions
- A straight flight from floor to floor, where the upper floor acts as the last step (so there is one tread fewer than risers).
- IRC 2021 limits: riser at most 7 3/4 in (R311.7.5.1), tread at least 10 in (R311.7.5.2), one flight rises at most 151 in before a landing (R311.7.3). Many towns amend these values.
- The stringer length is the straight line along the nosings; the board you cut from is longer.
Reference table
| Total rise | Risers | Riser height | Total run |
|---|---|---|---|
| 30 in | 4 | 7 1/2 in | 30 in |
| 48 in | 7 | 6 7/8 in | 60 in |
| 96 in | 13 | 7 3/8 in | 120 in |
| 102 in | 14 | 7 5/16 in | 130 in |
| 108 in | 14 | 7 11/16 in | 130 in |
| 120 in | 16 | 7 1/2 in | 150 in |
Riser height to the nearest 1/16 in; the calculator also gives the exact value. Above 151 in of rise, the IRC asks for a landing.
Stairs are an estimate — confirm with a licensed professional and your building department before you cut: stringer size, support and local amendments are outside this calculator.
Rounding risers and treads
- Divide the rise evenly. The calculator shows the exact riser height (7.714 in for a 108 in rise) and the nearest 1/16 in for your layout square.
- Check the floor space. Thirteen 10 in treads already need almost 11 ft of run, plus a clear landing at the bottom.
Common mistakes
- Measuring to the subfloor Flooring added later changes the top or bottom riser. On the 108 in stair, 3/4 in of flooring added upstairs turns the top riser into about 8 7/16 in, over the 7 3/4 in limit.
- Forgetting headroom IRC R311.7.2 asks for at least 6 ft 8 in of headroom above the nosings; check it against the floor opening above.
- Running one flight too high IRC R311.7.3 limits one flight to 151 in of rise between floors or landings. A taller rise needs a landing, so plan two flights.
- Assuming the model code applies as written Some jurisdictions amend riser and tread limits; your building department has the final word.
Frequently asked questions
How do I calculate stair rise and run?
Measure the total rise from finished floor to finished floor. Divide it by the tallest riser you allow (7 3/4 in under the IRC) and round up to get the number of risers; divide the rise by that number for the exact riser height. The run is one tread fewer than risers, times the tread depth.
How long does a stair stringer need to be?
At least the diagonal along the nosings: √(rise² + run²). For a 108 in rise and 130 in run that is 169 in, about 14 ft 1 in. The board must be longer than that to allow for the top and bottom cuts. The [stair stringer calculator](/stair-stringer-calculator/) works out the cuts and the board feet to buy.
What is the maximum stair riser height under the IRC?
7 3/4 in, under section R311.7.5.1 of the 2021 International Residential Code. Within one flight the tallest riser may not exceed the shortest by more than 3/8 in, so all risers should be equal.
Does this work for deck stairs?
Yes: enter the height from the ground or landing to the deck surface as the total rise. The City of Philadelphia's deck checklist applies the same IRC limits: treads at least 10 in, risers at most 7 3/4 in, stairs at least 36 in wide.
Sources
Formula, examples and sources checked on by the Yardstick Math team. How we check our formulas.
- 2021 IRC R311.7.5.1 Risers — International Code Council, accessed
- Residential Stairs, Handrails and Guards (CRC R311.7, same limits as the IRC: riser 7-¾ in max., tread 10 in min., headroom 6 ft 8 in, 151 in per flight) — City of Gilroy, California, Building Division, accessed
- IRC Deck-Only Plan Review Checklist (tread 10 in min., riser 7-3/4 in max.) — City of Philadelphia, accessed