Stair Calculator

Calculate stair dimensions, stringer length, and check building code compliance

Target Dimensions (Optional)

Leave blank for automatic optimal calculation based on building codes

How to Use This Stair Calculator

  1. Measure total rise (floor to floor height) precisely
  2. Enter available run (horizontal space) if limited
  3. Select your measurement unit (inches recommended for precision)
  4. Optionally specify preferred rise and run per step
  5. Enter stair width (36 inches minimum for residential code)
  6. Click Calculate to see step dimensions and code compliance

Example: For a 108-inch (9 foot) floor-to-floor rise with 120 inches available run: the calculator suggests 14 steps with 7.71 inch rise and 10 inch run - code compliant and comfortable.

Tip: Always measure floor-to-floor height, not floor-to-landing. Include flooring thickness in your measurement if finish flooring isn't installed yet.

Why Use a Stair Calculator?

Properly designed stairs are critical for safety and comfort. Building codes exist because poorly designed stairs cause injuries.

  • Design new construction stairs to meet building codes
  • Plan deck or porch stairs for proper rise and run
  • Calculate lumber requirements for stair stringers
  • Verify existing stairs meet code before selling a home
  • Design basement or attic stairs with limited headroom
  • Calculate step dimensions for accessibility requirements

Understanding Your Results

Results include step dimensions, stringer length, and building code compliance status.

Green (Code Compliant)

Meaning: Meets IRC requirements

Action: Safe for construction; verify local amendments to code

Yellow (Warning)

Meaning: Borderline or non-compliant

Action: Adjust dimensions or check local code variances

Rise 7-7.5 inches

Meaning: Optimal comfort range

Action: Most comfortable for average stride

Rise over 7.75 inches

Meaning: Exceeds code maximum

Action: Add more steps to reduce rise per step

Note: Building codes are minimums. More comfortable stairs often have 7 inch rise and 11 inch run. Outdoor stairs typically use shallower angles (6-7 inch rise, 12+ inch run).

About Stair Calculator

Stair design balances comfort with available space. The rise (vertical height of each step) and run (horizontal depth of each tread) determine how steep and comfortable stairs feel. Human stride naturally follows a relationship between rise and run - the classic formula suggests rise + run should equal about 17-18 inches. Building codes set maximum rise (7.75 inches) and minimum run (10 inches) for safety. The stringer, the diagonal board supporting the steps, must be properly calculated to support the load and cut correctly for consistent steps. You can use our square footage calculator to determine landing areas, and our plan concrete pour for outdoor stair bases.

Formula

Stringer Length = √(Total Rise² + Total Run²) | Comfort: Rise + Run ≈ 17-18 inches

Stringer length uses Pythagorean theorem. The comfort formula ensures the stair angle matches natural stride. Professionals also use 2R + T ≈ 24-25 inches (two rises plus one tread).

Current Standards: IRC requires: max 7.75 inch riser, min 10 inch tread, max 3/8 inch variation between steps, min 36 inch width, min 80 inch headroom, handrail height 34-38 inches. Local codes may be stricter.

Frequently Asked Questions

How many steps do I need?

Divide total rise by your target rise per step (7 inches is comfortable). For 108 inches: 108 ÷ 7 = 15.4, so either 15 or 16 steps. Calculate actual rise: 108 ÷ 15 = 7.2 inches (comfortable) or 108 ÷ 16 = 6.75 inches (very easy). Choose based on available space.

Why must all steps be the same height?

Your body anticipates consistent steps. Even 3/8 inch variation triggers stumbles because your foot expects the floor at a certain point. Building codes mandate uniformity for safety. Measure carefully and cut precisely - differences accumulate if you're off by even 1/8 inch per step.

What size lumber do I need for stringers?

2×12 boards are standard for residential stairs. The notches for treads and risers shouldn't leave less than 5 inches of solid wood at the narrowest point (along the diagonal). For very long spans or heavy loads, use 2×14 or engineered lumber. Space stringers no more than 16 inches apart.

Do outdoor stairs have different requirements?

Outdoor stairs often use gentler angles (6-7 inch rise, 12-14 inch run) for easier climbing with irregular footing. Treads must be slip-resistant. Some codes require different materials or treatments for weather exposure. Drainage considerations prevent ice buildup. Always use pressure-treated lumber.

What if I don't have enough horizontal space?

Consider a switchback design with a landing, spiral stairs, or ladder-style ship's stairs (steeper, allowed in some limited applications). Minimum code requirements still apply, but landings let you turn the stair direction. Each straight run needs the space calculated; landings add about 3 feet depth.

Developed by CalculatorOwl
View our methodology

Last updated: