Stair Stringer Calculator

Enter the total rise and get everything you need to lay out stair stringers: number of risers, exact riser height, treads, total run, stringer length, stair angle and IRC code checks.

  • Free, no sign-up
  • Feet, inches or metric
  • Formula shown
  • Reviewed Nov 26, 2026

1Your measurements

Measure from finished floor to finished floor
in
IRC maximum is 7-3/4 in
in
IRC minimum is 10 in

Your resultsUpdates as you type

How to use the stair stringer calculator

  1. Measure the total rise from the finished surface at the bottom to the finished surface at the top (include flooring thickness).
  2. Keep the default 7-3/4" maximum riser and 10" tread unless your local code says otherwise.
  3. Use the riser height and tread depth to set your framing square, and the stringer length to buy lumber.

Stair stringer formulas

risers = ⌈total rise ÷ max riser⌉ · riser height = total rise ÷ risers
treads = risers − 1 · total run = treads × tread depth
stringer length = √(total rise² + total run²)

Worked example

A deck 108 inches (9 ft) above the patio, 7-3/4" max riser, 10" treads:

  1. Risers: 108 ÷ 7.75 = 13.9 → 14 risers of 108 ÷ 14 = 7 11/16"
  2. Treads: 13 · Total run: 13 × 10 = 130" (10' 10")
  3. Stringer: √(108² + 130²) = 14' 1" → buy 16-ft 2×12s. Angle 37.6°, throat 5 1/8".

Stair dimensions by total rise

7-3/4" max riser, 10" treads
Total riseRisersRiser heightTreadsTotal runStringer length
24" (2' 0")46"32' 6"3' 2 7/16"
30" (2' 6")47 1/2"32' 6"3' 6 7/16"
36" (3' 0")57 3/16"43' 4"4' 5 13/16"
42" (3' 6")67"54' 2"5' 5 5/16"
48" (4' 0")76 7/8"65' 0"6' 4 13/16"
60" (5' 0")87 1/2"75' 10"7' 8 3/16"
72" (6' 0")107 3/16"97' 6"9' 7 1/4"
84" (7' 0")117 5/8"108' 4"10' 10 5/8"
96" (8' 0")137 3/8"1210' 0"12' 9 11/16"
108" (9' 0")147 11/16"1310' 10"14' 1"
120" (10' 0")167 1/2"1512' 6"16' 1/16"

Layout tips

  • Drop the bottom of the stringer by the thickness of one tread so the first step isn't taller than the rest.
  • Keep risers consistent. The IRC allows no more than 3/8" difference between the tallest and shortest riser in a flight.
  • Use stair gauges on your framing square set to the riser height and tread depth to mark every notch identically.
  • Cut one, test, then copy. Fit the first stringer, then use it as a template for the others.

Frequently asked questions

How do I calculate stair stringers for deck stairs?

Measure the total rise from the top of the deck boards to the landing surface (a concrete pad or compacted gravel), not to the ground at the deck. Enter that rise; the calculator gives the number of steps, riser height and stringer length. Deck stairs usually use 2x12 pressure-treated stringers at 16 in or less on center.

How do I calculate stair stringers?

Measure the total rise from finished floor to finished floor. Divide by your maximum riser height (7-3/4" under the IRC) and round up to get the number of risers. Divide the total rise by that number for the exact riser height. Treads are one less than risers; total run = treads × tread depth; stringer length = √(rise² + run²).

What is the maximum stair riser height?

The International Residential Code (IRC R311.7.5.1) allows a maximum riser height of 7-3/4 inches and a minimum tread depth of 10 inches. Commercial buildings (IBC) are stricter: 7" max riser and 11" min tread. Your local code may differ.

How many stringers do I need?

Use at least 2 stringers, with one more for every 16 inches or so of stair width (so 3 stringers for a typical 36" stair). Check your decking or tread material — composite treads often need stringers 12" on center.

What size lumber should I use for stair stringers?

Use 2×12 for most stairs. After notching, at least 3-1/2" of solid wood (the "throat") should remain; many builders prefer 5" for longer spans. 2×10 only works for short, shallow stairs.

How many steps for 9' 0" of rise?

A 108" (9 ft) total rise needs 14 risers of 7 11/16" and 13 treads. With 10" treads the total run is 10' 10" and each stringer is about 14' 1" long — buy 16-ft boards.

Estimates are for planning and ordering. Material densities, product sizes and site conditions vary, so confirm quantities with your supplier and follow local building codes. See how we calculate.