Skip to content
Lumber Calculator

Framing

Stair Stringer Calculator

Enter the total rise and your tread depth to get the number of risers and treads, the stringer length and board to buy, an IRC R311.7 code check and a scaled stringer layout you can mark from.

Updated October 31, 2026Our methodology

Units
Lumber sizes & prices

Inputs

Stair

Stair type

Outdoor stairs use treated lumber and land on a pad; stairs to a floor get a headroom check.

in

Finished surface to finished surface — landing or ground to the top of the deck or floor. Accepts 36, 3' or 8' 11 1/2".

in

IRC limit 7¾″; 7–7½″ is more comfortable.

in

Nosing to nosing, horizontally. IRC minimum 10″.

in
in

Headroom

ft

Measured from the top riser back toward the bottom of the stair.

in

Joists + subfloor + ceiling below the opening edge.

Lumber

%

Added to tread and riser pieces. Stringers are counted exactly.

More options
in

For drainage on outdoor treads.

Stock lengths available

Untick lengths your yard does not carry; the optimizer only buys what is ticked.

Loading 3D…

Results

Lumber list

Enter your dimensions to see the lumber list.

Estimate — check sizes and quantities with your lumber yard.

Results

How to calculate stairs

Every stair starts from one measurement: the total rise, from the finished surface at the bottom (ground, pad or lower floor) to the finished surface at the top (deck boards or finished floor). Then:

risers       = total rise ÷ max riser height, rounded UP
riser height = total rise ÷ risers
treads       = risers − 1
total run    = treads × tread run

Rounding up is what keeps every riser at or under the limit. A 36″ deck: 36 ÷ 7.75 = 4.65 → 5 risers of 7.2″ (7 3/16″). Rounding to the nearest number instead would give 4 risers of 9″ — too steep and against code.

Why one tread fewer than risers? The deck or upper floor is the last step. You climb five risers but only step on four treads before you are standing on the deck. That is true for a stair to a floor and for deck stairs alike; the stringer gets one notch per tread. If you count the deck as a step, "steps" equals risers.

Worked examples

Deck stair, 36″ rise (the default): max riser 7¾″, run 10½″, two 5/4×6 deck boards per tread with a ¾″ nosing.

ItemValue
Risers5 × 7 3/16″
Treads4 × 10½″ run (11¼″ deep with nosing)
Total run42″
2R + T24.9″ — comfortable
Stringer4′ 6 7/16″ of a 2×12 → buy 8 ft; throat 5 5/16″
Stringers for 36″ width4 (5/4 treads, ≤ 16″ apart)

Basement stair, 108″ floor to floor, 10″ run: 108 ÷ 7.75 = 13.9 → 14 risers of 7 11/16″, 13 treads, 130″ total run. The stringer is about 168″ long — 14 ft boards are 168″ exactly, so buy 16 ft. If you want risers at or under 7¼″, set the max riser to 7¼″: 15 risers of 7.2″ and 14 treads.

IRC stair rules (US)

For one- and two-family homes, IRC section R311.7 sets the stair geometry. The calculator checks these lines when the US market is selected:

RuleLimitSection
Riser height7¾″ maxR311.7.5.1
Riser variation in a flight⅜″ maxR311.7.5.1
Tread depth (run)10″ minR311.7.5.2
Nosing (treads under 11″)¾″ to 1¼″R311.7.5.3
Headroom6′ 8″ minR311.7.2
Width36″ minR311.7.1
Rise of one flight151″ max between landingsR311.7.3
Handrailrequired with 4 or more risersR311.7.8

Local codes amend these, decks may have extra rules, and stairs need guards and handrails this calculator does not size — check with your building department before you build. Outside the US, use your national rules; the comfort and throat checks still apply.

Comfort: a stair feels natural when two risers plus one tread add up to about one stride — 2R + T ≈ 24–25″ (600–640 mm). 7″ risers with 11″ treads give 25″.

Laying out and cutting a stringer

  1. Clamp stair gauges (or a block) on a framing square at the riser height on the tongue and the tread run on the blade.
  2. Mark the steps along the top edge of the board, one riser and tread at a time, until you have one tread notch fewer than risers.
  3. Drop the stringer: cut one tread thickness off the bottom so the first riser comes out the same height as the others once the treads are on. This is the riser-variation rule in practice.
  4. Cut the notches with a circular saw and finish the corners with a handsaw so the throat is not overcut.
  5. Check the throat — the solid wood left between the inside corners and the bottom edge. 3½″ is a common minimum; deeper is stiffer. The drawing marks it.
  6. Use the first stringer as a pattern for the rest.

Stringers, treads and risers: what to buy

  • Stringers: 2×12 (45 × 220 mm or similar in metric markets) so enough throat remains after the notches. Outdoors, use pressure-treated lumber rated for ground contact near the pad.
  • How many stringers: common practice keeps the tread span to about 16″ (400 mm) for 5/4 deck-board treads and 24″ (600 mm) for 2× treads. A 36″ stair needs 4 stringers with 5/4 treads and 3 with 2×6 or 2×12 treads.
  • Treads: two 5/4×6 deck boards or two 2×6 make an 11–11½″ tread with a small nosing; a 2×12 makes one-piece treads.
  • Risers: optional closed risers are 1× boards ripped to the riser height — a 1×8 (7¼″) for a 7.2″ riser.
  • Landing: deck stringers sit on a concrete pad or footing. Stairs taller than one flight allows need a landing at least as deep as the stair is wide; calculate each flight separately.

Add the list to your lumber list together with the deck or floor framing it serves. Prices are editable samples.

Frequently asked questions

How many steps for a 36 inch rise?

Five risers of 7.2″ (7 3/16″) and four treads; the deck is the fifth step. With a 10½″ run the stair is 42″ long.

How do you calculate the number of stair risers?

Divide the total rise by the maximum riser height (7¾″ under the IRC) and round up. Then divide the total rise by that number to get the exact riser height — every riser is the same.

Why is there one less tread than risers?

The top floor or deck acts as the last tread. A stair with 14 risers has 13 treads; the stringer has 13 notches.

How long should a stair stringer be?

Roughly the hypotenuse of total run and total rise — √(run² + rise²). For a 108″ rise and 130″ run that is about 169″, so buy 16 ft boards. The calculator works out the exact board length for the notched layout.

How many stringers do I need for a 36 inch wide stair?

Four with 5/4 deck-board treads (no more than about 16″ between stringers) and three with 2× treads (about 24″). Wider stairs add stringers in between.

What is the maximum stair riser height?

7¾″ under IRC R311.7.5.1 for US homes, with no more than ⅜″ difference between risers in a flight. Many other countries allow less; check your local code.

What size board is used for stair stringers?

2×12 is standard because it leaves enough throat (solid wood below the notches) for typical 7″ × 10–11″ steps. A 2×10 only works for small steps and short stairs.

Related calculators

Tools

Projects

Framing

Board feet & pricing

Planning

All calculators

Site

Settings

Units

Lumber sizes & prices

Choose the market whose sizes, stock lengths and sample prices you want.

Theme

Language