Deck Stair Calculator
Calculate the number of steps and stair stringers.
Last updated 2026-08-21
What Is a Deck Stair Calculator?
A deck stair calculator works out the number of risers, treads, and stringers you need for a set of deck stairs. It uses the deck height, stair width, and your riser and tread dimensions to keep every step within a comfortable and code friendly range. Use it so each step is the same height and the stairs meet typical residential requirements.
How It Works
Risers = ceil((Height × 12) ÷ Riser height). Treads = Risers − 1. Stringers = ceil((Width × 12) ÷ 24) + 1.
Example
A 3 ft deck with 7 in risers: 6 risers, 5 treads, and 3 stringers for a 3 ft wide stair.
How to Calculate
- Measure the deck height, for example a 3 ft rise from the ground to the deck surface.
- Choose a riser height at or under the code limit, commonly 7 in. The tool computes risers as the height in inches divided by the riser height, so 36 ÷ 7 rounds up to 6 risers.
- Expect one less tread than risers, so 6 risers give 5 treads, because the deck landing serves as the top step.
- Count stringers across the stair width. Spacing them no more than 24 in on center, a 3 ft wide stair takes 3 stringers. Verify riser and tread dimensions meet local code.
Common stair proportions
| Riser height | Tread depth | Comfort |
|---|---|---|
| 7 in | 11 in | Very comfortable |
| 7.5 in | 10.5 in | Comfortable |
| 7.75 in | 10 in | Code maximum riser |
| 8 in | 9 in | Steep, less comfortable |
Sources
Frequently Asked Questions
What riser height is legal?
Most codes cap risers at 7.75 in and treads between 10–11 in deep.
Why is there one less tread?
The top landing serves as the first tread, so you need risers − 1 actual treads.
How are stringers spaced?
Stringers are typically spaced no more than 24 in on center — 3 for a 36 in stair.
Estimate the cost with the Deck Cost Calculator or browse Deck Calculators