Stringer tools

Stair Stringer Length Calculator

This stair stringer length calculator answers one specific question: how long a board do you need before you cut a single notch? It's the Pythagorean theorem applied to your rise and run, plus the real-world margin that turns a theoretical diagonal into an actual lumber order.

The math is simple, but the part people get wrong is confusing the layout length — the diagonal from corner to corner of the notches — with the board length you should buy, which needs to be longer.

Enter your total rise and target riser height and you'll get both numbers, along with the standard lumber length to order.

Stringer length calculator

Finished floor to finished floor, measured plumb.

The riser height you would like; the calculator rounds to a whole number of equal risers.

Nosing to nosing. Nosing overhang is not included.

15 risers of 7 3/16″, 14 treads of 10 1/2″, total run 147″, angle 34.4°, stringer 182 7/16″.

Risers

15

Riser height

7 3/16″

Treads

14

Tread depth

10 1/2″

Total run

12′ 3″

Stair angle

34.4°

Stringer length

15′ 2 7/16″

2R + T

24 7/8″

comfort ≈ 24–25 in

Run + nosing

12′ 4″

Stair side-elevation diagramSide elevation of a stair with 15 risers of 7 3/16″ and 14 treads of 10 1/2″, total rise 108″, total run 147″, angle 34.4°.UP108″147″7 3/16″10 1/2″34.4°Stringer 182 7/16″
Side elevation of the calculated flight (auto-scaled).

Need presets, code profiles, printing or sharing? Continue with these values.

Open in the full stair calculator

The Pythagorean theorem, applied to a staircase

A stringer is a right triangle: the total rise is the vertical leg, the total run is the horizontal leg, and the stringer itself is the hypotenuse. Length = √(rise² + run²).

For a 108 in total rise with 14 treads at 10.5 in (147 in total run), length = √(108² + 147²) = √(11,664 + 21,609) = √33,273 ≈ 182.4 in, or 15.2 ft.

Notice the stringer is longer than either leg but shorter than the sum of them — 108 + 147 = 255 in, well above the 182.4 in actual diagonal. That gap is exactly why a stringer uses less board than people first assume.

Layout length vs. board length

The 182.4 in figure is the layout length — the straight-line distance between the top outside corner and bottom outside corner of the notched zigzag. It is not the length of board you should buy.

You need extra material at both ends: enough at the top for the plumb cut to land past the header without the corner disappearing into a knife-edge, and enough at the bottom for the tread-thickness drop plus a stable foot. Most carpenters add 2–4 in of working margin beyond the raw diagonal.

182.4 in plus margin lands comfortably inside a 16 ft (192 in) board, so that's what you order — not a 15 ft board, which isn't standard stock anyway.

Standard lumber lengths and what they cover

*Assumes a roughly 7 in riser and 10–11 in tread, which puts the stair angle near 32–35°. Steeper or shallower stairs shift the run-to-rise ratio and change how much rise a given board length can cover — always run your own numbers rather than reading straight off this table.

Standard 2x12 lengths and approximate maximum total rise they can span
Board lengthUsable diagonal (approx.)Rough max total rise*
8 ft (96 in)~90 in~54 in
10 ft (120 in)~114 in~68 in
12 ft (144 in)~138 in~82 in
14 ft (168 in)~162 in~97 in
16 ft (192 in)~186 in~111 in
18 ft (216 in)~210 in~125 in
20 ft (240 in)~234 in~140 in

Why you always buy longer than the raw hypotenuse

Beyond the plumb cut and bottom drop margin, lumber lengths aren't continuous — you can't buy a 15.4 ft board, so you round up to the next stocked length regardless of how close your math lands to the shorter size.

There's also a practical reason: a board cut exactly to the theoretical diagonal leaves you no room to adjust if the actual framed opening differs by even half an inch from the plan. A little extra length at the top is cheap insurance against a stringer that's a hair too short to reach the header.

How rise and run trade off for the same length

This is why length alone doesn't tell you the shape of a stair — a steep, short-run flight and a shallow, long-run flight can need almost the same board. Angle and riser count matter just as much as the length number for figuring out whether a stringer actually fits your stairwell.

Different rise/run combinations near the same 182 in stringer length
Total riseTotal runStringer length
96 in155 in182.2 in
108 in147 in182.4 in
120 in137 in182.1 in
132 in125 in181.7 in

When your run is fixed, not your rise

If you're building into a limited stairwell opening, you often know the available run before you know the exact rise. Work backward: divide the available run by your target tread depth to get a tread count, add one for the riser count, then divide total rise by that riser count to check the resulting riser height falls in an acceptable range.

If the resulting riser height is too tall or too short, you'll need to change tread depth, add a winder, or reconsider the stairwell opening rather than force the numbers.

Related calculators

For the full notch-by-notch layout once you know your board length, use the stair stringer calculator or the layout-focused version.

If limited headroom or run is the actual constraint, the stair run calculator and stair headroom calculator dig into those separately.

Worked math

Worked example: 96 in rise, 147 in run

Given

  • Total rise: 96 in
  • Total run: 147 in

Steps

  1. Length = √(96² + 147²) = √(9,216 + 21,609) = √30,825 ≈ 175.6 in
  2. 175.6 in ≈ 14.6 ft
  3. Add margin for top and bottom cuts (~3–4 in)
  4. Round up to the next standard length: 16 ft board

A 16 ft 2x12 comfortably covers a 175.6 in diagonal with margin to spare for both end cuts.

Questions

Stair Stringer Length Calculator FAQ

How do you calculate the length of a stair stringer?

Take the square root of the total rise squared plus the total run squared — the Pythagorean theorem. This gives the straight-line diagonal length; add a few inches of margin before rounding up to a standard lumber length.

What length lumber do I need for stairs?

It depends on your total rise and run, but most residential straight flights land between 12 ft and 16 ft. Run your actual numbers through the calculator rather than guessing, since angle changes the ratio significantly.

Is stringer length the same as board length?

No. Stringer length (the calculated diagonal) is the theoretical minimum; board length is what you actually buy, and should be a few inches longer to allow for the top plumb cut and bottom drop, then rounded up to a standard stocked size.

Does a steeper stair need a longer or shorter stringer?

For the same total rise, a steeper stair (less run per step) generally needs a shorter stringer, because the run leg of the triangle shrinks. But a steeper stair with the same run just adds rise, which lengthens it — the relationship depends on both legs, not rise alone.

Can I use a 12 ft board for an 8 ft floor-to-floor rise?

Usually yes for a typical 7–7.5 in riser stair, since the diagonal for that rise is roughly 11.5 ft, but check your specific tread depth and riser height with the calculator before cutting, since shallower stairs run longer than steep ones.

Why is my stringer shorter than rise plus run added together?

Because the stringer is the hypotenuse of a right triangle, and a hypotenuse is always shorter than the sum of the other two sides — it's a straight diagonal shortcut rather than a path that goes up then across.

Keep going

Important

Disclaimer

StairCalculator.app provides calculations and educational information. Building codes and construction requirements vary by location. Verify final dimensions and requirements with the applicable local building authority or qualified professional.

Calculations are only as accurate as the measurements and inputs you provide; small errors in measuring total rise or floor thickness can shift the results, so double-check field measurements before cutting materials, and treat every reference value and worked example on this site as illustrative rather than a guarantee of code compliance.