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 Dimensions

Total vertical height from floor to floor

Height of each step — typically 6–8 in (15–20 cm)

Horizontal depth of each step — min 10 in (25 cm) per IRC

Width of the staircase

Set to 0 for no landing

Stair Results
Number of Risers
12
Actual Riser Height
7 in
Total Run
132 in
Stringer Length
156.46 in
Stair Angle
32.47°
Rise / Run
1 : 1.56
Headroom Clearance
-4 in
Concrete Volume
4.63 yd³
IRC 2021 Code Checks
Riser Height: 7" (max 7¾")
Tread Depth: 11" (min 10")

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

  1. Measure total rise — the vertical distance from the lower floor to the upper floor.
  2. Divide by desired riser height — typical comfortable risers are 7 in (17.8 cm). The calculator rounds to the nearest whole number of steps.
  3. Recalculate actual riser height — divide total rise by the step count so the stairs land exactly flush.
  4. Multiply tread depth by step count to get the total horizontal run.
  5. Stringer length = √(totalRise² + totalRun²) — the hypotenuse of the stair triangle. This is the board you cut.
  6. Stair angle = arctan(totalRise ÷ totalRun) × (180 ÷ π). Comfortable stairs land between 30° and 37°.
  7. 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 riserstotalRise / desiredRiserHeight
Actual riser heighttotalRise / numRisers
Total runtreadDepth * numRisers
Stringer lengthsqrt(totalRise^2 + totalRun^2)
Stair anglearctan(totalRise / totalRun)
Rise/run ratiototalRise / totalRun
Comfort formula (IRC)2R + T = 24 to 25 inches
IBC commercial max riser7 in (17.8 cm)

Frequently asked questions