Skip to content

Stair Calculator

A stair calculator and stair stringer calculator: risers, treads, rise and run, stringer length and framing-square marks from your floor-to-floor height, checked against the residential building code.

Stair Calculator Results update as you type
Stairs
Measure from the finished floor at the bottom to the finished floor at the top.
The residential code allows up to 7¾ in. 7 to 7½ in is comfortable.
At least 10 in under the residential code, not counting the nosing.
At least 36 in. Sets how many stringers you need.

Results

Risers (steps up) 15 risers 15 risers of 7.20 in and 14 treads, 12.25 ft of total run.

Steps

Actual riser height
7.20 in
Treads
14 treads
Total run
147 in
Total run
12.25 ft

Stringers

Framing square: rise mark
7 3/16 in
Framing square: run mark
10 1/2 in
Stringers (2x12, max 18 in apart)
3 stringers
Stringer length (approx.)
15.20 ft
Buy stringer boards at least
16 ft long
Stair angle
36.3 degrees

On this page 12 sections
  1. How many stairs do I need?
  2. Worked example: 108 inches floor to floor
  3. Stair stringer chart: rise and run for common heights
  4. How to lay out a stair stringer
  5. How many stair stringers do you need?
  6. Standard stair rise and run (IRC limits)
  7. Measuring the total rise
  8. Frequently asked questions
  9. Guides
  10. Related calculators
  11. Sources and method
  12. Add this calculator to your website

How many stairs do I need?

Divide the total rise (floor to floor, in inches) by your target riser height and round up: that's the number of risers. Divide the total rise by that number for the exact riser height. You need one tread fewer than risers. For 108 in floor to floor and a 7.5 in target, that's 15 risers of 7.20 in and 14 treads. The residential code allows risers up to 7¾ in and treads of at least 10 in.

Worked example: 108 inches floor to floor

A side view of stairs: each riser is about 7.2 inches tall and each tread 10.5 inches deep; the total rise is measured floor to floor. Riser (step up): 7.2 in Tread (step across): 10.5 in Total rise (floor to floor) Code: risers ≤ 7¾ in, treads ≥ 10 in (IRC R311.7)
  1. Risers: 108 ÷ 7.5 = 14.4, round up to 15 risers.
  2. Exact riser height: 108 ÷ 15 = 7.20 in, under the 7¾ in maximum.
  3. Treads: 15 − 1 = 14 treads (the top step is the upper floor).
  4. Total run: 14 × 10.5 in = 147 in = 12.25 ft of floor space.
  5. Stringers: √(108² + 147²) ≈ 182 in = 15.20 ft, so buy 16 ft boards. The stairs climb at about 36.3°.

Stair stringer chart: rise and run for common heights

With a 7.5 in target riser and 10.5 in treads. The rise mark is the riser height rounded to the nearest 1/16 in for your framing square; the run mark is 10 1/2 in.

Total riseRisersRise markTreadsTotal runStringer board
18 in (deck)36 in221 in4 ft
24 in (deck)46 in331.5 in4 ft
30 in (deck)47 1/2 in331.5 in4 ft
36 in (deck)57 3/16 in442 in6 ft
48 in (deck)76 7/8 in663 in8 ft
60 in (deck)87 1/2 in773.5 in8 ft
96 in (8 ft)137 3/8 in12126 in14 ft
108 in (9 ft)157 3/16 in14147 in16 ft

How to lay out a stair stringer

  1. Get the two marks from the calculator. For 108 in floor to floor, the rise mark is 7 3/16 in and the run mark is 10 1/2 in.
  2. Set the framing square. Clamp stair gauges (or a straight board) at the rise mark on the tongue and the run mark on the blade.
  3. Step it off. Lay the square on a 2x12 and trace one riser and one tread, slide it along and repeat: 15 risers and 14 treads for this stair.
  4. Drop the bottom. Cut the thickness of one tread off the bottom of the stringer, so the first step ends up the same height as the rest once the treads are on.
  5. Cut one, test it, copy it. Check the first stringer in place, then use it as the pattern for the others.

The calculator's stringer length is the straight line from the bottom to the top of the stair. Buy boards a little longer, as shown, to leave room for the cuts at each end. For deck stairs, work out the deck first with the deck calculator.

How many stair stringers do you need?

For deck stairs, the American Wood Council's deck guide (DCA 6) sets these rules:

  • Size: every stringer at least a 2x12.
  • Count: at least 3 cut stringers, spaced no more than 18 in on center. A 36 in wide stair needs 3; 48 in needs 4; 72 in needs 5.
  • Width: stairs at least 36 in wide.
  • Height: a stairway more than 12 ft tall needs an intermediate landing.

Enter your stair width and the calculator counts the stringers for you. Indoor stairs follow the same residential code limits for rise, run and width; ask your building department about stringers.

Standard stair rise and run (IRC limits)

  • Riser height: no more than 7¾ in (R311.7.5.1).
  • Tread depth: at least 10 in (R311.7.5.2).
  • Consistency: within a flight, the tallest riser and the deepest tread may not exceed the smallest by more than ⅜ in.
  • Headroom: at least 6 ft 8 in above the stairs (R311.7.2).
  • Handrail: required on stairs with 4 or more risers (R311.7.8).

Your local code may differ, so check with your building department before you cut stringers.

Measuring the total rise

Measure from the finished floor at the bottom to the finished floor at the top. If flooring isn't installed yet, add its thickness, or the first or last step will end up a different height from the rest. On sloping ground, measure where the bottom step will actually land.

Frequently asked questions

What is the maximum stair riser height?
7¾ inches under the International Residential Code (R311.7.5.1). 7 to 7½ in is more comfortable.
What is the minimum tread depth for stairs?
10 inches under the International Residential Code (R311.7.5.2), measured without the nosing.
How many steps for an 8 ft ceiling?
For 96 inches floor to floor with a 7.5 in target: 13 risers of about 7.38 in and 12 treads. Measure your actual floor-to-floor height, which includes the floor structure.
How long should stair stringers be?
Roughly √(total rise² + total run²). For 108 in of rise and 147 in of run, about 182 in (15.2 ft), so buy 16 ft boards.
How do you calculate stair stringers?
Divide the total rise by your target riser height and round up for the number of risers; the total rise divided by that number is the rise mark. The run mark is your tread depth. Step those two marks off along a 2x12 with a framing square. For 36 in of rise, that is 5 risers with a 7 3/16 in rise mark and 4 treads.
How many stringers do I need for 36 inch wide stairs?
Three. The American Wood Council deck guide (DCA 6) asks for at least 3 cut stringers, no more than 18 in apart. Wider stairs need one more stringer for every extra 18 in or part of it.
What size lumber do you use for stair stringers?
2x12. The AWC deck guide makes 2x12 the minimum for deck stair stringers, because cutting the steps out leaves only a few inches of solid wood.
Why is there one less tread than risers?
The last step up lands on the upper floor, which acts as the top tread.

Guides

Sources and method

Last checked October 20, 2026. How we build and test every calculator: methodology.

Add this calculator to your website

Free for any site: paste this code into a page and the calculator appears there, always up to date. No sign-up. It works on phones and resizes itself.

All embeddable calculators