Deck Stair Calculator
Enter the total rise from ground to deck surface and get step count, riser height, treads and stringers — material quantities only.
Please check your inputs — values must be within the allowed ranges.
Material estimates only — this tool does not design stairs and does not confirm code compliance. Stair structure, stringer span and attachment details must follow your local building code.
How to calculate stair rise and run
- Measure total rise — from the ground (finished grade) to the top of the finished deck surface, in inches.
- Step count = total rise ÷ 7.5 in, rounded up. (7–7¾ in per step is the comfortable and code-typical range.)
- Actual riser height = total rise ÷ step count — every riser must match this exactly; uneven risers are the #1 trip hazard.
- Treads = steps − 1. The top "step" is the deck surface itself.
- Comfort check: 2 × riser + tread depth should land between 24 and 25 in.
Example — 42-in total rise, 10.5-in treads: 42 ÷ 7.5 = 5.6, so 6 steps at 7.0-in risers each. Comfort check: 2 × 7 + 10.5 = 24.5 in ✓. That means 5 treads, and a 4-ft-wide stair needs 4 stringers and 10 tread boards.
Code reference chart
Published limits from the IRC (International Residential Code), section R311.7. Reference only — your local code has the final word:
| Dimension | IRC limit (residential) | Your result |
|---|---|---|
| Riser height | ≤ 7¾ in (uniform) | — |
| Tread depth | ≥ 10 in | — |
| Stairway width | ≥ 36 in above the handrail | — |
Guards and handrails have separate requirements — ask your building department what applies to your deck.
Stringer layout basics
A stringer is the notched side board that carries the treads — the sawtooth frame your steps sit on. Stringers are typically cut from 2x12 lumber, and code expects them spaced 16 in apart or less, center to center, with one at each end.
Two practical notes from the calculator's math:
- Stringer count = stairway width (in) ÷ 16, rounded up, + 1 — and never fewer than 3.
- Tread boards: each tread takes two 5.5-in boards side by side (11 in total) to cover a 10.5-in tread depth with a small overhang. Total tread boards = treads × 2 per stringer row, each board cut to your stairway width.
Cutting the notches themselves is layout work best done with a framing square and the riser/tread numbers above — measure twice, cut one stringer first, and use it as the template for the rest.
Material shopping list
- — tread boards (5.5-in face, cut to your stairway width)
- — stringers (2x12, long enough for the stair's angled run)
- Deck screws or structural fasteners per your plans — see the screw guidance on the decking calculator
Stringer length depends on the stair's total run and angle — most lumber yards stock 16-ft 2x12s that cover typical 4–6 step stairs with room to spare.
Sources & assumptions
- Riser/tread limits (≤ 7¾ in rise, ≥ 10 in tread): IRC R311.7, International Code Council — cited as a published reference, not a compliance ruling.
- 7.5-in planning riser and the 2R+T ≈ 24–25 in comfort rule: standard stair-planning conventions.
- Stringer spacing (16 in OC max): common practice for sawn-stringer deck stairs.
- Actual lumber dimensions (a "6-inch" board is 5.5 in wide): per the American Softwood Lumber Standard (PS 20), ALSC.