Stair Calculator: Risers and Treads

Plan a staircase with this stair calculator: enter the total height and tread depth to get the number of risers, riser height, total run, stringer length and angle. It helps you build stairs that feel comfortable and check them against common code limits.

Stair Calculator

Steps, risers and stringer length.

-
Everything runs in your browser. Nothing you enter is sent to a server.

How to use the Stair Calculator

  1. Measure the total rise in inches, from the finished lower floor to the finished upper floor.
  2. Enter the maximum riser height you want or your code allows (7 3/4 in under the US IRC for homes).
  3. Enter the tread depth (at least 10 in under the IRC).
  4. Read the number of risers, the exact riser height, the number of treads, the total run, the stringer length and the stair angle.

Stair formula

  • Risers = total rise ÷ max riser height, rounded up
  • Riser height = total rise ÷ risers. Treads = risers − 1
  • Total run = tread depth × treads. Stringer length = √(rise² + run²)

Examples

  • A 108 in rise with a 7.75 in maximum: 14 risers of 7.71 in, 13 treads of 10 in, a 130 in run and a stringer about 169.0 in (14.08 ft) long, at 37.6°.
  • A 96 in rise with 10.5 in treads: 13 risers of 7.38 in and 12 treads, for a 126.0 in run.

The tool warns you when a riser is over 7 3/4 in or a tread is under 10 in. Keep every riser within 3/8 in of the others, since uneven steps are a common trip hazard. Buy stringer stock a little longer than the result to allow for the top and bottom cuts.

Frequently asked questions

How many steps do I need for a 9 foot rise?

A 108 inch rise needs 14 risers of about 7.71 inches and 13 treads when the maximum riser is 7 3/4 inches.

What is the maximum riser height in the US?

The International Residential Code allows a maximum riser height of 7 3/4 inches for homes. Local codes can differ, so check yours.

What is the minimum tread depth?

The IRC requires at least 10 inches of tread depth, measured from the front of one tread to the front of the next.

Why is there one fewer tread than risers?

The top riser steps onto the upper floor itself, so the floor acts as the last tread.

How do I calculate stringer length?

Use the Pythagorean theorem: the square root of total rise squared plus total run squared. Add extra for the cuts at each end.

Learn more: Stair Rise and Run Rules: US Code Basics for Homes

Related tools: Roof Pitch Calculator, Board Foot Calculator, Framing Calculator, Pythagorean Theorem Calculator, Deck Calculator.

Plan your stairs

How to use it

  1. Measure the total rise floor to floor.
  2. Enter your tread depth.
  3. Read the risers and run.
  4. Check the stringer length and angle.

More questions

What is a common riser height?

Many US codes allow up to about 7 3/4 inches, but check your local code.

What is a stringer?

The angled board that holds the treads and risers.

Can I build deck stairs with it?

Yes. Use the deck height as the total rise.

Related tools: Deck Calculator, Framing Calculator, Board Foot Calculator.