Stair Calculation Formula

Results
—
—

The Stair Calculation Formula page explains every formula you need to design a safe, code-compliant staircase. Whether you're a carpenter, architect, or DIY builder, understanding the math behind stairs ensures comfort and safety.

**Core Formulas:** - Number of Risers = Total Rise ÷ Desired Riser Height (rounded) - Actual Riser Height = Total Rise ÷ Number of Risers - Tread Depth = Total Run ÷ (Number of Risers − 1) - Slope Angle = arctan(Riser Height ÷ Tread Depth) - Stringer Length = √(Total Rise² + Total Run²)

**The Blondel Rule (2R + T):** The most important comfort formula in stair design is Blondel's rule: 2R + T ≈ 24-25 inches (or 63 cm), where R is riser height and T is tread depth. Proposed by French architect François Blondel in 1675, it matches stair proportions to the natural human stride. A stair that satisfies 2R + T ≈ 25 in feels effortless to walk.

**Building Code Limits:** Most building codes require risers between 4-7.75 inches and treads at least 10-11 inches deep. The angle should stay between 30° and 37° for comfortable everyday use. Variation between consecutive risers must not exceed 3/8 inch.

Use the calculator below to apply all these formulas instantly — enter your total rise, total run, and preferred riser height to see the number of steps, tread depth, slope angle, and stringer length.

Stair Calculation Formula: Risers, Treads, Slope & the Blondel Rule

The Five Formulas Behind Every Staircase

Every safe, comfortable stair comes down to five relationships between the total rise (floor-to-floor height), the total run (horizontal distance), and the individual step dimensions:

  • Number of risers = Total Rise ÷ Desired Riser Height, rounded to the nearest whole number.
  • Actual riser height = Total Rise ÷ Number of Risers, so every step is identical.
  • Tread depth = Total Run ÷ (Number of Risers − 1) — one fewer tread than risers, because the top step lands on the upper floor.
  • Slope angle = arctan(Riser ÷ Tread).
  • Stringer length = √(Total Rise² + Total Run²), from the Pythagorean theorem.

The Blondel Rule (2R + T)

The single most important comfort formula is Blondel's rule: 2R + T should fall between 24 and 25 inches (about 63 cm), where R is the riser height and T is the tread depth. French architect François Blondel derived it in 1675 by matching stair proportions to the natural human stride. A stair that satisfies 2R + T ≈ 25 in feels effortless underfoot; one far from it feels like a stumble or a workout.

Comfort vs. Building Code Limits

Formulas set comfort; codes set the safety envelope. Most codes cap the riser at 7.75 in (IBC) with a 4 in minimum, require tread depths of at least 10-11 in, keep the slope between 30° and 37°, and limit the variation between consecutive risers to 3/8 in. A stair can be mathematically elegant yet still fail inspection if the steps are uneven.

Worked Example

For a 9 ft (108 in) rise with a target 7 in riser: 108 ÷ 7 = 15.4, so use 15 risers and an actual riser of 108 ÷ 15 = 7.2 in. If the total run is 140 in across 14 treads, each tread is 140 ÷ 14 = 10 in. Check Blondel: 2(7.2) + 10 = 24.4 in — comfortably in range. The stringer is √(108² + 140²) ≈ 176.8 in.

Run the Numbers Instantly

Rather than doing the arithmetic by hand, enter your total rise, total run, and preferred riser into the stair calculator to get risers, treads, slope angle, and stringer length in one step.

Formula
Risers = Total Rise ÷ Riser Height; Tread = Total Run ÷ (Risers − 1); Slope = arctan(Riser ÷ Tread); Stringer = √(Rise² + Run²); Blondel: 2R + T ≈ 24-25 in

FAQ

What is the Blondel formula for stairs?
The Blondel formula (2R + T ≈ 63 cm or 24-25 in) is the most widely accepted stair design rule, proposed by François Blondel in 1675. R is the riser height and T is the tread depth. It ensures a comfortable stride by matching the natural human gait.
How do you calculate the number of risers?
Number of risers = Total Rise ÷ Desired Riser Height, rounded to the nearest whole number. The actual riser height is then Total Rise ÷ number of risers, so all steps are equal.
What is the formula for stair slope angle?
Slope angle = arctan(riser height ÷ tread depth). A comfortable staircase typically has a slope between 30° and 37°. Steeper angles (up to 45°) are allowed for tight spaces but are less comfortable.
How do you calculate stringer length?
Stringer length = √(total rise² + total run²), using the Pythagorean theorem. This is the diagonal length of the board that supports the steps. Always add extra length for the top and bottom riser cuts.
What are the standard stair building code requirements?
Most codes require: riser height 4-8 in (max 7.75 in IBC), tread depth min 10-11 in, minimum width 36 in, max riser variation 3/8 in between steps. The 2R+T rule (Blondel) should yield 24-25 in for comfort.

Embed this calculator on your site

Cite this page

About these results

Every calculation on this page runs locally in your browser using published, standard formulas — nothing you enter is sent to a server. Results are estimates for planning purposes and can differ from real-world conditions; always follow your local building code and the advice of a qualified professional for final decisions. You can read more about who builds and maintains these tools on our About page. About MateCalc.

Related Calculators