Stair Stringer Calculator
Enter the total rise (floor to floor) and get a code-compliant stair layout: number of steps, the exact riser and tread for each, total run, and the 2×12 board length your stringers need.
Last updated: 13 November 2026
How the stair layout is calculated
The design starts from the International Residential Code (IRC R311.7.5): riser height may not exceed 7-3/4 in, tread depth may not be less than 10 in, and every riser in a flight must be equal (the code allows no more than 3/8 in variation. Equal risers make the stairs safe to walk half-asleep).
So: risers = total rise ÷ 7.75, rounded up, the fewest steps that keep each riser legal. The actual riser is then total rise ÷ risers, an equal share. Tread depth follows the classic comfort rule 2 × riser + tread = 25 in, floored at the 10 in code minimum. A 7.38 in riser pairs with a 10.23 in tread: 2 × 7.38 + 10.23 = 25, right on the rule (the famous 7/11 step, a 7 in riser with an 11 in tread, is the same idea from the other direction).
Treads = risers − 1. The upper floor is the last step, so there's one fewer tread than risers. Total run = treads × tread depth. The stringer length is the hypotenuse, √(rise² + run²); stringers are cut from 2×12 stock, and the buy-list rounds up to the next standard board length.
Steps, treads and stringer length by total rise
| Total rise | Risers | Riser height | Treads | Tread depth | Total run | Stringer (exact) | 2×12 board to buy |
|---|---|---|---|---|---|---|---|
| 24 in (2 ft) | 4 | 6.00 in | 3 | 13.00 in | 3.25 ft | 3.82 ft | 8 ft |
| 30 in (2 ft 6 in) | 4 | 7.50 in | 3 | 10.00 in | 2.50 ft | 3.54 ft | 8 ft |
| 36 in (3 ft) | 5 | 7.20 in | 4 | 10.60 in | 3.53 ft | 4.64 ft | 8 ft |
| 48 in (4 ft) | 7 | 6.86 in | 6 | 11.29 in | 5.64 ft | 6.92 ft | 8 ft |
| 60 in (5 ft) | 8 | 7.50 in | 7 | 10.00 in | 5.83 ft | 7.68 ft | 8 ft |
| 72 in (6 ft) | 10 | 7.20 in | 9 | 10.60 in | 7.95 ft | 9.96 ft | 10 ft |
| 84 in (7 ft) | 11 | 7.64 in | 10 | 10.00 in | 8.33 ft | 10.88 ft | 12 ft |
| 96 in (8 ft) | 13 | 7.38 in | 12 | 10.23 in | 10.23 ft | 12.99 ft | 14 ft |
| 102 in (8 ft 6 in) | 14 | 7.29 in | 13 | 10.43 in | 11.30 ft | 14.14 ft | 16 ft |
| 108 in (9 ft) | 14 | 7.71 in | 13 | 10.00 in | 10.83 ft | 14.08 ft | 16 ft |
| 114 in (9 ft 6 in) | 15 | 7.60 in | 14 | 10.00 in | 11.67 ft | 15.05 ft | 16 ft |
Reading the table: rise and run, deck steps and handrails
Rise and run always come from the measured total rise, not the ceiling height. The table shows why. A 102 in rise needs a longer stringer than a 108 in rise (14.14 ft against 14.08 ft). The extra riser at 108 in pushes each riser to 7.71 in, so the comfort rule drops the tread to the 10 in minimum and the stair gets shorter, not longer. Measure finished floor to finished floor in at least two spots and use the larger figure.
Low deck stairs follow the same rules. A deck 30 in above grade comes out at 4 risers of 7.50 in and 3 treads of 10 in, which fits on one 8 ft 2×12 per stringer. Size the decking itself with the Deck Calculator. The IRC (R311.7.8) requires a handrail on at least one side of any flight with four or more risers, set 34 to 38 in above the tread nosings. That covers every row in the table from 24 in up. A single flight can rise at most 151 in (12 ft 7 in) before it needs an intermediate landing, and the buy-list adds a landing note once your rise goes past it.
Sources
The figures behind this calculator come from published manufacturer data and industry standards:
Worked examples
8 ft floor-to-floor (typical storey)
96 in rise ÷ 7.75 → 13 risers of 7.38 in; treads 10.23 in; run 10.23 ft.
13 risers, 12 treads: 14 ft stringer boards
6 ft deck rise
72 in rise → 10 risers of 7.2 in; treads 10.6 in; run 7.95 ft.
10 risers, 9 treads: 10 ft stringer boards
9 ft floor-to-floor (tall ceilings)
108 in rise → 14 risers of 7.71 in; treads at the 10 in minimum; run 10.83 ft.
14 risers, 13 treads: 16 ft stringer boards
Frequently asked questions
What is the maximum riser height allowed by code?
How many steps do I need for an 8 ft ceiling?
Why is there one less tread than risers?
How long a 2×12 do I need for the stringer?
What about headroom and landings?
Do my stairs need a handrail, and how high should it be?
How tall can one flight of stairs be before it needs a landing?
Related calculators
Board Foot Calculator
Board feet from lumber dimensions, plus cost.
Stud Framing Calculator
Studs and plates for a framed wall.
Linear Feet Calculator
Linear feet from square feet and board width, plus cost.
Concrete Bag Calculator
How many 40, 60 or 80 lb bags of concrete you need, and what they'll cost.
Estimate disclaimer: results are planning estimates based on standard manufacturer yields and coverage figures. Site conditions, product choice and installation method change actual quantities. Verify before you buy, and follow local building code for structural work. This tool does not replace professional engineering advice.
Use this calculator on your own site
Free to embed. Paste this code where you want the calculator to appear. It carries a small "by Figure My Build" credit link, which is all we ask.