Skip to content
MyDeckMath

Deck Stair Calculator

Measure from the ground to the deck surface, and this calculator works out step count, actual riser height, total run and how many stringers to cut.

Code max is usually 7.75 in

10–11 in typical

Result

  • Number of steps (risers)4risers
  • Actual riser height7.5in
  • Total run (horizontal)42in
  • Total run3.5ft
  • Stringers needed4stringers
  • Stringer length (approx)4.3ft
  • 12 ft stringer stock2boards
  • Tread area168sq ft

How it works

steps = round(total rise ÷ target riser); run = steps × tread; stringers from width

  1. Steps = round(30 in ÷ 7.5 in) = 4
  2. Actual riser = 30 ÷ 4 = 7.5 in (code max usually 7.75 in)
  3. Total run = 4 × 10.5 in = 42 in = 3.5 ft
  4. Stringers for 4 ft width ≈ 4 (max ~16–18 in apart)
  5. Stringer length ≈ √((2.5 ft)² + (3.5 ft)²) = 4.3 ft

How the deck stair calculator works

The total rise — finished deck surface to the lower landing — drives everything. Divide it by a comfortable riser height (7.5 inches is the classic target) and round to whole steps.

Rounding changes the actual riser: a 30 inch rise split into 4 steps gives exactly 7.5 inches, but 27 inches into 4 steps gives 6.75. The calculator always reports the true number so you can check it against code.

Stringers are the saw-cut boards the treads sit on. Space them no more than 16–18 inches apart, so a typical 36–48 inch wide stair needs three; wide or heavy-use stairs need four.

Formula

steps = round(total rise ÷ target riser); run = steps × tread depth

Worked example: 30 inch rise to the deck

  1. Total rise = 30 inches, target riser = 7.5 inches
  2. Steps = round(30 ÷ 7.5) = 4 risers
  3. Actual riser = 30 ÷ 4 = 7.5 inches (within the usual 7.75" max)
  4. Total run = 4 × 10.5 in = 42 inches = 3.5 ft horizontally
  5. Stringers for a 4 ft wide stair = 3 (max ~16 in apart)
  6. Stringer length ≈ √(2.5² + 3.5²) ≈ 4.3 ft

Common deck stair dimensions

Total riseRisersActual riserRun (10.5" tread)Stringers (4 ft wide)
24 in38.00 in31.5 in3
27 in46.75 in42 in3
30 in47.50 in42 in3
36 in57.20 in52.5 in3
42 in67.00 in63 in4

Riser max is commonly 7.75 in and min 4 in. Confirm headroom and guard rules locally.

Frequently asked questions

How many steps do I need for a 30 inch deck?

Four risers at 7.5 inches each. That's within the common 7.75 inch code maximum and gives a total horizontal run of 42 inches with 10.5 inch treads.

What is the maximum deck step height?

7.75 inches is the maximum riser height in the IRC and most local codes, with a 4 inch minimum. Stairs built to the maximum feel steep — 7 to 7.5 inches is more comfortable.

How many stringers does a deck stair need?

Three for a standard 36–48 inch wide stair, spaced about 16 inches apart. Add a fourth for stairs over 48 inches wide, composite treads (which flex more) or heavy-use stairs.

Do deck stairs need a landing?

Yes — a firm, level landing at the bottom, typically the same width and depth as the stair, in most codes. A patio, compacted gravel pad or concrete slab all work.

Related calculators