Stair Calculator
Plans a straight flight of stairs. Enter the total rise from floor to floor, then either the height of one step or the number of steps, and either the depth of one tread or the total run. The calculator gives the number of risers and treads, the rise and run of each step, the total run, the stringer length and the stair angle, and checks the result against the comfort rule and the main 2021 International Residential Code limits, including an optional headroom check.
- A single straight flight with equal treads; winders, landings and spiral stairs are not modelled.
- Rise and run are measured between finished surfaces; the stringer length ignores nosing overhang and the thickness of the stringer stock.
- The code checks cover the main 2021 IRC dimensions only. Your local building code may set different limits.
Formula
- When you enter the rise of one step and the total rise is not a whole multiple of it, the number of risers is rounded down and the leftover height is added to the bottom step. The checks flag it if the bottom step then differs from the others by more than the IRC allows.
- In a standard stair the upper floor acts as the last step, so there is one tread fewer than risers and the stringer stops one rise below the upper floor. In a flush stair the top tread is level with the upper floor.
- The stringer length is the hypotenuse of a right triangle whose legs are the stringer height and the total run (the Pythagorean theorem). Add the thickness of the stringer stock and any cut at the top and bottom when you order lumber.
- Comfort rule: two risers plus one tread should be about 60–65 cm (23.6–25.6 in), the length of a normal walking step.
- IRC checks use the 2021 International Residential Code R311.7: riser at most 7¾ in (196 mm), tread at least 10 in (254 mm), risers within ⅜ in (9.5 mm) of each other, at most 12 ft 7 in (151 in, 3835 mm) of rise per flight, headroom at least 6 ft 8 in (2032 mm). Local codes can differ.
- Headroom is measured from the tread directly below the edge of the upper floor to the underside of that floor: headroom = total rise − floor thickness − height of that tread.
9 ft (108 in) floor-to-floor, 7.2 in risers, 11 in treads, standard stair
- Units: imperial
- Top step: standard
- Total rise: 108
- I know the: rise
- Rise of one step: 7.2
- I know the: run
- Run of one step: 11
- Check headroom: no
108 ÷ 7.2 = 15 risers, so a standard stair has 14 treads and a total run of 14 × 11 = 154 in (12 ft 10 in). The stringer climbs 108 − 7.2 = 100.8 in, so it is √(100.8² + 154²) = 184.06 in (15 ft 4.06 in) long at arctan(100.8 ÷ 154) = 33.21°. 2 × 7.2 + 11 = 25.4 in, inside the comfortable range, and every IRC check passes.