Stair Calculator

Enter the total rise to get the number of steps, riser height, tread count, total run and stringer length for deck or interior stairs.

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):

Tips before you buy

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.