Deck Stair Calculators and Code Limits
Stairs are the part of a deck most likely to fail inspection, and the reason is almost always arithmetic rather than carpentry. Risers have to be whole numbers, identical to within three-eighths of an inch, and measured between finished surfaces.

Calculators
Why stair maths is different
You cannot build a fraction of a step. Divide your total rise by a comfortable riser height and you get something like 15.03 risers — so you round to 15, and the actual riser height becomes whatever that division gives. The height you wanted is only ever a starting point.
There is always one fewer tread than riser, because the upper floor or deck surface serves as the final tread. Counting a tread for every riser is the classic way to build a stair one step too long, and it is easier to do than it sounds.
Total rise means finished floor to finished floor. Measuring to the subfloor and adding flooring afterwards is the single most common reason stairs fail inspection: half an inch of tile at one end blows the riser variation limit on its own.
| Dimension | IRC (residential) | IBC (commercial) |
|---|---|---|
| Maximum riser height | 7 3/4 in | 7 in |
| Minimum tread depth | 10 in | 11 in |
| Maximum riser variation | 3/8 in | 3/8 in |
| Minimum headroom | 6 ft 8 in | 6 ft 8 in |
| Minimum clear width | 36 in | 44 in |
| Handrail height above nosing | 34–38 in | 34–38 in |
Passing code and feeling right are different tests
Blondel’s rule has been the comfort standard since 1683: two risers plus one tread should total between 24 and 25 inches. A 7 1/4 inch riser with a 10 1/2 inch tread comes to exactly 25 inches, which is why that combination is so common in practice.
A stair can meet every code limit and still walk badly. A tall riser with a deep tread — say 7 3/4 by 11 — gives 26 1/2 inches and feels stretched, forcing an unnatural stride. A short riser with a shallow tread feels cramped and makes people hurry down it.
Where the floor space allows, adding one more riser lowers the height of every step and usually improves the comfort figure. It costs one more tread of total run, which is the trade-off worth checking before you commit to a stringer.
Landings and footings
An exterior stair needs something solid at the bottom. A concrete landing pad or a compacted gravel base spreads the load and stops the bottom step settling, which would put the riser heights out of tolerance within a season.
In a freezing climate the landing has to sit on a base below the frost line, or be free to move with the ground rather than tied rigidly to a stair that is not. Frost heave at the bottom step is a common cause of uneven risers on decks only a few years old.
Guides
- How to Calculate Stair Stringers
Work out riser count, riser height, total run and stringer length from your total rise — then lay the stringer out and cut it without wasting stock.
- Stair Code Requirements
IRC, IBC and ADA limits for risers, treads, headroom, width, handrails and landings, in one table — the dimensions an inspector actually checks.
Costs
- Deck Stair Cost in 2026
What deck stairs cost per step and per flight, by material, plus the landing and railing costs people leave out of the budget.
Common questions
How many stairs do I need for a deck?
Divide the total rise from the ground to the deck surface by about 7 1/4 inches and round to the nearest whole number — that is your riser count. Divide the rise by that count again for the actual height of each riser. A 36 inch deck height gives 5 risers at 7.2 inches each.
What is the maximum riser height for deck stairs?
Seven and three-quarter inches under the IRC, and every riser in the flight must be within three-eighths of an inch of the others. In practice that means cutting them all identical, because the tolerance is for construction variation rather than for design.
Do deck stairs need a handrail?
Yes, once there are four or more risers. The handrail must sit 34 to 38 inches above the nosing line and be graspable along its whole length. A flat 2x4 laid on edge does not meet the graspability requirement in most jurisdictions.
How deep should deck stair treads be?
At least 10 inches measured nosing to nosing under the IRC. Two 2x6 boards with a small drainage gap give about 11 inches, which is the most common deck stair tread and comfortably clears the minimum.
Reviewed by Quban, Construction estimator, on . How these numbers are checked.