Home › Concrete, Decks & Exterior › Stair Calculator
Concrete, Decks & Exterior

Stair Calculator

Plan a staircase for a deck, porch or basement: number of risers and treads, exact riser height, total run, stringer length and angle.

  • Bags, yards & squares
  • Shows the formula
  • Free, no sign-up
a set of wooden stairs leading up to a building
Photo: Brandon Griggs on Unsplash

Your project

in
Measure from finished surface to finished surface
in
7¾ in = U.S. residential code max
in
10 in min by code; 11 in more comfortable
in
in
Overhang of each tread

Your results

Enter your measurements.

How to calculate stairs

Divide the total rise by the maximum riser height and round up to get the number of risers. Then divide the total rise by that number for the exact riser height, so every step is the same. There is always one fewer tread than risers, because the top "step" is the upper floor or deck.

The formulas

Risers = Total rise ÷ Max riser height (rounded up)
Riser height = Total rise ÷ Risers · Treads = Risers − 1
Total run = Treads × Tread depth
Stringer length = √(Total rise² + Total run²)

Example

A total rise of 108 inches (9 ft) with a 7¾ inch maximum riser: 108 ÷ 7.75 = 13.9, so 14 risers of 7.71 in and 13 treads. With 10 inch treads the run is 130 inches (10.8 ft), the stringer is about 14.1 ft long (use 16 ft 2×12s), and the angle is about 40°.

U.S. residential code basics (IRC)

ItemRequirement
Riser height7¾ in max
Tread depth10 in min
Nosing¾–1¼ in where treads are under 11 in
Width36 in min
Headroom6 ft 8 in
HandrailRequired with 4 or more risers

Building concrete steps instead? Use the /concrete-steps-calculator. Planning the railing? See the /baluster-spacing-calculator.

Frequently asked questions

How many steps do I need for 8 feet?

For a 96 inch rise with a 7¾ inch maximum riser you need 13 risers of about 7.4 inches and 12 treads.

What is the most comfortable stair rise and run?

Many builders use the rule 2 × riser + tread = 24–25 inches, such as a 7 inch rise with an 11 inch tread.

How far apart should stair stringers be?

Usually no more than 16 inches apart for wood treads, so a 36 inch wide stair needs 3 stringers.

Last updated December 2026. Estimates only: confirm quantities with your supplier.