Field Guide
How to Calculate Stairs: Risers, Treads & Stringers
Quick answer: divide the total rise by 7¾ in and round up for the number of risers; divide the rise by that number for the riser height. There is one tread fewer than risers. A 108 in rise needs 14 risers of 7 11/16 in and 13 treads; with 10 in treads the stairs run 10 ft 10 in and the stringer is 14 ft 1 in long.
Every riser in a flight must be the same height (within ⅜ in), so the layout starts from one measurement: the total rise. Here's how to get it right before you cut a stringer.
1. How to Calculate Stairs (The Math Explained)
Measure the total rise from the finished floor (or the ground or landing pad) at the bottom to the finished floor or deck surface at the top. Use finished surfaces: flooring added later changes the first and last risers.
Total rise = 108 in (9 ft floor to floor)
Risers = 108 ÷ 7.75 = 13.9 → 14
Riser height = 108 ÷ 14 = 7.71 in ≈ 7 11/16 in
Treads = 14 − 1 = 13
Total run = 13 × 10 in = 130 in (10 ft 10 in)
Stringer = √(108² + 130²) = 169 in (14 ft 1 in)
Angle = arctan(7.71 ÷ 10) = 37.6°
The top tread is the upper floor itself, which is why there is one tread fewer than risers. Choose a lower max riser above (say 7½ in) for an easier climb; you'll get more steps and a longer run.
2. Stair Chart by Total Rise
| Total rise | Risers | Riser height | Treads | Run (10 in treads) |
|---|---|---|---|---|
| 84 in (7 ft 0 in) | 11 | 7 5/8 in | 10 | 8 ft 4 in |
| 96 in (8 ft 0 in) | 13 | 7 3/8 in | 12 | 10 ft 0 in |
| 104 in (8 ft 8 in) | 14 | 7 7/16 in | 13 | 10 ft 10 in |
| 108 in (9 ft 0 in) | 14 | 7 11/16 in | 13 | 10 ft 10 in |
| 112 in (9 ft 4 in) | 15 | 7 7/16 in | 14 | 11 ft 8 in |
| 120 in (10 ft 0 in) | 16 | 7 1/2 in | 15 | 13 ft 2 in |
The last row uses 10½ in treads. For deck and porch steps, see the presets above.
3. Building Code Stair Rules
Most US towns use the International Residential Code (IRC) for houses. The main stair rules (section R311.7):
Risers 7¾ in max, 4 in min, all within ⅜ in of each other.
Treads 10 in min, with a ¾ to 1¼ in nosing when the tread is under 11 in.
36 in min width and 6 ft 8 in headroom above the nosings.
A handrail 34 to 38 in high on at least one side of any flight with four or more risers, and guards on open sides more than 30 in above the floor or ground.
Your town may have changed these rules, and decks often have their own stair details. Check with your building department before you build.
4. Laying Out a Stringer
- Set stair gauges (or tape) on a framing square at the riser height on one arm and the tread depth on the other.
- Starting at one end of a 2×12, trace one riser and tread, slide the square along, and repeat for every step.
- Cut the bottom of the stringer short by the thickness of one tread, so the first step comes out the same height as the rest once the treads are on.
- Cut one stringer, test it in place, then use it as a pattern for the others.
Lumber for the treads and stringers: see the Lumber Calculator and the Deck Board Calculator.
5. Frequently Asked Questions
How do I calculate how many stairs I need?
Measure the total rise in inches, divide by 7¾ (the code maximum riser height) and round up. That's the number of risers; there is one tread fewer. A 9 ft floor-to-floor rise of 108 in: 108 ÷ 7.75 = 13.9, so 14 risers of 7 11/16 in and 13 treads.
What is the maximum riser height for stairs?
The International Residential Code allows risers up to 7¾ in and at least 4 in, with no more than ⅜ in difference between the tallest and shortest riser in a flight. Many builders aim for 7 to 7½ in, which is easier to climb. Commercial buildings are stricter (7 in max).
What is the minimum tread depth?
The code minimum is 10 in, measured from the front of one tread to the front of the next. Treads under 11 in need a nosing (the overhang at the front) of ¾ to 1¼ in. Deck stairs built with two 2×6s have an 11¼ in tread.
How long should a stair stringer be?
The stringer runs along the slope: √(total rise² + total run²). For 108 in of rise and 130 in of run that's 169 in, or 14 ft 1 in. Buy the next standard length up with about a foot to spare for the top and bottom cuts, here a 16 ft 2×12.
How many stringers do I need?
Divide the stair width by the spacing and add one. A 36 in wide stair with stringers 16 in apart needs 36 ÷ 16 = 2.25, rounded up to 3, plus 1 = 4 stringers. Composite treads usually need stringers 12 in apart or closer; check the maker's instructions.
How many steps for a 30 inch deck?
30 ÷ 7.75 = 3.9, so 4 risers of 7½ in and 3 treads. With two 2×6s per tread (11¼ in), the stairs run 33¾ in out from the deck, and each stringer is about 3 ft 9 in long, cut from an 8 ft 2×12.
What angle should stairs be?
Most house stairs are between 30° and 38°. A 7¾ in riser with a 10 in tread is about 37.8°, the steepest the code allows with the minimum tread. A 7 in riser with an 11 in tread is a gentler 32.5°.
Do I need a handrail?
Yes, on any flight with four or more risers: the code calls for a handrail on at least one side, 34 to 38 in above the tread nosings. Open sides more than 30 in above the floor or ground also need a guard.
What is the 2R + T stair rule?
A comfort rule of thumb: two risers plus one tread should add up to about 24 to 26 in, which matches a natural stride. 2 × 7½ + 10 = 25 in. The calculator flags layouts outside that range.