Stair Tread Stringer Calculator: Rise, Run & Layout
- Number of treads
- Result
- Stringer length
- in
- Result
- Total rise (floor to floor)
- 105 in
- You entered
This stair tread stringer calculator works out the number of treads, the individual rise and run, and the total stringer length you need to cut for a straight flight of stairs. You enter the total rise (floor-to-floor height), the total run (horizontal distance available), and your desired tread depth and riser height, and it returns the exact tread count, riser height, and stringer dimensions. The result is given in inches and feet so you can lay out the stringer directly on a framing square.
Formula
The core of stair layout is the relationship between the total rise, the number of risers, and the riser height. The calculator uses two standard formulas:
- Number of risers = ⌈total rise ÷ maximum riser height⌉ (rounded up to the next whole number)
- Actual riser height = total rise ÷ number of risers
- Number of treads = number of risers − 1 (the top tread is the upper floor or landing)
- Stringer length = √(total run² + total rise²) — the hypotenuse of the right triangle formed by the stair
Variables are in inches: total rise is the vertical distance from finished floor to finished floor, total run is the horizontal distance from the face of the bottom riser to the face of the top riser (not including any nosing), riser height is the vertical distance between treads, and tread depth is the horizontal depth of each step (not including nosing). The stringer length is the straight-line distance along the sloped edge of the board you cut.
Worked Example
Using the default values in the calculator: total rise = 105 in, total run = 120 in, desired tread depth = 10 in, and maximum riser height = 7.75 in.
- Number of risers = ⌈105 ÷ 7.75⌉ = ⌈13.548⌉ = 14
- Actual riser height = 105 ÷ 14 = 7.50 in
- Number of treads = 14 − 1 = 13
- Stringer length = √(120² + 105²) = √(14400 + 11025) = √25425 ≈ 159.45 in (13.29 ft)
The calculator shows a riser height of 7.50 in, 13 treads, and a stringer length of 159.5 in. That matches the hand calculation.
How to Use the Results
Once you have the riser height and tread count, you can lay out the stringer on a 2×12 board. Use a framing square with the riser height on one tongue and the tread depth on the other, then mark and cut the notches. The top of the stringer needs adjustment: the top riser is often shortened by the thickness of the tread material so the last step lands flush with the upper floor. Similarly, the bottom riser may be shortened by the thickness of the bottom tread if you’re using a finished floor.
The tread depth you enter should match the horizontal part of the step you actually want. Most building codes require a minimum tread depth of about 10 inches (25 cm) for residential stairs, but check your local code because the exact number varies. The calculator gives you the number of treads based on the rise, not the run — if the run is too short for the desired tread depth, you’ll need to adjust either the total run or the tread depth.
Common Mistakes and Misconceptions
- Forgetting the top tread: The number of treads is always one less than the number of risers because the upper floor acts as the final step. Many first-timers cut one too many treads.
- Mixing units: Enter everything in inches. If you measure in feet, convert to inches first (1 ft = 12 in). A common error is entering 10 ft as 10 in, which gives a nonsensical result.
- Ignoring nosing: The tread depth in building codes often refers to the depth from the nosing to the riser below, not the total depth including the nosing overhang. Be clear which one you’re using.
- Not accounting for tread thickness: The stringer notches are cut for the riser height, but the actual vertical distance between treads includes the tread material thickness. Many builders subtract the tread thickness from the bottom riser and the top riser to keep the top step level with the floor.
Choosing the Right Inputs
Start with the total rise — that’s usually fixed by your floor-to-floor height. Then decide on a maximum riser height based on your local building code (commonly 7.75 in or 8.25 in). The calculator rounds the number of risers up, which means the actual riser height will be slightly less than the maximum. That’s normal and often safer.
For the total run, measure the horizontal distance you have available. If you’re building a straight stair, the run is the horizontal span from the bottom landing to the top landing. If you have a landing in the middle, treat each flight separately. The tread depth should be comfortable — typical residential treads are 10 to 11 inches deep. If the run is too short for the number of treads, you’ll need to increase the run or reduce the tread depth (but not below code minimum).
Cost and Material Considerations
Stringers are usually cut from 2×12 lumber because the notch depth plus the remaining wood must be strong enough. For a typical 105-inch rise, you’ll need a stringer that’s about 13.3 feet long — that’s longer than a standard 12-foot board, so you may need a 14-foot board. The calculator gives you the exact length so you can buy the right size. Treads are typically 2×10 or 2×12 boards, and risers are often 1×8 or 1×10. The number of treads tells you how many boards you need for the treads.
Keep in mind that wood costs vary, but the main expense is usually the number of stringers. Most residential stairs use three stringers for a 36-inch-wide stair, or four for wider stairs. The calculator gives you the stringer length, so you can multiply by the number of stringers to get total board footage.
Safety and Code Notes
Stair building is heavily regulated for good reason — falls on stairs cause thousands of injuries each year. The International Residential Code (IRC) is a common baseline, but your local jurisdiction may have amendments. Typical IRC rules: maximum riser height 7.75 inches, minimum tread depth 10 inches (with nosing), and riser heights must not vary more than 3/8 inch between adjacent risers. The calculator helps you keep risers uniform because it divides the total rise evenly.
Another safety point: the stringer length you get from the calculator is the hypotenuse of the triangle, but it does not include the extra length needed for the top and bottom attachment points. You’ll usually want a few extra inches at each end to rest on the floor or ledger. Always cut the stringer slightly long and trim to fit.
If you’re not experienced with stair layout, consider having a professional review your plan before cutting. A small mistake in the layout can make the stairs unsafe.
Alternatives to Manual Layout
If you don’t want to cut stringers from scratch, you can buy pre-cut stringers at home centers, but they come in fixed rise/run combinations (like 7.5-inch rise and 10-inch run) and may not fit your exact total rise. Another option is to use metal stringers or adjustable stringer systems, which allow you to set the rise and run without cutting notches. Those are more expensive but faster. For curved or spiral stairs, the math is more complex, and this calculator is not applicable.
Frequently Asked Questions
Do I need to add the nosing to the tread depth? No — the calculator uses the tread depth as the horizontal depth of the step (the run). If you add a nosing that overhangs, the total tread depth including nosing will be larger, but the run dimension used for the stringer layout should be the depth from the nosing to the riser below, not including the overhang.
Why is the number of treads one less than the number of risers? Because the top step is the upper floor itself. When you climb from the bottom to the top, you take one fewer step than the number of risers. For example, a 14-riser stair has 13 treads plus the top floor.
What if my total run is too short for the treads? You have two options: increase the total run (if space allows) or decrease the tread depth (but not below code minimum). If neither works, you may need a different stair configuration, like a U-shaped or L-shaped stair with a landing.
Can I use this calculator for outdoor stairs? Yes, the math is the same, but outdoor stairs often have different code requirements (e.g., tread depth, slip resistance) and may need treated lumber. The calculator gives you the layout; you still need to follow local codes.
How do I account for the thickness of the tread material? In standard layout, the riser height is measured from the top of one tread to the top of the next. If you cut the stringer notches to the exact riser height, the tread material adds to the total rise. To compensate, many builders subtract the tread thickness from the bottom riser and sometimes the top riser. The calculator assumes you’re cutting the notch to the riser height, so you may need to adjust the bottom cut.
What is the maximum stringer length for a 2×12? There’s no single answer; it depends on the wood species, grade, and load. For a typical residential stair with 2×12 stringers, a span of about 12 to 14 feet is common, but longer stringers may require additional support or a thicker board. Check with your local building department.
Related
Formula used
in total_rise | Total rise (floor to floor) | in | 105 | 0 in total_run | Total run (horizontal) | in | 120 | 0 in tread_depth | Desired tread depth | in | 10 | 0 in riser_max | Max riser height | in | 7.75 | 0 out riser_h | Riser height | in | total_rise / ceil(total_rise / riser_max) | 2 out tread_count | Number of treads | - | ceil(total_rise / riser_max) - 1 | 0 out stringer_len | Stringer length | in | sqrt((total_run)^2 + (total_rise)^2) | 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.