This calculator lays out a straight run of stairs from two numbers: the total rise, finished floor to finished floor, and the tread depth you want. It gives the fewest equal risers that stay at or under the code maximum, the riser height to the nearest 1/16", the number of treads, the total run, the stringer length as the floor-to-floor diagonal and the stair angle, and flags anything that breaks the residential code (IRC R311.7: riser 7¾" max, tread 10" min, headroom 6' 8", width 36"). Use the arrows to try one more or one fewer riser. Measure the rise floor to floor, not floor to ceiling.
Stair calculator
Last reviewed
- Risers
- 15 × 7-1/4"
- Treads
- 14 × 10-1/2"
- Total run
- 12' 3"
- Stringer (floor-to-floor diagonal)
- 15' 3"
- Angle
- 34.7°
These sketches are here to help you order material and price the work quickly. They are not engineered or shop drawings — always build from your approved project drawings.
Auto picks the fewest equal risers at or under 7¾". IRC limits: risers ≤ 7¾", treads ≥ 10", headroom ≥ 6' 8", width ≥ 36". Check your local code.
Show the math▾
- Number of risersn = ⌈total rise ÷ 7¾"⌉⌈ 9' 1" ÷ 7-3/4" ⌉ = 15
- Riser heighttotal rise ÷ risers9' 1" ÷ 15 = 7-1/4"
- Treadsrisers − 1 (the top step is the floor)15 − 1 = 14
- Total runtreads × tread depth14 × 10-1/2" = 12' 3"
- Stringer (floor-to-floor diagonal)√(rise² + run²)√( 9' 1" ² + 12' 3" ²) = 15' 3"
Where the numbers come from
- Residential stair limits (IRC R311.7): Riser ≤ 7¾" · tread ≥ 10" · headroom ≥ 6' 8" · width ≥ 36"IRC 2018/2021 R311.7.1, .2, .5.1, .5.2, as published in building-department stair guides (Town of Timnath; Placer County). Risers in a flight may differ by no more than ⅜", and so may treads. Some places still use older editions — check your local code.Source
Saved results
Nothing saved yet. Tap Save to keep a result on this device.
Pricing this as an extra? Planmit Change Orders turns these quantities into a priced change order, tracked until it’s paid. See how it works
Report a problem or suggest something
This is a community calculator for the construction trades. We check every number against its source, but mistakes happen. If a number looks wrong, tell us — and tell us which calculator you want next.
The formula
Risers = total rise ÷ 7¾", rounded up. Riser height = total rise ÷ risers. Treads = risers − 1 (the top step is the upper floor). Run = treads × tread depth. Stringer ≈ √(rise² + run²).
Worked example
A 9' 1" (109") floor to floor: 109 ÷ 7.75 = 14.06, so 15 risers of 7-1/4" (7.267"). 14 treads of 10½" = 147" (12' 3") of run. Stringer ≈ √(109² + 147²) = 183" (15' 3").
Quick reference
Stairs with 10½" treads
| Floor to floor | Risers × height | Treads | Total run | Stringer diagonal |
|---|---|---|---|---|
| 96" (8') | 13 × 7⅜" | 12 | 126" (10' 6") | 158.4" |
| 104" (8' 8") | 14 × 7 7/16" | 13 | 136½" (11' 4½") | 171.6" |
| 109" (9' 1") | 15 × 7¼" | 14 | 147" (12' 3") | 183.0" |
| 112" (9' 4") | 15 × 7 7/16" | 14 | 147" (12' 3") | 184.8" |
| 120" (10') | 16 × 7½" | 15 | 157½" (13' 1½") | 198.0" |
| 128" (10' 8") | 17 × 7½" | 16 | 168" (14') | 211.2" |
Risers = rise ÷ 7¾", rounded up; riser height is shown to the nearest 1/16" (exact: 96 ÷ 13 = 7.385", 104 ÷ 14 = 7.429", 109 ÷ 15 = 7.267", 112 ÷ 15 = 7.467", 128 ÷ 17 = 7.529"); run = treads × 10½"; diagonal = √(rise² + run²).
Common questions
What is the maximum riser height and minimum tread depth?
Under the IRC (R311.7.5) a riser may be at most 7¾" and a tread must be at least 10" deep, with no more than ⅜" difference between the largest and smallest riser, or tread, in a flight. The calculator uses equal risers, so the ⅜" rule is met by the layout; it then warns if a riser is over 7¾" or a tread under 10". Some jurisdictions use older or stricter editions — check your local code.
How many steps do I need for a 9-foot ceiling?
Work from the floor-to-floor height, not the ceiling height: add the joists and the floor above the ceiling. A 9' ceiling usually lands between 109" and 120" floor to floor, depending on the framing. 109" needs 15 risers (109 ÷ 7.75 = 14.06, rounded up) of 7.27" — 7¼" on the tape — and 14 treads; 120" needs 16 risers of 7½" and 15 treads.
Why is there one fewer tread than risers?
Because the top riser lands on the upper floor, which does the job of the last tread. 15 risers climb from the lower floor to the upper floor with 14 treads between them. Count the treads you will cut: the stringer has one more riser cut than tread cut.
How do I figure the total run of a stair?
Treads × tread depth. 14 treads of 10½" = 147" = 12' 3". Tread depth is measured nosing to nosing (R311.7.5.2), so a nosing overhang does not add to the run: an 11½" board with a 1" nosing still makes a 10½" tread. The run is the floor space the stair takes, from the face of the first riser to the face of the top riser.
How long a stringer do I need?
The floor-to-floor diagonal is √(rise² + run²): for a 109" rise and a 147" run, √(109² + 147²) = √(11,881 + 21,609) = √33,490 = 183.0" = 15' 3". Buy longer than that — the stringer board needs extra at both ends for the top and bottom cuts and the first riser notch, so this one comes out of a 16' 2×12.
When does a stair need a landing?
IRC R311.7.3: a flight may rise at most 151" (12' 7") between floors or landings. Over that, break the stair with a landing and lay out each flight on its own — the calculator warns at 151". A 151" rise itself takes ⌈151 ÷ 7.75⌉ = 20 risers of 7.55".
What is the angle of the stair?
atan(riser ÷ tread). 7.27" risers on 10½" treads give atan(7.267 ÷ 10.5) = 34.7°; 7½" on 10½" gives 35.5°. A deeper tread or a shorter riser flattens the stair and lengthens the run. The calculator shows the angle with the stringer length.
Related calculators
- Slope, grade & ADA rampPercent, degrees, ratio, pitch — and ramp layout.
- Deck boardsBoards, joists and screws for a wood or composite deck.
- Board feetLumber list to board feet, linear feet and cost.
- Feet-inch calculatorAdd, subtract, multiply and divide lengths like 12' 6-1/2", to the nearest 1/16".
- Wall framingStuds, plates and sheathing sheets for a wall — 12", 16", 19.2" or 24" OC, with openings, corners and tees.