Stair Calculator

Number of steps, actual riser height, total run and stringer length for a staircase.

Equations used
Risers = round(dfracTotal riseTarget riser)
Stringer length = sqrt(Total rise^2 + Total run^2)

Frequently Asked Questions

Why is the actual riser height different from the target riser height I entered?

The calculator first finds the number of risers by dividing total rise by your target riser and rounding to a whole number, since you can't have a fraction of a step. It then divides total rise by that whole number of risers, which gives an "actual" riser height close to — but usually not exactly — your target.

What is the stringer length and why is it longer than the total run?

The stringer is the diagonal structural board the steps sit on. It's calculated as the hypotenuse of a right triangle (√(Total Rise² + Total Run²)), so it's always longer than either the vertical rise or the horizontal run alone.

What do the code-compliance checks (riser, tread, comfort rule) mean?

These compare your numbers against typical residential guidelines: riser height ≤ 7.75 in, tread depth ≥ 10 in, and the "comfort rule" that 2× riser + tread should total 24–25 in for a natural stride. They're typical values, not a substitute for your local building code.