Stair Step Stringer Layout Calculator
- Step run
- in
- Result
- Stringer length
- in
- Result
- Stringer angle
- deg
- Result
This calculator works out the exact rise and run for each stair step on a stringer, so you can mark and cut a staircase that meets your total rise and run. You enter the total vertical rise, the total horizontal run (or available space), and the number of steps you want, and it returns the individual step rise, step run, stringer length, and the angle of the stringer. It uses the standard stair geometry that building codes and carpentry guides are based on, so you can lay out a safe, comfortable staircase.
Formula
The calculator uses three basic formulas that come straight from right-triangle geometry and the definition of a stair step.
- Step rise = Total rise ÷ Number of steps. This is the vertical height of each step, measured from the top of one tread to the top of the next.
- Step run = Total run ÷ (Number of steps − 1). The run is the horizontal depth of each tread. You subtract one because the top tread usually lands on the upper floor, so it isn’t counted as a separate step.
- Stringer length = √(Total rise² + Total run²). This is the straight-line distance along the sloped edge of the stringer, from the bottom cut to the top cut. It’s the hypotenuse of the right triangle formed by the total rise and total run.
- Stringer angle = arctan(Total rise ÷ Total run). This is the angle the stringer makes with the horizontal floor. It’s useful for setting a circular saw bevel or for checking the stair’s pitch.
All measurements are in inches (or any consistent unit – the math works the same in centimeters or feet, as long as you use the same unit for both rise and run). The calculator outputs the step rise and step run to two decimal places, the stringer length to two decimals, and the angle to one decimal.
Worked Example
Take the default values: total rise = 34.5 inches, total run = 60 inches, and number of steps = 7.
- Step rise: 34.5 ÷ 7 = 4.93 inches (rounded to two decimals). That’s the vertical height of each of the 7 steps.
- Step run: 60 ÷ (7 − 1) = 60 ÷ 6 = 10.00 inches. That’s the horizontal depth of each tread, measured from the nosing of one tread to the nosing of the next.
- Stringer length: √(34.5² + 60²) = √(1190.25 + 3600) = √4790.25 = 69.21 inches. That’s the length of the 2×12 board you’d need before cutting the notches.
- Stringer angle: arctan(34.5 ÷ 60) = arctan(0.575) = 29.9 degrees. That’s the angle between the stringer’s top edge and the floor.
So for a 34.5-inch rise and a 60-inch run, you’d cut 7 steps, each rising 4.93 inches and running 10 inches, on a stringer that’s about 69.2 inches long and angled at 29.9 degrees.
How to Use the Results
The step rise and step run are the two numbers you’ll mark on the framing square. On a standard framing square, the rise is on the tongue (the short arm) and the run is on the body (the long arm). You place the square on the stringer board so that the rise mark aligns with the top edge and the run mark aligns with the same edge, then trace the notch outline. Repeat this for each step along the board, then cut the notches with a circular saw or handsaw.
The stringer length tells you the minimum board length you need – always buy a bit longer to allow for waste and for the top and bottom adjustments. The angle is useful if you’re using a speed square or a bevel gauge to mark the top and bottom cuts that sit against the floor and the upper landing.
Remember that the top step is usually shortened by the thickness of the tread material. For example, if you’re using 1-inch-thick treads, you subtract that inch from the top step’s rise so that the finished top step matches the others. This calculator gives the raw rise; you’ll need to adjust for tread thickness on the top cut.
Common Mistakes and How to Avoid Them
- Counting steps wrong. The number of steps is the number of risers, not the number of treads you see. If you have 7 risers, you have 6 visible treads (the top tread is the floor). The calculator’s step run formula subtracts one from the step count for this reason.
- Mixing units. If you enter total rise in inches and total run in feet, the result will be nonsense. Keep everything in the same unit – inches are standard for stair stringers in the US.
- Forgetting tread thickness. The calculator gives the structural rise. If you add 1-inch treads, the actual rise of the finished step becomes the structural rise plus the tread thickness. Many carpenters subtract the tread thickness from the top step’s rise so the finished top step matches the others.
- Rounding too early. If you round the step rise to 4.93 inches and then multiply by 7, you get 34.51, which is off by 0.01. That’s fine, but if you round to 5 inches, you’d get 35 inches – a real error. Keep extra decimal places during layout, then round only the final cut lines.
- Ignoring building code. Most residential codes require a maximum rise of 7.75 inches and a minimum run of 10 inches (with nosing). This calculator doesn’t enforce code – you have to check your local requirements and adjust the number of steps if needed.
Choosing the Right Number of Steps
The number of steps is the most important input you control. It determines whether your stairs feel comfortable and meet code. A good starting point is to divide the total rise by 7 inches (a typical comfortable rise) and round up to the nearest whole number. For example, a 34.5-inch rise divided by 7 gives 4.93, so you’d round up to 5 steps. But that gives a rise of 6.9 inches – fine for many situations. However, if you have a long run available, you might choose fewer steps with a larger rise, or more steps with a smaller rise and a longer run.
The relationship between rise and run matters too. A common rule of thumb is that rise + run should be between 17 and 18 inches. For a 4.93-inch rise and a 10-inch run, that’s 14.93 – a bit low. A more comfortable stair might have a 7-inch rise and an 11-inch run (18 inches total). The calculator lets you experiment with different step counts to see what fits your space and comfort.
Also consider the total run. If you have limited floor space, you’ll need more steps with a shorter run, but the run can’t be shorter than about 9 inches for safety. If you have plenty of space, you can use a longer run and fewer steps, but the rise will be larger. The calculator shows you the trade-off immediately.
Limitations of the Formula
This calculator assumes a straight, single-flight stair with uniform steps and no landings. It does not account for:
- Landings or turns – those require separate calculations for each flight.
- Open risers vs. closed risers – the formula is the same, but the cut details differ.
- Tread thickness and nosing overhang – you must adjust the top step and the cut lines manually.
- Stringer material thickness – the board’s width (e.g., 2×12) affects how deep the notches can be cut without weakening the stringer. The calculator gives the rise and run, but you must ensure the notch depth (rise minus tread thickness) leaves enough solid wood at the back of the stringer.
- Irregular total rise – if the floor isn’t level, the total rise may vary along the width of the stair. Measure at several points and use the largest or the average, depending on your situation.
For a curved or spiral stair, this formula does not apply – you’d need specialized geometry or a dedicated spiral stair calculator.
Safety and Accuracy Tips
Stair building is one of the most safety-critical carpentry tasks. A mistake in rise or run can cause trips and falls, especially if the steps are uneven. Always:
- Measure the total rise from the finished floor at the bottom to the finished floor at the top. If you’re building on a concrete slab or a subfloor, account for the thickness of the final flooring.
- Use a level and a long straightedge to check that the floor and the upper landing are actually level. If not, you may need to adjust the first or last step.
- Cut one stringer first, test-fit it, and then use it as a template for the others. This catches errors before you cut three boards.
- Use a framing square with stair gauges to keep the rise and run marks consistent. Without gauges, the square can slip and give you a crooked cut.
- Leave at least 3.5 inches of solid wood behind the notch (the “heel� of the stringer) to prevent cracking. If the rise is large and the run is short, the notch may be too deep – you may need a wider board or a different step count.
- Double-check the top step adjustment for tread thickness. Many stair failures happen because the top step is a different height than the rest.
- Always follow local building codes. They exist to keep stairs safe, and they specify minimum run, maximum rise, and handrail requirements.
Frequently Asked Questions
How do I find the number of steps if I only know the total rise?
Divide the total rise by a comfortable rise, usually 7 inches, and round up to the nearest whole number. For example, a 34.5-inch rise divided by 7 gives 4.93, so you’d use 5 steps. Then use the calculator to find the exact rise and run for that step count.
What is the maximum rise and minimum run for stairs?
Most residential building codes in the US limit the rise to 7.75 inches and require a minimum run of 10 inches (measured from nosing to nosing). Some codes allow 7.5 inches max rise. Always check your local code, as it may be stricter.
Do I subtract the tread thickness from the top step?
Yes. The top step’s rise is usually reduced by the thickness of the tread material so that the finished top step matches the others. For example, if your tread is 1 inch thick, you cut the top step’s rise 1 inch shorter than the others. The calculator gives the raw rise; you adjust the top cut.
Can I use this calculator for outdoor stairs or deck stairs?
Yes, the geometry is the same. However, outdoor stairs often use different materials (treated lumber, composite decking) that may have different thicknesses. Adjust the top step for the actual tread thickness. Also, outdoor stairs may need a slightly longer run for comfort, especially if they’re used with heavy foot traffic or in wet conditions.
What is the best angle for a staircase?
There is no single “best� angle, but comfortable residential stairs typically have an angle between 30 and 35 degrees. The calculator gives you the angle for your chosen rise and run. If the angle is too steep (above 40 degrees), you’ll likely need to increase the run or decrease the rise, which means more steps.
How long should the stringer board be?
The stringer length from the calculator is the minimum length from the bottom cut to the top cut. Always buy a board that is at least 6 to 12 inches longer to allow for the top and bottom bearing cuts and for any mistakes. For example, if the calculator says 69.2 inches, a 96-inch (8-foot) board is a safe choice.
Related
Formula used
in total_rise | Total rise | in | 34.5 | 0 in total_run | Total run | in | 60 | 0 in num_steps | Number of steps | - | 7 | 1 out step_rise | Step rise | in | total_rise / num_steps | 2 out step_run | Step run | in | total_run / (num_steps - 1) | 2 out stringer_len | Stringer length | in | sqrt((total_rise)^2 + (total_run)^2) | 2 out angle | Stringer angle | deg | atand(total_rise / total_run) | 1
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.