Stair Stringer Calculator
Work out riser height, tread depth, and number of steps from total rise.
Number of risers
How the stringer layout is calculated
Stair layout starts with total rise: the exact vertical distance from the top of the lower finished floor to the top of the upper finished floor. That number gets divided as evenly as possible into individual risers, because building codes and basic safety both require every riser in a single flight to be nearly identical — an uneven step is one of the most common causes of stair trips and falls.
This calculator divides total rise by your target riser height and rounds to the nearest whole number of steps, then divides the total rise by that whole number to get the actual riser height everyone in the stair will use. It's normal for the actual riser to come out slightly different than the target you entered, since a whole number of equal steps rarely divides your rise exactly.
Tread depth is entered directly and multiplied by one less than the number of risers (there is always one fewer tread than riser in a stair, since the top step is the landing) to get the total horizontal run the stringers will need.
Where these numbers come from
The formula and default values in this calculator are based on:
- Riser/tread proportioning method and the 2R+T comfort rule of thumb reflect long-standing stair layout practice found in residential building codes (e.g., IRC stair provisions) and standard carpentry references.
These are planning estimates. Check your local building code, product specifications, and a licensed contractor before you buy materials or build.
Frequently asked questions
Why does the calculator adjust my target riser height?
Because a stair must have equal risers from bottom to top, the total rise has to be divided by a whole number of steps. Your target height is used to find the closest whole number of steps, and the actual riser height is then recalculated so every step comes out identical.
What riser and tread sizes does code typically allow?
Most residential codes cap riser height around 7.75 inches and require a minimum tread depth around 10 inches, though exact limits vary by jurisdiction. Always check your local code before finalizing a layout, since exterior deck stairs and interior stairs are sometimes governed by different rules.
What is the 2R + T rule used for?
It's a long-used comfort guideline stating that twice the riser height plus the tread depth should land close to 24-25 inches, which approximates a natural, comfortable stride on stairs. It's a design check, not a code requirement, so use it to sanity-check a layout rather than as a legal minimum.
Not happy with our calculations or how it works? Let us know.
Have a suggestion for a calculator you don't see here? Let us know.
All LumberCalcs tools
Framing & Structural
Board Foot Calculator Plywood Calculator Rafter Calculator Rafter Length Calculator Joist Span CalculatorNo calculators match your search.