Deck Stair Calculator

Calculate the number of steps and stair stringers.

Last updated 2026-08-21

What Is a Deck Stair Calculator?

A deck stair calculator works out the number of risers, treads, and stringers you need for a set of deck stairs. It uses the deck height, stair width, and your riser and tread dimensions to keep every step within a comfortable and code friendly range. Use it so each step is the same height and the stairs meet typical residential requirements.

How It Works

Risers = ceil((Height × 12) ÷ Riser height). Treads = Risers − 1. Stringers = ceil((Width × 12) ÷ 24) + 1.

Example

A 3 ft deck with 7 in risers: 6 risers, 5 treads, and 3 stringers for a 3 ft wide stair.

How to Calculate

  1. Measure the deck height, for example a 3 ft rise from the ground to the deck surface.
  2. Choose a riser height at or under the code limit, commonly 7 in. The tool computes risers as the height in inches divided by the riser height, so 36 ÷ 7 rounds up to 6 risers.
  3. Expect one less tread than risers, so 6 risers give 5 treads, because the deck landing serves as the top step.
  4. Count stringers across the stair width. Spacing them no more than 24 in on center, a 3 ft wide stair takes 3 stringers. Verify riser and tread dimensions meet local code.

Common stair proportions

Riser heightTread depthComfort
7 in11 inVery comfortable
7.5 in10.5 inComfortable
7.75 in10 inCode maximum riser
8 in9 inSteep, less comfortable

Sources

Frequently Asked Questions

What riser height is legal?

Most codes cap risers at 7.75 in and treads between 10–11 in deep.

Why is there one less tread?

The top landing serves as the first tread, so you need risers − 1 actual treads.

How are stringers spaced?

Stringers are typically spaced no more than 24 in on center — 3 for a 36 in stair.

Mason ReidFounder and Lead Estimator at MeasureThen

Mason Reid founded MeasureThen after two decades of hands-on work in construction and estimating. Across residential and light commercial projects, he sized concrete pours, framed walls, hung drywall, and priced out roofing, fencing, and deck work — learning the exact math that every job depends on. At MeasureThen he writes the formulas, checks every calculator against real-world assumptions, and makes sure each one is simple enough for a homeowner to trust and a contractor to use. When he is not measuring twice, he is helping projects stay on budget.

Every MeasureThen calculator uses simple, transparent formulas and standard industry assumptions drawn from common construction practice. We show the math behind each result and include worked examples so you can follow along and double-check the numbers. Results are estimates: materials, labor, and pricing vary by region and market, so always confirm important figures with a licensed professional and your local building codes.