Stair Stringer Calculator: Risers, Run and Stringer Length Checked Against IRC Code
Stair Stringer Calculator for Deck and Interior Stairs
This stair stringer calculator turns total rise into a full stair layout: number of risers, exact riser height, total run, stringer length, and stair angle. Each layout gets screened against International Residential Code (IRC) limits, with the bottom riser already dropped by your tread thickness. Spacing advice covers deck and interior builds.
Your Stair Stringer Layout
Your stairs need 5 risers at 7-17/32 in and 4 treads at 10 in. Total run is 40 in. Each stringer measures 54-29/32 in at a 37.0° pitch. Cut the bottom riser to 6-17/32 in. Use 4 stringers at 12 in on center. Code status: passes IRC checks.
- Riser height 7-17/32 in is within the IRC 7-3/4 in (196 mm) maximum.
- Tread depth meets the IRC 10 in (254 mm) minimum.
- Nosing is within 3/4 to 1-1/4 in (19 to 32 mm).
- Stair width meets the IRC 36 in (914 mm) minimum.
- Headroom meets the IRC 6 ft 8 in (2,032 mm) minimum.
- Throat depth on a 2×12 is about 5-1/4 in (DCA 6 minimum 5 in / 127 mm).
- Horizontal stringer span of 40 in is within the DCA 6 limit of 6 ft (1,829 mm) for a cut 2×12.
- Comfort: 2 risers + 1 tread = 25.05 in (636 mm), outside Blondel’s 24 to 25 in (610 to 635 mm).
- 4 or more risers: a handrail is required at 34 to 38 in (864 to 965 mm) above the nosing line (IRC R311.7.8).
- Open sides more than 30 in (762 mm) above grade need a guard (IRC R312).
Spacing assumes a composite tread maximum of 12 in (305 mm) on center; your composite brand’s install guide may require tighter. Board length allows about 12 in (305 mm) for top and bottom cuts: buy 8 ft (2.44 m) 2×12.
How to Use the Online Stair Stringer Calculator
To use the online stair stringer calculator, plug in your field measurements and then read the code-checked layout it returns:
- Measure total rise from the finished upper surface to the finished landing surface.
- Enter a target riser height between 7 and 7-3/4 inches (178 to 196 mm).
- Enter tread depth, tread thickness, and nosing projection.
- Select the tread material and enter the stair width.
- Click Calculate Stringers and review the red code flags before you cut lumber.
How the Stair Stringer Calculator Works
The stair stringer calculator divides total rise into equal risers, multiplies the treads by the unit run, and finds stringer length with the Pythagorean theorem. The 5 formulas are:
- Number of risers = total rise ÷ 7.75, rounded up
- Riser height = total rise ÷ number of risers
- Number of treads = number of risers − 1 (the deck surface serves as the top step)
- Total run = number of treads × tread depth
- Stringer length = √(total rise² + total run²), and stair angle = arctan(riser height ÷ tread depth)
Real numbers make the math clearer. Picture a deck with a 37-5/8 in (956 mm) total rise and 10 in (254 mm) treads, the setup used here for calculating stair stringers from first division to final cut:
| Output | Imperial | Metric |
|---|---|---|
| Risers | 37.625 ÷ 7.75 = 4.85, rounded to 5 | 5 |
| Riser height | 7.525 in (about 7-17/32 in) | 191 mm |
| Treads | 4 | 4 |
| Total run | 40 in | 1,016 mm |
| Stringer length | √(1,415.6 + 1,600) = 54.9 in | 1,395 mm |
| Stair angle | 37.0° | 37.0° |
| Bottom riser after drop | 7.525 − 1 = 6.525 in (about 6-17/32 in) | 166 mm |
That 54.9 in (1,395 mm) layout fits on an 8 ft (2.44 m) 2×12, with room left for the top and bottom cuts. You won’t need a 10-footer.
How to Calculate Stair Stringers by Hand
To calculate stair stringers by hand, measure total rise and divide it by a riser count that holds each step at or below 7-3/4 inches (196 mm), then mark every riser and run on a 2×12 using a framing square fitted with stair gauges. Paper math is slower. The stair stringer calculator on this page runs the same arithmetic in seconds.
Measuring Total Stair Rise
Measure stair rise at the exact spot where the bottom step will land, not directly below the deck edge. Sloped yards complicate this. Run a level straightedge out to the estimated total run, say 40 in (1,016 mm) for a 4-tread deck stair, and measure down to grade at that point; then rerun the numbers, since a lower landing spot adds rise and pushes the run farther out.
Riser and Run Rules of Thumb
A comfortable step satisfies Blondel’s formula: 2 risers plus 1 tread equals 24 to 25 inches (610 to 635 mm). Run the deck example through it and you’ll get 2(7.525) + 10 = 25.05 in (636 mm), a hair past the upper limit. Carpenters lean on 2 backup checks:
- Riser plus tread equals 17 to 18 inches (432 to 457 mm).
- Riser times tread equals 70 to 75 square inches (452 to 484 cm²).
Bottom Riser Adjustment for Tread Thickness
Cut the bottom riser shorter by one tread thickness so every finished step stays equal. The trade name is the stringer drop. Skip it with 1 in (25 mm) treads and the bottom step ends up 1 in taller than the rest, which blows past the IRC’s 3/8 in (9.5 mm) maximum variation between risers.
Deck Stair Stringer Calculator: Exterior Inputs
The deck stair stringer calculator adds tread material, stringer spacing, and span checks for outdoor stairs. Anyone running a stair stringer calculator for decks works from the American Wood Council (AWC) DCA 6 guide, which demands at least 5 in (127 mm) of throat depth after the notches are cut and caps the horizontal span of cut stringers by wood species. The top joint has its own fix. Simpson Strong-Tie LSC adjustable stringer connectors hang stringers off the rim joist with no notch at the top.
Stringer Spacing by Tread Material
| Tread Material | Typical Max Stringer Spacing | Stringers for 36 in Width |
|---|---|---|
| Composite (Trex, TimberTech, Fiberon) | 12 in (305 mm), or less if the manufacturer requires it | 4 |
| 5/4 wood decking | 12 to 16 in (305 to 406 mm) | 3 to 4 |
| 2×6 wood | 16 to 18 in (406 to 457 mm) | 3 |
Composite brands print their own stair spacing in each install guide. Trex’s published figure, for example, governs a Trex stair even when it’s tighter than 12 in (305 mm), so check the printed value before framing.
Lumber Species and Treated Ratings
Use pressure-treated 2×12 lumber rated UC4A for ground contact, and UC4B where stringers sit on concrete in wet climates or would be hard to replace. Each of the 3 common treated species (Southern Yellow Pine, Douglas Fir-Larch, Hem-Fir) carries its own span value. Fasteners matter too. Treated lumber corrodes plain steel, which is why hot-dip galvanized or stainless steel fasteners are the standard pairing.
IRC vs. IBC Stair Code Limits
Residential stairs follow IRC R311.7, while commercial stairs follow the stricter International Building Code (IBC) Section 1011.
| Requirement | IRC (Residential) | IBC (Commercial) |
|---|---|---|
| Max riser height | 7-3/4 in (196 mm) | 7 in (178 mm) |
| Min tread depth | 10 in (254 mm) | 11 in (279 mm) |
| Max riser variation | 3/8 in (9.5 mm) | 3/8 in (9.5 mm) |
| Min headroom | 6 ft 8 in (2,032 mm) | 6 ft 8 in (2,032 mm) |
| Max rise per flight | 151 in (3,835 mm) | 12 ft (3,658 mm) |
| Handrail height | 34 to 38 in (864 to 965 mm) | 34 to 38 in (864 to 965 mm) |
Guards fall under a separate rule. Under IRC R312, any open side more than 30 in (762 mm) above grade needs a guard. States amend these numbers too, California and Florida among them, so check with your Authority Having Jurisdiction (AHJ) before you pull a permit.
5 Common Stair Stringer Mistakes
The 5 most common stringer mistakes are unequal risers, a missed bottom drop, measuring to the wrong surface, a thin throat, and a split flight with no landing.
- Rounding risers to the nearest 1/4 in. Small rounding errors add up over 5 or more steps, so keep riser height to 1/32 in (1 mm).
- Forgetting the stringer drop. Unadjusted stringers leave the bottom step too tall.
- Measuring to the subfloor. Total rise runs between finished surfaces, so include flooring, decking, and pad thickness.
- Ignoring throat depth. Throat depth under 5 in (127 mm) weakens a 2×12 stringer.
- Building tall flights in one run. Rises over 151 in (3,835 mm) need a landing at least 36 in (914 mm) deep.
FAQs
How many stringers do 36-inch-wide deck stairs need?
Four stringers fit 36-inch (914 mm) stairs with composite treads at 12 in (305 mm) on center. Wood 2×6 treads spanning 16 to 18 in (406 to 457 mm) get by with three.
Is an 8-inch riser legal for residential stairs?
No. Residential risers top out at 7-3/4 in (196 mm) under the IRC. Adding one riser to the flight pulls an 8 in (203 mm) step back under that limit.
How long should a stair stringer be?
Stringer length equals the square root of total rise squared plus total run squared. With a 37-5/8 in rise and a 40 in run, that’s 54.9 in (1,395 mm), which an 8 ft board covers.
Can this stair calculator handle stairs with a landing?
Yes. Enter each flight’s rise separately when the total tops 151 in (3,835 mm), and the stair calculator sizes stringers for every flight on its own.
Do deck stairs need a handrail?
Yes, when the stairs have 4 or more risers. Under IRC R311.7.8, the rail sits 34 to 38 in (864 to 965 mm) above the tread nosing line, measured straight up.
Results are estimates for planning. Local codes amend IRC values, so confirm with your Authority Having Jurisdiction before you build.
Related Posts
