Stair Calculator

Design safe, code-compliant staircases. Calculate the number of risers, exact riser height, tread depth, total horizontal run, stringer length, and incline angle.

Quick Height Presets:
Stair Layout Summary
Riser Count & Exact Height
14 Risers @ 7.71 in
7-11/16 inches per step
Minimum Stringer Board Length
14 ft 6 in (2x12)
174.0 total inches
Dimensions & Code Check
Number of Physical Treads 13 Treads (Risers - 1)
Total Horizontal Run 11 ft 4-1/2 in (136.5 in)
Stair Incline Angle 36.3° (Standard)
Comfort Score (2R + T) 25.9 in (Ideal 24 - 26 in)
IRC Code Compliance Passed (Riser ≤ 7.75", Tread ≥ 10")

How Staircase Layouts and Stringers Work

A staircase consists of three core components:

Because the top step lands directly onto the upper floor surface, there is always 1 fewer physical tread than risers.

The Mathematics of Stair Geometry

Here are the mathematical formulas used by carpenters to calculate stringer cuts:

Number of Risers = Math.round(Total Rise / Target Riser Height)

Exact Riser Height (Inches) = Total Rise / Number of Risers

Number of Treads = Number of Risers - 1

Total Horizontal Run (Inches) = Number of Treads * Tread Depth

Stringer Board Length = Math.sqrt(Total Rise² + Total Run²)

Incline Angle (Degrees) = Math.atan(Exact Riser Height / Tread Depth) * (180 / π)

Blondel Comfort Formula = (2 * Exact Riser Height) + Tread Depth (Target: 24 to 26 in)

Step-by-Step Worked Calculation Example

Suppose you have a 108-inch total rise (standard 9-foot ceiling with floor joists) and a 10.5-inch tread depth:

  1. Calculate riser count: 108 / 7.5 = 14.4 → 14 Risers
  2. Calculate exact riser height: 108 / 14 = 7.714 inches (7-11/16")
  3. Calculate number of treads: 14 - 1 = 13 Treads
  4. Calculate total horizontal run: 13 treads * 10.5 in = 136.5 inches (11 ft 4-1/2 in)
  5. Calculate stringer board length: sqrt(108² + 136.5²) = sqrt(11,664 + 18,632) = 174.0 inches (14.5 feet → buy 16 ft 2x12 board)
  6. Calculate stair angle: atan(7.714 / 10.5) = 36.3 degrees
  7. Check Blondel Comfort rule: (2 * 7.714) + 10.5 = 25.93 inches (Perfect comfort score)

Master Stair Layout Reference Table

Standard stair measurements based on a 10.5-inch tread depth across common total floor rises:

Total Rise (Floor to Floor) Riser Count Exact Riser Height Tread Count Total Run Stringer Board Size Incline Angle
24" (3-step porch)3 risers8.00"2 treads21.0" (1' 9")4 ft (2x12)37.3°
36" (Outdoor deck)5 risers7.20"4 treads42.0" (3' 6")6 ft (2x12)34.4°
48" (Half landing)6 risers8.00"5 treads52.5" (4' 4-1/2")8 ft (2x12)37.3°
96" (8ft ceiling basement)13 risers7.38"12 treads126.0" (10' 6")14 ft (2x12)35.1°
108" (9ft standard ceiling)14 risers7.71"13 treads136.5" (11' 4-1/2")16 ft (2x12)36.3°
120" (10ft high ceiling)16 risers7.50"15 treads157.5" (13' 1-1/2")18 ft (2x12)35.5°
132" (11ft ceiling)17 risers7.76"16 treads168.0" (14' 0")18 ft (2x12)36.5°

IRC Building Code Requirements for Stairs

To pass residential framing inspection under the International Residential Code (IRC Section R311.7):

5 Tips for Cutting and Installing 2x12 Stringers

1. Trim the Bottom Stringer Cut
Always cut off the thickness of one tread board from the bottom foot of your stringer. If you skip this, your first step will be too tall by the thickness of the tread.
2. Use Stair Gauges on Framing Squares
Attach brass stair gauge clamps to your steel framing square at your exact rise and run marks. This ensures identical layout notches on all boards.
3. Do Not Overcut Inside Corners
Stop circular saw blade cuts right before the inside corner of each notch, and finish the cut cleanly with a hand saw or jigsaw to preserve 2x12 timber strength.
4. Space Stringers Every 16 or 12 Inches
For wood composite decking (like Trex), stringers must be spaced 12 or 16 inches on center to prevent bouncy steps and sagging treads.
5. Anchor Stringers with Metal Hardware
Use heavy-gauge steel stair stringer hangers (like Simpson Strong-Tie LSCZ) to anchor the top of each stringer securely to the floor rim joist.

Frequently Asked Questions

What is the maximum riser height and minimum tread depth allowed by code?

Under the IRC building code, the maximum allowable riser height for residential stairs is 7.75 inches (7-3/4") and the minimum tread depth is 10.0 inches.

What lumber size is used for cutting stair stringers?

Stair stringers must be cut from solid, knot-free 2x12 lumber. Using a 2x10 is prohibited by most building codes because notching leaves insufficient solid wood (the stringer throat) to carry dynamic live loads.

Why is there one fewer tread than risers?

Because the top riser steps directly onto the finished upper floor landing. For example, a 14-riser staircase only requires 13 physical wooden treads.

What is the ideal angle for comfortable interior stairs?

The ideal angle for interior residential stairs ranges between 30 and 37 degrees. Angles steeper than 40 degrees feel uncomfortably steep and are harder for young children or seniors to climb.

What is tread nosing and how much should it overhang?

Nosing is the rounded front edge of the tread that extends out over the riser below. IRC code requires nosing to overhang between 3/4 inch and 1-1/4 inches on stairs with solid risers.

Join Carpentry & DIY Community
Framing formulas and staircase building tips
Join WhatsApp
Join Builders Telegram
Daily framing and stringer calculators
Join Telegram
Follow on Instagram
Staircase cut cheat sheets and carpentry math
Follow Us

Related Construction & Carpentry Calculators

Roof Pitch Calculator
Calculate roof pitch angles, grade percentages, and rafter lengths.
Open Tool →
Board Foot Calculator
Calculate lumber volume and pricing for 2x12 framing timbers.
Open Tool →
Drywall Calculator
Estimate drywall sheets, compound, and screws for walls.
Open Tool →
Square Feet Calculator
Calculate floor and wall surface areas accurately.
Open Tool →