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.
A value in the link was not valid and has been set back to its default.
Your stairs
15 risers of 7 3/16 in and 14 treads of 10 5/8 in. Meets IRC 2021. (Not checked)
- Risers
- 15
- Treads
- 14
- Riser height
- 7 3/16 in183 mm
- Tread depth (run)
- 10 5/8 in269 mm
- Tread board depth
- 11 5/8 in295 mm
- Total run
- 148 3/8 in3,769 mm
- Angle
- 34.2°
- 2R + G
- 25 in635 mm
- Stringer length
- 179 3/8 in4,557 mm
- Wood left below the cuts
- 5 5/16 in134 mm
- First riser on the stringer
- 6 3/16 in157 mm
These results are a planning aid. They do not replace approval from your local building authority, and they are not a structural design. Check the rules that apply where you build before you cut.
Code check: IRC 2021
| Rule | Required | This layout | Result | Clause |
|---|---|---|---|---|
| Riser height, maximum | ≤ 7 3/4 in | 7 3/16 in | Meets | R311.7.5.1 |
| Tread depth, minimum (nosing to nosing) | ≥ 10 in | 10 5/8 in | Meets | R311.7.5.2 |
| Total rise | ≤ 151 in | 108 in | Meets | R311.7.3 |
| Stair width, minimum | ≥ 36 in | — | Not checkedEnter the stair width to check this rule. | R311.7.1 |
| Headroom, minimum | ≥ 80 in | — | Not checkedEnter the headroom to check this rule. | R311.7.2 |
| Riser height · Largest and smallest riser or tread in a flight | ≤ 3/8 in | 0 in | MeetsAll risers and treads in this layout are equal. On site, keep them within the tolerance. | R311.7.5.1 |
| Tread depth (run) · Largest and smallest riser or tread in a flight | ≤ 3/8 in | 0 in | MeetsAll risers and treads in this layout are equal. On site, keep them within the tolerance. | R311.7.5.2 |
| Nosing on treads less than 11 in deep | 3/4 in – 1 1/4 in | 1 in | Meets | R311.7.5.3 |
| Nosing · Largest and smallest riser or tread in a flight | ≤ 3/8 in | 0 in | MeetsAll risers and treads in this layout are equal. On site, keep them within the tolerance. | R311.7.5.3 |
Stringer layout
Cut the stringer from the bottom up. The first riser is shorter by the tread thickness so that all steps end up the same height.
Cut the first riser 6 3/16 in high, which is the full riser less the tread thickness. The bottom of the stringer sits flat on the floor.
The top of the stringer meets the upper floor. Check the cut against your framing before you make it.
Measured square from the inside corner of a notch to the bottom edge of the board. Check the minimum your local rules or deck guide require.
Step-by-step marks
Measure every mark from the bottom of the stringer, not from the previous mark, so rounding does not add up.
| Step | Height from floor | Run from first riser | Along the stringer |
|---|---|---|---|
| 1 | 7 3/16 in | 0 in | 7 3/16 in |
| 2 | 14 3/8 in | 10 5/8 in | 17 7/8 in |
| 3 | 21 5/8 in | 21 3/16 in | 30 1/4 in |
| 4 | 28 13/16 in | 31 13/16 in | 42 7/8 in |
| 5 | 36 in | 42 3/8 in | 55 5/8 in |
| 6 | 43 3/16 in | 53 in | 68 3/8 in |
| 7 | 50 3/8 in | 63 5/8 in | 81 1/8 in |
| 8 | 57 5/8 in | 74 3/16 in | 93 15/16 in |
| 9 | 64 13/16 in | 84 13/16 in | 106 3/4 in |
| 10 | 72 in | 95 3/8 in | 119 1/2 in |
| 11 | 79 3/16 in | 106 in | 132 5/16 in |
| 12 | 86 3/8 in | 116 5/8 in | 145 1/8 in |
| 13 | 93 5/8 in | 127 3/16 in | 157 15/16 in |
| 14 | 100 13/16 in | 137 13/16 in | 170 3/4 in |
| 15 | 108 in | 148 3/8 in | 183 9/16 in |
Heights include the full riser for every step. Subtract the tread thickness when you mark the first cut on the stringer itself.
Other numbers of risers
The same total rise divided into a different number of steps.
| Risers | Riser | Tread depth | Total run | Angle | 2R + G | Result | Use this |
|---|---|---|---|---|---|---|---|
| 14 | 7 11/16 in | 10 in | 130 in | 37.6° | 25 7/16 in | Meets code | |
| 15 | 7 3/16 in | 10 5/8 in | 148 3/8 in | 34.2° | 25 in | Meets code | |
| 16 | 6 3/4 in | 11 1/2 in | 172 1/2 in | 30.4° | 25 in | Meets code | |
| 17 | 6 3/8 in | 12 5/16 in | 196 11/16 in | 27.3° | 25 in | Meets 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
- How to Measure the Total Rise for Stairs
Measure from finished floor to finished floor, at the place where the stairs will stand, and add any floor covering that is not down yet.
- Stair Rise and Run Rules: 2R + G and Other Comfort Rules
Two risers plus one tread should be about one stride: 24 to 25 in, or about 63 cm.
- How to Lay Out and Cut Stair Stringers
Mark every step from one end, take the tread thickness off the first riser, cut to the lines and use the first stringer as the pattern.
- Stair Codes Compared: US, England, Germany, France, Spain
The US limits riser and tread, England adds a 42° pitch limit, and Germany checks the step rule 2s + a.
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.
Related calculators
- 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.