Check your local building code before building. Many codes limit risers to 7.75 in and require treads of at least 10 in.
How to use this calculator
Measure the total rise from the finished floor below to the finished floor above, in inches. Enter your preferred tread depth and a target riser height, then press Calculate. You get the number of steps, the exact riser height, the total run and the stringer length.
The formula
Risers = total rise ÷ target riser height (rounded)
Riser height = total rise ÷ number of risers
Treads = risers − 1
Total run = treads × tread depth
Stringer length = √(rise² + run²)
Example: A total rise of 108 inches gives 14 risers of about 7.71 inches, 13 treads, a total run of 130 inches and a stringer about 169 inches (14 ft 1 in) long.
Understanding your stair calculator results
The stair calculator turns one measurement, the total rise, into a full stair layout. The number of risers and the actual riser height matter most. Every step in a flight should be the same height, because people notice even small differences and are more likely to trip on them.
What changes the layout
- Total rise. This is fixed by your floors. Measure it carefully, from finished floor to finished floor.
- Target riser height. A lower target adds risers and makes the stair longer and easier to climb. A higher target saves space but feels steeper.
- Tread depth. Deeper treads add to the total run and lower the stair angle.
A worked example
For a deck that sits 36 inches above the patio, a 7.5 inch target gives 36 รท 7.5 = 4.8, which rounds to 5 risers. Each riser is then 7.2 inches. That layout has 4 treads, so with 10 inch treads the total run is 40 inches. The stringer is the square root of 36 squared plus 40 squared, or about 53.8 inches. The stair angle comes out near 36 degrees, which is a comfortable slope.
Compare that with the 108 inch indoor rise in the formula section. It needs 14 risers and a 130 inch run, almost 11 feet of floor space. Check that you have this much room, plus a landing at the bottom, before you commit to a layout.
Practical tips and common mistakes
- Measure the rise after flooring is installed, or add the flooring thickness to your number.
- Buy stringer boards longer than the calculated length. The cut pattern and the top and bottom connections need extra.
- Do not forget the thickness of the tread boards when you lay out the first riser. The bottom step is often cut short to make up for it.
- Keep a few spare treads in mind for mistakes, especially with hardwood or composite.
Planning and cost
Most straight residential stairs use three stringers for a 36 inch width. Wider stairs usually need a stringer about every 16 inches. Treads, risers, handrails and balusters often cost more than the stringers, so price those out early. Stairs are a safety item. Confirm riser, tread, headroom and handrail rules with your local building department, and hire a licensed contractor if you are not sure.

