Deck stair calculator
A stair is the one part of a deck where the numbers are not negotiable. Riser height and tread depth are set by code, and the comfort formula that experienced builders use is narrower still. Start from the total rise — never from a guessed riser height.
Your stair
How many risers a set of deck stairs needs
| Total rise | Risers | Rise each | Treads | Run | Stringer | Code |
|---|---|---|---|---|---|---|
| 24″ | 3 | 8.00″ | 2 | 1.7 ft | 2.6 ft | Risers too tall |
| 30″ | 4 | 7.50″ | 3 | 2.5 ft | 3.5 ft | Meets R311.7 |
| 36″ | 5 | 7.20″ | 4 | 3.3 ft | 4.5 ft | Meets R311.7 |
| 42″ | 6 | 7.00″ | 5 | 4.2 ft | 5.4 ft | Meets R311.7 |
| 48″ | 6 | 8.00″ | 5 | 4.2 ft | 5.8 ft | Risers too tall |
| 60″ | 8 | 7.50″ | 7 | 5.8 ft | 7.7 ft | Meets R311.7 |
| 72″ | 10 | 7.20″ | 9 | 7.5 ft | 9.6 ft | Meets R311.7 |
Computed for a 10″ tread, which is the IRC R311.7 minimum for residential stairs, and a 7½″ target riser. The two rows marked "risers too tall" are the ones worth reading twice: at a 24″ or 48″ total rise, rounding to the nearest whole riser gives an 8″ riser, which is over the 7¾″ maximum. Add one more riser and the rise drops to 6″, which is fine — the tool works this out on screen and shows the same warning. The minimum tread is R311.7.5.2 and the riser maximum is R311.7.5.1; you can read IRC Chapter 3, Building Planning to confirm both.
How this is calculated
The rise is fixed by the site. Everything else follows from dividing it into equal steps:
- Risers = round(total rise ÷ target riser).
- Actual riser = total rise ÷ risers. Every riser must be identical — this is the number that matters, not your target.
- Treads = risers − 1, because the deck surface acts as the top tread.
- Run = treads × tread depth.
- Stringer = √(rise² + run²), the hypotenuse the stringer is cut along.
Worked example
A 36″ total rise with a 7.5″ target riser and 10″ treads:
- Risers = round(36 ÷ 7.5) = 5
- Actual riser = 36 ÷ 5 = 7.2″ — under the 7.75″ maximum
- Treads = 5 − 1 = 4
- Run = 4 × 10 = 40″ = 3.33 ft
- Stringer = √(36² + 40²) = √2896 = 53.8″ = 4.5 ft
- 2R + T = 2(7.2) + 10 = 24.4″ — inside the 24–25″ comfort band
Note that the answer landed on 7.2″, not the 7.5″ you asked for. You cannot have a 7.5″ riser and a whole number of steps in a 36″ rise. The tool rounds the count, then reports the real riser — which is the number you cut to.
The 2R + T rule
Riser height doubled plus tread depth should land between 24 and 25 inches. It is not code, it is a comfort and safety convention that shows up in carpentry manuals going back a century, and it encodes something real: a stair that satisfies the code minimums can still feel wrong. A 7.75″ riser with a 10″ tread gives 25.5″ — legal, but steep enough that people trip going down.
What this calculator does not look at
- It does not check headroom. IRC requires 6′8″ of clearance above the stair slope. Measure the space above before you build.
- It does not design the stringer. Whether a 2×10 stringer is adequate depends on the span, the tread material and the load. Cut stringers are notched, which removes material — this is a place to consult a span table or an engineer.
- It does not handle landings. A stair with a mid-landing is two flights; calculate each separately.
- It does not read your local amendments. The IRC limits quoted are the published ones. Some jurisdictions are stricter.
How to figure out how many steps you need
- Measure the total rise — from the top of the deck surface down to the landing or grade, at the point the stair will land. Not to where you hope the grade will be after levelling.
- Divide by a target riser of about 7 in and round to a whole number. 36 in ÷ 7 = 5.1, so five risers.
- Divide the rise by that count to get the real riser height — 36 ÷ 5 = 7.2 in, which is under the 7.75 in maximum and consistent across the flight.
- Count the treads as one fewer than the risers, because the deck itself is the last step: five risers, four treads.
- Check the total run against the space you have. Four treads at 10 in is 40 in of run, plus the landing at the bottom.
The order matters: people pick a riser height first and then discover the count does not divide evenly. Pick the count first and let the riser fall where it lands, as long as it stays under 7.75 in and within 3/8 in across the flight.
Questions people actually ask
What is the maximum riser height for a deck stair?
7.75 inches under IRC R311.7.5.1 for residential stairs, with a minimum of 4 inches. The riser must also be consistent — the code allows a 3/8″ variance across the whole flight, which is small enough that you should aim for zero.
How many steps for a 36 inch rise?
Five risers at 7.2″ each, which gives four treads. You cannot hit exactly 36″ with 7.5″ risers — 4.8 steps is not a step count, so the calculator rounds to 5 and reports the real riser height.
How long should a stair stringer be?
It is the hypotenuse of the rise and run. For a 36″ rise and 40″ run that is 53.8″, so you buy a 6 ft board and cut it down. Always cut the stringer from stock longer than the calculated hypotenuse.
Do I need a handrail on a deck stair?
IRC requires a handrail on at least one side of a stair with four or more risers, at 34–38″ above the tread nosing. A stair with four risers falls right at that threshold — check your local amendment, because interpretations differ.
Why does the tread count differ from the riser count?
Because the deck surface is the top tread. Five risers mean you cut four treads into the stringer; the fifth step is stepping onto the deck itself.
How do I figure out how many steps I need for my deck?
Measure the total rise from the deck surface to where the stair lands, divide by roughly 7 in, and round to a whole number of risers. Then divide the rise by that count to get the actual riser height. The deck itself is the top step, so the tread count is one fewer than the riser count.
What is the standard riser height for deck stairs?
There is no standard, only a maximum: 7.75 in under IRC, with a 4 in minimum and no more than 3/8 in variation across the flight. Most deck stairs land between 6.75 and 7.5 in because that is where the arithmetic falls on a typical 30 to 42 in rise.