Free tool
Deck Stair Stringer Calculator
Cut it once, cut it right. Enter your total rise — get riser count, tread depth, stringer length, and a dimensioned cut-layout diagram.
This is a planning aid, not a substitute for your local code, permits, or inspections. Riser/tread limits, handrail and guard rules vary by jurisdiction — verify with your building department before you build. When in doubt, hire a licensed contractor.
1Your stairs
in
in
in
2Stringer cut layout
Layout tip: mark your framing square at the riser height and tread depth, then “step” it down the 2×12 — each position gives one riser + one tread cut. Cut the top plumb and the bottom level.
3Cutting & code guides
The calculator splits your rise into equal risers near the comfortable 7-inch target, then uses right-triangle geometry:
riser height = total rise ÷ risers
treads = risers − 1 (the top “tread” is the deck itself)
total run = treads × tread depth
stringer length = √(rise² + run²) · angle = atan(rise ÷ run)
The comfort check 2R + T (twice the riser plus the tread) should land between 24 and 25 inches — the range stair designers have used for over a century.
Use one stringer as a template. Cut the first carefully, test-fit it, then trace it onto the rest.
Don’t overcut the corners. Finish each inside corner with a handsaw or jigsaw — circular-saw overcuts weaken the stringer right where it matters.
Drop the bottom riser by one tread thickness if treads sit on top of the stringer cut, so the first step isn’t taller than the rest.
Keep risers within ⅜ in of each other — a code requirement and a trip hazard if ignored. Support long stringers mid-span past ~6 ft of run.
Max riser 7¾ in, min tread 10 in; riser/tread variation ≤ ⅜ in. Handrails required on stairs with 4+ risers; guards where the drop exceeds 30 in. Tread nosing ¾–1¼ in past the riser below.
Step-by-step breakdown
Deck Stair Stringer Calculator — toolwitty.com/ · Verify against your local building code.
Deck Stair Stringer Calculator
A stair stringer is the notched backbone of a staircase — get the math wrong and every step is a different height. This free calculator takes your total rise (deck surface to ground, in inches or centimeters) and returns the riser count, exact riser height, number of tread cuts, total run, stringer board length, stair angle, and how many stringers your width needs — plus a dimensioned cut-layout diagram you can take to the lumber pile.
What is a stair stringer?
The stringer is the diagonal board (usually a 2×12) with step-shaped notches cut into its top edge. Treads sit on the horizontal cuts; risers close the vertical gaps. Most deck stairs use two or more stringers spaced across the stair width, and every stringer must be identical — which is why you cut one carefully and use it as a template for the rest.
How to use this calculator
- Enter your total rise — measure from the deck surface (where you’ll step off) straight down to the finished ground or landing pad. Inches or centimeters; the toggle converts everything.
- Set your tread depth. 11 inches is the sweet spot for a 2×12 tread with about an inch of nosing. Building codes require at least 10 inches.
- Pick your max riser height — 7¾ inches matches the International Residential Code used across most of the US; choose 7″ if your local code is stricter.
- Enter your stair width so the calculator can tell you how many stringers to cut (spaced ~16″ on center).
Instantly you’ll see your cut list and a scaled diagram showing the stringer profile with every key dimension labeled: total rise, total run, riser height, tread depth, stringer length, and stair angle.
The math behind the layout
The calculator splits your rise into equal risers near the comfortable 7-inch target, then uses right-triangle geometry for the rest:
Risers = round(total rise ÷ 7), increased until no riser exceeds your code maximum
Riser height = total rise ÷ risers (every riser identical — code allows at most ⅜” variation)
Treads to cut = risers − 1 (the top “tread” is the deck itself)
Total run = treads × tread depth
Stringer length = √(rise² + run²) — buy boards longer than this
Stair angle = atan(rise ÷ run)
The comfort check 2R + T (twice the riser plus the tread) should land between 24 and 25 inches — the range stair designers have used for over a century. The tool flags stairs that fall outside it.
Worked example
Deck surface 36 inches above grade, 11-inch treads, 7¾-inch max riser:
– Risers = round(36 ÷ 7) = 5 → each riser exactly 7.2 in.
– Tread cuts = 4 → total run = 44 in.
– Stringer length = √(36² + 44²) = 56.9 in. → buy 6-foot 2×12s
– Angle ≈ 39.3°; comfort = 2(7.2) + 11 = 25.4 — right in the sweet spot
How to cut stair stringers (step by step)
- Mark with a framing square. Clamp (or hold) the square so one leg reads the riser height and the other reads the tread depth. Trace the outside corner, then “walk” the square down the board — each position marks one riser + one tread.
- Mark the top and bottom cuts. The top gets a plumb cut (vertical, matching the riser angle) to sit against the deck rim joist; the bottom gets a level cut to sit flat on the pad.
- Cut the notches with a circular saw, stopping just short of each inside corner.
- Finish corners by hand. Complete every inside corner with a handsaw or jigsaw — circular-saw overcuts remove wood right where the stringer is weakest.
- Test-fit the first stringer before cutting the rest, then use it as a template to trace identical copies.
- Drop the bottom riser by one tread thickness if your treads sit on top of the stringer cut — otherwise the first step ends up taller than the rest.
Code requirements to know (IRC — verify locally)
- Maximum riser height 7¾”, minimum tread depth 10″
- Greatest riser can’t exceed the smallest by more than ⅜” (same for treads)
- Handrails required on stairs with 4 or more risers
- Guards required where the walking surface is 30″+ above grade
- Tread nosing should project ¾” to 1¼” past the riser below
- Always check your local amendments — some jurisdictions require 7″ max risers or wider stairs
Disclaimer
This calculator is a planning aid for DIY builders, not a substitute for your local building code, permits, or professional engineering. Stair requirements vary by jurisdiction — verify riser/tread limits, handrail and guard rules, and footing requirements with your local building department before you build. When in doubt, hire a licensed contractor.
