How to calculate it
Measure the total rise, the vertical distance from the lower finished floor to the upper finished floor. Divide it by the maximum riser height allowed and round up to get the number of risers. Then divide the total rise by that number to get the exact, equal riser height.
There's one fewer tread than risers, because the top floor acts as the last step. Total run = treads × tread depth. The stringer length comes from the Pythagorean theorem: √(rise² + run²).
The defaults use the US International Residential Code limits of a 7¾ inch maximum riser and a 10 inch minimum tread. Your local code may differ.
Example
Stairs with a total rise of 108 inches (9 ft):
- 108 ÷ 7.75 = 13.9, so 14 risers
- 108 ÷ 14 = 7.71 inch riser height
- 13 treads × 10 in = 130 inch total run
- √(108² + 130²) = 169 in, about 14.1 ft stringer
Tips before you buy
- All risers must be the same height (code usually allows only about 3/8 inch variation). Uneven steps cause trips and falls.
- Buy stringer boards longer than the calculated length, because you need extra for cuts at the top and bottom.
- Stairs with 4 or more risers usually need a handrail. Check your local code.
- Measure rise from finished floor to finished floor, including flooring thickness.
Frequently asked questions
How many steps do I need for 9 feet?
With a 7¾ inch maximum riser, 108 inches needs 14 risers of about 7.71 inches each, with 13 treads.
What is the maximum riser height for stairs?
The US International Residential Code allows a maximum of 7¾ inches with a minimum tread depth of 10 inches. Commercial codes are stricter. Always check local code.
How long should a stair stringer be?
Roughly √(total rise² + total run²). For a 108 inch rise and 130 inch run that's about 169 inches, so you'd buy a 16 ft board.