CONSTRUCTION & FRAMING TOOL

Stairs Calculator

Calculate stair riser height, tread count, total horizontal run, stringer board length, and stair incline angle with IRC building code compliance and ergonomic step comfort checks.

Staircase Dimensions

Vertical height from bottom finished floor to top finished floor landing.
IRC min: 10" (10.5"-11" recommended).
IRC max: 7.75" (7"-7.5" optimal).
NUMBER OF RISERS & HEIGHT
15 Risers @ 7.20 in (7-3/16")
✓ Passes IRC Code (≤ 7.75" maximum)
Number of Treads: 14 Treads
Total Stair Run: 147.00 in (12' 3")
Stringer Board Length: 182.41 in (15' 3")
Recommended Lumber: 2x12 × 16 ft board
Stair Incline Angle: 36.31° (Optimal)
Comfort Rule (2R + T): 24.90 in (Ideal Stride)
Stringer Bottom Drop Notice: When cutting the wooden stringer, you must deduct the thickness of one tread material (typically 1.0" for 5/4 deck boards or hardwood) from the bottom of the stringer so that the first and last step remain identical in height after tread installation.

Stair Profile & Stringer Geometry

Staircase Geometry Diagram Diagram illustrating staircase steps, rise, run, stringer hypotenuse board length, and angle. Riser: 7.20" | Tread: 10.50" | Angle: 36.3° Bottom Floor Top Landing Stringer: 182.4" (15' 3") Total Rise: 108" Total Run: 147" (12' 3")

IRC Stair Code Standards

  • Max Riser Height: 7.75 inches (197 mm) maximum height per step.
  • Min Tread Depth: 10.0 inches (254 mm) minimum horizontal walking surface.
  • Riser Uniformity: Greatest riser height in a flight cannot exceed smallest by more than 3/8" (0.375").
  • Min Headroom: 80 inches (6 ft 8 in) vertical clearance measured from the stair tread slope line.

Stair Framing Formulas & Calculations

Building codes require precise math so every step in a staircase feels uniform and secure. These formulas determine optimal riser spacing, horizontal room run, and lumber cut lengths:

Step 1 • Risers

Riser Count & Height

Risers (N) = round(Total Rise ÷ 7.25) Exact Riser Height (R) = Total Rise ÷ N

Finds the whole number of risers ensuring individual height stays below the 7.75" IRC code limit.

Step 2 • Run

Treads & Total Run

Number of Treads = Risers (N) − 1 Total Run = Treads × Tread Depth (T)

The top landing acts as the final tread, so tread count is always exactly one less than riser count.

Step 3 • Stringer

Stringer Board Length

Stringer = √(Total Rise² + Total Run²) Stair Angle = arctan(Rise ÷ Run) × (180/π)

Applies the Pythagorean theorem to calculate the diagonal 2x12 stringer cut length.

Ergonomics

Blondel's Comfort Rule

Comfort Score = 2 × R + T Ideal Range: 24.0" to 25.0" (60–64 cm)

Verifies that the relationship between step lift and foot depth matches standard human stride cadence.

Worked Numerical Example (Step-by-Step)

Suppose you are framing basement or second-story stairs with a measured floor-to-floor height of 108 inches (9 feet):

Step 1: Calculate Risers
108" ÷ 7.25" target = 14.89 → Round to 15 Risers.
Exact Riser Height = 108" ÷ 15 = 7.20 inches (7-3/16").
Step 2: Calculate Treads & Total Run
Treads = 15 − 1 = 14 Treads.  |  At 10.5" depth: Total Run = 14 × 10.5" = 147.0 inches (12' 3").
Step 3: Calculate Stringer Hypotenuse
Stringer = √(108² + 147²) = √(11,664 + 21,609) = √33,273 ≈ 182.4 inches (15' 3"). → Purchase a 16-foot 2x12 lumber board.
Step 4: Ergonomic Comfort Check
2 × (7.20") + 10.5" = 14.40" + 10.5" = 24.90 inches. (Within ideal 24"–25" comfort range).

How to Use This Stairs Calculator

  1. Measure Total Rise: Measure the exact vertical distance between the finished lower floor surface and the finished upper landing floor surface.
  2. Input Tread Depth: Standard residential treads are 10.5" or 11" deep. (Minimum allowable IRC code is 10").
  3. Review Riser Count: The calculator automatically selects the whole number of risers that satisfies building code limits (≤ 7.75").
  4. Layout Stringer Cuts: Use a framing square with stair gauges set to your exact riser height and tread depth to mark each step notch along your 2x12 stringer board.
  5. Remember the Bottom Cut: Cut an amount equal to one tread thickness off the bottom of the stringer so your first step is not too tall.

Frequently Asked Questions

When you install tread boards on top of the cut stringer notches, the bottom step gains the thickness of the tread, while the top landing already has finished flooring. To ensure the first riser height equals all subsequent risers, you must trim the bottom stringer foot by the thickness of the tread material (typically 1 inch).

For standard residential staircases up to 36 inches wide, 3 stringers are recommended (left, center, and right) to prevent tread bounce and sagging. Stairs wider than 36 inches require stringers spaced no more than 16 inches on center.

The IRC requires a minimum clear width of 36 inches (914 mm) for interior residential stairways above the handrail height.

Search Calculators & Guides