Stud's stair calculator works out a straight stair from the total rise: number of risers and their height, number of treads, total run, stringer length and angle. It then checks three limits from the 2021 International Residential Code: riser height of 7-3/4" or less, tread depth of 10" or more, and a rise of 151" or less for one flight. These values are being verified against the official ICC text, and your local code may differ. The calculator is free and works offline.


What does the stair calculator give?
Enter the total rise, from the finished floor below to the finished floor above. For a 9 ft rise (108"), Stud gives:
| Result | 108" total rise, 10" treads |
|---|---|
| Risers | 14 at 7-11/16" |
| Treads | 13 at 10" |
| Total run | 130" (10' 10") |
| Stringer length | 14' 1" |
| Angle | 39.72° |
| Riser check (≤ 7-3/4") | Pass |
| Tread check (≥ 10") | Pass |
| Flight rise check (≤ 151") | Pass |
The riser count is the smallest whole number that keeps each riser at or under the maximum, so all risers come out equal. There is always one tread fewer than risers, because the top riser lands on the upper floor.
Which code limits does it check?
| Check | Limit used | IRC 2021 section |
|---|---|---|
| Maximum riser height | 7-3/4" | R311.7.5.1 |
| Minimum tread depth | 10" | R311.7.5.2 |
| Maximum rise of one flight | 151" | R311.7.3 |
When a check fails, the result shows it. A 160" rise, for example, is more than one flight allows, so it needs a landing. These three are not the whole code: width, headroom, nosings and handrails have their own rules, covered in IRC stair rules explained. The limits are being verified against the ICC text, and many towns and states amend the IRC, so check with your building department before you cut.
What about cutting the stringer?
The stair stringer calculator takes the same stair and adds the layout: the framing-square marks (riser and tread), the throat depth left on the board, the bottom cut that accounts for the tread thickness, and the board length to buy. For the 108" stair on a 2×12 (11-1/4" wide) with 1" treads, it gives a throat of about 5-1/8", a bottom cut of 6-11/16" and a 16 ft board.
Can I save and share the stair?
Yes. Save it to a job with your notes, or share the result as text with the person cutting the stringers.
Frequently asked questions
Is there a stair calculator app that checks building code?
Yes. Stud checks riser height, tread depth and the rise of one flight against IRC 2021 limits (R311.7.5.1, R311.7.5.2, R311.7.3), free on iPhone. The values are being verified against the official ICC text.
How many steps for a 9 foot rise?
With a 7-3/4" maximum riser, 14 risers of about 7-11/16" and 13 treads.
Does the app replace a permit or an inspection?
No. The results are estimates to plan and check your work. Your plans and your local code decide, and local codes may differ from the IRC.
Does it handle winders or spiral stairs?
No. The calculator handles straight stairs. Winders and spiral stairs have their own code sections.