YesMeasureYesMeasure
Carpentry & Framing Engine

Stair Calculator

Calculate exact riser counts, uniform step height, total horizontal run, 2×12 stringer cut length, slope angle, and IRC building code compliance with blueprint precision.

1

Total Rise (Overall Height)

Floor-to-Floor
3D Architectural Diagram of Stair Total Vertical Rise
Measure vertically: lower floor to upper landingTotal Rise
IN
-
Popular Height Presets:
2

Choose Riser Count & Step Height

IRC Max: 7¾″

Select your preferred step count. Each option calculates the exact uniform riser height to divide your total rise with 0 remainder:

3D Architectural Diagram of Tread Depth and Riser Height with Nosing Overhang
Max Riser 7¾″ (7.75″) • Min Tread 10″ • Nosing ¾″–1¼″Step Profile
3

Stair Width & Mounting

2×12 Lumber
3D Architectural Diagram of 2x12 Cut Wooden Stair Stringer Board with Throat Depth
Cut from 2×12 lumber • Min 3½″ throat depthStringer Cut

Ready to calculate

Enter your total rise height to see exact step risers, stringer cuts, and materials needed.

15 Risers @ 7.20″ • 15′3″ Stringer
Total Run: 12 ft 3 in
Master Carpentry Handbook

Stair Building Codes, Stringer Layouts & Calculation Formulas

Building safe, code-compliant residential stairs requires mastering 4 key carpentry principles: uniform riser heights, minimum tread run depths, 2×12 stringer throat strength, and proper bottom step thickness deductions.

International Residential Code (IRC) Stair Standards

Under Section R311.7 of the International Residential Code (IRC), all residential interior stairs, outdoor porch steps, and deck stair calculator projects must adhere to strict dimensional limits:

Maximum Riser7¾″ (7.75″)Maximum vertical height per step.
Minimum Tread10.0″Minimum horizontal depth per step.
Riser Tolerance⅜″ (0.375″)Max variance between tallest and shortest.
Min Headroom6′ 8″ (80″)Clear vertical height above nosing line.

The 2R + T Rule (Blondel's Comfort Formula)

Architects and master carpenters evaluate stair comfort using François Blondel's historical stair calculation formula:

(2 × Riser Height) + Tread Depth = 24″ to 25″

For example, a stair with a 7.20″ riser and a 10.5″ tread run produces: $(2 \times 7.20) + 10.5 = 24.9″$, representing a naturally comfortable human stride without causing knee strain or tripping.

3D Architectural Diagram of Stair Angle, Slope Incline and Headroom Clearance

Stair Stringer Calculator & Spacing Rules for Wood and Composite

When cutting custom stringers or using an ez stair deck calculator approach, selecting the correct stair stringer spacing calculator value is vital for load bearing:

  • 16″ On-Center Spacing: Recommended for standard 2×6 or 5/4×6 solid wood planks (pressure-treated pine, cedar, redwood).
  • 12″ On-Center Spacing: Mandatory for composite and PVC decking (capped composite, solid polymer) and commercial stairs to eliminate tread bounce and meet code deflection ratings.
  • Bottom Stringer Deduction (The Golden Rule): When cutting your stringer board, you must deduct the exact thickness of one tread plank from the bottom riser cut (e.g. $7.20″ - 1.0″ = 6.20″$). This ensures that when the bottom tread board is installed, the finished height from the floor to the top of the first step matches every other step exactly.
  • Throat Depth Strength: Never notch deeper than leaving 3½ inches (89mm) of solid lumber along the back of the 2×12 board to avoid structural cracking under heavy foot traffic.

Stair Calculator with Landing (Over 12-ft Rise)

Building codes require an intermediate resting landing for any continuous stair flight exceeding 12 feet (144 inches / 3658mm) of vertical rise. Landings must have a minimum depth equal to the width of the stairs (minimum 36 inches). In L-shaped and U-shaped configurations, intermediate landings provide safe direction changes.

Stair Spindle Spacing Calculator (4-Inch Sphere Rule)

Guardrail and balustrade safety codes dictate that balusters and spindles must be spaced so that a 4-inch (102mm) sphere cannot pass through any opening. At the stair tread and bottom rail intersection (the triangle under the bottom rail), a 6-inch sphere maximum is permitted.

Stair Calculator UK (BS 5395) & Spiral Stair Geometry

For projects in the United Kingdom and Europe, our stair calculator uk adheres to Approved Document K of the UK Building Regulations:

  • UK Domestic Stairs: Max Rise = 220mm, Min Going (Tread Run) = 220mm, Max Pitch = 42°, and 2G + R relationship must fall between 550mm and 700mm.
  • Spiral Stair Calculator Guidelines: Spiral staircases must maintain a minimum 26-inch (660mm) clear width, with tread depths measuring at least 7½ inches at a distance of 12 inches from the narrow side of the center post.
Frequently Asked Questions

Stair & Stringer Calculation Guide

Expert answers to common questions about stair rise and run mathematics, 2×12 stringer cuts, deck stair geometry, and IRC building code compliance.

Basic Stair Calculations

How do I calculate how many stairs I need?
To calculate the number of stairs (risers) you need: 1. Measure the exact vertical Total Rise (from finished lower floor to finished upper floor/landing) in inches. 2. Divide the total rise by your target riser height (standard is 7.5 inches, with a maximum of 7.75 inches by IRC building code). 3. Round the result to the nearest whole number to get your total riser count. For example, for an 8-foot (96-inch) rise: 96 ÷ 7.5 = 12.8 → round to 13 risers. Exact riser height = 96 ÷ 13 = 7.38 inches (7 3/8″).
How do I calculate stair rise and run?
Stair rise is the vertical height of each step, calculated as: Total Rise ÷ Number of Risers. Stair run (tread depth) is the horizontal stepping depth from the face of one riser to the face of the next (standard residential run is 10 to 11 inches, minimum 10.0″ by code). To calculate the Total Horizontal Run footprint: Multiply the Tread Run by the number of treads (Number of Risers − 1 for flush mount). For 14 risers with 10.5″ run: 13 treads × 10.5″ = 136.5 inches (11 ft 4½ in) total horizontal run.
How many treads are needed for a staircase?
In standard flush-mount staircase construction (where the upper landing or top floor acts as the final step), you need exactly one fewer tread than risers: Number of Treads = Number of Risers − 1. For example, a 14-riser staircase requires exactly 13 physical tread boards. If the top step is built with its own independent tread dropped one riser below the upper deck/floor (step-down mount), the number of treads equals the number of risers (14 treads for 14 risers).
What is the difference between stair rise, run, tread, and riser?
• Rise (Riser Height): The vertical distance from the top of one step tread to the top of the next step tread (ideal: 7.0″ to 7.75″). • Run (Tread Run): The horizontal distance from the front face of one riser to the front face of the next riser (ideal: 10.0″ to 11.0″). • Tread (Tread Board): The horizontal plank or surface you step on. The total tread board depth equals the Run plus the Nosing overhang (e.g. 10.5″ run + 1.0″ nosing = 11.5″ board depth). • Riser (Riser Board): The vertical board closing the space between consecutive step treads (standard 1×8 board).

Stringers & Layout

How do I calculate stair stringer length?
Stair stringer cut length is calculated using the Pythagorean theorem on the right triangle formed by Total Rise and Total Run: Stringer Diagonal = √(Total Rise² + Total Run²). For example, with a 108-inch total rise and 147-inch total run: √(108² + 147²) = √(11,664 + 21,609) = √33,273 = 182.4 inches (15 ft 2½ in). Add 6 to 12 inches for top plumb and bottom seat cuts, which means you should purchase 16-foot 2×12 lumber boards.
How long should my stair stringers be?
Your stair stringer lumber boards must be long enough to span the full diagonal from the lower floor attachment to the upper floor framing header. Measure the hypotenuse of your total rise and total run, then round up to the next even standard commercial lumber board length (8 ft, 10 ft, 12 ft, 14 ft, 16 ft, 18 ft, or 20 ft). For a 9-foot ceiling (108″ rise), stringers have a diagonal cut length of approx 15 ft 3 in, requiring 16-foot 2×12 boards.
How much space do I need for a staircase?
To fit a straight staircase, you need horizontal floor space equal to the Total Run plus a clear landing zone at both the top and bottom (minimum 36 inches deep by the width of the stairs). For a standard 9-foot ceiling (108″ rise) with 15 risers and 10.5″ treads, the total run is 12 ft 3 in (147″). Adding a 36-inch bottom landing requires a total room length of at least 15 ft 3 in (183 inches) with a minimum 36-inch clear hallway width.
What is the best angle for a staircase?
The ideal and most comfortable incline angle for a residential staircase is between 30° and 37° (with 34° to 36° considered the absolute sweet spot). Angles steeper than 38.5° violate standard building codes (IRC R311.7) and feel precarious when descending, while angles below 25° feel unnatural and require excessive horizontal floor footprint.

Stair Dimensions & Comfort

What is the ideal stair riser height and tread depth?
The most comfortable and widely accepted residential stair dimensions are a 7.0 to 7.5-inch riser height paired with a 10.5 to 11.0-inch tread run depth (with a ¾″ to 1¼″ nosing overhang). This combination satisfies both International Residential Code (IRC) maximum limits and natural ergonomic walking stride lengths.
What is the 2R + T rule for stairs?
The 2R + T rule (known as François Blondel's comfort formula) states that twice the riser height plus one tread run should equal between 24 and 25 inches (600mm to 640mm): (2 × Rise) + Tread Run = 24″ to 25″. For example, a 7.20″ riser and a 10.5″ tread gives: (2 × 7.20) + 10.5 = 24.9 inches, which falls perfectly in the golden comfort range and prevents tripping and knee fatigue.

Building Codes

What is the maximum stair riser height?
According to the International Residential Code (IRC Section R311.7.5.1), the maximum riser height for residential stairs is 7¾ inches (7.75 inches / 197 mm). In the UK and Europe (BS 5395 / Approved Document K), the maximum domestic riser height is 220 mm (8.66 inches), with 175mm to 190mm recommended for optimum comfort.
What is the minimum stair tread depth?
Under IRC Section R311.7.5.2, the minimum horizontal tread depth (run) is 10.0 inches (254 mm), measured horizontally between the vertical planes of the foremost projection of adjacent treads. If treads have no nosing overhang (flush risers), the minimum tread depth is 11.0 inches (279 mm). In the UK, the minimum domestic going (run) is 220 mm.
What headroom is required for stairs?
Under IRC Section R311.7.2, the minimum vertical headroom clearance on all parts of a stairway is 6 feet 8 inches (80 inches / 2032 mm). This clearance is measured vertically from the sloped plane connecting the tread nosing line upward to the ceiling or overhead soffit/floor header.

Practical Examples

How many steps do I need for an 8-foot, 9-foot, or 10-foot rise?
• 8-Foot Rise (96 inches): 13 Risers @ 7.38″ (7 3/8″) with 12 Treads (Total Run: 10 ft 6 in at 10.5″ run). • 9-Foot Rise (108 inches): 15 Risers @ 7.20″ (7 3/16″) with 14 Treads (Total Run: 12 ft 3 in at 10.5″ run) OR 14 Risers @ 7.71″ with 13 Treads. • 10-Foot Rise (120 inches): 16 Risers @ 7.50″ (7½″) with 15 Treads (Total Run: 13 ft 1½ in at 10.5″ run).
How do I calculate stairs for a deck or porch?
1. Measure the vertical Total Rise with a level and straightedge from the top of the finished deck surface down to the concrete landing pad or grade. 2. Divide total rise by 7.5″ to determine the number of risers. 3. For deck stairs, use 11.5″ tread depth (created by two standard 5/4×6 or 2×6 deck boards side-by-side with a ¼″ drainage gap). 4. Stringer Spacing: Space 2×12 pressure-treated stringers 16″ on-center for wood treads, or 12″ on-center for composite decking. 5. Golden Rule: Trim the bottom of the stringers by the thickness of one deck tread (1.0″ or 1.5″) so the first step finishes at the exact same uniform height as the others.