Stair Calculator
Part of our Structural Calculators
Calculate stair rise, run, stringer length, and step dimensions for building code-compliant staircases. Determine ideal measurements for safe, comfortable stairs.
Results
How to Use the Stair Calculator
This stair calculator helps carpenters and DIY builders design code-compliant staircases by determining optimal rise, run, and stringer dimensions. Enter the total vertical height (rise) between floors, select your desired tread depth (run), and specify stringer board size. The calculator computes the number of steps, individual rise and run dimensions, total horizontal distance required, stringer length, and angle. Use these measurements to lay out and cut stair stringers accurately while ensuring comfort and building code compliance.
Understanding Stair Terminology
Rise: The vertical distance between two consecutive treads or from one floor to the next. Individual rise refers to one step height, while total rise is the complete vertical distance the staircase spans. Building codes typically limit individual rise to 7-3/4 inches maximum for safety and comfort.
Run: The horizontal depth of each tread where you place your foot. Individual run (or tread depth) must be at least 10 inches for residential stairs, 11 inches for commercial. Total run is the overall horizontal distance the staircase occupies from bottom to top. Deeper runs create more comfortable, less steep stairs.
Stringer: The structural support boards (usually 2x12 lumber) that carry the weight of the stairs and provide the framework for attaching treads and risers. Stringers are notched in a sawtooth pattern to support each step. Most residential stairs use three stringers—two outer and one center for support.
Tread: The horizontal surface you step on. Treads must be at least 10 inches deep (run) and are typically made from 2x12 boards, hardwood, or engineered materials. The nosing (front edge overhang) extends 3/4 to 1-1/4 inches past the riser below, providing additional foot room.
Building Code Requirements
Stair dimensions are heavily regulated by building codes to ensure safety. International Residential Code (IRC) and local building codes specify maximum and minimum dimensions. Violating these codes creates dangerous stairs and fails inspections. Always verify local requirements—some jurisdictions have stricter rules than IRC minimums.
Maximum Rise: 7-3/4 inches (7.75") per step for residential stairs. Exceeds this height create dangerously steep stairs, especially when descending. Commercial and industrial stairs often have lower maximum rises (7 inches).
Minimum Run: 10 inches for residential stairs, measured horizontally from nosing to nosing. Shallower treads cause trips and falls. Some codes require 11 inches for increased safety.
Consistency: Individual rises and runs must be uniform throughout the staircase within 3/8 inch tolerance. Inconsistent step heights cause trips—your brain expects uniform spacing. The first and last steps are common problem areas.
Headroom: Minimum 6 feet 8 inches vertical clearance measured from tread nosing to overhead obstruction. Insufficient headroom creates bumping hazards and claustrophobic feel.
The 18-Inch Rule (Optimal Comfort)
Beyond code minimums, ergonomic guidelines improve stair comfort and safety. The "18-inch rule" states that twice the rise plus the run should equal 24-25 inches for optimal comfort. This formula reflects natural human stride: 2R + T = 24-25 inches. For example, a 7-inch rise with 11-inch run equals 25 inches (2×7 + 11), providing comfortable stairs.
Stairs meeting code minimums (7.75" rise, 10" run = 25.5") feel steeper than optimal. More comfortable stairs use 7" rise and 11" run (25 inches total) or 6.5" rise and 12" run (25 inches). Lower rises require more steps and greater total run, consuming more space. Design stairs considering both code compliance and user comfort—flatter stairs are easier to navigate, especially for elderly or disabled users.
Calculating Number of Steps
Determine the number of risers by dividing total rise by desired individual rise, then round to the nearest whole number. For example, a 108-inch total rise with 7-inch target rise: 108 ÷ 7 = 15.43, round to 15 risers. Divide total rise by actual riser count for precise individual rise: 108 ÷ 15 = 7.2 inches per riser.
The number of treads always equals the number of risers minus one (N-1) because the top floor serves as the final tread. Using the previous example: 15 risers require 14 treads. Total horizontal run equals number of treads multiplied by individual run: 14 × 11" = 154 inches (12.83 feet). Ensure adequate space exists for this horizontal distance.
Stringer Layout and Cutting
Stringers are laid out using a framing square (carpenter's square) marking rise on one leg and run on the other. Use stair gauges or blocks clamped to the square for consistent measurements. Mark the sawtooth pattern along a 2x12 board, creating level tread cuts and vertical riser cuts. Account for tread thickness by reducing the bottom riser cut by the tread thickness—this ensures the first step height matches others once treads are installed.
Stringer length is calculated using the Pythagorean theorem: √(total rise² + total run²). For 108-inch rise and 154-inch run: √(108² + 154²) = √(11,664 + 23,716) = √35,380 = 188 inches or 15.67 feet. Purchase 2x12 boards at least 16 feet long for this staircase. The stringer angle (pitch) is arctan(rise/run), approximately 35 degrees for this example.
Stringer Material and Spacing
Use structural grade 2x12 lumber for stringers—2x10 works for short, narrow stairs but 2x12 provides better strength and more material after notching. Avoid excessive knots near notch cuts, which weaken the stringer. The minimum stringer depth (material remaining below notches) should be at least 5 inches—shallower stringers risk breakage.
Standard residential stairs require three stringers: one on each side and one center support. Space stringers no more than 16 inches apart for typical 2-inch thick treads. Wider stairs or thinner treads need closer spacing. Use four or five stringers for stairs wider than 48 inches. Attach top of stringers securely to header joist with joist hangers or metal stair brackets. Bottom should rest on solid footing or concrete slab.
Common Stair Design Mistakes
Inconsistent first or last step: Forgetting to adjust for tread thickness causes the first step height to differ from others. Always reduce the bottom riser cut by the tread thickness amount.
Insufficient headroom: Failing to calculate diagonal clearance. Measure from tread nosing perpendicular to overhead obstruction—minimum 80 inches (6'8") required.
Wrong material: Using 2x10 stringers for long stairs or heavy use. The reduced depth after notching weakens structure. Always use 2x12 for residential stairs.
Too steep: Maximizing rise to minimize steps creates uncomfortable, dangerous stairs. Aim for 7-7.5 inch rise when possible rather than code maximum of 7.75 inches.
No riser boards: Open risers (gaps between treads) are allowed by some codes but dangerous for children and pets. Install riser boards for safety, especially if gaps exceed 4 inches.
Landing Requirements
Landings provide rest areas and safety zones in long staircases. Building codes require a landing at the top and bottom of every staircase, with additional mid-run landings for stairs exceeding certain heights (typically 12 feet of vertical rise). Landings must be at least as wide as the stair width and at least 36 inches deep in the direction of travel.
For stairs with doors at top or bottom, the landing must extend at least 36 inches beyond the door swing to prevent conflicts between door operation and stair use. Avoid placing doors to swing over stairs—dangerous code violation. L-shaped and U-shaped stairs incorporate intermediate landings that change direction, reducing the vertical height of each straight run while fitting stairs into smaller floor plans. Design landings with the same attention to levelness and structural support as the stairs themselves.