Deck stair calculator

Solves stairs on sloped ground: where they land, the real rise there, the pad and the stringers.

Measurements

Units

Deck surface down to the ground, right at the deck edge.

Ground in front of the deck

Run a level string out from the deck surface. At each distance from the deck edge, measure down to the ground.

Top step
Risers
Stringers
Landing pad
Stringer board · Building code
5risers
7 9/16"each rise
4 × 11"treads
3' 8"lands out
3' 1 13/16"real total rise
34.5°angle
3' 0"3' 1 13/16"3' 8"3' 0"pad7 9/16"11"

The stairs land 3' 8" out, where the ground is 1 13/16" lower than at the deck. The real total rise is 3' 1 13/16", not 3' 0".

Code check

Passes IRC 2024

Riser height 7 9/16" · max 7 3/4" R318.7.5.1 Passes
Tread depth 11" · min 10" R318.7.5.2 Passes
Rise of one flight 3' 1 13/16" · max 12' 7" R318.7.3 Passes
Stair width 3' 0" · min 3' 0" R318.7.1 Passes
HandrailFit a handrail 34" to 38" above the nosings. 34" – 38" R318.7.8 Required
GuardsFit guards on open sides, at least 34" above the nosings. 3' 1 13/16" > 30" Required
Stringer span 3' 8" · max 6' 0" DCA 6 Passes

Cut list

PartQtySize
Stringer, 2x1244' 8 13/16" · 8 ft board
Tread boards, cut83' 0"
Tread boards, buy212 ft board
Riser board57 9/16" × 3' 0"
Stringer hangers4
Concrete pad, 3' 0" × 3' 8"14" to 5 11/16" thick
Concrete, 80 lb bags84.4 ft³ · 0.13 m³
Handrail, approx.24' 5 3/8"
Guard posts, 4x44
Cut off stringer bottom1 1/2"
Framing square, rise / run7 9/16" / 11"
Throat, wood left under notches5"

Step-by-step layout

StepTop of tread above floorFrom first riserMark on stringer edge
17 9/16"0"3 7/16"
21' 3 1/8"11"1' 4 13/16"
31' 10 11/16"1' 10"2' 6 1/8"
42' 6 1/4"2' 9"3' 7 1/2"
Deck surface3' 1 13/16"3' 8"4' 8 13/16"

Saved designs

Nothing saved yet. Designs stay on this device.

How this is calculated

  1. The stairs land further out than the deck edge, and on sloped ground the ground there is lower (or higher). Every riser count is tried; each one lands at a different spot with a different rise. The one closest to your target riser, within the code maximum, wins.
  2. Ground between your measurements is a straight line; past the last one, the same slope continues. Measure at least once beyond where the stairs will land.
  3. The pad is level. It is your pad thickness where the stairs land and gets thicker wherever the ground falls away, along and across the stair. Concrete is sized from the average thickness, at 0.6 ft³ per 80 lb bag.

Common questions

How do I calculate deck stairs on sloped ground?

Measure the deck height at the edge, then the drop in the ground at two or three distances out from the deck. Each step you add reaches further out, where the ground is lower, so the total rise grows as the stair gets longer. The deck stair calculator repeats the layout until the stair and the ground agree, then gives the real rise, the number of steps and where the stair lands.

How many stringers do I need for deck stairs?

It depends on how far your treads can span. Wood treads are commonly run on stringers 16 inches apart and composite on 12 inches, unless the decking maker says otherwise. A 36-inch-wide stair needs three stringers if the treads can span 18 inches, and four at 16 inches or less, which covers most composite.

Do deck stairs need a landing pad at the bottom?

Yes. The code calls for a landing at the bottom of every stair, at least as wide as the stair and 36 inches deep in the direction of travel. On a deck that is usually a concrete pad or compacted gravel with pavers, set so the stringers bear on a solid, level surface.

How far can a deck stair stringer span?

Deck building guides based on the American Wood Council DCA 6 limit cut 2x12 stringers to about 6 feet of horizontal span without support, and solid (uncut) stringers to about 13 feet 3 inches for most species. Longer stairs need a post and beam under the middle or an intermediate landing.

Do deck stairs need a handrail?

A handrail is required once a stair has four or more risers, set 34 to 38 inches above the nosings. If the side of the stair is more than 30 inches above the ground, it also needs a guard with openings that stop a 4 3/8-inch sphere.

Should the top step of deck stairs be level with the deck?

Usually not. Most deck stairs are framed one riser below the deck surface, so the deck boards act as the top step. Framing the top tread flush with the deck adds a tread and moves the bottom of the stair further out.