Stair Stringer Layout & IRC Code Compliance Calculator

Solve step count, exact riser height, tread run, diagonal stringer cut length, and US IRC code check.

ft
in
in

Steps & exact riser height

15 × 7.20"

Stringer length

182.4" (15.20 ft)

Total run: 147.0" (12.25 ft) · Pitch: 36.3° · Meets typical US IRC residential limits (riser <= 7.75 in, tread >= 10 in).

15 Risers · 7.20" R × 10.5" TIRC Code PassStringer15.20 ftStringer board cut length: 182.4" (16 ft lumber)

Fast, transparent browser calculation

Every number updates locally in browser memory on each keystroke with zero hidden telemetry or server upload.

Dataset & formula version: US IRC Section R311.7 Stair Geometry · Reviewed 2026-12-04

  • Instant browser-local math with zero uploads
  • Verified 2026 tax, lending & engineering standards
  • 100% free forever with shareable links

Live worked example

A 9 ft (108.0") total floor-to-floor rise requires 15 steps at 7.20" riser height each over 147.0" total run (stringer cut length: 182.4").

Formula verification

All ValoCalc calculations are unit-tested against benchmark reference cases. Inspect our full equations on the Methodology page.

Material estimates vary with site slope, compaction, waste cuts, and local building codes. Always confirm structural specs and order a working safety allowance.

2026 Stair Framing & IRC R311.7 Code Reference

Solving Stair Risers, Treads, Stringer Hypotenuse Length & IRC Compliance

Safe stair framing divides total vertical floor-to-floor rise evenly into equal risers (<= 7.75 inches under US IRC residential code) paired with >= 10-inch treads—avoiding hazardous mismatched top or bottom steps.

Companion 2026 Research Study

DIY Concrete Slab, Roof Pitch Multiplier & IRC Stair Estimating Handbook

Explore our complete 3 ft to 11 ft stair layout matrix beside concrete slab sizing and roof pitch factors.

Read study

Why Equal Riser Division Beats Guessing 7-Inch Steps—and IRC R311.7 Tolerances

The human gait calibrates stride height after the very first two steps of any staircase; a single riser varying by more than 3/8 inch (0.375") dramatically raises trip-and-fall risk. Yet beginners frequently grab framing squares set to an arbitrary 7.5 inches, cut down a stringer, and discover a 5-inch or 9.5-inch mismatch at the bottom landing pad.

Proper stair geometry ALWAYS starts with exact vertical plumb distance between the finished lower landing surface (concrete patio, basement slab, or finish floor) and the finished top walking surface (upper deck board top or second-story finish floor). Divide total rise in inches by your comfortable riser target (~7.0" to 7.25"), round to the nearest integer riser count, and divide exact Total Rise back by Riser Count so every single rise equals within 1/16 inch.

US Residential IRC R311.7 Code Thresholds & Common Porch/Interior Examples

Geometry DimensionUS IRC R311.7 RuleCommercial ADA GuidelineExample: 9 ft (108") Rise
Maximum Individual Riser Height<= 7.75 inches (196 mm)4.0" to 7.0" max15 risers @ 7.20 in each (Pass)
Minimum Tread Depth (excl. nosing)>= 10.0 inches (254 mm)>= 11.0 inches min14 treads @ 10.50 in each (Pass)
Max Riser / Tread Variance<= 3/8 inch (9.5 mm) max diffUniform throughoutEqual division keeps 0.00" diff
Minimum Stairway Clear Width>= 36 inches above handrail>= 44 inches typical egressCut 3–4 stringers @ 16" o.c.
Minimum Headroom Clearance>= 6 ft 8 in (80 inches)>= 80 inches throughoutCheck joist opening above Run

Remembering (Risers - 1) Treads, Stringer Throat Depth & Bottom Drop Adjustment

Two carpentry subtleties separate crisp framing from costly scrapped 2x12 boards: first, whenever the top riser terminates down one step below the finished upper floor or deck ledger, a staircase with N risers only cuts N - 1 horizontal treads into the stringer (because the top landing itself forms the Nth surface). Second, diagonal lumber length equals sqrt(Total Rise^2 + Total Run^2)—plus end allowance—and cutting 7.5"x10.5" notches into a 2x12 (11.25" actual width) must leave at least 3.5 to 5.0 inches of solid un-notched "throat" wood underneath for structural span strength.

Equally critical on exterior deck stairs: once your top stair tread decking adds 1.0" or 1.5" thickness (e.g., 5/4x6 cedar or composite boards), deduct that exact tread thickness ONCE from the very bottom foot of your stringer template ("dropping the stringer") so the first step off concrete stays identical to every mid-flight rise.

  • Order pressure-treated Ground Contact UC4A/UC4B 2x12 lumber whenever stringers rest directly on concrete pads or patio slabs, using galvanized ZMAX joist hangers/angles.
  • Space interior or deck stair stringers no wider than 16 inches on center (12 inches on center for flexible composite PVC decking treads) to eliminate bouncy steps.
  • Also check two-step minimum rule: exterior open risers >30" above grade must satisfy sphere rules (4" max gap opening) alongside continuous graspable handrails.

Worked Residential Stair Layouts: Porch, Deck & Interior Floor-to-Floor Templates

Before buying 2x12 stringer boards, compare Total Run clearances against nearby sidewalks, sliding doors, and basement walls. Pushing tread depth from a minimum 10.0 inches up to a comfortable 10.5 or 11.0 inches makes descending stairs far safer—especially for older adults and wet outdoor decks—while extending horizontal floor projection slightly.

If tight hallway framing squeezes horizontal landing clearance below full code run, introduce an intermediate square landing turn (90-degree L-stair or 180-degree U-turn) so each split flight retains compliant <= 7.75" rises and >= 10" treads rather than crowding dangerous 9-inch steps.

Pre-Solved US IRC-Compliant Straight Stair Templates (10.50" Tread Depth, Drop-Header Frame)

Finished Total RiseOptimal Risers (Steps)Exact Rise per StepCuts (N-1) & Total RunDiagonal Stringer (Recommended Lumber)
28 in (Low Garden Porch)4 risers7.00 in (Pass)3 treads -> 31.5 in run42.1 in (Cut from 6-ft 2x12)
54 in (Raised Deck)8 risers6.75 in (Pass)7 treads -> 73.5 in run91.2 in (Cut from 10-ft 2x12)
84 in (7-ft Mezzanine)12 risers7.00 in (Pass)11 treads -> 115.5 in run142.8 in (Cut from 14-ft 2x12)
108 in (9-ft Interior)15 risers7.20 in (Pass)14 treads -> 147.0 in run182.4 in (Cut from 16-ft 2x12)
120 in (10-ft Ceiling)16 risers7.50 in (Pass)15 treads -> 157.5 in run198.0 in (Cut from 18-ft or LVL)
Model Scope & Honest Boundaries
  • Code pass/fail badge checks US International Residential Code (IRC R311.7) 7.75" max riser and 10" min tread limits for straight stair runs; commercial buildings, ADA ramps, helical winders, and coastal counties enforce stricter ordinances.
  • Does not calculate stringer structural span throat thickness minimums, landing pad thickness, handrail baluster spacing, or headroom joist framing clearances.
  • Flush-mount stringer configurations (where top tread sits level with deck surface) add 1 extra tread onto total horizontal run compared against standard drop-ledger framing.
  • Verify final framing layout against local building department permit rules prior to cutting 2x12 stringer lumber.
5-Second Framing Pythagorean Check

Enter Total Rise = 9 ft (108 in), Target Riser = 7.2 in, Tread Depth = 10.5 in: ValoCalc computes exactly 15 risers of 7.20 in, 14 treads -> 147.0 in (12.25 ft) total run, and stringer diagonal length sqrt(108^2 + 147^2) = 182.41 in (~15.2 ft, requiring 16-ft 2x12 stock).

Frequently asked questions

What are standard US IRC R311.7 stair dimensions?

Residential code typically caps maximum riser height at 7.75 inches (196 mm) and sets minimum tread depth at 10 inches (254 mm).

Why is total run based on (risers − 1) treads?

When top floor decking acts as the final top step landing, a staircase with N risers only cuts N − 1 lower treads.

How long is the diagonal stair stringer board?

Stringer cut length follows the Pythagorean hypotenuse sqrt(Total Rise² + Total Run²), helping choose 10-ft, 12-ft, or 16-ft 2×12 lumber.

Should Total Rise be measured from subfloor or finished floor?

Measure Total Rise from finished lower floor surface to finished upper floor surface (including tile, hardwood, or carpet height) so top and bottom risers do not violate the 3/8-inch (9.5 mm) IRC uniformity rule.

What is the stair comfort rule (2 × Rise + Tread)?

Ergonomic stair design targets 2 × Riser Height + Tread Depth between 24 and 25 inches (610–635 mm)—for instance, 7.25" rise + 10.25" tread equals 24.75", ensuring natural walking cadence without tripping.

What minimum lumber stock and throat depth are required for cut stringers?

Notched stair stringers are typically cut from 2×12 framing lumber so at least 5 inches (minimum 3.5 inches under local code) of solid un-notched wood throat remains beneath the triangular step cutouts.

How much headroom clearance is required above stairs under IRC code?

Standard residential building codes require at least 6 feet 8 inches (80 inches / 2,032 mm) of clear vertical headroom measured vertically from the sloped tread nosing line to any soffit or ceiling framing.