How to calculate stairs
Divide the total rise by the maximum riser height and round up to get the number of risers. Then divide the total rise by that number for the exact riser height, so every step is the same. There is always one fewer tread than risers, because the top "step" is the upper floor or deck.
The formulas
Riser height = Total rise ÷ Risers · Treads = Risers − 1
Total run = Treads × Tread depth
Stringer length = √(Total rise² + Total run²)
Example
A total rise of 108 inches (9 ft) with a 7¾ inch maximum riser: 108 ÷ 7.75 = 13.9, so 14 risers of 7.71 in and 13 treads. With 10 inch treads the run is 130 inches (10.8 ft), the stringer is about 14.1 ft long (use 16 ft 2×12s), and the angle is about 40°.
U.S. residential code basics (IRC)
| Item | Requirement |
|---|---|
| Riser height | 7¾ in max |
| Tread depth | 10 in min |
| Nosing | ¾–1¼ in where treads are under 11 in |
| Width | 36 in min |
| Headroom | 6 ft 8 in |
| Handrail | Required with 4 or more risers |
Building concrete steps instead? Use the /concrete-steps-calculator. Planning the railing? See the /baluster-spacing-calculator.
Frequently asked questions
How many steps do I need for 8 feet?
For a 96 inch rise with a 7¾ inch maximum riser you need 13 risers of about 7.4 inches and 12 treads.
What is the most comfortable stair rise and run?
Many builders use the rule 2 × riser + tread = 24–25 inches, such as a 7 inch rise with an 11 inch tread.
How far apart should stair stringers be?
Usually no more than 16 inches apart for wood treads, so a 36 inch wide stair needs 3 stringers.
Last updated December 2026. Estimates only: confirm quantities with your supplier.