?

📐 Stair Calculator

Calculate stair rise, run, stringer length, and verify building code compliance. Get precise measurements for safe and code-compliant staircase construction.

Stair Specifications

Vertical distance from floor to floor
Code requires 10-11 inches minimum
Minimum 36 inches for residential

Results

0
Number of Steps
Individual Rise per Step 0"
Total Run (horizontal) 0"
Stringer Length 0"
Stair Angle
Slope Ratio 0:0

Building Code Compliance

?? Checking rise...
?? Checking run...
?? Headroom: 80" minimum

Staircase Diagram

Materials Needed

Based on your stair calculations, here's what you'll need:

Material List

Stringers (2x12) 0 boards
Treads (2x10 or 1x10) 0 boards
Risers (1x8 or ×" plywood) 0 boards
Hardware (screws, joist hangers) 1 set

Understanding Stair Calculations

Key Formulas:

Number of Steps = Total Rise × Target Rise per Step
(Round to nearest whole number)

Individual Rise = Total Rise × Number of Steps

Total Run = (Number of Steps - 1) × Tread Depth

Stringer Length = v(Total Rise× + Total Run×)
(Pythagorean theorem)

Stair Angle = arctan(Total Rise × Total Run)

Building Code Requirements

Different building codes have specific requirements for stair construction to ensure safety:

Measurement IRC (Residential) IBC (Commercial) Tolerance
Maximum Rise 7× inches 7 inches ? inch variance
Minimum Rise 4 inches 4 inches Uniform throughout
Minimum Tread 10 inches 11 inches ? inch variance
Minimum Width 36 inches 44 inches Clear width
Headroom 80 inches 80 inches Measured vertically
Handrail Height 34-38 inches 34-38 inches From nosing

The 2R + T Rule

2 × Rise + Tread = 24-25 inches

This is the "comfort formula" for stairs. A comfortable stair typically has dimensions that follow this rule:
  • 2 × 7" rise + 11" tread = 25" ? Comfortable
  • 2 × 7.5" rise + 10" tread = 25" ? Comfortable
  • 2 × 8" rise + 9" tread = 25" ? On the limit

Stringer Construction

Stringer Basics:

Common Stair Mistakes to Avoid

Critical Errors:
  • Inconsistent rise: All steps must have identical rise (within ?")
  • Forgetting tread thickness: Bottom step must account for tread material thickness
  • Inadequate headroom: Maintain 80" minimum clearance throughout
  • Narrow treads: Treads less than 10" are uncomfortable and unsafe
  • Missing handrails: Required for stairs with more than 3 risers
  • Weak stringers: Must maintain 5" minimum depth after notching

Installation Tips

Stair Terminology

Safety Considerations

Stair Building Codes: Rise, Run, and Handrail Requirements

International Residential Code (IRC) Requirements

Building codes for stairs exist to prevent falls × one of the leading causes of home injury and death. The International Residential Code (IRC), adopted by most US states, specifies precise requirements for residential stair construction. Always check your local municipality's amendments, as many jurisdictions add stricter requirements.

MeasurementIRC RequirementOptimal RangeNotes
Max Rise per Step7× inches (197mm)7×7.5 inchesConsistent rise throughout CRITICAL
Min Run per Step10 inches (254mm)10×11 inchesTread depth excluding nosing
Max Variation in Rise? inch (9.5mm)<× inch idealAll steps must be nearly equal
Min Headroom6 feet 8 inches7 feet+Measured from nosing to ceiling
Min Width (residential)36 inches (914mm)42 inches+Stair width between walls
Handrail Height34×38 inches36 inchesMeasured from nosing vertically
Baluster SpacingMax 4 inches apart3.5 inches idealPrevents child entrapment

The Rise + Run Rule of Thumb: While not a code requirement, the equation Rise + Run = 17×18 inches produces comfortable, naturally-paced stairs. 7" rise + 11" run = 18" (excellent). 8" rise + 9" run = 17" (steeper but traversable). This formula originates from human stride biomechanics.

Most Critical Requirement

Consistent riser height is the most important safety factor. Even ×-inch variation between steps causes 'stair tread expectation' errors that cause falls × your brain expects each step to be the same height. Measure all risers after installation before closing up walls.

Types of Stairs: Straight, L-Shaped, U-Shaped, Winder, and Spiral

Choosing the Right Stair Configuration for Your Space

TypeSpace RequiredDifficultyCostBest For
Straight RunEntire height × footprintEasy$Basements, decks, simple spaces
L-Shaped (Quarter Turn)Smaller footprintModerate$$Most common residential use
U-Shaped (Half Turn)Very compactModerate$$Split-levels, maximizes function
WinderVery compactHard$$Tight spaces; complex to build
SpiralMinimal footprintHard$$$Secondary stairs only (code restrictions)
Curved/HelicalVariesExpert only$$$$Grand entryways, architectural feature

Landing Requirements

Most building codes require a landing when a stair flight changes direction. Landing must be at least as wide as the stair AND at least 36 inches deep in direction of travel. Winder stairs use angled steps instead of a landing × allowed by most codes but require precise calculation.

Spiral Stair Limitations

Spiral stairs are beautiful but highly restricted by code. IRC requires: minimum 26-inch clear width between handrail and center column; minimum 7.5-inch tread depth at 12 inches from center; maximum 9.5-inch rise; and complete 360× within no more than a 5-foot diameter. Most codes prohibit spiral stairs as the primary means of egress from upper floors × they can only be used as secondary access.

DIY Stair Building: Step-by-Step Guide for Beginners

What You'll Need

Stringer Calculation Process

Step 1: Total rise. Measure vertical height from floor to floor (top of deck/landing to bottom landing). Example: 48 inches. Step 2: Number of risers. Divide total rise by desired riser height: 48 × 7 = 6.86, round to 7 risers. Step 3: Actual riser height. 48 × 7 = 6.857 inches. All risers will be exactly 6.857" × never round differently. Step 4: Run (tread depth). 17.5 - 6.857 = 10.64 inches. Round to 10.5" if desired. Step 5: Total run. 6 treads (one fewer than risers) × 10.5" = 63 inches of horizontal space required.

Stringer Cutting

Use a framing square set to your rise (6.857") and run (10.5") measurements. Mark each step incrementally along the stringer board. The bottom of the stringer must be reduced by one tread thickness (usually 1.5") to make all rises equal when treads are installed. A single stair may need 2×3 stringers depending on total width.

Pro Tip

Cut one stringer, install it temporarily, and test all measurements before cutting additional stringers. Any errors are easier to fix with one board than when all lumber is cut. Also: pre-drill all screw locations to prevent splitting in tread and riser lumber.

Standard Stair Dimensions & Building Code Reference

Stairs must meet specific building code requirements for safety. The International Residential Code (IRC) sets minimum standards followed by most US jurisdictions:

DimensionIRC MinimumIRC MaximumOptimal / Comfortable
Riser height4 inches7× inches6××7× inches
Tread depth (run)10 inchesNo max10×11 inches
Stairway width (clear)36 inchesNo max42×48 inches
Headroom clearance80 inches (6 ft, 8 in)No max84+ inches
Handrail height34 inches38 inches36 inches
Baluster spacingN/A4 inches (max gap)3×3.5 inch gap
The "comfort rule" for stairs: 2 × Rise + Run = 24×25 inches for a comfortable stride. At 7-inch risers and 11-inch treads: 2×7 + 11 = 25 ?. To calculate stair count: divide total rise height by desired riser. Example: 9-foot ceiling (108 inches) × 7 inches = 15.4 ? round to 15 stairs, with actual riser = 108/15 = 7.2 inches. The number of treads is always one less than the number of risers.

Frequently Asked Questions

What is the ideal rise and run for stairs?

The ideal stair dimensions are 7-7.5 inches for rise and 10-11 inches for run (tread depth). These proportions provide the most comfortable and safe climbing experience. The relationship should follow the 2R + T = 24-25 formula. For example: 2 × 7.25" rise + 10.5" tread = 25", which is considered optimal for residential stairs.

How do I calculate the number of steps needed?

To calculate steps: 1) Measure total rise (floor to floor height in inches). 2) Divide by your target rise per step (typically 7-7.5"). 3) Round to the nearest whole number - this is your number of risers. 4) Divide the total rise by this number to get the exact rise per step. For example: 108" total rise × 7.5" = 14.4, rounds to 14 steps. Then 108" × 14 = 7.71" per step.

What is the maximum rise allowed by building code?

The International Residential Code (IRC) allows a maximum rise of 7× inches per step for residential construction. The International Building Code (IBC) for commercial buildings is more restrictive at 7 inches maximum. All rises in a flight of stairs must be uniform within ? inch tolerance. Local codes may be more restrictive, so always check with your local building department.

How long should my stair stringers be?

Stringer length is calculated using the Pythagorean theorem: v(total rise× + total run×). For example, with a 108" rise and 130" run: v(108× + 130×) = v28564 = 169 inches or about 14 feet. Always buy stringers 1-2 feet longer than calculated to allow for cuts and adjustments. Use 2x12 lumber for most residential applications.

How many stringers do I need for my stairs?

Minimum 3 stringers for stairs up to 36 inches wide. For wider stairs, add one stringer for every additional 16 inches of width. Example: 36" wide = 3 stringers, 48" wide = 4 stringers, 60" wide = 4-5 stringers. Always space stringers evenly. For heavy-duty applications or hardwood treads, use closer spacing (12-14 inches on center).

What is the minimum headroom required for stairs?

Building codes require a minimum of 80 inches (6 feet 8 inches) of vertical headroom clearance measured from the nosing of the treads to any overhead obstruction. This measurement must be maintained throughout the entire length of the stairway. In attic conversions or tight spaces, carefully plan stair placement to meet this requirement.

Should I account for flooring thickness in my calculations?

Yes, always account for finished flooring thickness. If adding hardwood, tile, or thick carpet to upper or lower floors, include this in your total rise measurement. For example, if adding ×" hardwood upstairs and ×" downstairs, adjust total rise by 1×". The first step rise should be adjusted to account for any flooring thickness to maintain uniform rise throughout.

What angle should stairs be built at?

Residential stairs typically fall between 30-35 degrees. Stairs steeper than 40 degrees become uncomfortable and unsafe, while stairs less than 25 degrees take up excessive space. The ideal angle is 32-33 degrees, which provides comfortable climbing and reasonable space efficiency. This angle is achieved with a 7-7.5" rise and 10-11" tread depth combination.