Skip to content
Popular Calculators
Browse Construction calculators

Stair Calculator

Number of risers and treads, riser height, total run, stringer length and angle for a straight stair, with a comfort and code check.

Units (optional)

Finished floor to finished floor. mm or inches.

From your building code. mm or inches.

The going, nosing to nosing. mm or inches.

About the Stair Calculator

A staircase looks simple, but it is one of the most tightly regulated parts of a building, and for good reason: falls on stairs are among the most common causes of injury at home. What makes a stair safe is consistency — every step the same height and depth, so that your feet find each one without thinking — along with steps that are neither too tall nor too shallow for a natural stride.

Everything starts from one measurement: the total rise, from the finished floor at the bottom to the finished floor at the top. From it, and the limits your building code sets, follow the number of steps, their exact height, the length of the staircase and the size of the stringers that carry it.

This stair calculator plans a straight flight: it works out the risers and treads, the total run, the stringer length and the angle, and checks the proportions for comfort.

How to Use the Stair Calculator

Choose metric (millimetres) or imperial (inches).

Enter the total rise, from finished floor to finished floor. Remember to include floor coverings not yet fitted.

Enter the maximum riser allowed by your code — 7¾ in in the US IRC, 220 mm for private stairs in England — or a lower figure for an easier stair. The defaults are 7¾ in and 190 mm.

Enter the tread depth (the going), measured nosing to nosing.

How the Stair Is Worked Out

  risers    =  total rise ÷ maximum riser, rounded up
  riser     =  total rise ÷ risers
  treads    =  risers − 1
  run       =  treads × tread depth
  stringer  =  √(total rise² + run²)
  comfort   =  2 × riser + tread

Step-by-Step Example

A total rise of 2,700 mm, maximum riser 190 mm, treads of 250 mm.

  Risers:      2700 ÷ 190 = 14.2          →  15 risers
  Each riser:  2700 ÷ 15                  =  180 mm
  Treads:      15 − 1                     =  14 treads
  Run:         14 × 250                   =  3,500 mm
  Stringer:    √(2700² + 3500²)           ≈  4,420 mm
  Comfort:     2 × 180 + 250              =  610 mm
  Angle:       atan(180 ÷ 250)            =  35.8°

In imperial, a 108 in rise with a 7¾ in maximum needs 14 risers of 7.71 in, with 13 treads of 10 in giving a 130 in run and a stringer of about 169 in.

Why There Is One Fewer Tread

Each riser is the vertical face of a step, and each tread the flat part you stand on. The bottom riser rises from the lower floor, and the top riser arrives at the upper floor — which serves as the last "tread". So a stair with 15 risers has 14 treads. Forgetting this is a classic mistake that adds a whole step to the length of the stair.

The Comfort Rule

Since the seventeenth century, stair designers have used the rule that twice the riser plus the tread should roughly equal a person's stride — about 600 to 650 mm, or 23½ to 25½ in. Tall risers need shallow treads and low risers need deep ones. A stair outside that range feels awkward: either choppy and short-stepped, or long and loping.

The angle of the stair follows from the riser and tread. Most domestic stairs are between about 30° and 42°; steeper is tiring and hazardous going down, shallower takes up a lot of floor.

Building Code Limits

Codes differ by country, and by whether the stair is private or public. Examples:

England (Approved Document K, private stairs): risers up to 220 mm, goings at least 220 mm, pitch no steeper than 42°, and 2 × riser + going between 550 and 700 mm; headroom of 2.0 m.

These are summaries only — always check the current rules where you are building, as well as handrail, balustrade and landing requirements.

Stringers and Headroom

The stringer is the long board on each side that carries the treads. A cut stringer has the step profile cut into its top edge; a closed stringer has housings routed into its face. Either way, its length is roughly the hypotenuse of the total rise and run, plus a little at the top and bottom for the connections. Check the headroom too: the opening in the floor above must be long enough that no one hits their head on the way down.

Landings and Winders

A single straight flight is limited in height: many codes require a landing at the top and bottom of every flight and limit how far one flight may rise — the US IRC caps it at 151 in (12 ft 7 in) — and public stairs in England are limited to 16 risers per flight. Stairs that turn use a landing or winders, tapered treads that turn the corner. Winders have their own minimum dimensions, and should be planned so the going measured along the walking line matches the straight treads.

Understanding Your Result

Risers gives the number and exact height of the risers.

Treads and run gives the number of treads and the length of the stair.

Stringer gives the approximate stringer length.

Comfort and angle checks 2 × riser + tread and gives the pitch.

Building codes summarises the common limits.

When Should You Use This Calculator?

Planning a new staircase, loft ladder or deck steps.

Checking whether a stair fits the space available.

Before cutting stringers.

Checking an existing stair against the code.

Common Mistakes

Measuring to the subfloor. Use finished floor levels.

Counting treads as risers. There is one fewer tread.

Uneven first or last steps. Every riser must match.

Forgetting headroom at the top of the flight.

Ignoring the comfort rule. Legal is not the same as comfortable.

Frequently Asked Questions

How many steps do I need?

Divide the total rise from floor to finished floor by the tallest riser your code allows and round up. A 2,700 millimetre rise with a 190 millimetre maximum needs 15 risers of 180 millimetres. There is one fewer tread than risers, because the top step is the upper floor itself.

How do I calculate riser height?

Once the number of risers is fixed, divide the total rise by it so every riser is exactly the same. A 108 inch rise with 14 risers gives 7.71 inches each. Even risers matter more than any single figure, because people trip on a step that differs from the rest.

How long is a stair stringer?

The stringer runs along the hypotenuse of the total rise and total run, so its length is the square root of rise squared plus run squared. A 108 inch rise with 13 treads of 10 inches, a 130 inch run, needs a stringer about 169 inches long before the top and bottom cuts.

What is the most comfortable stair?

The traditional rule is that twice the riser plus the tread should be about 600 to 650 millimetres, or roughly 24 to 25 inches, matching a natural stride. A 180 millimetre riser with a 250 millimetre tread gives 610 millimetres. Angles between about 30 and 37 degrees feel most natural.

What are the building code limits for stairs?

In the US, the International Residential Code allows risers up to 7¾ inches and treads of at least 10 inches, with 6 feet 8 inches of headroom. In England, private stairs may have risers up to 220 millimetres, goings of at least 220 millimetres and a maximum pitch of 42 degrees. Always check your local code.

Last reviewed September 24, 2026 by the CalculatorPeak editorial team.