Figure My Build

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

Diagram of a staircase showing total rise and total run split into equal steps
Total rise is floor to floor; the calculator splits it into equal, legal steps.

Your buy-list

Enter your measurements

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 riseRisersRiser heightTreadsTread depthTotal runStringer (exact)2×12 board to buy
24 in (2 ft)46.00 in313.00 in3.25 ft3.82 ft8 ft
30 in (2 ft 6 in)47.50 in310.00 in2.50 ft3.54 ft8 ft
36 in (3 ft)57.20 in410.60 in3.53 ft4.64 ft8 ft
48 in (4 ft)76.86 in611.29 in5.64 ft6.92 ft8 ft
60 in (5 ft)87.50 in710.00 in5.83 ft7.68 ft8 ft
72 in (6 ft)107.20 in910.60 in7.95 ft9.96 ft10 ft
84 in (7 ft)117.64 in1010.00 in8.33 ft10.88 ft12 ft
96 in (8 ft)137.38 in1210.23 in10.23 ft12.99 ft14 ft
102 in (8 ft 6 in)147.29 in1310.43 in11.30 ft14.14 ft16 ft
108 in (9 ft)147.71 in1310.00 in10.83 ft14.08 ft16 ft
114 in (9 ft 6 in)157.60 in1410.00 in11.67 ft15.05 ft16 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?
7-3/4 in under the IRC for homes. The IRC sets no minimum riser height. The 4 in minimum (with a 7 in maximum) comes from the IBC, which covers commercial work. The largest riser in a flight can exceed the smallest by at most 3/8 in, which is why this calculator divides the total rise into perfectly equal risers.
How many steps do I need for an 8 ft ceiling?
Measure floor to floor: usually about 9 ft once the joists and subfloor are in, even for an '8 ft ceiling' room. At exactly 96 in of rise it's 13 risers / 12 treads; at 108 in it's 14 / 13. Always design from the measured total rise, never the ceiling height.
Why is there one less tread than risers?
The top riser takes you onto the upper floor itself. That floor is the final 'tread', and you don't build a step for it. Every stair works this way: N risers, N−1 treads.
How long a 2×12 do I need for the stringer?
The stringer is the diagonal: √(total rise² + total run²). An 8 ft rise layout needs 12.99 ft of diagonal, so 14 ft boards. Buy one extra board if you've never cut stringers. The first one is a template and a mistake allowance in one.
What about headroom and landings?
The IRC also requires 6 ft 8 in of headroom over the stair and a landing at top and bottom. Those depend on your floor opening and layout, not just the rise. Check them against your local code before you cut.
Do my stairs need a handrail, and how high should it be?
Under the IRC, any flight with four or more risers needs a handrail on at least one side, mounted 34 to 38 in above the tread nosings, measured straight up. Even a 24 in deck stair works out to 4 risers of 6 in, so most stairs you build will need one.
How tall can one flight of stairs be before it needs a landing?
The IRC caps a single flight at 151 in (12 ft 7 in) of vertical rise. Above that, split the stair into two flights with a landing between them, and run each flight through the calculator separately using its own rise.

Related calculators

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.