Home › Structural › Stair Construction Calculator
Stair Construction Calculator
Source: IRC R311.7 · riser R311.7.5.1 · tread R311.7.5.2
Enter the floor-to-floor rise and this lays out the flight: how many risers, how tall each one is, the total run and the stringer length. Every result is checked against IRC R311.7, and when a number fails, the page tells you which code section it fails and why.
Stair rise & run calculator
Checked against IRC R311.7: riser ≤ 7 3/4 in (R311.7.5.1), tread ≥ 10 in (R311.7.5.2), width ≥ 36 in (R311.7.1), flight rise ≤ 151 in in the 2018 IRC, 147 in in the 2015 IRC (R311.7.3).
Specification summary
Generated from on . Reopen that address to reproduce these figures exactly.
Entered
Result
Hardwood stair prices
Worked example
- Find the riser count. 108 ÷ 7.75 = 13.9, and you cannot round down without breaking the maximum, so it goes up to 14 risers.
- Divide the rise evenly. 108 ÷ 14 = 7.714 in, which is 7 11/16 in per riser. It has to be even: R311.7.5.1 allows only 3/8 in of variation across the whole flight.
- Count the treads. 14 risers give 13 treads: the top riser lands on the floor above, so there is always one fewer tread than riser.
- Total run. 13 × 10.5 = 11 ft 4.5 in. This is the number that decides whether the stair actually fits the room.
- Stringer. √(108² + 136.5²) = 14 ft 6.06 in along the slope, before you cut the notches or add a landing.
The formula
- R
- total rise, finished floor to finished floor, in
- n
- number of risers (always rounded up, never down)
- r
- riser height, in (must be ≤ 7.75 and uniform within 3/8 in)
- T
- number of treads = n − 1, because the top riser lands on the floor above
- d
- tread depth, in (must be ≥ 10)
- Run
- total horizontal run, in (what has to fit the room)
- S
- stringer length along the slope, in
The code limits this checks against
Stair stringer calculator: laying out the cut
Why the tread count is one less than the riser count
Frequently asked questions
- What is the maximum stair riser height?
- 7¾ in for stairs in a dwelling, per IRC R311.7.5.1. It is measured vertically between the leading edges of adjacent treads, and no riser in a flight may differ from any other by more than ⅜ in. Some jurisdictions amend this number, so confirm locally.
- What is the minimum tread depth?
- 10 in under IRC R311.7.5.2, measured between the foremost projections of adjacent treads. At 11 in or more you no longer need a nosing projection.
- How many stairs do I need for 9 feet?
- 108 in of rise needs 14 risers at 7 11/16 in each, giving 13 treads. Fourteen is the smallest number that keeps every riser under the 7¾ in maximum: 13 risers would need 8.3 in each, which fails.
- How do I calculate stringer length?
- It is the hypotenuse: √(total rise² + total run²). For 108 in of rise and 136.5 in of run that is 174.06 in, or 14 ft 6 in. Buy longer stock than that: the notching and the bottom drop eat into it.
- Do I need a handrail?
- Yes on at least one side of any continuous run with four or more risers (R311.7.8), mounted 34 in to 38 in above the sloped plane joining the nosings (R311.7.8.1). A guard is a separate requirement, see the deck railing page.
- Is there a limit on how tall a flight can be?
- Yes. R311.7.3 caps a single flight at 151 in of vertical rise between floors or landings in the 2018 IRC, and at 147 in in the 2015 IRC. Anything taller has to be broken with a landing.
- What is the 2R + T rule?
- A carpenters' comfort check, not code: twice the riser plus the tread should land between 24 and 25 in. A stair can pass every code limit and still feel wrong; this is the number that predicts it.
- How do I calculate carpet for stairs?
- Each step takes one tread depth plus one riser height of carpet, measured over the nosing. For the 9 foot staircase above, 13 treads at 10½ in and 14 risers at 7 11/16 in come to 244⅛ in, about 20 ft 4 in, for each width of carpet. The wrap around each nosing adds to that, and it depends on the nosing profile.
- What is the steepest stair pitch the code allows?
- About 37.8 degrees. Stair pitch is the angle set by the riser over the tread, and the steepest dwelling stair IRC R311.7.5 allows pairs the 7¾ in maximum riser with the 10 in minimum tread: the arctangent of 7.75 over 10 is 37.8 degrees. The 9 foot example on this page, with 7 11/16 in risers on 10½ in treads, is 36.2 degrees.
- How much do cement or concrete stairs cost?
- HomeAdvisor's June 2026 guide gives $200 to $600 per step 4 ft wide and $1,800 to $6,000 for a whole poured flight. The concrete stairs calculator on this site works out the concrete.
Check these numbers yourself
- 2018 Seattle Residential Code, Chapter 3, Section R311.7Seattle Department of Construction and Inspections. Prints the 2018 IRC text of R311.7.3, a 151 in maximum flight rise, which Seattle restates as 12 ft 7 in. Read 2026-09-16.
- IRC R311.7: Stairways (full section text)UpCodes. Check the code and jurisdiction named at the top before relying on a value.
- ICC Digital Codes: the IRC itselfInternational Code Council. Free to read online; registration required.
- Residential Stair Geometry: 2015 IRC R311.7 reproducedNote: this is Pennsylvania-amended. PA changes riser and tread; the rest of R311.7 is unmodified.
How every figure here is verified: Sources & Method. Who builds this: Lucas Pradella, and the method is on About. Found something wrong? Tell us and it gets fixed or removed.
Figures on this page last checked against the source documents on 2026-09-05. Codes are amended locally; confirm against the edition your jurisdiction enforces.
Related calculators
Guides that use this calculator
- Deck Railing and Guard Code Requirements when a guard is required, the three sphere sizes, and where post spacing really comes from
- How to Pour Concrete Stairs the riser math the code enforces, the concrete it implies, and why a per-step price cannot be right
More of them: all guides.
Estimates only. This calculator applies the prescriptive limits in IRC R311.7 for planning purposes. It is not a construction document and does not replace your local building department. Many jurisdictions amend riser and tread dimensions (Rapid City, for one, amends R311.7.5 outright)and stairs are the most common source of injury in a home. Confirm every dimension against the code edition and local amendments your building department enforces before you cut a stringer.