Stair calculator 

This stair calculator turns your total height into the number of steps and the exact rise and run of each step. It works as a stair stringer calculator too, so you get the stringer length and stair angle.

🪜 Stair Calculator

Calculate rise, run, step count, and stringer length for any staircase

Rise & Run
Stringer Length

How This Stair Calculator Works

The “Rise & Run” tab figures out how many steps you need and the actual rise per step once total floor-to-floor height is divided evenly. The “Stringer Length” tab calculates the diagonal length of the stair stringer (the angled support board) using the Pythagorean theorem.

The Formulas Used

  • Number of risers: Total Rise ÷ Desired Rise per Step, rounded to the nearest whole number.
  • Actual rise per step: Total Rise ÷ Number of risers (adjusted so all steps are equal).
  • Total run: (Number of risers − 1) × Run per step, since the top step doesn’t need a tread in front of it.
  • Stringer length: √(Total Rise² + Total Run²) — the diagonal hypotenuse of the stair’s rise and run.

Standard Building Code Ranges (US, General Guide)

MeasurementTypical Code Range
Rise per step7 – 7.75 inches
Run per step10 – 11 inches
Rise + Run (comfort rule)17 – 18 inches combined

Always verify exact requirements with your local building code — these vary by jurisdiction.

Frequently Asked Questions

Why do my steps come out uneven if I just divide height by 7.5?
Total rise rarely divides evenly into a clean number. This calculator rounds to the nearest whole step count, then redistributes the total rise evenly across all steps — so every step ends up the same height, just slightly different from your initial target.
What’s a comfortable rise-to-run ratio?
A common rule of thumb is that rise + run should total 17-18 inches, and 2×rise + run should total 24-25 inches. Steeper stairs (higher rise, shorter run) save space but are less comfortable to climb.
Does stringer length include the thickness of the board?
No — this is the theoretical cut-line length along the diagonal. Actual lumber needed should add extra length at both ends for the stringer to properly seat against the floor and header.