Stair Calculator

Plan a staircase: number of risers and treads, exact riser height, total run, stringer length and angle, with US code checks.

How do you calculate stair stringers?

Divide the total rise in inches by your target riser height (7.5 in is common) and round up to get the number of risers. Divide the total rise by that count for the exact riser height. Treads are risers minus one, and total run is treads × tread depth. A 105 in rise gives 14 risers of 7.5 in and 13 treads.

Formula: N = round(rise ÷ desired riser) riser = rise ÷ N, treads = N − 1 run = treads × tread stringer = √(rise² + run²)

Stair layouts (7.5 in target riser, 10 in treads)
Total riseRisersRiser heightTreadsTotal run
96 in137.38 in12120 in
105 in147.50 in13130 in
108 in147.71 in13130 in
120 in167.50 in15150 in

How to calculate stair

  1. Enter the total rise from finished floor to finished floor, plus your preferred riser height and tread depth.
  2. We round to a whole number of risers, then divide the rise evenly so every step is identical. There's always one fewer tread than risers, because the top floor acts as the last step.
  3. Green and red badges check the US IRC limits (riser ≤ 7¾″, tread ≥ 10″) and the comfort rule 2R + T = 24-25″. A side-view drawing and stringer cut list help you lay out the boards.

Formula

N = round(rise ÷ desired riser) riser = rise ÷ N, treads = N − 1 run = treads × tread stringer = √(rise² + run²)

Where:

N
= Number of risers
rise
= Total floor-to-floor height
tread
= Tread depth (excluding nosing)

Worked example

Total rise 108″, desired riser 7.5″, tread 10″.

108 ÷ 7.5 = 14.4 → 14 risers of 7.714″, 13 treads, total run 130″. Stringer = √(108² + 130²) = 169.01″, angle ≈ 39.7°.

Construction Tips for Solid Staircases

Achieving a professional staircase begins with an accurate measurement of the 'finished' floor-to-floor rise. Measure from the top of the flooring material on the lower level to the top of the finished floor on the upper level. Even a half-inch discrepancy creates a serious trip hazard that fails to meet IRC safety standards for step uniformity.

When cutting stringers, subtract the thickness of the tread material from the bottom riser and add it to the top riser. This adjustment ensures that once treads are installed, every step height remains identical. For stability, use at least three stringers for a 36-inch wide staircase to prevent bowing. Secure the top with metal hangers rather than relying solely on toe-nailing.

Code Compliance and Safety Pitfalls

Neglecting the headroom requirement is a common mistake. The IRC mandates a minimum vertical clearance of 80 inches measured from the sloped line formed by the tread nosings. In tight spaces like basements, failing to plan the ceiling opening early can lead to an unusable staircase. Ensure your layout leaves enough room for a landing as wide as the stairs.

Ensure your riser height stays within the '3/8 inch rule,' where the greatest riser height in a flight doesn't exceed the smallest by more than 3/8 of an inch. Double-check your work with a framing square and level at every step. Local building departments often have specific amendments to the IRC, so always confirm plans with a local inspector before buying lumber.

How to calculate stair stringers, risers and rise and run

To calculate stair stringers by hand, first measure the total rise from finished floor to finished floor. Divide it by your target riser height, round to a whole number of risers, and divide the rise again by that number for the exact riser height. The number of treads is one fewer than the risers, and total run is treads multiplied by tread depth.

Stringer length is the diagonal of a right triangle with the total rise and total run as its two sides, so it equals the square root of rise squared plus run squared. Add a little extra board length for the top and bottom cuts. The stair angle is the arctangent of rise divided by run, and comfortable stairs usually fall between 30 and 37 degrees. This is exactly what the stair calculator above does for you, including deck stairs and basement stairs.

Frequently asked questions

The International Residential Code limits risers to 7¾ inches, with no more than ⅜″ variation between steps in a flight.

Related calculators

For informational purposes only. This calculator does not provide professional engineering advice. Consult a qualified professional before making decisions based on these results.