Stair Stringer Calculator

Enter the total rise (the vertical height from the ground to the top of the finished floor or deck) to lay out your stairs.

Units:

Result

How to use this stair stringer calculator

  1. Measure the total rise from the landing surface to the top of the finished floor or deck.
  2. Keep the default maximum riser of 7¾ in (the US residential code limit) unless your local code differs.
  3. Enter the tread depth: at least 10 in per the IRC.
  4. Buy stringer lumber at least 1–2 ft longer than the stringer length shown.

Example

For a deck 42 inches above the ground, the calculator gives 6 risers of 7 in (17.8 cm) each, 5 treads and a total run of 50 in (127 cm). The stringer board must be at least 5 ft 5.3 in (1.66 m) long, so a 2×12 cut from an 8 ft or longer board works.

What to know before you buy

The comfortable stair rule

A common rule of thumb for comfortable stairs is that two risers plus one tread should equal 24–25 inches. For example, 7 inch risers with 10–11 inch treads feel natural. Very short risers with deep treads feel awkward, and steep stairs are harder to climb safely.

Code requirements

In the US, the International Residential Code allows a maximum riser of 7¾ inches and a minimum tread depth of 10 inches, with at least 6 ft 8 in of headroom. Stairs with four or more risers need a handrail. Local codes can differ, so check with your building department.

Stair layout by total rise (max riser 7¾ in, 10 in treads)

Total riseNumber of risers (steps)Riser heightNumber of treadsTotal run
18 in36 in (15.2 cm)220 in (50.8 cm)
24 in46 in (15.2 cm)330 in (76.2 cm)
30 in47.5 in (19.1 cm)330 in (76.2 cm)
36 in57.2 in (18.3 cm)440 in (101.6 cm)
48 in76.86 in (17.4 cm)660 in (152.4 cm)
60 in87.5 in (19.1 cm)770 in (177.8 cm)
96 in (8 ft)137.38 in (18.8 cm)12120 in (304.8 cm)
108 in (9 ft)147.71 in (19.6 cm)13130 in (330.2 cm)

Formula

Risers = total rise ÷ maximum riser, rounded up. Riser height = total rise ÷ risers. Treads = risers − 1. Stringer length = √(rise² + run²).

Tips from the pros

Common mistakes to avoid

Frequently asked questions

What is the standard riser height?

Between 7 and 7¾ inches for homes in the US; many builders aim for about 7½ inches.

Why is there one fewer tread than risers?

The top step is the deck or floor itself, so the last riser leads directly onto it.

Is this calculator a substitute for building code?

No. Always check your local building code for riser, tread, headroom and railing requirements.

How many steps do I need for a 3 ft rise?

A 36 inch rise needs 5 risers of about 7.2 inches each and 4 treads.

How long should a stair stringer be?

Calculate it as the diagonal of the total rise and total run (√(rise² + run²)), then add extra for the cuts at the top and bottom.

Related calculators