Skip to calculator
SimpleMaterialCalc
Menu

Stair Calculator: Risers, Treads & Stringers

Enter the total rise and the tread depth. Get the number of steps, the exact riser height to the 1/16 in, the total run, stringer length and angle, and how many stringers to cut, checked against the building code's stair limits.

One-Click Project Starters

Fills Zone A

Flights of Stairs

1 zone

Stringer Spacing

16 in is common under 2× lumber treads. Composite and thinner treads often need 12 in or less; check the tread maker's instructions.

Project Results

1 zone

Risers

0 steps up

Enter the total rise

Treads

0 treads

Riser Height

—

Each step, to the 1/16 in

Total Run

—

Floor space the stairs take

Stringer Length

—

Along the slope

Angle

—

From level

Stringers

— to cut

At 16 in apart

The link reopens this exact estimate: every zone, setting and price.

Collect estimates from several calculators on one page to print or send.

Spot a mistake? Report a correction

Assumes a straight flight where the upper floor or deck is the top step (treads = risers − 1). Code limits are from the International Residential Code (R311.7); your local code may differ. Keep 6 ft 8 in of headroom above the nosings.

Field Guide

How to Calculate Stairs: Risers, Treads & Stringers

Quick answer: divide the total rise by 7¾ in and round up for the number of risers; divide the rise by that number for the riser height. There is one tread fewer than risers. A 108 in rise needs 14 risers of 7 11/16 in and 13 treads; with 10 in treads the stairs run 10 ft 10 in and the stringer is 14 ft 1 in long.

Every riser in a flight must be the same height (within ⅜ in), so the layout starts from one measurement: the total rise. Here's how to get it right before you cut a stringer.

1. How to Calculate Stairs (The Math Explained)

Measure the total rise from the finished floor (or the ground or landing pad) at the bottom to the finished floor or deck surface at the top. Use finished surfaces: flooring added later changes the first and last risers.

Total rise    = 108 in (9 ft floor to floor)
Risers        = 108 ÷ 7.75 = 13.9 → 14
Riser height  = 108 ÷ 14 = 7.71 in ≈ 7 11/16 in
Treads        = 14 − 1 = 13
Total run     = 13 × 10 in = 130 in (10 ft 10 in)
Stringer      = √(108² + 130²) = 169 in (14 ft 1 in)
Angle         = arctan(7.71 ÷ 10) = 37.6°

The top tread is the upper floor itself, which is why there is one tread fewer than risers. Choose a lower max riser above (say 7½ in) for an easier climb; you'll get more steps and a longer run.

2. Stair Chart by Total Rise

Risers, riser height, treads and total run for common total rises, with a 7 3/4 in maximum riser
Total riseRisersRiser heightTreadsRun (10 in treads)
84 in (7 ft 0 in)117 5/8 in108 ft 4 in
96 in (8 ft 0 in)137 3/8 in1210 ft 0 in
104 in (8 ft 8 in)147 7/16 in1310 ft 10 in
108 in (9 ft 0 in)147 11/16 in1310 ft 10 in
112 in (9 ft 4 in)157 7/16 in1411 ft 8 in
120 in (10 ft 0 in)167 1/2 in1513 ft 2 in

The last row uses 10½ in treads. For deck and porch steps, see the presets above.

3. Building Code Stair Rules

Most US towns use the International Residential Code (IRC) for houses. The main stair rules (section R311.7):

  • Risers 7¾ in max, 4 in min, all within ⅜ in of each other.

  • Treads 10 in min, with a ¾ to 1¼ in nosing when the tread is under 11 in.

  • 36 in min width and 6 ft 8 in headroom above the nosings.

  • A handrail 34 to 38 in high on at least one side of any flight with four or more risers, and guards on open sides more than 30 in above the floor or ground.

Your town may have changed these rules, and decks often have their own stair details. Check with your building department before you build.

4. Laying Out a Stringer

  1. Set stair gauges (or tape) on a framing square at the riser height on one arm and the tread depth on the other.
  2. Starting at one end of a 2×12, trace one riser and tread, slide the square along, and repeat for every step.
  3. Cut the bottom of the stringer short by the thickness of one tread, so the first step comes out the same height as the rest once the treads are on.
  4. Cut one stringer, test it in place, then use it as a pattern for the others.

Lumber for the treads and stringers: see the Lumber Calculator and the Deck Board Calculator.

5. Frequently Asked Questions

How do I calculate how many stairs I need?

Measure the total rise in inches, divide by 7¾ (the code maximum riser height) and round up. That's the number of risers; there is one tread fewer. A 9 ft floor-to-floor rise of 108 in: 108 ÷ 7.75 = 13.9, so 14 risers of 7 11/16 in and 13 treads.

What is the maximum riser height for stairs?

The International Residential Code allows risers up to 7¾ in and at least 4 in, with no more than ⅜ in difference between the tallest and shortest riser in a flight. Many builders aim for 7 to 7½ in, which is easier to climb. Commercial buildings are stricter (7 in max).

What is the minimum tread depth?

The code minimum is 10 in, measured from the front of one tread to the front of the next. Treads under 11 in need a nosing (the overhang at the front) of ¾ to 1¼ in. Deck stairs built with two 2×6s have an 11¼ in tread.

How long should a stair stringer be?

The stringer runs along the slope: √(total rise² + total run²). For 108 in of rise and 130 in of run that's 169 in, or 14 ft 1 in. Buy the next standard length up with about a foot to spare for the top and bottom cuts, here a 16 ft 2×12.

How many stringers do I need?

Divide the stair width by the spacing and add one. A 36 in wide stair with stringers 16 in apart needs 36 ÷ 16 = 2.25, rounded up to 3, plus 1 = 4 stringers. Composite treads usually need stringers 12 in apart or closer; check the maker's instructions.

How many steps for a 30 inch deck?

30 ÷ 7.75 = 3.9, so 4 risers of 7½ in and 3 treads. With two 2×6s per tread (11¼ in), the stairs run 33¾ in out from the deck, and each stringer is about 3 ft 9 in long, cut from an 8 ft 2×12.

What angle should stairs be?

Most house stairs are between 30° and 38°. A 7¾ in riser with a 10 in tread is about 37.8°, the steepest the code allows with the minimum tread. A 7 in riser with an 11 in tread is a gentler 32.5°.

Do I need a handrail?

Yes, on any flight with four or more risers: the code calls for a handrail on at least one side, 34 to 38 in above the tread nosings. Open sides more than 30 in above the floor or ground also need a guard.

What is the 2R + T stair rule?

A comfort rule of thumb: two risers plus one tread should add up to about 24 to 26 in, which matches a natural stride. 2 × 7½ + 10 = 25 in. The calculator flags layouts outside that range.

0 risers

0″ each

Full Totals
Order summary copied!