Stair Calculator

Work out the number of steps, rise, run, stringer length, and headroom for a straight staircase.

Updated

StringerTotal riseRunRiseTotal run
Total rise
Floor to floor height, from the top of the lower floor to the top of the upper floor.
Run to enter
Run (tread depth)

Stair layouts with a 5 to 10 in (12.7 to 25.4 cm) rise

11 options, from 10 to 20 steps

Each row divides the total rise into equal risers. Steps are the treads you walk on; there is one more riser than steps because the last rise ends at the upper floor. Most US building codes allow a rise of up to 7¾ in with treads at least 10 in deep.

Scroll the table sideways to see every column.

StepsRisersRiseTotal runStringer lengthStringer heightAngle
10119.82 in24.9 cm8 ft 4 in254.0 cm11 ft 8.14 in356.0 cm8 ft 2.18 in249.4 cm44.47°
11129 in22.9 cm9 ft 2 in279.4 cm12 ft 3.99 in375.9 cm8 ft 3 in251.5 cm41.99°
12138.31 in21.1 cm10 ft304.8 cm13 ft 0.01 in396.3 cm8 ft 3.69 in253.2 cm39.72°
13147.71 in19.6 cm10 ft 10 in330.2 cm13 ft 8.19 in417.0 cm8 ft 4.29 in254.7 cm37.65°
14157.2 in18.3 cm11 ft 8 in355.6 cm14 ft 4.51 in438.2 cm8 ft 4.8 in256.0 cm35.75°
15166.75 in17.1 cm12 ft 6 in381.0 cm15 ft 0.97 in459.7 cm8 ft 5.25 in257.2 cm34.02°
16176.35 in16.1 cm13 ft 4 in406.4 cm15 ft 9.56 in481.5 cm8 ft 5.65 in258.2 cm32.43°
17186 in15.2 cm14 ft 2 in431.8 cm16 ft 6.25 in503.6 cm8 ft 6 in259.1 cm30.96°
18195.68 in14.4 cm15 ft457.2 cm17 ft 3.05 in525.9 cm8 ft 6.32 in259.9 cm29.61°
19205.4 in13.7 cm15 ft 10 in482.6 cm17 ft 11.93 in548.5 cm8 ft 6.6 in260.6 cm28.37°
20215.14 in13.1 cm16 ft 8 in508.0 cm18 ft 8.9 in571.2 cm8 ft 6.86 in261.3 cm27.22°

Was this tool helpful?

Leave a rating to help us build a better tool.

Average 0.0 / 5 · 0 reviews


How this stair calculator works

The stair calculator has two modes. Compare Step Counts takes the total rise (floor to floor height) and either the run of one step or the total run, then lists every layout whose rise falls between 5 and 10 inches. Design One Staircase works out a single staircase from a fixed rise or a fixed number of steps, with optional tread thickness, a headroom check, and the stringer mount.

For example, a total rise of 108 inches (9 ft) with 10-inch treads can be built with 13 steps and 14 risers of 7.71 in. The total run is 10 ft 10 in, and each stringer is 13 ft 8.19 in long and climbs 8 ft 4.29 in at an angle of 37.65°.

How to calculate stairs: rise and run

The rise is the height of one step, measured from the top of one tread to the top of the next. The run is the depth of one tread. A stair rise and run calculator, or stair riser calculator, divides the total rise into equal risers, and there is one more riser than treads because the last riser ends at the upper floor:

Rise = total rise ÷ risers
Steps = risers − 1
Total run = steps × run
Angle = arctan(rise ÷ run)

With a fixed rise, the calculator uses as many full rises as fit and makes the first step from what is left over. A 108-inch total rise with a 7.5-inch rise gives 14 full rises and a 3-inch first step, so a fixed number of steps is usually the better choice when you want every step the same height.

Stair stringer calculator

The stringer is the sloped board that carries the treads. Its length is the hypotenuse of a right triangle formed by the total run and the stringer height:

Stringer length = √(total run² + stringer height²)

With a standard mount, the stringer stops one rise below the upper floor, so its height is the total rise minus one rise. A flush mount runs the stringer up level with the upper floor, which adds one step and makes the stringer height the full total rise. If the treads sit on top of the stringer, the tread thickness comes off the stringer height and off the first step cut, so the first step keeps its intended height once the tread is on.

Stair headroom and floor openings

Turn on the headroom check to enter the length of the opening in the upper floor, the floor's thickness, and the headroom you need. The calculator measures the clearance from the tread below the edge of the opening up to the underside of the floor, and if it falls short, how long the opening needs to be. Most US building codes require at least 6 ft 8 in of headroom.

Frequently asked questions

How many steps do I need?

Divide the total rise by the rise you want and round up to get the number of risers; the number of steps is one less. For a 108-inch rise and a code maximum of 7¾ inches, 108 ÷ 7.75 = 13.9, so you need 14 risers of 7.71 in and 13 steps.

What are the building code limits for stairs?

The International Residential Code, which most US states adopt, allows a riser of up to 7¾ inches and requires treads at least 10 inches deep and at least 6 ft 8 in of headroom. Risers within one flight may differ by no more than ⅜ inch. Local codes can differ, so check with your building department.

Can I use this as a deck stair calculator?

Yes. Measure the total rise from the ground where the stairs will land up to the top of the deck surface, then use Compare Step Counts or Design One Staircase as you would for indoor stairs. Remember that the ground may slope, so measure at the spot where the bottom step will sit.

What is the difference between total run and run?

The run is the depth of one tread. The total run is the horizontal distance the stairs cover from the first riser to the last, which is the run times the number of steps. If your space limits how far the stairs can extend, enter the total run and the calculator finds the tread depth for each step count.

Limitations

The calculator assumes a straight flight of equal steps with no landings, winders, or nosing overhang, and it measures headroom from the top of the tread below the opening rather than from the sloped line along the tread nosings that codes use. Lumber sizes, local building codes, and site conditions all affect the final layout, so confirm the measurements before you cut stringers.

What's changed
  • Each length can now be entered in its own unit: feet, inches, meters, or centimeters.
  • Launched.

References