Stair Calculator
You cannot build a fraction of a step, so the riser height is never quite the one you picked. Enter your total rise and this rounds to a whole number of risers, gives you the exact height each one has to be, and checks the result against the code you are building to.
The formulas
Number of risers
Risers = round(Total rise ÷ Preferred riser height)
This is the step that surprises people. Risers have to be whole, so your preferred height is only a starting point — the real height is whatever the division gives once you round.
Actual riser height
Riser height = Total rise ÷ Number of risers
Every riser in a flight must be this same height. The IRC allows only ⅜ in of variation between the tallest and shortest, which in practice means they are all identical.
Treads and total run
Treads = Risers − 1 · Total run = Treads × Tread depth
There is always one fewer tread than riser, because the upper floor itself serves as the last tread. Forgetting this is the classic way to end up one step short.
Stringer length
Stringer = √(Total rise² + Total run²)
The straight-line length of the stringer before any cuts. Buy stock longer than this — you lose length to the plumb cut at the top and the seat cut at the bottom.
Comfort rule
2 × Riser + Tread = 24 to 25 in
Blondel’s rule, and it has held since 1683. A stair can meet every code limit and still walk badly; this is the check that catches it.
Worked example
A standard basement stair
A total rise of 109 in — a 9 ft ceiling plus the floor structure. Divided by a 7¼ in target that is 15.03, which rounds to 15 risers at exactly 7.267 in each. Fourteen treads at 10½ in give a total run of 12 ft 3 in, and the stringer works out at 15 ft 3 in.
15 risers
An eight-foot rise
A 96 in rise rounds to 13 risers at 7.385 in — legal under the IRC, but the comfort figure comes to 25.27 in, just outside the ideal band. Going to 14 risers at 6.86 in walks noticeably better if the floor space allows the extra tread.
13 risers
Stair limits by code
The dimensions an inspector will check. Residential work follows the IRC unless the building is multi-family or commercial.
| IRC (residential) | IBC (commercial) | ADA (accessible) | |
|---|---|---|---|
| Maximum riser | 7¾ in | 7 in | 7 in |
| Minimum riser | 4 in | 4 in | 4 in |
| Minimum tread | 10 in | 11 in | 11 in |
| Maximum riser variation | ⅜ in | ⅜ in | ⅜ in |
| Minimum headroom | 6 ft 8 in | 6 ft 8 in | 6 ft 8 in |
| Minimum width | 36 in | 44 in | 48 in |
Common floor-to-floor heights
Worked with a 7¼ in preferred riser and a 10½ in tread. Total rise means finished floor to finished floor, so it is usually the ceiling height plus the floor structure.
| Total rise | Risers | Riser height | Treads | Total run |
|---|---|---|---|---|
| 96 in (8 ft) | 13 | 7 3/8 in | 12 | 10 ft 6 in |
| 104 in | 14 | 7 7/16 in | 13 | 11 ft 4 1/2 in |
| 109 in | 15 | 7 1/4 in | 14 | 12 ft 3 in |
| 120 in (10 ft) | 17 | 7 1/16 in | 16 | 14 ft 0 in |
| 132 in (11 ft) | 18 | 7 5/16 in | 17 | 14 ft 10 1/2 in |
Values used
Every number this calculator applies on your behalf is listed here, with its source. If your supplier quotes a different figure, use theirs — materials vary by region and grade.
| Value | Used | Typical range | Source |
|---|---|---|---|
| Maximum riser height (IRC) | 7.75 in | 7–7.75 | International Code Council |
| Minimum tread depth (IRC) | 10 in | 10–11 | International Code Council |
| Maximum riser variation | 0.38 in | — | International Code Council |
| Minimum headroom | 80 in | — | International Code Council |
| Comfort rule (2 risers + 1 tread) | 25 in | 24–25 | François Blondel, Cours d’architecture (1683) |
| Typical nosing projection | 1 in | 0.75–1.25 | International Code Council |
- Maximum riser height (IRC): Residential limit. Commercial and accessible stairs are capped at 7 in.
- Minimum tread depth (IRC): Measured nosing to nosing, not the physical board width.
- Maximum riser variation: Largest minus smallest riser in a flight. The most common inspection failure, usually caused by forgetting the finished floor thickness.
- Minimum headroom: 6 ft 8 in measured vertically from the nosing line.
- Comfort rule (2 risers + 1 tread): A stair can meet every code limit and still walk badly. This is the check that catches it.
- Typical nosing projection: Required where the tread is under 11 in deep. It adds to foot room without adding to total run.
Common questions
How do I calculate stair risers?
Divide the total rise — finished floor to finished floor — by your preferred riser height, then round to the nearest whole number. Divide the total rise by that count again to get the actual riser height. For a 109 inch rise and a 7¼ inch target: 109 ÷ 7.25 = 15.03, round to 15, and 109 ÷ 15 = 7.267 inches per riser.
What is the maximum riser height?
Seven and three-quarter inches under the IRC for homes. Commercial stairs under the IBC and accessible stairs under the ADA are both capped at 7 inches. All of them require every riser in a flight to be within ⅜ inch of each other, which in practice means identical.
Why is there one fewer tread than risers?
Because the upper floor is the last tread. A flight with 15 risers has 14 treads — you step onto the floor itself for the final rise. Counting a tread for every riser is the most common way to end up with a stair one step too long.
What is the minimum tread depth?
Ten inches under the IRC, measured nosing to nosing rather than the physical width of the board. Commercial and accessible stairs need 11 inches. Where the tread is under 11 inches, a nosing of ¾ to 1¼ inches is required — it adds foot room without adding to the total run.
How long a stringer do I need?
The straight-line stringer length is the square root of the total rise squared plus the total run squared. For a 109 inch rise and a 147 inch run that is 183 inches, or 15 ft 3 in. Buy stock longer than that, because you lose length to the plumb cut at the top and the seat cut at the bottom.
What makes stairs feel comfortable?
Two risers plus one tread should come to between 24 and 25 inches — Blondel’s rule, which has been the standard since 1683. A 7¼ inch riser with a 10½ inch tread gives 25 inches exactly. A stair can pass every code limit and still feel wrong underfoot if this figure is well outside that band.
What is the most common reason stairs fail inspection?
Uneven risers at the top or bottom, almost always because the rise was measured to the subfloor and the finished flooring was added afterwards. Half an inch of tile at one end and nothing at the other blows the ⅜ inch variation limit on its own. Measure between finished surfaces before cutting a stringer.
Keep going
Related calculators
- Gravel calculator
For the base under an exterior stair landing
Guides
- How to calculate stair stringers
Laying out and cutting the stringer
- Stair code requirements
IRC, IBC and ADA limits side by side
Costs
- Deck stair cost
Per step and per flight, by material
Sources
- International Residential Code, Section R311.7: Stairways — International Code CouncilMaximum riser 7¾ in, minimum tread 10 in, maximum variation ⅜ in, minimum headroom 6 ft 8 in, minimum width 36 in.
- International Building Code, Section 1011: Stairways — International Code CouncilCommercial limits: maximum riser 7 in, minimum tread 11 in.
- ADA Standards for Accessible Design, Section 504 — US Department of JusticeAccessible stairs: uniform risers 4–7 in, treads 11 in minimum.
- Blondel’s rule for stair comfort — François Blondel, Cours d’architecture (1683)Two risers plus one tread should total 24–25 in. Still the standard comfort check.
Reviewed by Quban, Construction estimator, on . How these numbers are checked.