A comfortable stair has equal risers and treads deep enough for your foot. Enter the total rise from floor to floor, and this calculator divides it into equal steps that stay inside the common IRC guideline, then gives you the total run and angle. It is a layout tool, not a full code check.
Worked example: 9 ft (108 in) floor to floor
- Divide by the maximum riser height: 108 ÷ 7.75 = 13.9, so round up to 14 risers.
- Each riser: 108 ÷ 14 = 7.71 in.
- There is one tread fewer than risers: 13 treads × 10 in = 130 in of run (10 ft 10 in).
- Angle: about 39.7°. Both numbers are inside the guideline (riser up to 7¾ in, tread at least 10 in).
How to measure the rise
- Measure from the finished floor at the bottom to the finished floor at the top, including flooring you haven't laid yet.
- Measure at the landing spot, not near a wall where the floor may dip.
- Check the run fits: the total run plus a landing must fit the space in front of the stair.
- Headroom above the stair also matters; the IRC asks for 6 ft 8 in in most homes.
Common IRC guidelines for homes
| Part | Guideline |
|---|---|
| Riser height | 7¾ in max |
| Tread depth | 10 in min |
| Headroom | 6 ft 8 in min |
| Stair width | 36 in min |
| Difference between risers | ⅜ in max |
Common mistakes
- Measuring to the subfloor and forgetting the finished flooring, which makes the top or bottom step a different height.
- Counting treads like risers. There is one tread fewer than risers.
- Ignoring local code. Rules differ by place and change over time; your building department decides.
Questions people ask
How many steps for an 8 ft rise?
96 in ÷ 7.75 = 12.4, so 13 risers of about 7.38 in, with 12 treads.
What is a comfortable stair angle?
Most home stairs fall between 30° and 40°.
Does this check my stair against code?
Only the riser height and tread depth. Headroom, handrails, guards, landings and width also apply.
How many steps do I need?
Divide the total rise by your maximum riser height and round up. An 8 ft (96 in) rise at 7¾ in max needs 13 risers of 7.4 in.