Skip to content
TROWELLY

Stair Calculator

Enter the total rise from floor to floor and your target riser and tread sizes to get the number of steps, the exact riser height, the stringer length and how many 2×12 stringers to buy.

Units
in

Measure from the finished lower floor to the finished upper floor.

in

The IRC allows up to 7¾ in in homes; 7 to 7½ in is more comfortable.

in

Measured nose to nose, without the nosing. The IRC minimum is 10 in.

ft
Add prices for a cost estimate (optional)

Quantities work without prices. Material prices start as typical prices for your area, marked “Regional estimate”; type over any of them with the price you are quoted or see in store. Clear a price if you don’t know it, or enter 0 for something you already have.

Estimates use the US average.

each
per hour
hours
%
total

Results

Number of risers
14 risers
Riser height
7.714 in
Number of treads
13 treads
Total run
130 in
Stringer length
14.08 ft
Stair angle
39.7 °
Stringers needed
4 stringers
Stringer board length to buy
16 ft
  • 14 risers of 7.714 in and 13 treads; the top tread is the upper floor. Board length allows about 1 ft for the top and bottom cuts.
  • Comfort check: 2 × riser + tread = 25.4 in. Stairs feel best between 24 and 25 in.
  • Codes vary. Check headroom (6 ft 8 in under the IRC), handrails and guards with your local building department.

Where to buy

Quantities from your result, with links to search each store.

Your ZIP code stays on this device. We use it to show stores and suppliers in your area.

You may also need

Precut stringers come in fixed step counts; check the riser height matches yours before buying.

Links search each store’s website. Check prices and stock before you go.

How to use the stair calculator

  1. Measure the Total rise from the finished lower floor (or ground) to the finished upper floor or deck surface.
  2. Set the Maximum riser height; the IRC allows 7¾ in in homes.
  3. Enter the Tread depth, at least 10 in under the IRC.
  4. Enter the Stair width to get the number of stringers.
  5. Optionally add the price of a 2×12 board.

How it works

Every riser in a flight must be the same height, so the total rise is divided evenly after rounding the step count up. The IRC allows no more than ⅜ in difference between the tallest and shortest riser.

There is one fewer tread than risers because the upper floor serves as the top step.

Risers = total rise ÷ maximum riser, rounded up

Riser height = total rise ÷ risers

Treads = risers − 1; total run = treads × tread depth

Stringer length = √(total rise² + total run²)

Stringers = stair width ÷ 16 in, rounded up, + 1

Worked example

A 108 in (9 ft) floor-to-floor rise ÷ 7.75 in = 13.9, so use 14 risers of 7.714 in (about 7 ¾ in).

13 treads at 10 in give a 130 in run. The stringer is √(108² + 130²) = 169 in, or 14.08 ft, cut from 16 ft 2×12s.

A 3 ft wide stair needs 4 stringers at no more than 16 in apart.

Tips before you buy

  • Lay out stringers with a framing square and stair gauges set to the riser and tread.
  • Subtract one tread thickness from the bottom of the stringer so the first and last risers match the rest.
  • Measure the total rise in two or three places; floors and ground are rarely level.

Frequently asked questions

How many steps do I need?

Divide the total rise by your maximum riser height and round up. A 108 in rise with 7¾ in risers needs 14 risers and 13 treads.

What is the code for stair risers and treads?

The International Residential Code allows risers up to 7¾ in and requires treads of at least 10 in, with headroom of 6 ft 8 in. Your local code may differ.

How long should stair stringers be?

Use the Pythagorean theorem: the square root of total rise squared plus total run squared. Buy boards about a foot longer to allow for the top and bottom cuts.

How many stringers do I need?

Space stringers no more than 16 in apart: a 36 in stair needs 4 and a 48 in stair needs 4 to 5, depending on the tread material.

Results are estimates based on the measurements you enter and typical material properties, and costs are planning estimates: actual costs vary. Products vary, so check quantities with your supplier and follow product labels and your local building codes. Read the full disclaimer. Last reviewed October 9, 2026.