Skip to the calculator
DeckCalculators.com

Deck Stairs Calculator

Give this calculator your total rise and it returns a stringer you can mark out — riser height to the sixteenth, tread depth, total run, and the cut at the bottom that almost every stair calculator leaves out. Get that one wrong and your first step is taller than all the others by the thickness of a tread.

Your stairs

Results update as you type

Total rise

Deck surface straight down to the ground, not along the slope. Everything else follows from this one measurement.

ft
in

A pad poured on grade finishes higher than the dirt you measured to, and every inch of it comes off the total rise.

Steps

Leave this on the calculator's own answer, or set it yourself and watch the riser height move. It will not go below the fewest steps that stay under the maximum riser.

Treads

Sets the tread depth and, with it, the drop — the stringer comes down by the thickness of whatever you pick.

Width, stringers and risers

An assumption, not a determination. What your treads will span is published by whoever milled them.

The flight in section A side view of the stairs: the treads, the stringer under them, the total rise and run, and the drop cut off the bottom of the stringer.
  • Treads: 3 at 6" apart
  • Stringer: the same shape, 1 ½" drop
4 risers of 6" over 2' 6 ⅜" of run, at 30.7° from horizontal. The bar at the foot of the stringer is the 1 ½" drop.
Your flight 4 steps Every riser 6" Aimed at 7", then moved to the nearest whole number of steps that stays under the maximum. Change the step count and watch the height move. 6" lands on a mark you can actually find on a tape, which is luck rather than design.
Cut off the bottom of the stringer 1 ½" Cut the bottom of every stringer down by this before you set it on the landing. The notches are laid out to rise 6" each, but a tread sits on top of every horizontal cut — so a stringer set straight on the pad makes the first step 1 ½" too tall and the last one 1 ½" too short. That is 3" of variation across the flight against a ⅜" limit.
  • Total rise 2'
    Deck surface to the finished landing.
  • Total run 2' 6 ⅜"
    3 treads at 10 ⅛" nosing to nosing. This is the ground the stairs need in front of the deck.
  • Tread depth 10 ⅛"
    Two 2 x 6 makes 11 ⅛" of board; 1" of that overhangs as nosing.
  • Stringer length 3' 2 11/16"
    Cut from 2 x 12. Buy 8 ft — the diagonal is the bare minimum and the plumb cuts need somewhere to land.
  • Rake angle 30.7°
    The rake of the line through the nosings, from horizontal. It is the angle the flight climbs at and the line a guard on the open side is set against — not the angle of any cut, which comes off a framing square.
Marking out Framing square: 6" on the tongue, 10 ⅛" on the blade, stepped 3 times down the board.
  • Stringers 4
    4 stringers at 12" on centre — the fewest that divides 36" of stair into bays no wider than the spacing below. Assumes stringers no more than 16 in apart, which is the conservative end of common practice; DCA 6 caps cut stringers at 18 in on centre. What your treads will actually span is set by the board, not by us — 2x stock carries further than 5/4, and composite treads carry the least. Notching leaves 6 1/16" of 2 x 12 behind the cuts, clear of the 5" minimum on DCA 6 Figure 28. DCA 6 is prescriptive guidance rather than the code itself; your jurisdiction may amend it.
  • Boards to buy 6 tread boards · 4 riser boards · 4 stringers
    6 × 2 x 6 at 36" long, 2 to a tread across 3 treads. Riser boards ripped to 6", except the bottom one at 4 ½" — the drop again. Lumber only, and nothing here covers the hardware holding the stringers to the deck or the footing under their feet.
Against the limits
  • Inside the limit: Maximum riser height 7 ¾" maximum Every riser is 6". The calculator picks the riser count that keeps it under the limit, so this cannot come out over. IRC R311.7 — Stairways
  • Inside the limit: Minimum tread depth 10" minimum Two 2 x 6 gives 11 ⅛" of board, less 1" of nosing, for 10 ⅛" nosing to nosing. IRC R311.7 — Stairways
  • Inside the limit: Nosing projection ¾" to 1 ¼" where required 11 ⅛" of tread, so a nosing is optional. Yours is 1". IRC R311.7 — Stairways
  • Inside the limit: Maximum riser variation within a flight ⅜" between the tallest and shortest riser in the flight Dividing gives every riser the same height, so the variation is zero — and 6" is a mark you can find on a tape, so nothing is lost setting it out either. IRC R311.7 — Stairways
  • Inside the limit: Minimum stair width 36" minimum 36" clear. IRC R311.7 — Stairways
  • Inside the limit: Maximum vertical rise in one flight 12' 7" between landings 2' in one flight. IRC R311.7 — Stairways
  • Worth knowing: Handrail Required at 4 risers or more 4 risers, so a handrail is required. A stairway with four or more risers needs a handrail on at least one side, graspable for the full length of the flight. IRC R311.7 — Stairways
  • Worth knowing: Guard Triggered above 30" to the ground below 2' to the deck surface, under the height that triggers a guard. Check it against the ground beside the whole deck, not just at the stairs. IRC R312 — Guards

Cut the bottom of the stringer down by one tread thickness. A 24" (610 mm) rise with two 2 x 6 treads gives 4 risers of 6" each, and the sawtooth is marked out to rise 6" at every notch. But a tread sits on top of each horizontal cut. Set that stringer straight on the pad and the first step becomes 7 ½" while the last becomes 4 ½" — 3" of variation on a flight that divided perfectly on paper, against a ⅜" limit under IRC R311.7.5.1.

Every limit on this page is from the 2021 IRC. It is a model code, your jurisdiction adopts an edition of it and amends it, and the building department governs. Change any input above and the panel updates.

The stringer cut every stair calculator leaves out

A cut stringer is a sawtooth. Every notch rises by the riser height and runs by the tread depth, and marked out with a framing square every notch is identical and correct.

Then the treads go on. A tread sits on top of the horizontal cut, so each step rises by the notch — except the first, which rises by the notch plus a tread, and the last, which rises by the notch minus one. The middle of the flight is fine: each tread adds at the bottom of a step and subtracts at the top of the one below, and it cancels. The two ends have nothing to cancel against.

The fix is one cut. Take the bottom of the stringer down by exactly one tread thickness before it goes on the landing, and the first step rises by the notch like every other one while the top step meets the deck where it should.

The diagram above draws it. Two sawtooths on one scale — the tread surfaces, and the stringer under them, the same shape dropped by one tread. The gap at the foot of the flight is the drop.

Change the tread build-up and the drop changes with it, because the drop is the tread thickness. A 5/4 tread drops 1" where a 2× one drops 1 ½", and the panel recalculates when you switch.

Every riser has to be the same, and "the same" is measured

The limit is ⅜" between the tallest riser and the shortest one in the whole flight, not ⅜" of drift per step (IRC R311.7.5.1). Fourteen steps do not get fourteen allowances. They get one, shared.

The same ⅜" applies twice more — to tread depths (R311.7.5.2) and to nosing projections (R311.7.5.3) — and each is measured on its own, so a flight passes on risers and fails on treads. Where it goes wrong is almost always the bottom step, because the landing is rarely exactly where the plan said it would be and because the stringer has to come down by a tread thickness before it stands up.

Dividing gives every riser the same height. Marking out does not. A tape shows sixteenths, and most rises do not divide into them. A 7' 1" rise over 12 risers is exactly 7.0833 in each. Mark that at the nearest sixteenth — 7 1/16" — stack it 12 times down the board, and the flight finishes ¼" away from the deck. That is inside the limit here. It does not stay inside it on a taller flight.

The calculator reports all three numbers: the exact riser height, the sixteenth to mark, and how far marking at that sixteenth lands from the deck surface. It flags the check when the drift exceeds the limit, which is better than finding out with a level.

Mark from a story pole rather than stacking the same measurement down the board. One stick, marked once from the bottom, carries the exact height into every step instead of accumulating a sixteenth at each one.

Measure to the finished grade, not to the dirt

Total rise is measured from the deck surface down to the surface you will stand on when the stairs are finished. If the landing pad has not been poured, that surface does not exist yet, and the number you take today is wrong before any arithmetic starts.

A slab poured on grade finishes proud of the ground by its own thickness, and every inch of that comes off the total rise. Measure 2' to bare dirt with 4" of pad still to come and you are building to 1' 8" — 3 risers of 6 11/16" rather than 4 of 6". A pad excavated flush with the ground changes nothing, and a pad on a gravel base raises the landing further still.

The calculator asks which you have and subtracts the pad when the concrete is still to come. It starts at 4", which is our own figure for a slab poured on grade rather than anything published — measure to where the concrete will finish and correct it.

How many steps, and why not the fewest

Riser count is a choice, and dividing the rise by the maximum riser makes the wrong one. A 4' 6" (1372 mm) rise comes down in 7 risers of 7 11/16" — legal, under the 7 ¾" ceiling, and the steepest flight the code will let you build. The same rise in 8 risers is 6 ¾" a step.

This calculator aims at 7" first — our own typical for where residential flights land when nobody is fighting for space, not a code figure — and moves off it only to stay under the maximum. The count it returns is the whole number nearest that target.

Override it and watch the riser height move. Adding a step lowers every riser and lengthens the total run; taking one away does the reverse. The calculator will not go below the fewest risers that keep the flight under the maximum, and it says so when it clamps rather than quietly returning a different flight from the one you asked for.

Reading a stringer layout: rise on the tongue, run on the blade

A stringer is laid out with a framing square: the riser height on the tongue, the tread depth on the blade, stepped down the board once per tread. The calculator gives both settings and the number of steps, so the square is transferring numbers rather than deriving them.

What the square gives you and the calculator cannot is the line. Stair gauges clamped to the square keep every notch identical, and the plumb cuts at the top and bottom come off the same setting. A story pole beats stacking the same measurement fourteen times down a board.

The throat is what is left of the board behind the notches, measured square to the stair line, and it decides whether a stringer is a stringer or a row of triangles. This flight leaves 6 1/16" of 2 x 12 behind its cuts. The same notches in 2 x 10 would leave 4 1/16", which is why stringers are cut from 2 x 12 — and why AWC DCA 6 requires nothing smaller. The 5" minimum this calculator checks against is dimensioned on DCA 6's stringer figure (Figure 28), which also caps a cut stringer's horizontal span at 6' before it needs a post or a landing under it. This calculator does not check that span yet; the drawing is free from the American Wood Council, and your jurisdiction may amend it.

Stringer spacing is a control here, not an answer. The calculator offers 12, 16, 18 in on centre and starts at 16 in, the conservative end of common practice. What your treads carry between supports is published by whoever milled them, and it is their figure rather than ours.

When you need a landing, and what it does to the run

A single flight is capped at 12' 7" of vertical rise between floor levels or landings (IRC R311.7.3). Past that the flight has to be broken, and what breaks it is a landing. AWC DCA 6, the prescriptive deck guide most permit offices work from, is stricter: it requires an intermediate landing once the total rise passes twelve feet even. The check above uses the code figure; a deck stair built to DCA 6 is held to the shorter one.

A landing is a small deck rather than a big step. It has footings, it has framing, it has its own connection to whatever it meets, and it goes on the permit drawing like the rest of the structure. The run below it starts again from its surface, so a landing does not shorten the ground the stairs need — it moves some of that ground sideways.

Total run is the figure that surprises people. 5' 10 ⅞" (1800 mm) of clear ground in front of a 4' 6" deck, for 7 treads at 10 ⅛" nosing to nosing. That is a patio's worth of yard, and running out of it is what turns a straight flight into an L. Measure the ground before you settle the riser count, because the two decide each other.

Tread depth is where that run comes from, and it has a floor of 10" nosing to nosing (R311.7.5.2). A tread shallower than 11" has to overhang, which is how a shallow tread buys its foot room back (R311.7.5.3).

Handrails and guards are two requirements, not one

A handrail is required at 4 or more risers (IRC R311.7.8), on at least one side, and it has to be graspable for the full length of the flight. Height is 34" to 38" measured from the sloped plane through the tread nosings (R311.7.8.1). Four risers is a short flight off a low deck, which is why the default flight here already crosses the trigger.

A guard is triggered by height rather than by step count: more than 30" above the floor or grade below, measured anywhere within 36 inches horizontally of the open side (IRC R312.1.1). Measure to the ground, not to the next level down, and check it along the whole deck rather than only at the stairs — a deck that sits low at the steps and high at the far corner still needs a guard at the far corner.

The two guard heights are measured from different places, and that is where stair guards go wrong. At deck level it is 36" from the walking surface. On the open side of the stairs it is 34" from a line through the tread nosings (R312.1.2) — a different datum, and the same number as the minimum handrail height without being the same rule.

Open risers carry their own opening limit. Leave the risers off and the gap between treads must not pass a 4" sphere, except where the total rise of the stair is 30" or less (R311.7.5.1). That is separate from the guard, and it is the one people miss on a low flight they left open on purpose.

What this calculator will not tell you

It gives you a shape. Four things decide whether that shape stands up, and it answers none of them:

  • The footing under the foot of the stringer. Soil bearing and frost depth set it, and both are local.
  • The connection at the top. How the stringers hang off the deck, and whether the band they hang from carries them. That is hardware and framing, not geometry.
  • Anything turned. Winders and L-shaped flights change the calculation rather than extending it.
  • Your jurisdiction. The limits here are the 2021 model code. Editions and amendments are adopted locally, and the building department has the version you will be inspected against.

Minimum stair width is 36" clear above the handrail height (R311.7.1) and the calculator checks it, but handrails projecting into that width change what is left of it. Confirm the reduction with your building department rather than with this page. The methodology page lists every limit above with its section and the document it was read from.

Common questions

How many steps does a 24" deck need?

4 risers of 6". Divide the total rise by a comfortable riser height — around 7", which is our own typical rather than a code figure — then take the nearest whole number and check it against the 7 ¾" maximum in IRC R311.7.5.1. The count is a choice; the ceiling is not. Measure from the deck surface to the finished landing, not to the dirt.

What step height should deck stairs have?

No taller than 7 ¾" (IRC R311.7.5.1), and every riser within ⅜" of every other one in the flight. Most residential flights land near 7", which is our typical rather than anything the code sets. Total rise divided by riser count gives the exact height, and the calculator returns both that and the nearest sixteenth to mark out.

How much room do deck stairs need in front of the deck?

5' 10 ⅞" (1800 mm) for a 4' 6" deck. Total run is the tread count multiplied by the tread depth, and it grows faster than people expect — one step fewer takes 10 ⅛" off it. Measure the ground you have before settling the riser count, because running out of room is what turns a straight flight into a turn.

Why do you cut the bottom of a stair stringer down?

Because a tread sits on top of every horizontal cut. Take the bottom down by exactly one tread thickness — 1 ½" for two 2 x 6 — before the stringer goes on the landing. Skip it and the first step rises 7 ½" while the last rises 4 ½": 3" of variation against a ⅜" limit.

Can I use 2x10 for stair stringers?

Not under AWC DCA 6, which requires every stringer to be a minimum 2x12 — and the reason is the throat, the timber left behind the notches. This flight leaves 6 1/16" of 2 x 12 behind its cuts; the same notches in 2 x 10 leave 4 1/16". The 5" minimum we check against is dimensioned on DCA 6 Figure 28. This page does no strength calculation, and your jurisdiction may amend DCA 6.

Do deck steps need a handrail?

Yes, at 4 or more risers (IRC R311.7.8), which a 24" deck already crosses. It goes on at least one side, 34" to 38" above the line through the tread nosings (R311.7.8.1), and it has to be graspable for the whole flight. A guard is a separate requirement with a separate trigger.

How far apart should stair stringers be?

No further apart than the tread material carries, which this page does not determine. The calculator offers 12, 16, 18 in on centre and starts at 16 in, the conservative end of common practice. 4 stringers at 12" on centre is what a 36" stair divides into under that. The span rating published for your tread board sets the real limit.

Do I measure to the ground or to the finished concrete?

To the finished concrete. A pad poured on grade finishes proud of the dirt you measured to, and every inch of it comes off the total rise. Measuring 2' to bare ground with 4" of pad still to pour means building to 1' 8" — 3 risers of 6 11/16", not 4.