Stair Stringer Calculator
Enter your basic stair dimensions to calculate rise, run, stringer length, angle, and recommended number of stringers.
Tip: Most codes cap riser height near 7.75" and require tread depth around 10" minimum. Verify your local code before cutting.
How this stair stringer calculator works
This calculator helps you lay out straight stairs by solving the core framing math: how many risers you need, the exact riser height, the number of treads, total run, and stringer length. It also estimates how many stringers to build based on stair width and spacing.
It is ideal for deck stairs, shed stairs, garage access stairs, and other standard wood-framed stair layouts where a notched stringer is cut from dimensional lumber (often 2x12).
Inputs you need before cutting
- Total rise: Vertical distance from lower finished grade/floor to upper finished landing surface.
- Maximum riser: The tallest allowed step rise (often 7.75 inches by code).
- Tread depth: Horizontal run for each step, excluding or including nosing per your design convention.
- Stair width: Overall width of the stairs.
- Stringer spacing: Maximum distance between stringers, based on tread material and code requirements.
Formulas used
1) Number of risers
Risers are calculated as:
Risers = ceiling(Total Rise ÷ Max Riser Height)
This guarantees each riser is at or below your chosen max.
2) Exact riser height
Exact Riser = Total Rise ÷ Number of Risers
All risers should be equal to avoid trip hazards and code problems.
3) Number of treads
- If the top landing serves as the last step surface, Treads = Risers − 1.
- If you build a full top tread, Treads = Risers.
4) Total run, angle, and stringer length
- Total Run = Treads × Tread Depth
- Angle = arctangent(Total Rise ÷ Total Run)
- Stringer Length = √(Total Rise² + Total Run²)
Practical build notes
Use a full-size layout check
Even with a calculator, always mark one test stringer using framing squares or stair gauges. Dry-fit before mass cutting. Small differences in finish floor height or landing material can affect the final fit.
Check the comfort rule
A common comfort target is:
2 × Riser + Tread ≈ 24 to 25
If your result falls far outside that range, the stairs may feel too steep or too shallow.
Verify local code requirements
- Maximum riser height and minimum tread depth
- Required nosing profile and overhang limits
- Guardrails/handrails and graspability rules
- Minimum headroom and landing size
- Exterior stair footing and frost-depth requirements
Common stair stringer mistakes to avoid
- Measuring rise from unfinished surfaces instead of finished surfaces.
- Forgetting that decking thickness changes final rise at top/bottom.
- Using too few stringers for composite tread boards.
- Ignoring crown orientation and defects in stringer stock.
- Assuming one staircase detail fits every jurisdiction.
Quick FAQ
How many stringers do I need for a 36-inch stair?
It depends on allowed spacing and tread material. Many builders use at least three for 36-inch stairs, and more for composite treads or stricter spacing limits.
Should all risers be exactly the same?
Yes. Consistent riser height is critical for safety and code compliance.
Can I use this for interior stairs?
The math is the same, but interior code requirements (finish thickness, headroom, handrail geometry) are often stricter. Treat this as planning support, not permit-ready engineering.