FramersMath

FramersMath › Stairs

Stair Stringer Calculator

Enter the total rise and your target tread depth. You get riser count, exact riser height, total run, stringer length and angle, checked against the residential building code.

Stair layout

Measurements
Finished floor to finished floor
Nosing to nosing, not board width
Optional
Optional
IRC: 7 3/4"
IRC: 10"
Risers—
Riser height —
Treads —
Total run—
Stringer length (diagonal)—
Stair angle—
Comfort, 2R + T —
Clear width —
Headroom —
2021 IRC R311.7 (one- and two-family homes): max 7¾" riser, min 10" tread, min 36" clear width, min 6'-8" headroom, no more than ⅜" variation between risers in a flight, handrail on flights with 4 or more risers. Local amendments vary.

⚠ Check all math and verify with a licensed engineer and your local building department before cutting or building. Results are estimates.

How to use the stair calculator

  1. Measure total rise from the top of the finished lower floor to the top of the finished upper floor. If the flooring isn't down yet, add its thickness (or the difference between the two floors) now. A finish-floor mistake is the most common reason the first or last step comes out a different height.
  2. Enter a tread depth. This is the horizontal run of each step, nosing to nosing, not the width of the tread board. 10" to 11" is typical.
  3. Read the risers. The calculator divides total rise by the max riser and rounds up, so every riser is equal and under the limit. A flight always has one fewer tread than risers, because the upper floor acts as the last step.
TOTAL RUN TOTAL RISE STRINGER LENGTH RISER TREAD
Total rise is split into equal risers. The tread count is one less than the riser count.

Worked example

A basement stair with 108" total rise and a 10¼" tread:

Laying out the stringer

Set stair gauges (or clamps) on a framing square at the riser height on the tongue and tread depth on the blade, then step the pattern down the board. Two adjustments people forget:

The comfort rule

Two risers plus one tread should land between about 24" and 25". It's an old rule of thumb that matches a normal walking stride. The calculator flags flights that come out steep or shallow, but they can still meet code.

FAQ

How do I calculate how many stairs I need?

Divide the total rise (finished floor to finished floor) by the maximum riser height, 7¾" under the IRC, and round up. That gives the number of risers. The number of treads is one less.

What is the maximum stair riser height?

The 2021 International Residential Code allows a maximum riser of 7¾" and a minimum tread of 10" for houses. Commercial stairs under the IBC are stricter: 7" max riser and 11" min tread. Local codes can amend these.

How long should a stair stringer be?

The stringer is the diagonal of the total rise and total run, √(rise² + run²). Buy stock at least a foot longer than that number to allow for the top and bottom cuts.

Why is my bottom step a different height?

Usually because the stringer was not dropped by the tread thickness, or because finished flooring was not included in the total rise. Measure finished floor to finished floor, and cut the bottom of the stringer down by one tread thickness.

How much can stair risers vary?

Under the IRC, the tallest and shortest riser in a flight can differ by no more than ⅜". The same limit applies to tread depths.

Disclaimer: Results are estimates for planning and layout only. Check all math yourself and verify with a licensed engineer and your local building department before cutting or building. FramersMath is not a substitute for engineered plans, span tables or code review. See the full disclaimer.