Enter the total rise from the landing to the deck surface to get the number of risers, the exact riser height, the treads, the total run, the stringer length and how many stringers to cut.
What this calculator does
- Risers and exact riser height from the total rise
- Treads, total run, stringer length and stock to buy
- Number of stringers, stair angle and an IRC check
How to use the deck stair calculator
- Measure the total rise plumb, from the top of the landing or pad to the top of the decking, at the spot where the stairs will actually land. Sloping ground changes this number.
- Enter a target riser height. The calculator picks the whole number of risers that lands closest to it without passing 7 3/4 in.
- Enter the tread depth, which is the level cut on the stringer for each step.
- Enter the stair width and the widest stringer spacing your treads allow.
Formulas
Risers = total rise ÷ target riser, rounded to a whole number Riser height = total rise ÷ risers Treads = risers − 1 Total run = treads × tread depth Stringer length = √(total rise² + total run²) Stringer stock = risers × √(riser² + tread²), rounded up to the next even foot Stringers = (stair width − 1.5 in) ÷ maximum spacing, rounded up, + 1 (at least 3) Stair angle = arctan(riser ÷ tread)
There is one tread fewer than risers because the deck itself is the top step. The stock length allows one extra step beyond the measured stringer length for the plumb cut at the top and the level cut at the bottom. The limits checked are from IRC section R311.7: risers no taller than 7 3/4 in, treads at least 10 in deep and stairs at least 36 in wide.
Worked example: a deck 44 in above the landing
- Risers: 44 ÷ 7.5 = 5.87, which rounds to 6 risers.
- Riser height: 44 ÷ 6 = 7.333 in, or 7 5/16 in.
- Treads: 6 − 1 = 5 treads. Total run: 5 × 10.5 = 52 1/2 in.
- Stringer length: √(44² + 52.5²) = 68.5 in, or 5 ft 8 1/2 in.
- Stock: 6 × √(7.333² + 10.5²) = 6 × 12.81 = 76.8 in, so buy 8 ft boards.
- Stringers: (36 − 1.5) ÷ 16 = 2.16, so 3 spaces and 4 stringers at about 11 1/2 in on center.
- Angle: arctan(7.333 ÷ 10.5) = 34.9°.
Risers and run by deck height
| Total rise | Risers | Riser height | Treads | Total run |
|---|---|---|---|---|
| 22 in | 3 | 7 5/16 in | 2 | 21 in |
| 30 in | 4 | 7 1/2 in | 3 | 31 1/2 in |
| 36 in | 5 | 7 3/16 in | 4 | 42 in |
| 44 in | 6 | 7 5/16 in | 5 | 52 1/2 in |
| 52 in | 7 | 7 7/16 in | 6 | 63 in |
| 60 in | 8 | 7 1/2 in | 7 | 73 1/2 in |
The table uses a 7.5 in target riser and 10.5 in treads.
Laying out the stringer
Mark each riser from a running total instead of stepping the same rounded figure over and over. In the example the marks fall at 7.333, 14.667, 22 in and so on, which keeps a 1/16 in rounding error from adding up. The IRC allows no more than 3/8 in between the tallest and shortest riser in a flight.
Cut the bottom of each stringer shorter by the thickness of one tread, so the first step matches the rest once the treads are on. The stairs need a solid landing at the bottom, and a flight with four or more risers needs a graspable handrail. Stringer size, the span a cut stringer may cover without mid support and the connection to the deck are structural: follow your local code or a deck guide such as DCA 6.
Questions
How many steps do I need for a 4 ft high deck?
A 48 in rise needs 7 risers of 6 7/8 in and 6 treads. Six risers would be 8 in each, which is over the 7 3/4 in limit.
How long should a stair stringer be?
Take the square root of the total rise squared plus the total run squared. For a 44 in rise and a 52.5 in run that is 68.5 in. Buy the board at least one step longer than that to leave room for the end cuts.
How many stringers do I need for deck stairs?
At 16 in maximum spacing, a 36 in wide stair needs 4 stringers. At 18 in it needs 3. Composite treads usually need closer support, often 12 in or less, so check the decking instructions first.
What is the maximum riser height for deck stairs?
7 3/4 in under the IRC, with a minimum tread depth of 10 in. Some local codes are stricter.
Sources
- International Residential Code (2021), Chapter 3, Section R311.7 Stairways, International Code Council.
Used for: a riser of not more than 7 3/4 in, no more than 3/8 in between the tallest and shortest riser in a flight, a tread of at least 10 in, a clear width of at least 36 in, and a handrail on at least one side of a flight with four or more risers. - DCA 6: Prescriptive Residential Wood Deck Construction Guide (2015 edition, based on the 2015 International Residential Code), American Wood Council.
Used for: deck stair stringers of at least 2×12 with the maximum spans in Figure 28 (6′-0″ for cut stringers, 13′-3″ for solid stringers) and a 4×4 post to support a stringer that spans farther.