Free Online Calculator

Stair Calculator

Plan a staircase: number of steps, riser height, tread run, angle and stringer length.

Last updated: Free, no sign-up Private — runs in your browser

Quick answer: how to calculate stairs

Divide the total rise by the maximum riser height and round up to get the number of steps. A 108 in (9 ft) rise with a 7.75 in limit needs 14 risers of 7.71 in, 13 treads, and a 10 in tread gives a 37.6° angle.

Overview of the Stair Calculator

The Stair Calculator works out the dimensions of a straight staircase from the total rise (floor-to-floor height) and the tread run. It returns the number of steps, the exact riser height, total run, stair angle and the nose-to-nose stringer length, and checks the layout against common residential limits and comfort rules.

You can let it choose the number of steps from a maximum riser height, aim for a target riser, or fix the number of steps; the run can be entered per step or as the total run. Add tread thickness to find the shorter first riser. Always confirm dimensions with your local building code. To estimate material areas, see the Square Footage Calculator.

How We Calculate Stairs

A staircase is built from equal risers and treads; there is always one more riser than tread, because the top floor acts as the last tread.

  1. Convert all measurements to inches.
  2. Number of risers n = total rise ÷ maximum riser, rounded up (or your chosen number).
  3. Riser height = total rise ÷ n. Treads = n − 1.
  4. Total run = tread × treads (or tread = total run ÷ treads).
  5. Angle = arctan(riser ÷ tread). Stringer = √(total rise² + total run²).
  6. Comfort rules: 2 × riser + tread ≈ 24–25 in, and riser + tread ≈ 17–18 in.
risers = ⌈rise ÷ max riser⌉   treads = risers − 1
angle = atan(riser ÷ tread)   stringer = √(rise² + run²)
Worked examples (calculated with this tool)
InputStepsRiserTreadAngleStringer
108 in (9 ft) rise, 10 in tread147.71 in10 in37.65°169.01 in
9 ft rise, 11 in tread147.71 in11 in35.04°179.2 in
3 m rise, 28 cm tread, 19 cm max riser167.38 in11.02 in33.81°203.2 in
108 in rise, 15 steps, 10 in tread157.2 in10 in35.75°176.82 in

Stair Terminology and Code Limits

Rise is the height of one step; run (tread) is its depth; nosing is the overhang of the tread over the riser; headroom is the clear height above the stairs; the stringer is the sloped structural member that carries the treads. Limits vary by location; typical residential values are below.

Common residential stair code limits
ItemTypical limit
Maximum riser height7.75 in (19.7 cm)
Minimum tread depth10 in (25.4 cm)
Minimum stair width36 in (91.4 cm)
Minimum headroom6 ft 8 in (203 cm)
Handrail height34–38 in (86–96.5 cm)
Guard height (rise over 30 in)at least 34 in (86 cm)
Nosing0.75–1.25 in (1.9–3.2 cm)

Fraction to Decimal Chart

Tape measures use sixteenths of an inch; use this chart to convert measurements for the calculator.

Fraction to decimal reference
FractionDecimal (in)Millimetres
1/160.06251.6
2/160.12503.2
3/160.18754.8
4/160.25006.3
5/160.31257.9
6/160.37509.5
7/160.437511.1
8/160.500012.7
9/160.562514.3
10/160.625015.9
11/160.687517.5
12/160.750019.0
13/160.812520.6
14/160.875022.2
15/160.937523.8
16/161.000025.4

Stair Calculator — Frequently Asked Questions

How do I calculate the number of steps in a staircase?

Divide the total rise by the maximum riser height (7.75 in in many codes) and round up. 108 in ÷ 7.75 = 13.9, so 14 risers.

How do I calculate riser height?

Divide the total rise by the number of risers. 108 in ÷ 14 = 7.71 in.

How many treads are there?

One fewer than the number of risers, because the upper floor forms the final step.

What is the ideal rise and run?

A riser of about 7 in (17.8 cm) and a tread of about 11 in (28 cm) is comfortable; 2 × riser + tread should be 24–25 in.

What is a comfortable stair angle?

Most residential stairs are 30°–37°. Above about 42° they feel steep and are generally not suitable for a main residential staircase.

How do I calculate the stringer length?

Use the Pythagorean theorem on the total rise and total run. This is the straight nose-to-nose length; cut stringers need extra length for the notches and end cuts.

What is the total run of a staircase?

The horizontal distance covered by the treads: tread depth × number of treads. It does not include the top landing.

What does tread thickness do?

The bottom riser is cut shorter by the thickness of the tread so every step feels the same.

What is the maximum riser height?

Many residential codes allow up to 7.75 in (19.7 cm), but check your local code — some regions allow 8.25 in or 190 mm.

Is my data stored?

No. Everything runs in your browser.

More Free Calculators You May Need

Need a custom calculator or tool on your website?

Our team designs and develops fast, SEO-ready websites and web tools. Tell us what you need.

Call Us WhatsApp

Get a Free Quote

Tell us a bit about your project — we'll get back to you shortly.

8 + 4 =
Call WhatsApp