Stair Calculator

Lay out a staircase from the total rise. Enter the floor-to-floor height, the maximum riser your code allows and the tread depth, and the calculator gives the number of risers and treads, the exact riser height, the total run, the stringer length and the pitch — and checks the result against the standard comfort rule. Metric or imperial. It runs in your browser.

Typical limits (check your local code)

RuleCommon value
Max riser, private stair190–220 mm (US: 7¾ in)
Min going, private stair220–250 mm (US: 10 in)
2R + G550–700 mm
Max pitch, private stair~42°

When to use it

  1. Plan a new staircase or loft stair.
  2. Lay out deck or porch steps.
  3. Check whether an existing stair is comfortable.
  4. Work out stringer length before buying lumber.

How to Use

  1. Pick metric (mm) or imperial (in).
  2. Enter the total rise floor to floor.
  3. Enter the maximum riser height and the tread depth.
  4. Read the risers, treads, run, stringer length and comfort checks.

Features

  1. Riser count and exact riser height
  2. Treads, total run and stringer length
  3. Pitch angle
  4. 2R + G comfort check
  5. Steepness warning
  6. Metric and imperial
  7. 100% client-side

FAQs

How do I measure the total rise?

From the finished floor at the bottom to the finished floor at the top — include flooring thickness on both levels, or the first or last step will be a different height.

What riser height is comfortable?

Around 170–190 mm (6¾–7½ in). Many codes cap it at 220 mm for private stairs, or 7¾ in in the US.

What is the 2R + G rule?

Twice the riser plus the going (tread depth) should be 550–700 mm. It matches a normal walking stride; outside it, a stair feels too steep or too shallow.

Why is there one fewer tread than riser?

The top step is the upper floor itself, so it isn't counted as a tread.

Does this guarantee code compliance?

No. Codes differ by country and by type of building. Use this to plan, then check your local regulations.

Is my data sent anywhere?

No. All calculation is in the page.

Technical Details

A staircase starts from its total rise, measured finished floor to finished floor. Dividing that by the maximum riser height allowed and rounding up gives the number of risers; dividing the rise by that count then gives the actual riser height, which is always equal for every step because uneven risers are a trip hazard. There is one tread fewer than there are risers, since the top step is the upper floor. The total run is the number of treads multiplied by the tread depth (the going), the stringer length is the hypotenuse of the rise and the run, and the pitch is the angle whose tangent is riser ÷ going. Comfort is checked with the long-established rule that twice the riser plus the going should fall between 550 and 700 mm (about 22–27½ in), and the pitch is flagged above 42°, a common limit for private stairs. These checks are guidance: maximum riser, minimum going and headroom differ between building codes, and the local code is authoritative. Everything runs in the page.

Home & DIY Tools

Home & DIY Tools

  • Gravel Calculator
  • Sand Calculator
  • Mulch Calculator
  • Soil Calculator
  • Paver Calculator
  • Board Foot Calculator
  • AC Tonnage & BTU Calculator
  • Concrete Mix Ratio Calculator