Construction May 2, 2026

How to Calculate Stair Stringers: A Step-by-Step Framing Guide

Learn how to calculate stair rise, run, tread count, and stringer length with standard framing formulas. Includes building code compliance tips and stock board sizing.

DECK / LANDING Total Rise Total Run Rise Run Stringer Length

A stair stringer is the backbone of any staircase. It is the diagonal board (typically a 2x12) cut to support the treads and risers. Even a tiny math error during layout can lead to uneven, dangerous steps and code violations. This guide explains the exact geometry and formulas needed to calculate stair stringers, matching the logic built into our Stair Stringer Calculator.

The golden rule of stairs: All steps must be identical. A difference of even 3/8 of an inch between steps is a major tripping hazard and will fail building inspections.

Core Stairway Terminology

Before jumping into formulas, you need to understand the four primary measurements:

  • Total Rise: The exact vertical distance from the finished lower floor to the finished upper deck or landing.
  • Total Run: The total horizontal space the staircase occupies from start to finish.
  • Step Rise (Unit Rise): The vertical height of a single step.
  • Step Run (Unit Run): The horizontal width of a single tread, excluding the nosing overlap.

Step-by-Step Stair Calculation

To layout your stringer, calculate the dimensions using these four steps:

1. Measure the Total Rise

Stretch your tape measure vertically from the lower landing level to the top of the deck or upper floor. Measure to the nearest 1/16 of an inch. For our example, we will use a Total Rise of 96 inches.

2. Calculate the Number of Steps

Divide the Total Rise by a target step rise. The standard residential target is 7.5 inches. Round the result to the nearest whole number to get your step count:

Steps = Total Rise / 7.5

Using our 96-inch example: 96 / 7.5 = 12.8 steps. We round 12.8 to the nearest whole number, giving us exactly 13 steps.

3. Calculate the Exact Step Rise

Now, divide the Total Rise by your whole step count. This gives you the exact rise per step:

Step Rise = Total Rise / Steps

Using our example: 96 / 13 = 7.38 inches per step (about 7 3/8 inches).

4. Choose the Step Run and Find the Total Run

Select your step run, which is the tread depth. Standard residential stairs typically use a 10-inch or 11-inch run. We will use a target run of 10 inches. The Total Run depends on your top step style:

  • Standard Style (One step below): The top tread is cut one step below the deck level. The number of treads is Steps minus 1. Total Run = 12 treads x 10 inches = 120 inches.
  • Flush Style (Flush with deck): The top tread is level with the deck, requiring an extra tread piece. The number of treads equals the step count. Total Run = 13 treads x 10 inches = 130 inches.

Calculating the Diagonal Stringer Length

To find out what size board you need to buy (usually 2x12 lumber), use the Pythagorean theorem on the right triangle formed by the Total Rise and Total Run:

Stringer Length = √(Total Rise² + Total Run²)

For our standard style example:

  • Total Rise = 96 inches
  • Total Run = 120 inches
  • Stringer Length = √(96² + 120²) = √(9216 + 14400) = √(23616) = 153.67 inches (12.8 feet)

Always add a safety margin of 12 inches to cover the angled head and footer cuts. This brings our lumber length to 165.67 inches (13.8 feet). You should purchase standard 14-foot 2x12 stock boards for this project.

Building Code and Ergonomic Rules

Building codes keep stairs safe. The International Residential Code (IRC) enforces these rules:

  • Maximum Rise: The step rise cannot exceed 7.75 inches (residential) or 7 inches (commercial and exterior decks).
  • Minimum Run: The tread depth must be at least 10 inches (residential) or 11 inches (commercial).
  • Ergonomic Rule (2R + U): For a comfortable walking stride, twice the rise plus the run should equal between 24 and 25.5 inches. In our example: 2 x 7.38 + 10 = 24.76 inches, which is perfect.
  • Stair Angle: The ideal stair incline is between 30 and 35 degrees. Angles over 38 degrees are too steep and unsafe.

Skip the Manual Math

Instead of doing these calculations by hand, use the Stair Stringer Calculator. It computes step rise, total run, diagonal length, custom building codes, and lumber shopping lists instantly. For estimating the raw lumber costs, you can check your boards against the Lumber Calculator.

FAQ

Frequently Asked Questions

What is the standard rise and run for stairs?
The standard residential target is a 7.5-inch rise and a 10-inch run. Building codes limit the maximum rise to 7.75 inches and require a minimum run of 10 inches.
How do you calculate stringer length?
Use the Pythagorean theorem: square the Total Rise, square the Total Run, add them together, and take the square root. Always add 12 inches to the result to account for the angled cuts.
What size lumber is used for stair stringers?
Stair stringers are framed using 2x12 lumber. Never use 2x10 or smaller boards, as cutting the steps leaves too little wood remaining in the throat, weakening the stairs.
What is the difference between standard and flush stair styles?
In a standard style, the top step is one rise below the upper floor level. In a flush style, the top tread is flush with the upper floor, which requires one extra tread and increases the total horizontal run.

About Octa Calculator Team

The Octa Calculator Team builds and maintains the calculators on this site. Every formula is documented on its calculator page, and every guide is checked against the same math the tools use.

More Guides