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.
- Checked
- 2 sources
- Formula tested
- Works offline
Results
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
- How many stairs do I need?
- Worked example: 108 inches floor to floor
- Stair stringer chart: rise and run for common heights
- How to lay out a stair stringer
- How many stair stringers do you need?
- Standard stair rise and run (IRC limits)
- Measuring the total rise
- Frequently asked questions
- Guides
- Related calculators
- Sources and method
- 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
- Risers: 108 ÷ 7.5 = 14.4, round up to 15 risers.
- Exact riser height: 108 ÷ 15 = 7.20 in, under the 7¾ in maximum.
- Treads: 15 − 1 = 14 treads (the top step is the upper floor).
- Total run: 14 × 10.5 in = 147 in = 12.25 ft of floor space.
- 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 rise | Risers | Rise mark | Treads | Total run | Stringer board |
|---|---|---|---|---|---|
| 18 in (deck) | 3 | 6 in | 2 | 21 in | 4 ft |
| 24 in (deck) | 4 | 6 in | 3 | 31.5 in | 4 ft |
| 30 in (deck) | 4 | 7 1/2 in | 3 | 31.5 in | 4 ft |
| 36 in (deck) | 5 | 7 3/16 in | 4 | 42 in | 6 ft |
| 48 in (deck) | 7 | 6 7/8 in | 6 | 63 in | 8 ft |
| 60 in (deck) | 8 | 7 1/2 in | 7 | 73.5 in | 8 ft |
| 96 in (8 ft) | 13 | 7 3/8 in | 12 | 126 in | 14 ft |
| 108 in (9 ft) | 15 | 7 3/16 in | 14 | 147 in | 16 ft |
How to lay out a stair stringer
- 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.
- 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.
- 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.
- 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.
- 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?
What is the minimum tread depth for stairs?
How many steps for an 8 ft ceiling?
How long should stair stringers be?
How do you calculate stair stringers?
How many stringers do I need for 36 inch wide stairs?
What size lumber do you use for stair stringers?
Why is there one less tread than risers?
Guides
Related calculators
Sources and method
- International Code Council — 2021 International Residential Code, section R311.7 (stairways) — risers max 7¾ in, treads min 10 in, ⅜ in variation, 6 ft 8 in headroom, handrails at 4+ risers
- American Wood Council — DCA 6, Prescriptive Residential Wood Deck Construction Guide (stair requirements) — 2x12 minimum stringers, at least 3 cut stringers, 18 in max on center, 36 in min width, landing above 12 ft
Last checked October 20, 2026. How we build and test every calculator: methodology.