Separate geometric diagonal from stock length
The rise/run diagonal is the hypotenuse of a right triangle, not your final saw-cut length. Stock length adds a waste allowance and rounds up to the next standard lumber length (such as 12, 14, or 16 ft). Keeping those two numbers separate prevents layout mistakes at the lumberyard.
Buying a long enough 2x12 does not guarantee structural strength. Cutting tread and riser notches removes most of the board depth, so you must check the remaining throat depth, wood species, span, and ledger attachment before cutting.
How do you calculate stair stringer diagonal and board stock?
A stair stringer forms the hypotenuse of a right triangle whose legs are the total vertical rise and the total horizontal run. Using the Pythagorean theorem, we compute the geometric diagonal and then add your layout stock allowance:
where:
- Rise_total – Finished floor-to-floor vertical rise in inches (verify individual step heights first in the stair calculator);
- Run_total – Total horizontal run in inches ((Risers − 1) × Tread depth); and
- N_stringers – Estimated number of supporting stringer carriages across the stair width.
Planning sequence
- 01
Finish the stair geometry first
Use the verified rise, run, riser count and tread count. A stringer calculation cannot repair an incorrect stair layout.
- 02
Calculate the diagonal
Take the square root of total rise squared plus total run squared. Top plumb cuts and bottom heel cuts still require a framing square layout.
- 03
Add a visible allowance
Choose an allowance for layout and end details, then record it separately from the diagonal.
- 04
Treat count as preliminary
Spacing alone is not a structural check. Tread material, load, throat, span and support can change the required arrangement.
Worked example: 108 in rise and 140 in run
A 108 in rise and 140 in run form a right triangle with a 176.8 in (14.73 ft) diagonal. Add a 6 in stock allowance to get 15.23 ft, which rounds up to a 16 ft board.
For a 36 in stair width and 16 in maximum spacing, the calculator estimates 4 stringers. Composite decking or thin treads often require 12 in or 9 in on-center stringer spacing, which increases the stringer count.
Check the American Wood Council deck stair guide for minimum throat depth, hanger attachment, and mid-span support rules before you notch lumber.
| Output item | Basis | Estimate |
|---|---|---|
| Geometric diagonal | √(108² + 140²) | 176.8 in (14.73 ft) |
| With 6 in allowance | 14.73 ft + 0.50 ft | 15.23 ft |
| Standard board length | Next even lumber stock | 16 ft |
| Preliminary count (36 in wide) | 16 in max OC spacing | 4 stringers |
Checks the diagonal cannot perform
- Remaining wood at the throat after notches.
- Allowable span for the lumber species, grade, size and cut pattern.
- Tread capacity and required stringer spacing.
- Top attachment, bottom bearing and resistance to movement.
- Need for intermediate support or a landing.
- Moisture, decay, fastener compatibility and exterior exposure.
- Guards, handrails, headroom and the complete stairway requirements.
Use one test stringer
Lay out and cut one stringer first, remember to drop the bottom by the tread thickness, and test-fit it against the framing before using it as a pattern for the remaining boards.
If your required stock exceeds 16 to 20 feet or the notched stringer spans too far unsupported, add an intermediate landing or mid-span beam rather than forcing a single long board.