CalcSeed

Deck Stair Calculator

Enter the total rise and your desired step dimensions to calculate risers, treads and stringer length.

=
Quick answer: with the default inputs (42 in, 7 in, 11 in, 3), the stringer length is 69.2. At these inputs: number of risers = 6, riser height = 7. Change any input to update the result.
Stringer length
—

What the outputs mean

Five numbers come back from four inputs. Risers is how many steps the height divides into, riser height is the exact height of each one after that division, treads is one fewer than the risers, total run is how far the stair projects from the deck, and stringer length is the diagonal length of board you need to cut. At the defaults you get 6 risers at 7.00 in., 5 treads, a 55 in. run and a 69.2 in. stringer.

L=rise2+run2L = sqrt{rise^2 + run^2}

Risers count up, treads count one fewer

The riser count is the total rise divided by your target step height, rounded up. Rounding up rather than down is deliberate: if 42 in. divided by 7 gave you 6 risers exactly, fine, but 44 in. divided by 7 gives 6.29, and 6 risers would make each step 7.33 in. tall, over the limit. Rounding to 7 risers brings each step down to 6.29 in. and keeps the stair legal.

Treads are always one less than risers. The top riser lands on the deck surface, so it has no tread of its own, and the bottom riser lands on grade. Six risers therefore produce five treads, which is why a stair that looks like 6 steps only needs 5 boards.

Worked example at the defaults

A deck 42 in. above grade with a 7 in. target: 42 ÷ 7 = 6 risers exactly, so the actual height stays at 7.00 in. Five treads at 11 in. each give a total run of 55 in. The stringer is √(42² + 55²) = √(1,764 + 3,025) = √4,789 = 69.2 in. Buy 2 by 12 stock in 8 ft lengths and you get the stringer plus a tail for the bottom cut.

Run the numbers on a 44 in. deck instead and the rounding shows its value. 44 ÷ 7 = 6.29, so the riser count rounds to 7 and the actual riser becomes 44 ÷ 7 = 6.29 in. Treads are 6, the run is 66 in., and the stringer is √(44² + 66²) = 79.3 in. That is 10 in. longer than the default stair for 2 in. more height, because one extra tread adds 11 in. of run.

Code limits that shape the layout

DimensionIRC limitPractical target
Riser height7.75 in. maximum7.0–7.5 in.
Tread depth10 in. minimum10.5–11.5 in.
Stair width36 in. minimum36–48 in.
Riser variation3/8 in. maximum between steps1/8 in.
Handrail height34–38 in. above nosing36 in.
Headroom6 ft 8 in. minimum7 ft

The 3/8 in. variation rule is the one that catches owner-builders. Every riser in a flight has to be within 3/8 in. of every other, measured at the nosing, and that includes the bottom step onto grade. Cutting the bottom riser 1 in. short to meet uneven ground is a common shortcut and a common inspection failure.

Stringer length and lumber size

A stringer is notched, so the board has to be deeper than the notch. With a 7 in. rise and an 11 in. run, a 2 by 12 leaves roughly 3 1/2 in. of solid wood at the throat, which is the minimum most inspectors accept. Push the tread to 12 in. or the rise to 7.75 in. and the remaining depth falls below that, which forces a 2 by 14, a laminated stringer or a steel channel.

Stringer count is set by width. Three stringers carry a 36 in. stair at 16 in. on center, and each additional 16 in. of width needs another stringer. A 60 in. wide stair needs four. The count does not change the length, but it changes how many boards you buy, so a 40 ft deck stair at 48 in. wide takes four 8 ft 2 by 12s rather than three.

Landings

A landing is required at the top and bottom of every exterior stair, and the code caps the vertical rise between landings at 12 ft 3 in. For a residential deck that limit rarely binds, but the landing size does: it must be at least as wide as the stair and 36 in. deep in the direction of travel. A stair that lands on a slope needs a concrete pad or a framed platform, which adds $150–$400 to the project.

Open risers

Many deck stairs leave the risers open for drainage and appearance. If you do, the gap between treads cannot pass a 4 in. sphere, so a 7 in. riser needs a 3 in. spacer block or a partially closed riser. Fully closed risers cost about $6–$10 per step in 1 by 8 material and eliminate the issue entirely.

What changes the layout

  • Total rise: measure from the deck surface to grade, not from the framing, which adds 1–1.5 in. for decking
  • Target riser height: dropping from 7 in. to 6.5 in. on a 42 in. deck gives 7 risers and adds 11 in. of run
  • Tread depth: 11 in. to 12 in. adds 5 in. of run on a 5-tread stair and costs 1 in. of stringer throat
  • Grade slope: a stair that runs downhill needs a taller bottom post or a landing pad
  • Width: 48 in. instead of 36 in. adds a fourth stringer and about 30 percent to lumber cost

Mistakes that cost a rebuild

The expensive errors are all measurement errors. Measuring rise from the top of the rim joist instead of the finished decking makes every step 1.5 in. too tall at the bottom. Forgetting that the bottom riser is shorter by the thickness of the tread material leaves a first step 1 in. out of tolerance. And cutting all stringers from one pattern without checking the square of the 2 by 12 means the stair twists as you climb it. Cut one stringer, set it in place, and test the rise at the top and bottom before tracing the other two.

Frequently asked questions

How many stringers do deck stairs need?

Three for a stair up to 36 in. wide, spaced 16 in. on center, and one more for each additional 16 in. of width. A 48 in. stair takes four, which is one extra 8 ft 2 by 12.

What is the ideal rise and run?

A 7 in. rise with an 11 in. run is the classic combination and meets IRC limits of 7.75 in. maximum rise and 10 in. minimum tread. It produces a 69.2 in. stringer on a 42 in. deck.

How do I measure total rise?

Vertically from the top of the finished decking to grade or the landing below. Measuring from the rim joist instead of the decking adds 1–1.5 in. to every step and puts the bottom riser out of tolerance.

How long is a stringer for a 42 inch deck?

69.2 in. with a 7 in. rise and 11 in. tread, from √(42² + 55²). Buy 8 ft stock so there is length for the bottom plumb cut.

How many steps is a 42 inch high deck?

Six risers and five treads. The top riser lands on the deck surface and the bottom lands on grade, which is why treads are always one fewer than risers.

What size lumber is used for stringers?

2 by 12 for a 7 in. rise and 11 in. run, which leaves about 3 1/2 in. at the throat. Deeper treads or taller risers drop below that minimum and force a 2 by 14 or a steel stringer.

Do I need a landing on my deck stairs?

Yes at the top and bottom, at least as wide as the stair and 36 in. deep in the direction of travel. The code also caps the rise between landings at 12 ft 3 in.

Can deck stairs have open risers?

Yes, if no gap passes a 4 in. sphere. With a 7 in. riser that means a 3 in. spacer or a partial riser board, since a fully open 7 in. gap fails.

Why do my risers need to match within 3/8 inch?

The IRC limits variation between the tallest and shortest riser to 3/8 in., measured at the nosing. Uneven steps are the most common cause of stair falls, and inspectors measure every step.

Method and sources

Calculation basis

Cost ranges reflect 2026 U.S. national averages for materials and labor; regional pricing varies, so use results as a planning baseline and confirm with local quotes.

Last updated: November 17, 2026
Formula & data sources
  • Stair stringer length from Pythagorean theorem; IRC riser and tread limits.

Cite this page

Reference formats
APA 7CalcSeed. (2026, November 17). Deck Stair Calculator. https://calcseed.com/c/home/deck-stair-calculator/
MLA 9"Deck Stair Calculator." CalcSeed, 17 Nov. 2026, calcseed.com/c/home/deck-stair-calculator/.
ChicagoCalcSeed. "Deck Stair Calculator." Last modified November 17, 2026. https://calcseed.com/c/home/deck-stair-calculator/

Related calculators

People also calculate