Stair stringer calculator: risers, run and stringer length
Enter the total rise from lower floor to upper floor, the riser height you are aiming for, and the tread depth. The tool picks the whole number of risers closest to your target, evens them out, and gives the run, stringer length and angle. It is not a code review and not a cut guide for notching the board.
Stair measurements
Formulas for Stair stringer layout
n = round(R / r)
riser = R / n
treads = n − 1
run = (n − 1) × t
stringer = √(R² + run²)
angle = atan(riser / t)
Where R = total rise in inches; r = target riser height in inches; n = number of risers; t = tread depth in inches; riser = actual riser height in inches.
With a closed top, the top step is the upper floor, so a stair of n risers has n − 1 treads.
For reference, the International Residential Code limits risers to 7¾ in and requires treads of at least 10 in. Your local code, and any amendments, decide what is allowed where you build; this page does not check them.
The stringer length is the straight-line distance along the notch line. Add length for the cuts at each end.
Checked examples for Stair stringer layout
A 100 in rise at a 7.5 in target makes 13 risers of 7.692 in and 12 treads of 10 in. The run is 120 in, the stringer is 156.21 in long and the angle is 37.6°.
A 108 in rise at a 7 in target makes 15 risers of 7.200 in and 14 treads of 11 in. The run is 154 in, the stringer is 188.09 in long and the angle is 33.2°.
Limits of Stair stringer layout
Risers are made equal by dividing the total rise by a whole number. The number of risers is the whole number closest to total rise divided by the target; a half-way case rounds up. The total rise must give at least two risers. Not for: confirming code compliance (local code decides); landings, winders or curved stairs; marking the cuts on a board, including bottom-riser and top-tread adjustments; choosing lumber size or span.
International Code Council: 2021 International Residential Code, Chapter 3, Section R311.7 Stairways.