How it works
Every staircase has a total rise, which is the height from the lower floor to the upper floor. The calculator divides it by the riser height you want and rounds to a whole number of steps. It then shares the rise equally, so every riser is the same height. Equal risers are important, because a small difference between steps is a common cause of trips.
A staircase has one more riser than tread, because the top step is the floor you arrive on. The total run is the number of treads times the tread depth. The stair angle comes from the riser and the tread, and the stringer is the sloping board that carries the steps. Its length is the diagonal across the total rise and the total run.
The calculator also shows the rule of thumb that two risers plus one tread should add up to about 24 to 25 inches (600 to 650 mm). Stairs near that figure feel natural to climb. The US International Residential Code (IRC R311.7.5) limits a riser to 7¾ inches (196 mm) and asks for a tread of at least 10 inches (254 mm), and it allows no more than 3/8 inch between the tallest and the shortest riser in a flight. The calculator checks the first two and every riser it gives is equal.
The stringer is the sloping board that carries the steps. The calculator gives its length along the cut line and the shortest standard board that fits it. The same method works for indoor stairs, outdoor steps and deck stairs.
Check it by hand: a total rise of 108 in divided by a 7.5 in target riser is 14.4, so use 14 risers of 108 ÷ 14 = 7.71 in. A stair has one tread fewer than it has risers, because the floor above is the last tread, so with a 10 in tread there are 13 treads and a run of 130 in. The stringer is the diagonal: the square root of 108² + 130² is about 169 in, or 14 ft, so a 16 ft board covers it. For comfort, 2 × 7.71 + 10 = 25.4 in.
Number of risers = total rise ÷ wanted riser, rounded to a whole number Riser height = total rise ÷ number of risers Number of treads = risers − 1 Total run = treads × tread depth Stringer length = √(total rise² + total run²) IRC R311.7.5: riser at most 7¾ in, tread at least 10 in, risers in a flight within 3/8 in of each other
Worked example
A total rise of 108 inches (9 feet) with a wanted riser of 7.5 inches gives 108 ÷ 7.5 = 14.4, which rounds to 14 risers.
Each riser is 108 ÷ 14 = 7.71 inches. With 13 treads of 10 inches, the run is 130 inches and the stringer is about 169 inches (14.1 feet) long. The angle is 37.7 degrees.
Good to know
- Building codes differ by country, region and building type. The US limits shown here are for typical homes, so check your local rules before you build.
- The stringer length is the distance along the cut line, not the length of board to buy. Stringers are cut from a wider board, so buy a longer and wider board than the figure suggests.
- Headroom, landings, handrails and the thickness of the floor and treads change the numbers on a real job. Measure the rise to the top of the finished floor.
Questions people ask
How do I calculate the number of stairs?
Divide the total rise by the riser height you want, and round to the nearest whole number. A total rise of 108 inches with a 7.5 inch riser gives 14 steps.
What is a good riser height and tread depth?
About 7 to 7.5 inches for the riser and 10 to 11 inches for the tread suits most homes. Steeper stairs save space and shallower ones are easier on the knees.
How many treads are there?
One fewer than the number of risers, because the top step is the upper floor. A 14 riser staircase has 13 treads.
How do I calculate a stair stringer?
Find the number of risers from the total rise, share the rise equally, and multiply the treads by the tread depth to get the total run. The stringer length is the square root of rise squared plus run squared. For 108 inches of rise it is about 14.1 feet, so a 16 foot board is the shortest that fits.
What are the stair code limits in the IRC?
IRC R311.7.5 allows a riser of at most 7¾ inches and asks for a tread of at least 10 inches. The tallest riser in a flight may not be more than 3/8 inch taller than the shortest. Other countries and local codes differ, so check yours.
How do I figure out outdoor steps or deck stairs?
Measure the total rise from the ground to the top of the deck surface, then enter it here. The result gives the number of risers, the riser height and the stringer length. On soft ground, steps usually land on a concrete pad or gravel base so the bottom riser stays the same height as the others.
What is the formula for stairs?
Number of risers = total rise ÷ riser height, rounded. Riser = total rise ÷ number of risers. Treads = risers minus 1. Run = treads × tread depth. A comfort check is two risers plus one tread equal to 24 to 25 inches.
Why must every riser be the same?
People expect each step to be the same height without thinking. A difference of even 3/8 inch between steps can cause a trip, which is why codes limit it.
How many steps do I need for a total rise of 96 inches?
A rise of 96 in (8 ft from floor to floor) with a 7.5 in target riser gives 12.8, which rounds to 13 risers of 7.38 in each. With a 10 in tread there are 12 treads, so the total run is 120 in. The stringer is about 153.7 in long, or 12.8 ft, so a 14 ft board fits. The rule 2 × riser + tread comes to 24.8 in, which sits in the comfortable range.
Part of the guide: Roof, stair, deck and structure calculators