Stringer Calculator
A staircase is one right triangle, and the stringer is the board you cut along its hypotenuse. This calculator works in the totals-to-per-step direction: you enter the total rise of the whole flight, the total run of the whole flight, and the number of steps, and it splits those totals into the individual rise of each step, the individual run of each step, the stringer length, and the stair angle. That direction is the reverse of our stair length calculator, which starts from a per-step rise and run and builds up to the totals. Use this page when you already know the floor-to-floor height and how far the stairs may project, and you need to know what each step must be.
All three inputs must be in the same unit, because the calculator never converts units. The step count is the number of risers, and the tool uses one fewer tread than risers, because the top riser lands on the upper floor itself. Results stay hidden until you click Calculate, and a warning appears when the individual rise falls outside 6 to 8 inches or the individual run outside 9 to 11 inches. Those bands are the tool’s own comfort check, not a building code, and the code limits are explained later on this page.
Quick Answer
A flight with a total rise of 105 inches, a total run of 140 inches, and 14 steps has an individual rise of 7.50 inches, an individual run of 10.77 inches, a stringer length of 175.00 inches, and a stair angle of 36.9 degrees, with no comfort warning. Those are the exact figures this calculator produces from its pre-filled example, and every step of the arithmetic is shown in the worked example below so you can check it before you cut anything.
- Quick Answer
- How to use this calculator
- The four formulas, and why steps minus one matters
- Comfort bands, code limits, and the difference between them
- From numbers to a cut stringer
- Common mistakes this direction of calculation prevents
- What competing calculators miss
- Frequently asked questions
- Add This Calculator to Your Website
- References
How to use this calculator
Measure first, and measure finished surface to finished surface. Total rise is the vertical distance from the top of the lower finished floor to the top of the upper finished floor, including flooring on both levels. Total run is the horizontal distance the staircase will project. For deck stairs, measure from the deck surface down to the finished ground or landing level, adding the decking thickness if it is not yet installed. A measurement to an unfinished surface makes every step wrong by exactly that thickness, an error that only shows up when the last step does not meet the landing.
Enter those two totals and the number of steps, then click Calculate. The step count is the number of risers, not the number of treads: a flight with 14 risers has 13 treads, because the upper floor itself is the final tread. That is why the individual run divides by steps minus one, and it is where most hand calculations go wrong. Divide by the full step count instead, and every tread comes out short, the flight lands short, and the stringer length and angle are both wrong.
Read the four results in order. Individual rise is how high each step is; individual run is how deep each tread is, measured nosing to nosing. Stringer length is the diagonal board length before you allow extra for the top and bottom cuts, so round up to the next standard lumber length when ordering. Stair angle tells you how steep the flight feels. A warning means the per-step dimensions fall outside the tool’s comfort bands of 6 to 8 inches for rise and 9 to 11 inches for run. A warning is not a refusal, but you should change the step count or the totals before cutting new stairs that trigger one.
The four formulas, and why steps minus one matters
Every result on this page comes from four short formulas, and they are worth stating plainly because a stringer you cannot check by hand is a stringer you cannot trust. The lead-in to the formulas is simple: the whole flight is a right triangle, the per-step dimensions split the totals evenly, and the angle is the slope of that triangle.
| Result | Formula | Worked example |
|---|---|---|
| Individual rise | Total rise divided by number of steps | 105 divided by 14 = 7.50 inches |
| Individual run | Total run divided by (steps minus 1) | 140 divided by 13 = 10.77 inches |
| Stringer length | Square root of (total rise squared plus total run squared) | Square root of (105 squared plus 140 squared) = 175.00 inches |
| Stair angle | Arctangent of (total rise divided by total run), in degrees | Arctangent of (105 divided by 140) = 36.9 degrees |
The stringer length formula is Pythagoras applied to the whole flight: total rise is one leg, total run is the other, and the stringer is the hypotenuse. In the worked example, 105 squared is 11,025 and 140 squared is 19,600, which add to 30,625, whose square root is exactly 175. That clean result is no accident: 105, 140, and 175 are a scaled 3-4-5 triangle. Our triangle sides calculator solves the same hypotenuse problem in general form if you want to verify a stringer length outside this stair workflow.
The angle is the arctangent of rise over run, the same slope a stair slope calculator gives. A 7.5-inch rise with a 10-inch run gives an angle near 37 degrees, at the steep end of comfortable residential stairs, while a 7-inch rise with an 11-inch run gives about 32.5 degrees and feels noticeably easier. Above about 40 degrees, the flight will feel like a ladder no matter how precise the cuts are, and the honest fix is more run or a landing that breaks the flight in two.
Comfort bands, code limits, and the difference between them
This tool warns when the individual rise leaves 6 to 8 inches or the individual run leaves 9 to 11 inches. Those bands are a comfort check, and they are wider than the building code, which is the stricter and more important test. For new residential work in the United States, the 2021 International Residential Code section R311.7 caps the riser at 7 and 3/4 inches and requires a tread depth of at least 10 inches with a nosing, or 11 inches without one, with no more than 3/8 inch of variation in a flight. An 8-inch rise therefore passes this tool’s check but fails the code, and a 9-inch run passes the tool but fails the code minimum. Never treat the absence of a warning as code approval: check your local adopted code before cutting.
Uniformity matters as much as any single dimension. The code’s 3/8-inch variation limit exists because people climb stairs on rhythm: a single step half an inch taller than its neighbours is a trip hazard precisely because the climber is not expecting it. This calculator divides the totals evenly, so every step it produces is identical by construction. What it cannot do is account for flooring added after the stringer is cut: if you add a 1 and 1/2 inch tread on top without trimming the bottom by the same amount, the bottom step becomes 1 and 1/2 inches taller than every other step, and that uniformity is gone.
From numbers to a cut stringer
Once the numbers check out, the physical work starts with stock selection. Stringers are typically cut from 2 by 12 lumber, because notching out each tread and riser removes a large part of the board’s width, and a narrower board leaves too little solid wood, called the throat, to carry the load safely. Crown the stock so any bow faces the tread side, and lay out every stringer from the same template rather than copying each cut stringer from the last one, because small copying errors compound across a flight. This Old House’s deck stair guide adds a spacing rule worth following: keep no more than 16 inches between stringers for stability.
Layout is done with a framing square and a pair of stair gauges set to the individual rise and run the calculator produced. Set the gauges, hold the square against the board’s edge, mark one step, slide the square along, and repeat. Cut most of each notch with a circular saw and finish the corners with a handsaw, because overcutting into the corner weakens the stringer where the tread load concentrates. Then use the first stringer as the template for the rest, test-fit before fastening, and check headroom: the residential code requires at least 6 feet 8 inches clear, and a geometrically perfect flight under a low ceiling is still a failed staircase. For deck steps, confirm the bottom landing too: a stringer landing on soft ground instead of a pad will settle, changing every rise at once. A ramp length calculator uses the same rise-over-run geometry for step-free access rather than stairs.
Common mistakes this direction of calculation prevents
Working from totals to per-step dimensions prevents the errors builders actually make. The first is dividing the total run by the full step count instead of steps minus one, which shortens every tread and lands the flight short. The second is measuring total rise to an unfinished surface, which shifts every riser by the flooring thickness. The third is rounding the per-step dimensions before laying out, which produces steps that no longer add up to the totals you started from: carry the full calculator values into the layout, and let the framing square set the marks. The fourth is ordering a board exactly the stringer length, forgetting that the diagonal needs extra for the top and bottom cuts. Buy longer than the diagonal, and cut to fit.
The reverse direction has its own place. If you know the step size you want and need the totals, use the stair length calculator, which starts from per-step rise and run. If you are costing the whole job rather than laying it out, our staircase cost calculator covers materials and labour for the flight. Keeping those three jobs separate stops a measurement taken for one purpose being used for another.
What competing calculators miss
Most stringer tools on the web start from a target rise per step and work out how many steps you need, which is the opposite direction from this page and a poor fit when the floor-to-floor height and the available projection are already fixed by the building. Several also hide the steps-minus-one tread rule entirely, presenting a total run that is simply steps multiplied by run, which overstates the projection by a full tread. A few give a stringer length but no angle, or an angle but no comfort warning, leaving the builder to judge steepness by feel. And almost none explain that their warning bands are not the code: a tool that flags 9-inch treads as fine without mentioning the 10-inch code minimum is actively misleading for new residential work.
This page does the opposite job on purpose. It starts from the totals a real site gives you, states the steps-minus-one rule in the introduction and again in the formula table, shows all four results including the angle, and separates its own comfort bands from the code limits in plain language. Two deliberate changes from the live tool are disclosed in the report: a single step now produces a clear error instead of an infinite run, and a blank or invalid entry now shows an inline message instead of a browser alert. Neither alters any valid calculation.
Frequently asked questions
A stringer is the diagonal structural board that supports the treads and risers along the side of a staircase. Stringer length is the diagonal distance from the bottom of the flight to the top, calculated as the square root of the total rise squared plus the total run squared. Buy a board longer than this figure, to allow for the top and bottom cuts.
This calculator takes the step count as an input, so choose it before you calculate: divide your total rise by a target rise of about 7 to 7.5 inches and round to a whole number, then let the calculator give you the exact rise. For a 105-inch total rise, dividing by 7.5 gives exactly 14 steps, which is the worked example on this page.
Because the top riser lands on the upper floor itself, and that floor acts as the final tread. A flight with 14 risers therefore needs only 13 physical treads, and the individual run divides the total run by 13, not 14. Dividing by the full step count would shorten every tread and land the flight short.
Stringers are typically cut from 2 by 12 lumber, because notching out the treads and risers removes much of the board and a narrower board leaves too little solid wood to carry the load. Crown the stock so any bow faces the tread side, lay out every stringer from the same template, and keep no more than 16 inches between stringers on a deck flight.
Because the warning bands are a comfort check built into the tool, not the building code. The 2021 International Residential Code caps a residential riser at 7 and 3/4 inches and requires at least 10 inches of tread with a nosing, which is stricter than the tool’s 6 to 8 inch and 9 to 11 inch bands. Always check your local adopted code before cutting.
Yes, as long as total rise and total run are in the same unit. The results are given in the unit you entered, because the formulas use ratios and the square root of the squared inputs, so the unit carries through unchanged. Do not mix inches for rise with centimeters for run. The comfort warning bands, however, are inch figures built into the tool, so they only apply meaningfully to inch inputs: in centimetres the warning will misfire, so enter inches if you want the warning to apply.
No, the two tools work in opposite directions. This page starts from total rise, total run, and step count and gives you the per-step dimensions. The stair length calculator starts from a per-step rise and run and a step count and gives you the totals. Use this page when the totals are fixed by the building, and the other page when the step size is your starting point.
Add This Calculator to Your Website
Copy the code below and paste it into any page where you want this calculator to appear.
<iframe src="https://calculatorzilo.com/embed/stringer-calculator/" width="100%" height="600" style="border:0;" title="Stringer Calculator"></iframe>
References
- Fine Homebuilding, Laying Out the Deck Stair Stringers (accessed 25 October 2026)
- Fine Homebuilding, How to Cut Stair Stringers (accessed 25 October 2026)
- This Old House, How to Build Deck Stairs (accessed 25 October 2026)
- Engineer Fix, Is an 8-Inch Step Too High? Building Codes and Safety (accessed 25 October 2026)
- Building Code Trainer, Residential Stair Codes: Rise, Run, Handrails Explained (accessed 25 October 2026)
