Stair Calculator

Work out how many steps you need, the exact riser height, tread run, total run, stringer length and angle, then check them against building rules.

Measure the total rise from the finished floor at the bottom to the finished floor at the top.

Your stairs–

Every staircase starts with the same question: how many steps fit between this floor and that one?

Get it wrong and you end up with one riser that’s taller than the rest, which trips people up, or a stair too steep to pass inspection.

This stair calculator works it out from one measurement, the total rise from floor to floor, and gives you everything you need to mark out the stringers.

You get the number of risers and treads, the exact riser height (in decimals and to the nearest 1/16 inch), the total run, the stringer length, the angle of the stair and the 2R + G comfort figure.

It then checks the design against the stair rules for homes in the US (IRC), Canada (NBC), the UK (Approved Document K) or Australia (NCC), and draws a side view to scale.

How to Use the Stair Calculator

  • Choose inches or millimetres. The unit you pick also sets the building rules to check against, which you can change.
  • Enter the total rise. Measure from the finished floor at the bottom to the finished floor at the top. If flooring hasn’t gone down yet, allow for its thickness at both ends.
  • Enter your maximum riser height. The calculator uses the fewest risers that keep each one at or under this height. You can also pick a set number of risers from the list and compare options.
  • Enter the tread run (called the going in the UK and Australia). This is the horizontal distance from one nosing to the next, not the full depth of the tread board.
  • Add the details: nosing overhang, tread thickness, stair width and maximum stringer spacing. These give you the tread board depth, the first cut on the stringer and how many stringers to use.

The Stair Formulas

Number of risers = ⌈total rise ÷ maximum riser height⌉, rounded up so no riser is too tall.

Riser height = total rise ÷ number of risers. Every riser in the flight is the same height. That matters because people’s feet expect a steady rhythm.

Number of treads = risers − 1. The upper floor acts as the last step, so a straight stair always has one fewer tread than risers.

Total run = treads × tread run. This is the floor space the stair takes up, from the face of the bottom riser to the top nosing line.

Stringer length = √(total rise² + total run²). This is the Pythagorean theorem along the pitch line. The board you cut it from needs to be longer to allow for the top and bottom cuts.

Stair angle = tan⁻¹(riser ÷ tread run), and 2R + G = twice the riser plus the going, worked out in millimetres.

A 2R + G between 550 and 700 mm matches a natural walking stride, which is why UK and Australian rules use it.

Building Rules the Calculator Checks

  • US – International Residential Code (R311.7.5): risers no more than 7¾ in, treads at least 10 in, nosing of ¾–1¼ in when the tread is under 11 in, and at least 6 ft 8 in headroom.
  • Canada – National Building Code, private stairs: rise 125–200 mm and run 255–355 mm.
  • UK – Approved Document K, private stair: rise 150–220 mm, going 220–300 mm, 2R + G between 550 and 700 mm, and a pitch no steeper than 42°.
  • Australia – NCC Housing Provisions: riser 115–190 mm, going 240–355 mm, 2R + G 550–700 mm, and 2 to 18 risers in each flight.

Local versions of these codes sometimes add their own changes, so treat the check as a design aid. Your building inspector, building control body or certifier has the final say.

Worked Examples

Example 1: a typical US basement stair

The floor-to-floor height is 108 in, and you want risers no taller than 7.5 in, with 10.5 in treads.

108 ÷ 7.5 = 14.4, so you need 15 risers of 108 ÷ 15 = 7.2 in (just under 7 3/16 in) and 14 treads.

The total run is 14 × 10.5 = 147 in (12 ft 3 in). The stringer along the pitch line is √(108² + 147²) ≈ 182.4 in, and the stair angle is about 34.4°.

That’s well inside the IRC limits. A 36 in wide stair with stringers no more than 16 in apart needs 4 stringers.

Example 2: a UK house stair

The rise is 2,600 mm, with a 190 mm maximum riser and a 250 mm going. That gives 2,600 ÷ 190 = 13.7, rounded up to 14 risers of 185.7 mm and 13 treads.

The total going is 3,250 mm, the pitch is 36.6° and 2R + G is 621 mm, so the stair passes every Approved Document K check.

Example 3: the same stair in Canada

Switch the check to Canada and the 250 mm run fails, because Canadian private stairs now need at least 255 mm. Raise the run to 255 mm and the stair passes. The total run grows by 13 × 5 = 65 mm.

Tips for Laying Out Stringers

  • Drop the bottom of the stringer. The first riser on a cut stringer is shorter by one tread thickness, because the treads sit on top of every step and add that height back. The calculator shows this “first riser cut” for you.
  • Use a framing square with stair gauges set to the riser and run, and step them along the board so every cut matches.
  • Check headroom early. Measure straight up from the line of the nosings to the ceiling or the edge of the opening above. In the US you need at least 6 ft 8 in, and in the UK 2.0 m is the usual minimum.
  • Remember handrails and guards, which most codes need once a stair reaches a certain height or number of risers.

Frequently Asked Questions

How many steps do I need for 8 feet?

For a 96 in rise with risers up to 7.75 in, 96 ÷ 7.75 = 12.4, so you need 13 risers of about 7 3/8 in and 12 treads.

What’s the difference between a riser and a tread?

The riser is the vertical height of each step. The tread is the part you stand on. The run, or going, is measured nosing to nosing, while the tread board itself is usually deeper because of the nosing overhang.

What is a comfortable stair angle?

Most comfortable home stairs fall between about 30° and 37°. Anything steeper than 42° is too steep for a private stair in the UK.

Can I use this for deck or outdoor steps?

Yes. Measure from the ground or landing pad up to the top of the deck boards, and enter that as the total rise.

More free tools from our Everyday Calculators collection:

Tahir Mehmood

About the author

Tahir Mehmood

Tahir Mehmood is the founder of Digital Designs SEO LTD, a UK company, with five years of hands-on experience in SEO, content writing and web development. He builds and maintains the calculators on All in Calculators and keeps them up to date. Spotted an error? Contact us and we will fix it.

Last updated: 27 November 2026