How this calculator works
We divide the total rise by your preferred riser height and round to a whole number of risers (adding a riser if the result would be over the 7¾ in code limit), then divide the total rise by that number to get the exact riser height (every step must be identical). There is always one fewer tread than risers, because the upper floor is the top step. The total run is the number of treads times the tread depth, and the stringer is the diagonal of the rise and run triangle.
Worked example: a 108 in rise at a 7.25 in target gives 15 risers of 7.2 in. With 14 treads of 10 in the run is 140 in (11.7 ft), and the stringer is 14.7 ft, so buy a 16 ft board.
Assumptions and sources
The assumptions behind your numbers (waste, sizes, rates) are listed in the notes directly under your results, and they update when you change an input.
The formula and a worked example are shown above, so you can check any result by hand. Read how we calculate and check our numbers. Results are estimates for planning: supplier products vary, so check the size printed on the label.
Tips before you buy
- Riser and tread dimensions must be consistent. People trip on the odd one out, even a difference of half an inch.
- Remember to account for the thickness of the finished floor and the tread boards when you measure the rise and cut the stringer.
- In the US, the IRC generally limits riser height to 7¾ in, requires a minimum 10 in tread, and calls for a handrail on stairs with four or more risers. Many places have different rules, so check locally.
- Cut one stringer, test it in place, then use it as the template for the others.
Quick answers by size
Tools & materials for this project
Affiliate links As an Amazon Associate we earn from qualifying purchases. These links do not change what you pay.
Frequently asked questions
How do you calculate stair stringers?
Divide the total rise by a target riser height, round to a whole number to get the number of risers, then divide the rise by that number for the exact riser height. Treads are one fewer than risers.
What is the ideal riser height?
Between 7 and 7¾ inches. Most codes cap it at 7¾, and 2 × riser + tread should come to about 24 to 25 in for a comfortable stair.
How long a board do I need for a stringer?
It has to cover the diagonal from top to bottom, plus a little margin. A 9 ft rise needs about a 16 ft board, which is why many stringers are 2×12 in 16 ft lengths.
Add this calculator to your website
Running a blog, a contractor site or a class page? You can put this calculator on it for free. Copy the code below, and please leave the link underneath the calculator in place. The small script just resizes the frame to fit the results; if your site strips scripts, the calculator still works inside a scrolling frame.
Related calculators & guides
Estimates only. Results assume standard materials and simple shapes. Supplier products vary, and the final call on quantity, structure and safety is yours. Check your local code and your supplier's guidance before ordering.