Complete Stair Building GuideCode, Calculations & Materials
Everything you need to know about building stairs β from measuring rise and run to meeting IRC building code. Covers stair anatomy, calculation methods, common stair types, material options, and cost breakdowns for residential construction.
Quick Answer
To build code-compliant residential stairs, you need a maximum riser height of 7-3/4 inches, a minimum tread depth of 10 inches, a minimum width of 36 inches, and at least 6 feet 8 inches of headroom. Divide total rise by 7.5 inches to get the number of steps, then calculate stringer length using the Pythagorean theorem. Use 2x12 lumber for cut stringers and 5/4 tread stock for stepping surfaces.
Stair Anatomy: Understanding Every Component
Before building stairs, you need to understand the key components and terminology. Every staircase β whether a simple deck stair or a complex interior flight β uses the same fundamental parts.
- Rise (Riser Height): The vertical distance between the top of one tread and the top of the next. IRC maximum is 7-3/4 inches. All risers in a flight must be within 3/8 inch of each other.
- Run (Tread Depth): The horizontal distance from the front edge (nosing) of one tread to the front edge of the next. IRC minimum is 10 inches. This is the flat surface where you place your foot.
- Stringer: The diagonal structural member that supports the treads and risers. Cut from 2x12 lumber for notched (open) stringers, or 2x10 or larger for closed (housed) stringers. Typically spaced 16 inches on center.
- Tread: The horizontal board you step on. Standard residential treads are 5/4x12 lumber (actual 1 inch x 11-1/4 inches) or two 2x6 boards. Treads include a 3/4 to 1-1/4 inch nosing overhang beyond the riser face.
- Riser: The vertical board between treads. Made from 1x8 lumber for closed-riser stairs. Open-riser stairs (no riser boards) are allowed by code if the opening does not permit a 4-inch sphere to pass through.
- Nosing: The front edge of the tread that overhangs the riser below. IRC requires 3/4 to 1-1/4 inches of nosing projection. Nosing provides additional foot room and creates a visual shadow line.
- Handrail: Required on at least one side of stairs with 4 or more risers. Must be 34 to 38 inches above the stair nosing, graspable with a cross section of 1-1/4 to 2 inches diameter.
- Baluster (Spindle): Vertical members between the handrail and treads or bottom rail. Spacing must not allow a 4-inch sphere to pass between them (approximately 4 inches on center).
Understanding these components is essential for accurate calculations and code compliance. Each part has specific size and spacing requirements governed by the IRC Section R311.7.
IRC Building Code Requirements for Stairs (R311.7)
The International Residential Code (IRC) Section R311.7 establishes minimum safety standards for residential stairways. Local jurisdictions may adopt stricter requirements, so always check with your building department.
- Maximum Riser Height: 7-3/4 inches (196 mm). This is the most commonly cited stair dimension. All risers in a flight must be within 3/8 inch of the tallest riser.
- Minimum Tread Depth: 10 inches (254 mm). Measured horizontally from nosing to nosing. Deeper treads (11 inches) are more comfortable but increase the total horizontal run.
- Minimum Width: 36 inches clear, measured between finished walls or from the wall to the handrail. Handrail projections up to 4.5 inches on each side are permitted.
- Minimum Headroom: 6 feet 8 inches (2032 mm) measured vertically from the sloped plane of the tread nosings to the ceiling above. This is measured at every point along the stairway.
- Handrails: Required on at least one side of stairways with 4 or more risers. Height between 34 and 38 inches measured from the tread nosing. Must be continuous for the full length of the flight.
- Landings: Required at the top and bottom of every stairway. Must be at least as wide as the stair and at least 36 inches deep in the direction of travel.
- Guards (Guardrails): Required when the stair is more than 30 inches above grade. Minimum 36 inches high (42 inches in some jurisdictions). Balusters must not allow a 4-inch sphere to pass.
- Lighting: Stairways must have illumination at the top, bottom, and any landings. Stairs with 6 or more risers require 3-way switches at each end.
These are minimum IRC requirements β many local codes are stricter. For example, some jurisdictions require handrails on both sides, wider treads, or landings when the flight exceeds 12 feet of rise. Always pull a permit and schedule an inspection for permanent staircase construction.
How to Calculate Stairs Step by Step
Calculating stairs involves determining the number of steps, the exact rise and run per step, and the stringer length. Follow these steps for an accurate stair layout.
- Step 1 β Measure Total Rise: Measure the vertical distance from the finished lower floor to the finished upper floor. Include the thickness of any flooring material (hardwood, carpet, tile) on both levels. This is your total rise in inches.
- Step 2 β Calculate Number of Risers: Divide the total rise by the ideal riser height (7 to 7.5 inches). Round to the nearest whole number. Example: 108 inches / 7.5 = 14.4, round to 14 risers.
- Step 3 β Calculate Actual Rise Per Step: Divide the total rise by the number of risers. Example: 108 / 14 = 7.714 inches per riser. Verify this is at or below the 7.75-inch maximum.
- Step 4 β Determine Tread Run: Choose a tread run of at least 10 inches. The rise-plus-run rule says one rise plus one run should equal 17 to 18 inches. With a 7.71-inch rise, a 10.25-inch run gives 17.96 β ideal comfort.
- Step 5 β Calculate Number of Treads: Number of treads = number of risers minus 1. With 14 risers, you have 13 treads. The upper floor acts as the final step.
- Step 6 β Calculate Total Run: Total run = number of treads x tread run. Example: 13 x 10.25 = 133.25 inches (about 11 feet 1 inch). This is the horizontal floor space needed.
- Step 7 β Calculate Stringer Length: Use the Pythagorean theorem: stringer = square root of (total rise squared + total run squared). Example: sqrt(108Β² + 133.25Β²) = sqrt(11664 + 17755.56) = sqrt(29419.56) = 171.5 inches (about 14 feet 4 inches).
- Step 8 β Verify Headroom: At every point along the stair, measure 6 feet 8 inches vertically from the tread nosing to the ceiling. Adjust the stairwell opening size if headroom is insufficient.
Use our free Stair Calculator to perform all these calculations instantly. Enter your total rise and desired tread run to get step count, riser height, and stringer length in seconds.
Common Stair Types
The type of staircase you build depends on available space, budget, building code, and aesthetic preferences. Here are the four most common residential stair configurations.
- Straight Stairs: The simplest and most common design. One continuous flight from bottom to top with no turns. Requires the most horizontal floor space (typically 10 to 14 feet of run for a standard floor height). Easiest to build and most cost-effective. Best for basements, exterior decks, and simple floor plans.
- L-Shaped Stairs: A straight flight with a 90-degree turn at an intermediate landing. Reduces the overall linear footprint by turning a corner. The landing provides a rest point and can be positioned at any height in the flight. Common in two-story homes where the stair fits against two perpendicular walls.
- U-Shaped Stairs: Two parallel flights connected by a 180-degree landing. Takes up less floor length than a straight stair but more width. Common in multi-story homes and commercial buildings. The wide landing at the turn provides a generous rest area. Also called switchback or half-turn stairs.
- Spiral Stairs: A compact design that winds around a central column. Fits in a circular well opening as small as 44 inches diameter, though 60 inches is recommended. Subject to stricter code requirements (IRC R311.7.10.1): maximum 9.5-inch rise, minimum 26-inch clear width, and 6-foot-6-inch headroom. Best for secondary access to lofts, basements, or attics.
Choose straight stairs when you have the floor space β they are the easiest to build and most comfortable to climb. Use L-shaped or U-shaped designs when space is limited, and reserve spiral stairs for secondary access or design statements.
Stair Material Options & Costs
The material you choose for your staircase affects cost, durability, appearance, and maintenance. Here is a comparison of the five most common stair materials for residential construction.
| Material | Cost per Step | Best For |
|---|---|---|
| Pressure-Treated Pine | $8 β $15 | Exterior stairs, decks, budget projects |
| Douglas Fir / SPF | $10 β $20 | Interior framing, carpeted stairs, painted stairs |
| Red Oak Hardwood | $25 β $50 | Interior finished stairs, stained or clear-coated |
| Composite / PVC | $30 β $60 | Exterior stairs, low-maintenance decks |
| Concrete (Precast/Poured) | $40 β $100 | Exterior entries, basements, commercial |
Stair Construction Cost Breakdown
Stair costs vary widely based on design complexity, materials, and whether you hire a contractor or build DIY.
A basic exterior deck staircase (4 to 6 steps) costs $200 to $600 in materials using pressure-treated lumber. A standard interior straight staircase (12 to 15 steps) costs $1,500 to $3,500 in materials for framing lumber, treads, and basic handrail. Premium hardwood treads add $300 to $800. Professional installation adds $1,000 to $3,000 in labor.
L-shaped and U-shaped stairs with landings cost 20 to 40% more than straight stairs due to the additional framing and landing platform. Spiral staircases range from $1,500 for a basic steel kit to $20,000+ for custom wood or iron designs. Curved staircases are the most expensive at $10,000 to $50,000 due to the complex engineering and custom-bent stringers.
DIY stair construction saves 40 to 60% over contractor pricing. A homeowner with intermediate carpentry skills can build a straight exterior or interior staircase in 1 to 2 weekends. L-shaped and U-shaped stairs are moderately challenging DIY projects. Spiral and curved stairs should be left to professionals or purchased as pre-fabricated kits.
Calculate Your Stair Project
Use our free stair calculators to get instant, code-compliant dimensions for your project. No signup required.