DeckFormula
Home/Tools/Deck stairs

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

Finished grade to finished deck surface.
A starting point — the tool adjusts.
10″ is the code minimum.
For material take-off only.

How many risers a set of deck stairs needs

Total riseRisersRise eachTreadsRunStringerCode
24″38.00″21.7 ft2.6 ftRisers too tall
30″47.50″32.5 ft3.5 ftMeets R311.7
36″57.20″43.3 ft4.5 ftMeets R311.7
42″67.00″54.2 ft5.4 ftMeets R311.7
48″68.00″54.2 ft5.8 ftRisers too tall
60″87.50″75.8 ft7.7 ftMeets R311.7
72″107.20″97.5 ft9.6 ftMeets 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:

Worked example

A 36″ total rise with a 7.5″ target riser and 10″ treads:

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

How to figure out how many steps you need

  1. 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.
  2. Divide by a target riser of about 7 in and round to a whole number. 36 in ÷ 7 = 5.1, so five risers.
  3. 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.
  4. Count the treads as one fewer than the risers, because the deck itself is the last step: five risers, four treads.
  5. 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.

Related

More in Tools

Related reading