Skip to content

Stair Calculator

Plan a staircase from its total rise. The stair calculator works out the number of risers and treads, the riser height, the total run, the stringer length and the stair angle, in inches or centimetres.

Units

Height from the lower floor to the upper floor.

The tallest step you want. Sets the number of risers.

The depth of each step you walk on.

Number of risers

14 risers

Each riser is 7¾ in or less and each tread is 10 in or more, which matches IRC R311.7.5. Local codes can differ.

Actual riser height
7.71 in
Number of treads
13
Total run
130 in
Stringer length
169.01 in
Stair angle
39.7°
Code check
Within IRC R311.7.5

How to use this calculator

  1. 1 Choose inches or centimetres, then enter the total rise from the lower floor to the upper floor.
  2. 2 Enter the tallest riser you want. The calculator sets the number of steps from this.
  3. 3 Enter the tread depth, which is the depth of each step you walk on.
  4. 4 Read the risers, treads, run, stringer length and angle, then check the code line at the bottom of the result.

What the stair calculator works out

A staircase is a series of steps that climb a fixed height. Each step has a riser, which is the upright part, and a tread, which is the flat part you stand on. The total rise is the height the stairs must climb.

Because the number of steps must be whole, the calculator rounds up to get the number of risers. Then it divides the total rise evenly, so every riser is the same height. Even steps are important, because uneven steps are a common cause of trips and falls.

How the steps are calculated

The number of risers is the total rise divided by the maximum riser height, rounded up. The actual riser height is then the total rise divided by that number. The number of treads is always one less than the number of risers, because the top floor is the last landing.

The total run is the number of treads times the tread depth. The stringer, which is the sloping board that holds the steps, is the diagonal across the rise and the run. The angle comes from the rise and the run, using the same geometry as a right triangle. The right triangle calculator shows that relationship in more detail, and the pythagorean theorem calculator works out the stringer alone.

Building codes differ by country

In the United States, the International Residential Code, section R311.7.5, sets a maximum riser of 7¾ inches and a minimum tread of 10 inches for homes. Many local codes follow it, but some do not.

Other countries have their own rules. The United Kingdom, for example, sets stair rules in Approved Document K, and other countries use different limits for rise, going and headroom. Use the calculator as a planning tool, then check the rules where you build.

Tips for planning a staircase

Measure the total rise carefully, from the finished surface of the lower floor to the finished surface of the upper floor. Floor coverings and screed change the height, so measure after they are in place.

Plan the layout before you cut any stringers. If your plans mix inches and centimetres, the unit converter helps. The roofing calculator uses the same idea of rise and run for a roof. A small change in the riser height changes every step, so check the final numbers with a full set of drawings.

  • Keep every riser the same height. Uneven steps are a common trip hazard.
  • Allow enough headroom at the top and along the run. Local rules set the minimum.
  • Use a handrail on at least one side, and check the local rule for both sides.
  • If you need a winding or spiral stair, the rules are different, so check them separately.

Safety on stairs

Falls on stairs cause many serious injuries each year. Good lighting, a sturdy handrail and non-slip treads reduce the risk. Keep the stairs clear of items you could trip over.

For a new staircase, ask a qualified builder or engineer to check the design and the structure. A staircase must carry real loads, not just the weight of the people who use it.

The formula

Number of risers

Risers = ⌈ total rise ÷ maximum riser ⌉

total rise
the height from the lower floor to the upper floor
maximum riser
the tallest step you want

Riser, treads and run

Riser = total rise ÷ risers Treads = risers − 1 Run = treads × tread depth

tread depth
the depth of one step you walk on

Stringer length and angle

Stringer = √(rise² + run²) Angle = arctan(rise ÷ run)

rise
the total rise
run
the total run, not including the nosing

Worked example

A total rise of 108 inches with a 7.75 inch maximum riser and 10 inch treads

  1. 1.Risers: 108 ÷ 7.75 = 13.9, rounded up to 14 risers
  2. 2.Actual riser: 108 ÷ 14 = 7.71 inches
  3. 3.Treads: 14 − 1 = 13 treads, so the run is 13 × 10 = 130 inches
  4. 4.Stringer: √(108² + 130²) = 169.01 inches, and the angle is about 39.7 degrees

Build 14 risers of 7.71 inches with 13 treads. The total run is 130 inches, and the stringer is about 169 inches long.

Frequently asked questions

How many steps do I need for a staircase?

Divide the total rise by the tallest riser you want, then round up. The result is the number of risers. Most staircases have one tread fewer than the number of risers.

What is a good riser height?

Many homes use a riser between about 7 and 7¾ inches, but the right figure depends on local rules and comfort. Keep every riser the same height on one staircase.

Why is there one fewer tread than riser?

The top of the staircase is the upper floor, which is not a step. So a staircase with 14 risers has 13 treads between the floors.

Is this calculator enough to build stairs?

It is a planning tool. Structure, headroom, handrails and local code all matter, so check the details with a qualified builder or your local building authority before you cut any material.

Sources

Last reviewed by the GridCalculators team.