Stringer Calculator for Stairs: Rise, Run & Layout
- Rise per step
- in
- Result
- Run per step
- in
- Result
- Stringer length (diagonal)
- in
- Result
A stringer calculator for stairs works out the number of steps, the rise and run of each step, and the total length of the stringer board you need to cut. You enter the total rise (floor-to-floor height), total run (horizontal distance), and a few dimensions like tread thickness, and it returns the exact step layout. This saves you from the trial-and-error math that often leads to uneven stairs or wasted lumber.
Formula
The stair stringer is the diagonal board that supports the treads and risers. The core formula is the Pythagorean theorem, because the stringer is the hypotenuse of a right triangle formed by the total rise and total run.
Stringer length = √(Total rise² + Total run²)
Where:
- Total rise (inches or mm) – vertical distance from the finished floor below to the finished floor above.
- Total run (inches or mm) – horizontal distance the stairs cover, measured from the face of the first riser to the face of the last riser.
- Stringer length – the long edge of the board you cut, before adding any overhang or subtracting the tread thickness.
For the individual steps, the formulas are:
- Rise per step = Total rise ÷ Number of steps
- Run per step = Total run ÷ Number of steps
Most building codes limit rise per step to between 4 and 7.75 inches (100–196 mm) and require a minimum run of 10 inches (254 mm) for residential stairs. Always check your local code before cutting.
Worked Example
Using the default values from the calculator above: total rise = 105 inches, total run = 120 inches, tread thickness = 1 inch.
- Estimate the number of steps: 105 ÷ 7.5 = 14 steps (rounded).
- Rise per step = 105 ÷ 14 = 7.50 inches.
- Run per step = 120 ÷ 14 = 8.57 inches.
- Stringer length = √(105² + 120²) = √(11025 + 14400) = √25425 = 159.45 inches.
So for a 105-inch rise and 120-inch run, you need 14 steps, each rising 7.50 inches and running 8.57 inches, and the stringer board must be at least 159.45 inches long (about 13 feet 3.5 inches).
How to Use the Stringer Calculator
Start by measuring the total rise from the top of the finished lower floor to the top of the finished upper floor. If you have not installed the finish flooring yet, add the thickness of the flooring material to the subfloor height.
Then decide the total run. This is usually determined by the available horizontal space. If you are building a straight stair, the total run is the horizontal distance from the edge of the upper floor opening to the point where the stair meets the lower floor.
Enter those two numbers, along with the tread thickness (usually 1 inch for standard 2×12 stringers with 1-inch treads). The calculator gives you the number of steps, the rise and run per step, and the diagonal length of the stringer.
When you mark the stringer, remember to subtract the tread thickness from the bottom cut. The first riser height is reduced by the tread thickness because the tread sits on top of the stringer. Many DIYers forget this and end up with a first step that is too tall.
Choosing the Right Stringer Board
Stringers are typically cut from 2×12 lumber (actual dimensions 1.5 x 11.25 inches). A 2×12 is wide enough to allow the necessary cuts while leaving enough wood to support the load. Using a 2×10 or smaller is not recommended for most stairs because the remaining wood after the notches may be too thin.
When selecting a board, look for one that is straight, free of large knots, and has no cracks. The longer the stringer, the more important it is to check for warping. For outdoor stairs, use pressure-treated lumber or a rot-resistant species like cedar or redwood.
The calculator gives you the minimum length. Add at least 6 inches to allow for the angled top and bottom cuts, and to give yourself room for error.
Common Mistakes and How to Avoid Them
- Not accounting for tread thickness – The bottom rise must be reduced by the tread thickness. If you cut all risers equal, the first step will be higher than the rest.
- Using the wrong total rise – Measure from finished floor to finished floor, not from subfloor to subfloor, unless you know the flooring thickness is the same on both levels.
- Rounding too early – Round the number of steps to a whole number, but keep the rise and run to at least two decimal places when marking. Small rounding errors compound over many steps.
- Ignoring the stringer length – The diagonal length is the minimum. If you cut the board exactly to that length, you may not have enough material for the angled cuts at the top and bottom.
- Forgetting the nosing – Treads often have a nosing (overhang) of ¾ to 1¼ inches. This does not change the run per step, but it does affect the total run if you measure from the outside of the nosing.
Stringer Calculator vs. Manual Layout
Before calculators, carpenters used a framing square with stair gauges to lay out stringers. That method works, but it is easy to make a mistake when you have many steps. A calculator gives you the exact numbers to mark, reducing errors and wasted wood.
However, a calculator does not replace the need for careful layout. You still need to mark the stringer accurately, cut along the lines with a circular saw (stopping before the corners), and finish the corners with a handsaw or jigsaw. The calculator just removes the arithmetic.
For curved or spiral stairs, the simple stringer calculator does not apply. Those require more advanced geometry and often a professional design.
Safety and Building Code Basics
Stairs are one of the most dangerous parts of a house. A misstep can cause a serious fall. Building codes exist to keep stairs safe, and they specify maximum rise, minimum run, and handrail requirements.
Common residential code limits (check your local code for exact numbers):
- Maximum rise per step: 7.75 inches (196 mm)
- Minimum run per step: 10 inches (254 mm)
- Minimum stair width: 36 inches (914 mm)
- Handrail height: 34–38 inches (864–965 mm) above the nosing
- Maximum variation between steps: 3/16 inch (4.8 mm)
If the calculator gives a rise above 7.75 inches, you need more steps or a longer total run. If the run is below 10 inches, you may need to adjust the total run or consider a different stair design.
Always support the stringers securely at the top and bottom. Use proper hangers or notched posts, and fasten the stringers to the floor framing with strong screws or bolts. If you are unsure about the structural integrity, consult a professional.
Frequently Asked Questions
How many stringers do I need for a stair?
For a typical residential stair that is 36 inches wide, you need at least three stringers: one on each side and one in the middle. For wider stairs, add one stringer for every 16 to 24 inches of width. For example, a 48-inch-wide stair would need four stringers.
What is the ideal rise and run for stairs?
The most comfortable stairs have a rise of about 7 inches and a run of about 11 inches. The formula “rise + run = 17 to 18 inches” is a common rule of thumb. For example, 7 + 11 = 18, which is at the upper end. A rise of 7.5 with a run of 10 gives 17.5, also comfortable.
Can I use a 2×10 for stair stringers?
It is possible for very short stairs with a low rise, but not recommended. A 2×10 is only 9.25 inches wide. After cutting a 7.5-inch rise and a 10-inch run, the remaining wood at the notch is very thin and may crack. Most building codes require stringers to be cut from 2×12 lumber.
Do I need to subtract tread thickness from the bottom riser?
Yes. The tread sits on top of the bottom stringer, so the first riser must be shorter by the tread thickness. If you do not subtract it, the first step will be higher than the others, which is a tripping hazard and a code violation.
What is the maximum number of steps before a landing is required?
Building codes vary, but many require a landing every 12 feet of vertical rise, which is roughly 19 to 20 steps. Some codes also require a landing at the top and bottom of every stair. Check your local code for the exact requirement in your area.
How do I measure the total rise for an outdoor deck stair?
Measure from the top of the deck surface (including any decking) to the ground or the top of the concrete pad. If the ground is not level, measure at the point where the stair will land. Add the thickness of any pavers or gravel you plan to place under the bottom step.
Related
Formula used
in total_rise | Total rise | in | 105 | 0 in total_run | Total run | in | 120 | 0 in tread_thick | Tread thickness | in | 1 | 0 out step_count | Number of steps | - | round(total_rise / 7.5) | 0 out rise_per_step | Rise per step | in | total_rise / step_count | 2 out run_per_step | Run per step | in | total_run / step_count | 2 out stringer_length | Stringer length (diagonal) | in | sqrt((total_rise)^2 + (total_run)^2) | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.