PorchCalc / Decks / Deck stair & stringer calculator

Deck stair & stringer calculator

Turn a total rise into a straight-run layout: how many risers, the unit rise and run, the total run, and the stringer length. Model-code rise and run figures are shown as a check, not as a permit.

Rise and run

Units
Deck surface down to finished grade or the landing.
Default 7.75 in is the 2021 IRC / CRC maximum where adopted.

Layout

12 risers

7.50 in each, 11 treads.

Unit rise × unit run
7.50 × 10 in
Total run
110 in
Stringer length
142.1 in
Tread boards to buy
13

This is layout geometry, not a code approval or a stringer-size design. Pair with footings or rail spacing.

How to use this calculator

Measure the total rise from the finished deck surface to the finished grade or landing. Set a maximum riser — 7¾ inches is the 2021 IRC figure where that code is adopted — and a tread depth. We choose the smallest number of equal risers that stays within your maximum, then compute unit rise, total run, and stringer length. Confirm every dimension against local code before you cut.

Worked example

Total rise 90 inches (7 ft 6 in), maximum riser 7¾ in, treads 10 in, 10% extra on tread boards.

  1. 90 ÷ 7.75 = 11.61, so use 12 risers.
  2. Unit rise = 90 ÷ 12 = 7.50 in (under the 7.75 in model-code cap).
  3. Treads = 12 − 1 = 11. Total run = 11 × 10 = 110 in.
  4. Stringer length = √(90² + 110²) = 142.1 in (about 11 ft 10 in), plus stock for cuts. Tread boards with 10% extra: 13.

Formula and assumptions

risers = ceil(total rise ÷ maximum riser)
unit rise = total rise ÷ risers
treads = risers − 1 (last riser lands on grade)
total run = treads × tread depth
stringer length = √(total rise² + total run²)

Assumptions, dated November 22, 2026:

  • All risers are equal, so the ⅜ in variation rule in R311.7.5 is met by construction of the math — field cutting can still miss it.
  • The 7¾ in max riser, 10 in min tread, ⅜ in variation, and 36 in width figures are from 2021 IRC R311.7 as quoted in a public 2022 CRC stair handout (Placer County, California). They apply only where that model code (or CRC) is adopted without a local change.
  • We do not calculate headroom, nosing, handrails, winder stairs, or stringer size.
  • Waste percent applies only to the tread-board count, which assumes one board per tread.

FAQ

How many steps do I need for a 7 foot 6 inch deck?

A 90 inch total rise, using a 7¾ inch maximum riser, takes 12 risers of 7.5 inches each and 11 treads (the last riser lands on the ground or a pad). With 10 inch treads the total run is 110 inches and the stringer is about 142 inches long. That assumes a straight stair that ends at grade.

What are the usual residential rise and run limits?

Where the 2021 International Residential Code is adopted without a change, R311.7.5.1 caps riser height at 7¾ inches and R311.7.5.2 requires treads at least 10 inches deep, with no more than ⅜ inch variation in a flight. The same numbers appear in the 2022 California Residential Code as quoted in Placer County’s stair handout. Your city may amend those figures. This calculator can flag a layout that misses those model-code numbers; it cannot approve a stair.

Do I count the ground as a tread?

In this layout, the number of treads is one less than the number of risers, because the last step down lands on grade or a landing pad that is not a built tread. If your stair ends on a built landing tread, add that board yourself.

How is stringer length calculated?

It is the straight-line distance from the top nosing plane to the bottom: the hypotenuse of total rise and total run, √(rise² + run²). You will still need to cut the birdsmouth and allow for the stringer stock to be longer than that line. We do not size the lumber or check headroom.

What about nosing and stair width?

2021 IRC R311.7.5.3 generally wants a nosing of ¾ to 1¼ inches unless treads are 11 inches or deeper. R311.7.1 calls for 36 inches of clear width above the handrails. We can warn if the width you typed is under 36 inches, but we do not design handrails or nosings.

Is this a structural calculation?

No. We do not select stringer thickness, hanger hardware, or footing size under a landing. Use the layout, then check local code and the stair or deck manufacturer.

Sources we checked

  1. Placer County, California, Residential Stairs handout quoting 2022 CRC / IRC R311.7, including R311.7.5.1 (maximum riser 7¾ in), R311.7.5.2 (minimum tread 10 in), ⅜ in uniformity, R311.7.1 (36 in width), and R311.7.5.3 (nosing). Checked November 18, 2026.
  2. The same 7¾ / 10 in figures are the 2021 IRC R311.7.5 model-code numbers; always verify the edition and amendments your building department enforces. Checked November 18, 2026.

What you'll need

Optional materials and supplies for this job. Each link opens an Amazon search. We do not list prices or ratings here — check the product page before you buy.

As an Amazon Associate I earn from qualifying purchases.

12 risers7.50 in rise