Complete Architectural Guide to Stair Stringer Layout & Framing Math
Building a set of stairs for a deck, porch, basement, or interior loft is one of the most demanding carpentry tasks in residential construction. At the core of staircase framing is the stair stringer—the structural inclined member (typically cut from a 2x12 or 2x10 lumber board) that supports the treads and risers. Calculating precise individual riser heights, tread run depths, stringer throat depths, and total run lengths is crucial to pass municipal building inspections and ensure comfortable, safe walking ergonomics.
This stair stringer calculator eliminates mathematical errors by determining exact sawtooth cutouts, total horizontal runs, and headroom clearances based on international building codes. If you are also estimating structural framing timber or deck surfaces, you can integrate this tool with our Deck Material Calculator and Board Foot Calculator.
International Building Code Standards for Residential Stairs
Stairways are heavily regulated across the United States (IRC Section R311), Canada (NBC Section 9.8.4), and the United Kingdom (Building Regulations Approved Document K) to prevent tripping, stumbling, and falls. The principal code requirements include:
- Maximum Riser Height: The maximum individual riser height in residential dwellings is 7.75 inches (197 mm) in the US and Canada, and 220 mm in the UK. Consistency is critical: the greatest riser height cannot exceed the smallest by more than 3/8 inch (9.5 mm) within any flight.
- Minimum Tread Run Depth: The minimum clear tread run depth is 10 inches (254 mm) in North America. Similar to risers, tread depths must not vary by more than 3/8 inch across the staircase.
- Headroom Clearance: A minimum vertical headroom clearance of 6 feet 8 inches (80 inches / 203 cm) must be maintained continuously along the stair nosing line.
- Minimum Stair Width: Residential stairs must be at least 36 inches (914 mm) wide clear of all handrails.
The Geometry of Stair Stringers: Formulas & Calculations
1. Calculating Riser Count and Unit Height
To determine how many steps are needed, measure the total vertical rise from the finished lower floor to the finished upper deck surface in inches. Divide this total rise by your target unit riser height (typically 7.25 inches), and round the result to the nearest whole integer:
Exact Unit Riser Height = Total Vertical Rise (in) / Number of Risers
The number of treads is always exactly one less than the number of risers (Treads = Risers - 1). This is because the top landing serves as the final walking surface step.
2. Calculating Total Horizontal Run Length
The total horizontal run is the total ground distance the staircase occupies. It is determined by multiplying the number of treads by the unit tread run depth:
3. The Stringer Throat Depth Rule
When cutting sawtooth notches into a 2x10 or 2x12 lumber board, you remove a significant portion of the solid wood. The remaining unbroken diagonal strip of wood is called the throat. Building codes and structural integrity demand that the remaining throat depth (measured perpendicularly from the inner corner of the cutout to the back edge of the board) must be at least 3.5 to 5 inches to support heavy live loads without snapping.
Stair Framing Sizing Reference Matrix
| Total Rise Height | Number of Risers | Unit Riser Height | Total Horizontal Run (10" Run) | Recommended Stringer Stock |
|---|---|---|---|---|
| 24.0 inches | 3 Risers | 8.00 in | 20.0 inches | 2 x 10 Lumber |
| 36.0 inches | 5 Risers | 7.20 in | 40.0 inches | 2 x 10 Lumber |
| 48.0 inches | 7 Risers | 6.85 in | 60.0 inches | 2 x 12 Lumber |
| 60.0 inches | 8 Risers | 7.50 in | 70.0 inches | 2 x 12 Lumber |
| 72.0 inches | 10 Risers | 7.20 in | 90.0 inches | 2 x 12 Lumber |
| 84.0 inches | 12 Risers | 7.00 in | 110.0 inches | 2 x 12 Lumber |
How to Use This Stair Stringer Calculator
- Select Calculation Mode: Choose Total Rise Calculator for standard deck steps or Rough Opening & Headroom for second-story or basement stairwells.
- Measure Vertical Rise: Using a long straightedge and a spirit level, measure the exact vertical distance from the lower landing grade to the top deck floor.
- Input Target Dimensions: Enter your desired individual riser height and tread depth.
- Select Lumber Size: Choose whether you are cutting from 2x10 or 2x12 framing lumber to verify safe throat depth clearance.
- Click Calculate: Instantly view your step count, exact unit heights, total run, stringer throat depth, and sawtooth layout diagram.
- Print Specification Sheet: Click Print to isolate the results panel and format an A4 printable worksheet for your workshop or job site.