A stair is mostly arithmetic done carefully. The hard part is not the cut, it is committing to one measurement, the total rise, and dividing it into equal steps so precisely that nobody notices the stair at all. People notice uneven steps. A riser 3/8 inch taller than its neighbours is a trip hazard, which is why codes limit the variation between risers in a flight to 3/8 inch.
Measure the total rise
Total rise is the vertical distance from the finished surface at the bottom to the finished surface at the top. Finished means what you will walk on: the deck boards, not the joists; the concrete pad, not the dirt it will sit on.
If the ground slopes away from the deck, measure where the bottom of the stair will actually land, not directly under the deck edge. Hold a straight board level off the deck at about the distance the stair will run and measure down from it.
Divide it into risers
Pick a target riser height. Under the IRC, the residential maximum is 7¾ inches, and many people find 7 to 7½ more comfortable. Then:
Risers = total rise ÷ target, rounded up
Actual riser = total rise ÷ risers
Worked example, a 50 inch rise with a 7½ inch target:
- 50 ÷ 7.5 = 6.67, so 7 risers
- 50 ÷ 7 = 7.14 inches each, a hair over 7⅛
Rounding the count up keeps every riser under the target. Rounding it down would give 6 risers of 8.33 inches, over the limit.
One fewer tread than risers
When a stair climbs to a deck or landing, the deck is the top step. A flight with 7 risers has 6 treads. This is the most common layout mistake: cutting a stringer with as many treads as risers puts the top tread level with the deck and makes the last step down a riser too tall.
Choose the tread depth
Tread depth is the horizontal run of each step, measured nosing to nosing. The IRC minimum is 10 inches. A practical depth for a deck stair comes from the boards you will use: two 5/4 × 6 deck boards (5½ inches each) with a small gap between them, less the overhang of the nosing, make a 10½ inch run.
Total run = treads × tread depth
Six treads at 10½ is 63 inches. That is how far from the deck the stair will reach, and the footprint for the landing pad starts there.
Check that the step is comfortable
The long-standing rule of thumb for a comfortable step is:
2 × riser + tread ≈ 24 to 25 inches
For the example, 2 × 7.14 + 10.5 = 24.8. Inside the range. If the result comes out low, the stair is steep and short-stepped; if high, it is shallow and you take half-steps. Adjust the tread depth first, since it is the free variable once the rise is fixed.
The stair calculator runs this check and flags a riser over 7¾ inches, a tread under 10, or a flight that needs a handrail.
Size the stringers
The stringer is the notched board the treads sit on. Its length runs along the diagonal:
Stringer length ≈ √(total rise² + total run²) + allowance
For the example, √(50² + 63²) = 80.4 inches, plus about a foot for the top connection and the cut at the bottom. That fits on an 8 ft 2×12.
Two more checks on the stringer:
- Throat. After the notches are cut, the remaining wood below them, the throat, must stay deep enough to carry the load. With a 2×12 and a 7 inch riser and 10½ inch tread, plenty remains. With a 2×10 on a steep stair, it may not.
- Spacing. Stringers usually go no more than 16 to 18 inches apart for wood deck treads; a 36 inch wide stair takes three. Composite treads often need closer spacing, set by the board manufacturer.
Tread and riser boards
Each tread is the stair width long, and you need one per tread per board width. Six treads of two boards each is 12 pieces, 36 inches long, which cut three to a 10 ft board with room for the saw kerf. Closed risers add one board per riser, ripped or chosen to the riser height. The calculator picks the stock length that wastes least.
Where the rules come from
The numbers above are the common US residential limits from the IRC. Your local code may differ, and handrails, guards and the landing at the bottom have their own requirements:
- A handrail is generally required once a flight has four or more risers.
- A guard is required where the stair or its side drops more than 30 inches.
- Open risers must not pass a 4 inch sphere.
- The bottom of the stair needs a stable landing; a concrete pad is common.
Check with your building department before building a stair that needs a permit, which a deck stair usually does. The calculator does the layout arithmetic; it is not a structural review.