- Home
- Stair Calculator
Stair Calculator: Rise, Run, Stringer Length & Angle
Enter your total rise and riser height to get step count, stringer length, stair angle, run, headroom clearance, and concrete volume — with built-in IRC 2021 code checks.
Stair diagram
Total Rise +-----------------------------+ | | | +--+ | | | +--+ | | | | +--+ | | | | | +--+ | | | | | | +--+ | | | | | | | +-------+ <- Landing (optional) +-----+--+--+--+--+--+ ^ ^ Riser (H) Tread (D) Stringer = sqrt(rise^2 + run^2) <- diagonal board Angle = arctan(rise / run)
The stringer (diagonal board) supports the treads (horizontal) and risers (vertical). The total rise is floor-to-floor height; the total run is the horizontal span of all treads.
How to calculate stairs: step by step
- Measure total rise — the vertical distance from the lower floor to the upper floor.
- Divide by desired riser height — typical comfortable risers are 7 in (17.8 cm). The calculator rounds to the nearest whole number of steps.
- Recalculate actual riser height — divide total rise by the step count so the stairs land exactly flush.
- Multiply tread depth by step count to get the total horizontal run.
- Stringer length = √(totalRise² + totalRun²) — the hypotenuse of the stair triangle. This is the board you cut.
- Stair angle = arctan(totalRise ÷ totalRun) × (180 ÷ π). Comfortable stairs land between 30° and 37°.
- Concrete volume (for poured stairs) is estimated using a stacked-prism method: each step adds tread × width × cumulative height, plus any landing volume.
Key stair formulas
Number of risers
totalRise / desiredRiserHeightActual riser height
totalRise / numRisersTotal run
treadDepth * numRisersStringer length
sqrt(totalRise^2 + totalRun^2)Stair angle
arctan(totalRise / totalRun)Rise/run ratio
totalRise / totalRunComfort formula (IRC)
2R + T = 24 to 25 inchesIBC commercial max riser
7 in (17.8 cm)