Free to use, no account

Stair calculator

Enter the floor-to-floor rise, number of risers and tread depth to see the dimensions and a side-view drawing.

Geometry estimate only. It does not check building codes, headroom, landings, structure or site conditions. Confirm plans with local rules and a qualified builder.

How do I calculate stair dimensions?

Enter the total rise, choose a whole number of risers and enter one tread depth. This straight-flight estimate uses one fewer tread than risers.

Guide

Using Stair calculator

This calculator works out the basic shape of a straight flight of stairs. You enter the total height from floor to floor, how many risers you want, and how deep one tread is. It returns the height of each step, the number of treads, the total horizontal run, the slope angle and the approximate length of the stringer, the sloping board that carries the steps. A small side-view drawing shows the result. It is meant for early planning by homeowners and DIY builders. It is only geometry. It does not check building rules, headroom, landings, strength or guardrails. The sums run in your browser.

How to use it

  1. Measure the total rise, which is the vertical distance from the finished lower floor to the finished upper floor, and type it in the first box.
  2. Choose how many risers you want. A riser is one vertical step height, and the count must be a whole number from 2 to 100.
  3. Type the depth of one tread, which is the flat part you step on. Use the same unit as the rise.
  4. Pick the length unit from the list: meters, centimeters, feet or inches. All three measurements use that one unit.
  5. Press Calculate. The result lists rise per step, number of treads, total run, pitch angle, stringer length and a side-view drawing.
  6. Change the numbers and calculate again until the step height and depth suit your plan. Try an example fills in sample values for you.

Worked examples

The built-in example in meters

You enter
Total rise
2.8
Risers
16
Tread depth
0.28
Unit
Meters
You get
Rise per step
0.18 m
Treads
15
Total run
4.2 m
Pitch angle
32.01°
Stringer length
5.05 m

2.8 divided by 16 is exactly 0.175, which the page rounds to 0.18. Fifteen treads of 0.28 make a run of 4.2, and the stringer is the diagonal of a 2.8 by 4.2 triangle.

Run through the tool’s own code.

The same stairs in centimeters

You enter
Total rise
280
Risers
16
Tread depth
28
Unit
Centimeters
You get
Rise per step
17.5 cm
Treads
15
Total run
420 cm
Pitch angle
32.01°
Stringer length
504.78 cm

Switching to centimeters shows the exact step height, 17.5, which the meter view had to round. The angle is the same because only the unit changed.

Run through the tool’s own code.

Imperial units: a nine foot rise

You enter
Total rise
108
Risers
14
Tread depth
10
Unit
Inches
You get
Rise per step
7.71 in
Treads
13
Total run
130 in
Pitch angle
37.65°
Stringer length
169.01 in

Nine feet is 108 inches. Divided by 14 risers it gives 7.71 inches each. There are 13 treads of 10 inches, so the run is 130 inches.

Run through the tool’s own code.

A metric flight in centimeters

You enter
Total rise
270
Risers
15
Tread depth
25
Unit
Centimeters
You get
Rise per step
18 cm
Treads
14
Total run
350 cm
Pitch angle
35.75°
Stringer length
442.04 cm

270 divided by 15 is a clean 18. With 14 treads of 25 the run is 350, and the angle is steeper than in the first example because the steps are taller and shallower.

Run through the tool’s own code.

A rise that is too small

You enter
Total rise
0.2
Risers
16
Tread depth
0.28
Unit
Meters
You get
Error
Enter a number above zero for each required measurement. Check the optional values too.

The total rise must be at least 0.3 meters, so 0.2 is refused. The message is general and does not name the limit, so check the ranges in this guide.

Run through the tool’s own code.

A fractional riser count

You enter
Total rise
2.8
Risers
16.5
Tread depth
0.28
Unit
Meters
You get
Error
Enter a number above zero for each required measurement. Check the optional values too.

You cannot build half a step, so the riser count must be a whole number. The same error appears for counts below 2 or above 100.

Run through the tool’s own code.

When it helps

  • Get a first idea of step height and depth before you talk to a builder or draw a plan.
  • Compare two layouts, such as 14 risers against 16, for the same floor-to-floor height.
  • Estimate how much floor length a straight staircase takes up from the total run.
  • Check the stringer length to get a rough idea of the board size to price at a timber yard.
  • Show a student how rise, run, angle and diagonal length relate to a right triangle.
  • Sketch a loft, deck or basement stair when you only have a tape measure and a notepad.

Limits to keep in mind

  • Total rise must be between 0.3 and 10 meters, which is 30 to 1,000 centimeters, or about 11.8 to 393.7 inches.
  • The riser count must be a whole number from 2 to 100.
  • Tread depth must be between 0.1 and 1.5 meters, which is 10 to 150 centimeters, or about 3.9 to 59.1 inches.
  • The page assumes one straight flight with one fewer tread than risers, because the upper floor acts as the last tread. It has no landings, turns, winders or spirals.
  • Results are rounded to two decimals, so 0.175 meters shows as 0.18. Use centimeters when you want the finer value.
  • Any bad entry gives one general error message. It does not say which box is wrong or what the limits are.

Tips

  • Measure the rise from finished floor to finished floor, not from bare concrete, or the top step will come out too tall or too short.
  • Try several riser counts. Each extra riser lowers the step height and makes the flight longer, so you can trade comfort against floor space.
  • Work in one unit only. To enter 9 feet 3 inches, type 9.25 in feet or 111 in inches, and do not mix the two.
  • Note down the numbers before you reset, because the result clears when you press Reset.
  • Use the Copy result button to paste the figures into a message to your builder, so you both read the same numbers.

Sources

Frequently asked questions

How do I calculate the number of stairs for a given height?

Divide the total rise by the step height you want, then round to a whole number of risers. Type that count in the box and the page works out the exact step height. If it is too tall or too short, try one riser more or less.

What is the difference between a riser and a tread?

A riser is the vertical part of a step, and its height is the rise per step. A tread is the flat part you stand on, and its depth is the run per step. A flight has one more riser than tread here.

Why are there fewer treads than risers?

The top of the flight meets the upper floor, and that floor serves as the final tread. So a flight with 16 risers has 15 treads in this estimate. The total run uses 15 tread depths and not 16.

What is the stringer length?

The stringer is the sloping board that carries the steps. The page gives the straight diagonal from the bottom of the rise to the top of the run. A real board needs extra length for the end cuts, so treat this as the minimum.

What does the pitch angle mean?

It is the slope of the stairs measured from the horizontal, found from the step height and the tread depth. A bigger angle means a steeper, shorter staircase. It is shown in degrees, rounded to two decimals.

Does this calculator check building regulations?

No. It is a geometry estimate only and does not test any code. Limits for step height, tread depth, headroom and guards are set locally and differ from place to place, so confirm them with your local authority and a qualified builder.

Where can I find the official rules for stairs?

It depends on where you live. In England, Approved Document K of the Building Regulations covers stairs, ladders, ramps and guarding. Other countries and regions have their own documents, so look up the rules that apply to your site.

Why does the step height look rounded?

The result shows two decimal places, and 2.8 meters over 16 risers is exactly 0.175, which appears as 0.18. The calculation itself is not rounded. Choose centimeters and the same stairs show 17.5.

Can I use it for spiral stairs or stairs with a landing?

No. The page treats the flight as one straight run with equal steps. For a landing, split the rise and calculate each flight on its own. For spirals and winders, use plans from a designer, since the steps are not equal.

Why do I get an error message that mentions optional values?

The message is shared with other calculators and is not specific to this one. This tool has no optional fields. The real cause is a value outside the allowed range or a riser count that is not a whole number.

Are my measurements sent anywhere?

No. The calculation and the drawing are made inside your browser, and nothing you type is sent to a server. You can try different numbers as often as you like without leaving a record on the site.

How do I calculate stair dimensions?

Enter the total rise, choose a whole number of risers and enter one tread depth. This straight-flight estimate uses one fewer tread than risers.

Are my measurements uploaded?

No. This calculator runs in your browser and does not send measurements to a server.

What dimensions does this stair calculator show?

Enter the total rise, choose a whole number of risers and enter one tread depth. This straight-flight estimate uses one fewer tread than risers.

Does this calculator check local building codes?

Geometry estimate only. It does not check building codes, headroom, landings, structure or site conditions. Confirm plans with local rules and a qualified builder.