Stair calculator: risers, treads and stringer length

Calculate the number of steps, riser height, tread depth, total run and stringer length for stairs.

Quick sizes:
in
in
in
$
Optional. Shows the total cost.

The numbers start with a worked example. Change any box and the result updates instantly. Your last entries are remembered on this device.

14 risers, 13 treads

7.71

in risers

Total run130.0 in (10.83 ft)
Stringer length (about)14.08 ft
Stair angle39.7°
US residential codeMeets 7¾ in max riser, 10 in min tread

Estimate only. Check product labels and local codes. Updated December 2026.

How to use the stair calculator

Stairs that feel right have equal steps that are not too tall. Enter the total height from floor to floor and this calculator finds the number of steps, the exact riser height, the total run and the stringer length.

Enter your measurements in the boxes above. Every result updates as you type, and you can add a price to see the total cost. Use Copy result to save the numbers to your phone before you go to the store.

Formula

Risers = total rise ÷ target riser, rounded
Riser height = total rise ÷ risers · Treads = risers − 1
Total run = treads × tread depth · Stringer = √(rise² + run²)

Worked example

With total rise (floor to floor) 108 in, target riser height 7.5 in, tread depth (run) 10 in, you need 7.71 in risers (total run: 130.0 in (10.83 ft); stringer length (about): 14.08 ft).

Quick reference chart

Common sizes worked out with the same formula and the default settings above.

Total riseRisersRiser height
24 in38.00 in
36 in57.20 in
48 in68.00 in
96 in137.38 in
108 in147.71 in
120 in167.50 in

Tips before you buy

  • US residential code (IRC) allows a riser of up to 7¾ inches and a tread of at least 10 inches.
  • A comfortable stair fits the rule: riser × 2 + tread ≈ 24 to 25 inches.
  • Buy stringer boards longer than the result so you can make the cuts. 2×12 lumber is standard.

Frequently asked questions

How many steps for a 9 ft ceiling?

A 108 inch rise with 7.5 inch target risers gives 14 risers of about 7.7 inches and 13 treads.

What is the standard stair riser height?

Around 7 to 7.75 inches in homes. Commercial stairs are usually 4 to 7 inches.

How long should stair stringers be?

Long enough for the diagonal length shown here, plus a little extra for the top and bottom cuts.

Add this calculator to your website

Run a blog, a store or a contractor website? Paste this code to give your visitors this free stair calculator.

Stair Calculator by HatCalc – more free calculators →