Stair Layout
Menu

Stair Calculator

Enter the total rise. The calculator works out risers, treads and the stringer, and checks each rule of the building code you choose.

Your measurements

The layout is checked against the rules of the code you choose. Your local rules may differ.
Units
From the finished lower floor to the finished upper floor. Write 108, 108 1/4 or 9' 1/4".

Example values. Replace them with your own measurements.

The horizontal space for the stairs, from the front of the bottom step to the edge of the upper floor. Leave it empty to let the calculator choose.
The finished thickness of the tread boards. The first riser on the stringer is cut shorter by this amount.
How far each tread overhangs the riser below it. Enter 0 for open treads without an overhang.
Clear width of the stairs, used to check the minimum width.
The lowest point of the ceiling above the stairs, measured straight up from the line joining the tread nosings.

Other numbers of risers

The same total rise divided into a different number of steps.

RisersRiserTread depthTotal runAngle2R + GResultUse this
147 11/16 in10 in130 in37.6°25 7/16 inMeets code
157 3/16 in10 5/8 in148 3/8 in34.2°25 inMeets code
166 3/4 in11 1/2 in172 1/2 in30.4°25 inMeets code
176 3/8 in12 5/16 in196 11/16 in27.3°25 inMeets code

Calculated in your browser. Your measurements are not sent anywhere unless you share the link.

How the stairs are worked out

The total rise is divided into equal risers. Without a total run, the calculator picks the number of risers that keeps each riser within the limits of the selected code and closest to a comfortable height, then chooses a tread depth to match. With a total run, the run is shared equally between the treads, which are one fewer than the risers because the upper floor forms the last step.

Tread depth is measured the way the codes measure it: horizontally from the front edge of one tread to the front edge of the next. The tread board itself is deeper by the nosing. On the stringer, the first riser is cut shorter by the thickness of a tread, so that every step has the same height once the treads are on.

Imperial values are shown to the nearest 1/16 inch and metric values to the nearest millimetre. In the step-by-step marks, each line is rounded on its own from the exact total, so small rounding errors do not add up along the stringer.

Common questions

How do I work out the number of steps?

Divide the total rise by the highest riser your code allows and round up. Under the IRC the maximum is 7 3/4 in, so a 108 in rise needs at least 14 risers (108 ÷ 7.75 = 13.9). Divide the rise by that number for the riser height: 108 ÷ 14 = 7.71 in. There is one tread fewer than risers, because the upper floor is the last step.

What is the difference between tread depth and tread board depth?

Codes measure tread depth from the front edge of one tread to the front edge of the next. That is the run you lay out on the stringer. The board you buy is deeper by the nosing, the part that overhangs the riser below. A 10 in run with a 1 in nosing needs an 11 in tread board.

Why is the first riser on the stringer shorter?

Every tread adds its thickness to the step below it. The bottom step sits on the floor, which already has its finished surface, so the stringer is cut shorter by one tread thickness there. Otherwise the first step would be taller than the others by the thickness of a tread.

Which building code should I choose?

In most of the United States, homes are built to the International Residential Code (IRC) as adopted, sometimes with changes, by the state or city. In England, private stairs follow Approved Document K, and in Germany stairs in homes follow DIN 18065. If none of these applies, use the comfort mode and ask your local building office which rules apply.

Can I build my stairs from these results?

The results help you plan and lay out the stringer, but they are not an approval or a structural design. Many places require a permit and an inspection for new stairs, and the size of stringers, their spacing and how they are fixed depend on spans and loads that this calculator does not check.

Guides

Building codes

  • IRC stair requirements

    Stair rules from section R311.7 of the 2021 International Residential Code, with a calculator set to check them.

  • Part K stair regulations

    Limits for private stairs from Approved Document K, the official guidance on stairs for the Building Regulations in England.

  • DIN 18065 stair rules

    Limits from the German stair standard DIN 18065 for the main stairs in houses with no more than two dwellings.

About Stair Layout

Stair calculator with stringer layout and code checks, in your browser.

  • Stair Stringer Calculator

    Enter the total rise and your tread size. You get the cut for every step, the first and last cuts, and a template you can print at full size.

  • Stair Rise and Run Calculator

    Enter the total rise to get riser height and tread depth, then use the table to compare comfortable combinations.

  • Deck Stair Calculator

    Measure from the top of the deck to the surface where the stairs will land. The calculator works out the steps and lays out the stringers.

  • Stair Angle Calculator

    Enter the total rise and, if you know it, the total run. The angle of the stairs is shown first, with the steps that produce it.