How this calculator works
- Risers: total rise ÷ the highest riser you want, rounded up. Then the total rise is split evenly, so every step is the same height.
- Treads: one fewer than the risers, because the deck or floor is the top step.
- Total run: treads × tread depth.
- Stringer length: the diagonal of the total rise and run (Pythagorean theorem). The board size adds at least 1 ft for the top and bottom cuts.
- Stringers: enough to keep them no more than 18 in apart across the stair width.
- Tread boards: 5 1/2 in wide deck boards, as many as fit each tread depth, cut to the stair width from 16 ft boards.
Stair code basics
Most U.S. towns use the International Residential Code (IRC). Typical limits:
| Rule | Typical limit |
|---|---|
| Riser height | 7 3/4 in or less |
| Tread depth | 10 in or more |
| Difference between steps | 3/8 in or less |
| Stair width | 36 in or more |
| Handrail | 4 or more risers; 34 to 38 in high |
| Stringer spacing (decks) | 18 in apart or less |
Your local code is the final word. Many towns need a permit for deck stairs.
Example: deck stairs with a 3 ft rise
- 36 in ÷ 7.5 in = 4.8, so 5 risers
- 36 ÷ 5 = 7.2 in per riser
- 5 − 1 = 4 treads × 11 in = 44 in of total run
- Stringer: √(36² + 44²) = 56.9 in, about 4.7 ft, so buy 8 ft 2 × 12s
- A 36 in wide stair needs 3 stringers
Quick reference: common deck heights
With risers up to 7 1/2 in and 11 in treads.
| Total rise | Risers | Treads | Total run |
|---|---|---|---|
| 1 ft 6 in | 3 × 6.00 in | 2 | 1.83 ft |
| 2 ft 6 in | 4 × 7.50 in | 3 | 2.75 ft |
| 3 ft | 5 × 7.20 in | 4 | 3.67 ft |
| 4 ft | 7 × 6.86 in | 6 | 5.50 ft |
| 5 ft | 8 × 7.50 in | 7 | 6.42 ft |
| 6 ft | 10 × 7.20 in | 9 | 8.25 ft |
Before you buy
- Measure the rise where the stairs will land. Ground slopes, so measure straight down from the deck at the spot where the bottom step will sit.
- Plan the landing. The bottom of the stringers needs a solid, level base, such as a concrete pad or pavers. Use the Concrete Calculator for a pad.
- Pick straight boards. Sight down each 2 × 12 and skip any that are bowed, twisted or have big knots near the edge.
- Use treated lumber outdoors. Deck stringers need pressure-treated lumber rated for exterior use, plus hangers or brackets at the top.
Common mistakes
- Uneven first or last step. Cut the bottom of the stringer down by the tread thickness, or the first step ends up taller than the rest.
- Measuring rise on sloped ground. Measure where the stairs will land, not next to the deck.
- Cutting too deep. Stop the saw at the corner of each notch and finish with a hand saw so the stringer isn't weakened.
- Too few stringers. Treads sag and bounce when stringers are more than 18 in apart.
Common questions
How many stairs do I need for my height?
Divide the total rise by your highest allowed riser, usually 7 3/4 inches or less, and round up. That's the number of risers. A 36 inch rise with risers up to 7 1/2 inches needs 5 risers of 7.2 inches and 4 treads.
What is the standard riser height and tread depth?
Most U.S. codes allow risers up to 7 3/4 inches and treads at least 10 inches deep. Many builders aim for about 7 to 7 1/2 inch risers and 10 to 11 inch treads.
How long should a stair stringer be?
Use the diagonal of the total rise and total run, then add at least a foot for the cuts. For a 36 inch rise and 44 inch run the diagonal is about 4.7 feet, so an 8 foot 2 × 12 works.
How many stringers do I need?
Keep stringers no more than 18 inches apart. A 36 inch wide stair needs 3 stringers, and a 48 inch wide stair needs 4.
When do stairs need a handrail?
Most codes need a handrail on at least one side when there are 4 or more risers, set 34 to 38 inches above the tread nosings.