Deck & outdoor tools

Deck stair calculator

A deck stair calculator turns the height of your deck above grade into a buildable set of steps: how many risers, how tall each one is, how deep the treads are, and how long to cut the stringers.

Deck stairs behave a little differently than interior stairs. The total rise usually runs from the top of the decking down to finished grade or a concrete landing pad, and most decks use open risers with the deck surface itself acting as the top step.

Enter your deck height below and this calculator does the rounding and division for you, then shows the stringer length and angle so you can order lumber or composite boards with confidence.

Deck stair calculator

Top of decking to the landing pad or grade where the stair lands.

The riser height you would like; the calculator rounds to a whole number of equal risers.

Nosing to nosing. Nosing overhang is not included.

Clear width between finished walls or stringers.

6 risers of 7″, 5 treads of 11″, total run 55″, angle 32.5°, stringer 69 3/16″.

Risers

6

Riser height

7″

Treads

5

Tread depth

11″

Total run

4′ 7″

Stair angle

32.5°

Stringer length

5′ 9 3/16″

2R + T

25″

comfort ≈ 24–25 in

Run + nosing

4′ 8″

Stair side-elevation diagramSide elevation of a stair with 6 risers of 7″ and 5 treads of 11″, total rise 42″, total run 55″, angle 32.5°.UP42″55″7″11″32.5°Stringer 69 3/16″
Side elevation of the calculated flight (auto-scaled).
Stringer layout diagramCut stringer layout with 6 notches, rise per step 7″, run per step 11″, overall layout length 69 3/16″.Top plumb cut 7″Bottom riser cut 6″ (dropped 1″)123457″11″Throat 5 3/8″Notch depth 5 7/8″Layout 69 3/16″
  1. Set the framing square to 7″ on the tongue (rise) and 11″ on the blade (run), and clamp stair gauges at those marks.
  2. Starting near one end of the board, walk the square up the stock, tracing each riser and tread line to lay out all 6 notches.
  3. Cut the top of the stringer with a plumb cut of 7″ so it lands flush against the header/upper floor framing.
  4. Drop the bottom of the stringer by the tread thickness (1″) so the first riser finishes at 6″ once the bottom tread is installed.
  5. Cut the bottom level cut so the stringer sits flat on the floor, then cut out each notch, leaving at least 5 3/8″ of solid throat material behind the notch.
  6. Use this stringer as a pattern to mark 69 3/16″-long (2x12) stock for the remaining stringers, checking each one against the pattern before cutting.
Cut layout for one stringer. Confirm on the board before cutting.

Need presets, code profiles, printing or sharing? Continue with these values.

Open in the full stair calculator

Measuring your deck's total rise

Total rise for a deck stair is the vertical distance from the top of the decking boards down to the surface the stair lands on. If the stair ends on bare grade, measure straight down with a story pole or a level and a tape, not along the slope.

If the stair lands on a concrete pad, patio, or paver landing, measure to the top of that surface instead of to raw dirt. That landing surface is your true bottom reference point, and it needs to be reasonably level and set below any expected frost heave in your area, which a local contractor or inspector can confirm.

Grade is rarely perfectly flat under a deck. Measure at the actual location the stair will sit, not at the nearest corner post, since a few inches of slope changes the riser count.

Open risers and the flush top step

Most residential deck stairs use open risers, meaning there's no solid board closing off the back of each step. That's why the calculator's open riser toggle matters: with open risers, IRC-style reference values commonly limit the opening to a maximum of 4 in so a sphere that size can't pass through.

The deck surface itself is almost always the top tread, so the flush-top rule applies: number of treads equals number of risers minus one. If you calculate 6 risers, you'll cut 6 stringers steps but only build 5 physical treads below deck level, because the deck itself is the sixth 'step'.

  • Open risers: check the gap against your local code's sphere-passage rule
  • Flush top: deck surface = top tread, so treads = risers − 1
  • Closed risers (solid boards) are sometimes required near grade in windy or exposed sites

Sizing the landing pad at the bottom

The horizontal run of the stringers has to land on something solid. A poured concrete pad, a paver patio, or compacted gravel with a paver base are all common choices; the calculator's total run tells you how far out from the deck the bottom of the stringers will sit.

Add a few extra inches of landing surface beyond the last tread's edge so anyone stepping off the stair lands on solid, level ground rather than the very edge of the pad. Many builders pour the landing pad at least as wide as the stair and 36 in deep.

Wood, PT, and composite tread differences

Pressure-treated 2x lumber, cedar, and composite decking (like Trex) all work as deck stair treads, but they aren't the same thickness or span the same distance without support, which changes how you frame the stringers.

Composite boards typically need tighter stringer spacing than solid wood, often 12 in on center instead of 16 in, because composite is more flexible and can deflect under foot traffic on an unsupported step.

Common deck tread materials
MaterialTypical thicknessStringer spacing
Pressure-treated 2x lumber1.5 in16 in on center
5/4 PT decking1 in12–16 in on center
Composite decking1–1.375 in12 in on center
Cedar/redwood 5/41 in12–16 in on center

Attaching stringers to the deck framing

The top of each stringer needs a solid connection to the deck's rim joist, usually with a stair stringer hanger or a ledger/cleat and structural screws, not just angled nails. The bottom of the stringer bears on the landing pad or a pressure-treated sill plate anchored to it.

Use at least three stringers on stairs wider than about 36 in, and check spacing against your local span table, since stringer spacing depends on both the tread material and the stringer's own width and thickness.

Frost, code, and inspection notes

In colder climates, footings or landing pads that support a deck stair are sometimes required to sit below the local frost depth, similar to deck post footings; check with your building department since frost depth varies widely by region.

IRC-style residential reference values commonly cited for deck stairs are a maximum 7.75 in riser, minimum 10 in tread, no more than 0.375 in variation between the largest and smallest riser or tread in a flight, and a minimum 36 in width. These are commonly cited reference numbers, not a guarantee of compliance; your local authority having jurisdiction makes the final call, and permit requirements for deck stairs vary by municipality.

Always confirm riser, tread, width, and landing requirements with your local building department before pouring footings or cutting stringers; deck stair rules vary by jurisdiction.

When you need a different calculator

If you're cutting the stringer boards themselves and want the layout marks for a framing square, the deck stair stringer calculator on this site walks through the drop cut and rim joist attachment in more detail.

Building on a sloped yard instead of a flat pad? The outdoor stair calculator is tuned for shallower, more comfortable landscape-stair proportions rather than the steeper ratios typical of framed deck stairs.

Worked math

Worked example: 42 in deck height

Given

  • Deck height (total rise): 42 in
  • Target riser height: 7.25 in
  • Tread depth: 11 in
  • Open risers, flush top

Steps

  1. 42 ÷ 7.25 ≈ 5.79, which rounds to 6 risers
  2. Actual riser height: 42 ÷ 6 = 7.0 in exactly
  3. Flush top means treads = risers − 1 = 5 treads
  4. Total run: 5 × 11 = 55 in
  5. Stringer length: √(42² + 55²) = √(1,764 + 3,025) ≈ 69.2 in
  6. Stair angle: arctan(7.0 ÷ 11) ≈ 32.5 degrees

Cut stringers for 6 risers at 7.0 in, 5 treads at 11 in, with a stringer length of about 69.2 in.

Questions

Deck stair calculator FAQ

How do I calculate stairs for a deck?

Measure the deck height from the top of the decking down to finished grade or a landing pad, then treat that as the total rise. Divide by a target riser height (commonly 7 to 7.75 in), round to the nearest whole number of risers, and recalculate the exact riser height so every step matches.

Does the deck itself count as a step?

Yes. With a flush top, the deck surface is the top tread, so you build one fewer physical tread than the number of risers. Six risers means five treads below deck level plus the deck itself as the sixth step.

How wide should deck stair openings be for open risers?

IRC-style residential reference values commonly limit open riser gaps to a maximum of 4 in, so a 4 in sphere cannot pass through. Some jurisdictions apply different limits for guards versus stair risers, so check locally.

What riser height is best for deck stairs?

Most builders target 6.5 to 7.75 in, with IRC-style reference values commonly citing 7.75 in as a maximum residential riser height. Outdoor stairs often feel more comfortable a bit shorter than that maximum, especially on a slope.

Do deck stairs need a concrete landing pad?

Many jurisdictions require a stable, reasonably level landing surface at the bottom of exterior stairs, often a concrete pad, pavers on a compacted base, or equivalent. Requirements and frost-depth rules vary, so confirm with your local building department.

Can I use composite decking for stair treads?

Yes, most composite decking brands are rated for stair treads, but they typically need tighter stringer spacing, often 12 in on center, than solid wood decking. Check the manufacturer's span and spacing tables for stairs specifically.

How many stringers do deck stairs need?

A single stair typically needs at least two stringers, but most builders add a third (center) stringer once the stair is wider than about 36 in, or sooner for composite treads that need extra support.

What's the difference between a deck stair calculator and a regular stair calculator?

The math is the same, but a deck stair calculator is set up around measuring from the decking surface to grade, defaults to open risers and a flush top, and points you toward exterior-specific concerns like landing pads and stringer-to-rim-joist attachment.

Keep going

Important

Disclaimer

StairCalculator.app provides calculations and educational information. Building codes and construction requirements vary by location. Verify final dimensions and requirements with the applicable local building authority or qualified professional.

Calculations are only as accurate as the measurements and inputs you provide; small errors in measuring total rise or floor thickness can shift the results, so double-check field measurements before cutting materials, and treat every reference value and worked example on this site as illustrative rather than a guarantee of code compliance.