Deck Stair Riser and Tread Calculator

Calculate the number of risers, riser height, tread depth, stringer length, and total run for deck stairs based on your total rise and preferred dimensions.

Vertical height from ground to deck surface
Typical range: 4" – 8.25" (IRC code max 8.25")
Horizontal run per step (IRC code min 10")
Thickness of each tread board (typically 1.5" for 2× lumber)

Formulas Used

Number of Risers:
N = round(Total Rise ÷ Desired Riser Height)

Actual Riser Height:
R = Total Rise ÷ N

Number of Treads:
Treads = N − 1  (the deck surface serves as the top landing)

Total Run:
Total Run = Treads × Tread Depth

Stringer Length:
L = √(Total Rise² + Total Run²)  (Pythagorean theorem)

Stair Angle:
θ = arctan(Total Rise ÷ Total Run)

2R + T Comfort Index:
2R + T = 2 × Riser Height + Tread Depth  (ideal: 24"–25")

Assumptions & References

  • Based on IRC Section R311.7 (International Residential Code) stair requirements.
  • Maximum riser height: 8.25 inches; minimum riser height: 4 inches.
  • Minimum tread depth: 10 inches (nosing not included in this calculator).
  • The top riser lands on the deck surface; therefore the number of treads equals the number of risers minus one.
  • Stringer length is the straight-line diagonal and does not account for notch cuts or bearing seat reductions.
  • The 2R + T comfort formula is a widely used ergonomic guideline (Blondel's formula, 1675).
  • Stair angles between 30° and 35° are generally considered most comfortable; IRC permits up to ~41°.
  • Local building codes may differ; always verify with your local authority having jurisdiction (AHJ).
  • Tread thickness input is provided for material planning but does not affect riser/tread geometry in this calculator.

In the network