Last updated:
How to use the stair calculator
- Measure your project (see the measuring tips below).
- Enter each measurement in the boxes above. Switch to Metric if you measured in meters or centimeters.
- Set the waste or extra allowance if the calculator has one. 5–10% is typical.
- Read the main result in the orange box, then copy, share or print your material list.
How to measure
Measure carefully and write each number down. For roofs, measure the outside of the house and add the overhang. For fences, measure along the actual line the fence will follow. For stairs, measure the vertical rise from the finished lower surface to the finished top surface.
The formula
Risers = total rise ÷ max riser height (7.75 in by the US IRC), rounded up. Riser height = total rise ÷ risers. Treads = risers − 1. Total run = treads × tread depth. Stringer length = √(rise² + run²).
Worked example
Say your project has the following measurements: total rise: 36 in; max riser height: 7.75 in; tread depth: 10.5 in.
- Number of risers (steps)5
- Riser height7.2 in
- Number of treads4
- Total run42 in (3.5 ft)
- Stringer length4.61 ft
These are the default values loaded in the calculator above, so you can change any number and watch the results update instantly.
Planning your project
Measure the total rise from the finished surface at the bottom to the finished surface at the top. For deck stairs, measure from the ground (or landing pad) where the bottom step will sit, which may be lower or higher than the area right below the deck.
Every riser should be the same height. Building codes allow only a very small difference between the tallest and shortest riser, because uneven steps cause trips and falls.
Pro tips
- Use 2×12 lumber for stringers.
- Space stringers no more than 16 inches apart for wood treads.
- Add a handrail when there are four or more risers.
- Use a solid landing pad of concrete or pavers at the bottom.
- Check local codes for headroom and stair width.
Frequently asked questions
What is the maximum riser height?
The US International Residential Code allows up to 7-3/4 inches. Canadian codes are similar, but always check your local code.
What is the minimum tread depth?
The IRC requires at least 10 inches of tread depth. 10–11 inches feels comfortable.
Why is there one less tread than risers?
The top floor or deck acts as the last step, so stairs always have one fewer tread than risers.
How many steps for a 3 foot rise?
A 36 inch rise needs 5 risers of about 7.2 inches each.
What is the best riser and tread combination?
A common comfort rule is 2 × riser + tread = 24–25 inches. For example, a 7 inch riser with an 11 inch tread.