Stair calculator
Risers, treads, run, stringer and angle for a straight stair, with a side-view diagram and an option for a landing.
Stair with a landing
Split the same stair into two flights with a landing between them, straight through or with a 90° turn. Both flights use the same riser height.
How it's calculated
The calculator splits the total rise into equal risers no taller than your maximum, then works out the treads, total run, stringer length and angle.
risers = round up (total rise ÷ maximum riser)
riser height = total rise ÷ risers
treads = risers − 1 (the upper floor is the last step)
total run = treads × tread depth
stringer length = √(total rise² + total run²)
angle = arctan(total rise ÷ total run)
Worked example
A 108 in rise ÷ 7.75 in = 13.9, so 14 risers of 108 ÷ 14 = 7.714 in (about 7 11/16 in). That gives 13 treads; at 10 in each the total run is 130 in. The stringer is √(108² + 130²) = 169.0 in (about 14 ft 1 in) and the stair angle is 39.7°.
The stringer length here is the straight diagonal from the bottom to the top nosing line. Cut stringers need extra length for the bottom and top connections. Follow your framing plan.
Stair sizes for common floor heights
With 10 in treads and the 7¾ in maximum riser. Run and stringer are rounded to the nearest inch; use the calculator for exact values.
| Total rise | Risers × height | Treads | Total run | Stringer | Angle |
|---|---|---|---|---|---|
| 30 in | 4 × 7 1/2 in | 3 | 2 ft 6 in | 3 ft 6 in | 45° |
| 48 in | 7 × 6 7/8 in | 6 | 5 ft 0 in | 6 ft 5 in | 38.7° |
| 96 in | 13 × 7 3/8 in | 12 | 10 ft 0 in | 12 ft 10 in | 38.7° |
| 102 in | 14 × 7 5/16 in | 13 | 10 ft 10 in | 13 ft 9 in | 38.1° |
| 105 in | 14 × 7 1/2 in | 13 | 10 ft 10 in | 13 ft 11 in | 38.9° |
| 108 in | 14 × 7 11/16 in | 13 | 10 ft 10 in | 14 ft 1 in | 39.7° |
| 111 in | 15 × 7 3/8 in | 14 | 11 ft 8 in | 14 ft 11 in | 38.4° |
| 114 in | 15 × 7 5/8 in | 14 | 11 ft 8 in | 15 ft 1 in | 39.2° |
| 120 in | 16 × 7 1/2 in | 15 | 12 ft 6 in | 16 ft 0 in | 38.7° |
Common calculation mistakes
- Counting one tread per riser. The upper floor is the last step, so there is one tread fewer than risers. For a 108 in rise that is 13 treads and 130 in of run; 14 treads would make the run 140 in, 10 in too long.
- Using full 7¾ in risers and a short last step. 13 risers of 7¾ in reach 100.75 in, leaving a 7.25 in step. That step is 1/2 in shorter than the others, more than the ⅜ in variation the IRC allows. Dividing the rise evenly gives 14 risers of 7 11/16 in.
- Measuring before the finished floor goes down. If ¾ in of flooring is added on top of a 108 in measurement, the rise becomes 108.75 in. That needs 15 risers of 7 1/4 in instead of 14 of 7 11/16 in, so the whole layout changes.
Code limits used
- Riser height not more than 7¾ in; the greatest riser in a flight may not exceed the smallest by more than ⅜ in: 2021 IRC R311.7.5.1.
- Tread depth not less than 10 in, with the same ⅜ in tolerance: 2021 IRC R311.7.5.2.
- A flight may not rise more than 12 ft 7 in between floor levels or landings: 2021 IRC R311.7.3.
- Landings at least as wide as the flight served, and at least 36 in deep in the direction of travel on a straight run: 2021 IRC R311.7.6.
Cities and states adopt and amend the IRC, and commercial buildings follow different rules. Confirm with your local building department before building.