Key takeaways
- Risers = total rise ÷ 7.75, rounded up, then divide the rise equally among them.
- Treads are one fewer than risers when the top lands flush.
- The 2021 and 2024 IRC share the core numbers, but the section numbers changed.
Measure the total rise from finished floor to finished floor, then enter your planned tread depth. The result compares your numbers with figures from the 2021 International Residential Code (IRC). It doesn't tell you a stair meets your local code, so check with your building department.
How the calculator works
- Risers: total rise ÷ 7.75, rounded up
- Riser height: total rise ÷ risers
- Treads: risers − 1, for a top that lands flush
- Total run: treads × tread depth
Worked example
A 108-inch rise with 10-inch treads:
- 108 ÷ 7.75 = 13.9, so 14 risers at 7.71 inches
- 13 treads, for a run of 130 inches, or 10 feet 10 inches
- An angle of about 37.6°
The IRC figures we compare with
| Item | Figure | 2021 IRC | 2024 IRC |
|---|---|---|---|
| Maximum riser | 7 3/4 in | R311.7.5.1 | R318.7 |
| Minimum tread | 10 in | R311.7.5.2 | R318.7 |
| Largest difference in a flight | 3/8 in | R311.7.5 | R318.7 |
| Nosing, unless tread is at least 11 in | 3/4 to 1 1/4 in | R311.7.5.3 | R318.7 |
| Headroom | 6 ft 8 in | R311.7.2 | R318.7 |
| Clear width above handrail | 36 in | R311.7.1 | R318.7 |
| Maximum rise, one flight | 12 ft 7 in | R311.7.3 | R318.7 |
| Handrail, at 4 or more risers | 34 to 38 in high | R311.7.8 | R318.7.8, R320.2 |
We compared the core numbers across editions and found them the same, but your area may use another edition or local changes. There's also an exception for stairs that don't serve a building, porch or deck, which matters for some landscape steps.
What a small change does
| Total rise | Risers | Riser height | Run at 10 in treads |
|---|---|---|---|
| 30 in | 4 | 7.50 in | 30 in |
| 48 in | 7 | 6.86 in | 60 in |
| 96 in | 13 | 7.38 in | 120 in |
| 108 in | 14 | 7.71 in | 130 in |
| 120 in | 16 | 7.50 in | 150 in |
More risers mean a gentler stair and a longer run, so check you have the floor space first.
Getting the measurement right
- Measure finished surfaces. Flooring added later changes the top or bottom riser. A mismatch has to stay within the 3/8-inch limit.
- Check level. The ground under an outdoor stair often slopes, so measure straight down from the top to where the bottom will land, and allow for the slope.
- Check the landing. The 2021 IRC calls for a landing at the top and bottom of each stairway, at least as wide as the flight and at least 36 inches deep on a straight run. There are exceptions, so check yours.
What this leaves out
This tool doesn't size stringers, check headroom at the opening, or lay out winders or spiral stairs. Structural parts and attachments need your local code, and possibly an engineer. For a deck stair, see guards and balusters.
Frequently asked questions
How many stairs for a 9-foot rise?
A 108-inch rise takes 14 risers at about 7.71 inches, using the 7 3/4-inch figure.
Why is there one fewer tread than riser?
When the top lands flush, the upper floor acts as the last step, so it isn't counted as a tread.
Does this make my stairs code compliant?
No tool can confirm that. It compares your numbers with named figures, while your local building department decides what applies.
Sources
We use primary sources where we can: building codes, federal rules and manufacturer documents. Read our editorial standards.
- 2021 International Residential Code, Chapter 3, Section R311.7
- 2024 International Residential Code, Chapter 3