JoyOne factory · stair layout
Stair Step Calculator: How Many Steps Do I Need?
One number in, one answer out: how many risers this rise needs, how tall each step is, how far the stair reaches, and what the two neighbouring layouts would look like instead.
Stair stringer calculator
7 risers
6 treads underfoot · 6 7/8" per step · 5' 0" run
Every limit on this page passes7 risers · 6 treads · 6 ⅞" step · 5' 0" run
7 risers — 6 treads underfoot
Total rise 4' 0" at 6 7/8" per step, reaching 5' 0".
- Risers
- 7rises to the deck
- Steps underfoot
- 6one per tread
- Unit rise
- 6 7/8"174 mm
- Total run
- 5' 0"1524 mm
- Stringer
- 6' 4 13/16"on a 2x12
- Angle
- 34.4°2R + T = 23.71 in
Three legal counts, side by side
| Scheme | Unit rise | Tread | Total run | Angle | Comfort | IRC |
|---|---|---|---|---|---|---|
| 7 risers chosen | 6 7/8" | 10" | 5' 0" | 34.4° | shallow | passes |
| 8 risers | 6" | 10" | 5' 10" | 31.0° | shallow | passes |
| 9 risers | 5 5/16" | 10" | 6' 8" | 28.1° | shallow | passes |
Every row uses the tread depth you entered. The chosen row is the compliant count closest to a 7 1/2 in riser.
Same rise, different count — tap one to redraw
Checks behind the answer
Riser 6 7/8" against the 7 3/4 in maximum
48 in over 7 risers is 6.857 in per step.
IRC R311.7.5.1
Tread 10" against the 10 in minimum
6 treads at 10" gives a 5' 0" total run.
IRC R311.7.5.2
Nosing 1" against the 3/4 in to 1 1/4 in range
A 10" tread needs a nosing; 1" sits inside the range.
IRC R311.7.5.3
Flight rise 4' 0" against the 12 ft limit
One flight can carry this rise without an intermediate landing.
IRC R311.7.3
Throat 5 5/8" against the 5 in working depth
2x12 leaves 5 5/8" of solid wood under the notch, at or above the 5.1 in depth AWC analyses.
AWC DCA 6
This is a layout calculator, not a code authority. Every limit shown is quoted from the IRC or from AWC DCA 6, but your state, county or city adopts one edition of the code and may amend it, and an inspector can read a detail differently. Confirm the numbers with your local building department before you cut lumber, and follow the manufacturer for engineered connectors, composite treads and guards.
Three rises, worked out
The same engine that runs in the browser produced this table at build time, so the examples cannot drift from the calculator above.
| Rise | Risers | Unit rise | Treads | Total run | Stringer | Throat | Material |
|---|---|---|---|---|---|---|---|
| 4' 0" rise | 7 | 6 7/8" | 6 | 5' 0" | 6' 4 13/16" | 5 5/8" | 3 stringers |
| 5' 0" rise | 8 | 7 1/2" | 7 | 5' 10" | 7' 8 3/16" | 5 1/4" | 3 stringers |
| 6' 0" rise | 10 | 7 3/16" | 9 | 7' 6" | 9' 7 1/4" | 5 7/16" | 3 stringers |
Produced at build time by the same function the page runs, so the examples cannot drift from the calculator above.
The question behind "how many steps"
When someone asks how many steps a stair needs, they usually mean how many times they lift a foot, which is the number of risers minus one — the last rise is onto the deck or the floor and does not feel like a step. A 48 in rise has 7 risers and 6 steps in that sense. The framing answer is different again: 7 risers means 6 treads cut into the stringer, because the seventh tread is the deck. All three numbers describe the same stair, and mixing them up is how people buy one tread short.
The arithmetic starts with the maximum riser height, 7 3/4 in under IRC R311.7.5.1. Divide the total rise by 7.75 and round up: 48 ÷ 7.75 is 6.19, so at least 7 risers. That is the minimum count that can pass. Every count above it also passes the riser limit but makes each step lower and the stair longer, and every count below it fails. The calculator shows the compliant count nearest a 7 1/2 in riser as its answer, because a 7 3/4 in step is a legal maximum rather than a good height.
For a very small rise the answer is not a stair at all. A 7 in rise is one step, and the code does not govern a single step the way it governs a stairway; a 12 in rise with 2 risers at 6 in each is a step, not a flight. The calculator still returns the numbers, and the copy around them is honest about when the result stops being a stair.
Compare three layouts before you commit to one
The table on this page puts the chosen layout next to two neighbours: one riser fewer and one or two more. Each row shows the riser height, the tread run, the total run, the stair angle and whether that row passes the riser limit. Reading three rows together is the fastest way to see the real trade: adding a riser flattens every step and adds a full tread depth to the footprint, and removing one steepens every step and shortens the stair.
On a 48 in rise with a 10 in tread the choice is stark. Seven risers gives 6 7/8 in steps and a 60 in run. Eight gives 6 in steps and a 70 in run, which is 10 in further into the yard. Six would give 8 in steps and a 50 in run, and it is illegal. If the stair has to land between a fence and a patio, the run may decide for you; if it has open ground, the flatter step is the better stair.
The angle column is the one people underestimate. A 6 7/8 in riser on a 10 in tread is 34.5°, which is a comfortable exterior stair. Eight risers on the same tread drops to 31°, which feels like a gentle ramp and takes more room. Six risers would be 38.7°, which is noticeably steep even if it were legal.
What changes when the count changes, on a fixed 10 in tread
- Each extra riser lowers every step and adds one tread depth to the total run.
- Each riser removed raises every step and shortens the run by one tread depth.
- The angle falls as risers are added and rises as they are removed.
- The stringer length grows with both the rise and the run, so it is longest at the flattest legal layout.
Fewer steps is not cheaper
The instinct is that fewer steps means less material. It is usually the opposite. Removing a riser keeps the total rise the same, so the stair has to climb it in bigger jumps; the stringers get steeper and shorter, which saves a little lumber, but the treads stay the same depth and count minus one, so the saving is one tread. Meanwhile the stair gets harder to use and may cross the riser limit entirely.
Adding a riser costs one tread board set and about 10 in of total run, and it buys a step that is roughly 1/2 to 3/4 in lower. That is the cheapest comfort improvement in the whole project. The material list on the deck page prices the difference in tread boards; the arithmetic is usually one more board per stringer bay, not a new category of cost.
The real cost driver is the stringer, not the steps. A stair that needs a 2x12 at 16 ft, four stringers and a mid-span post costs far more than a stair with one extra riser that fits in 12 ft stock with three stringers. The count and the stock length are decided together, which is why the calculator shows the stringer length beside the count.
The comfort formula, and why it is not code
Carpenters have used 2R + T for a century: twice the riser plus the tread should land between 24 and 25 in. A 7 in riser with an 11 in tread gives 25, a 7 1/2 in riser with a 10 in tread gives 25, and a 6 in riser with a 10 in tread gives 22, which is why very shallow steps feel like shuffling. The formula is a rule of thumb about how a stair reads to a body, and it is not in the code: a stair can satisfy 2R + T and still fail the riser limit, or pass the code and feel wrong.
The related rule is riser plus tread equals 17 to 18 in, which is the same idea expressed as a constant sum instead of a double-counted riser. Both rules come from the same observation: as a step gets higher, the foot needs less room in front of it, because the leg is already swinging forward. Neither rule accounts for handrails, stair width, or how fast people actually walk, which is why the code uses hard limits and the formula is offered as advice.
Use the formula as a tiebreaker, not as a target. If two layouts both pass and both fit, the one inside the 24–25 in band is the one people will not complain about. If the choice is between a legal stair outside the band and an illegal one inside it, build the legal one and widen the landing.
Checking the answer against the stair you are replacing
When a stair is being rebuilt in the same opening, the existing rise is the constraint and the existing run is the budget. Measure the total rise, measure the horizontal distance from the face of the bottom riser to the face of the deck, and then see whether any legal layout fits that run at the tread depth you want. If none does, the options are a steeper (but still legal) step, a shallower tread, or a landing that lets the stair turn.
Measure the existing risers too, at least three of them, and write down the tallest and the shortest. A stair that has settled or been built by eye often has a spread well over 3/8 in, and that spread — not the average height — is what makes it feel wrong. The spread field on the main calculator takes that measurement and turns the check red when it is over the limit.
Finally, count the risers on the existing stair before ordering anything. It is common for a rebuilt stair to gain or lose a riser because the deck surface changed thickness, and every tread and stringer number moves with it. The step count is the cheapest thing to get right and the most expensive thing to get wrong.
Questions people ask before cutting
How many steps do I need for a 48 inch rise?
Seven risers, six treads and six steps underfoot. Forty-eight inches divided by 7 3/4 in is 6.19, so seven is the smallest compliant count, and 48 ÷ 7 gives a 6 7/8 in riser. With a 10 in tread the stair reaches 60 in horizontally, and the stringer is 6 ft 4 13/16 in long on the slope (the square root of 48 squared plus 60 squared).
Is a stair with 8 inch risers legal?
No, not in a dwelling under the IRC. The maximum riser height is 7 3/4 in, measured vertically between the leading edges of adjacent treads, so 8 in fails by a quarter inch. Commercial codes and some local amendments differ, and an old stair may be grandfathered, but a new residential stair at 8 in will not pass.
Should I pick fewer steps to save space?
Only if the count stays legal. Fewer risers means taller steps and a shorter run; on a 48 in rise, six risers would be 8 in each and illegal. The legal way to shorten a stair is a shallower tread (down to the 10 in minimum) or a landing that turns the flight, not a taller riser.
What is the 2R + T rule?
Twice the riser height plus the tread depth should land between 24 and 25 in. It is a comfort rule of thumb, not a code requirement: a 7 in riser with an 11 in tread scores 25, and a 6 in riser with a 10 in tread scores 22 and feels like shuffling. Use it to choose between two layouts that both pass the code.
Why does the calculator count one more riser than I count steps?
Because the last rise is onto the deck or the floor. A stair with 7 risers has 6 treads cut into the stringer and 6 steps you actually lift a foot onto; the seventh rise puts you on the deck. The answer is labelled both ways — risers for the layout, steps for the walk — so the two numbers cannot be confused.
Every limit on this site, with the sentence it came from
| Limit | Value | Quoted text | Source |
|---|---|---|---|
| Maximum riser height in a dwelling stair | 7 3/4 in | IRC R311.7.5.1: "The maximum riser height shall be 7 3/4 inches (196 mm)." | IRC R311.7 (stairways), free full text, 2012 edition |
| Largest riser may beat the smallest by no more than | 3/8 in | IRC R311.7.5.1: "shall not exceed the smallest by more than 3/8 inch (9.5 mm)". | IRC R311.7 (stairways), free full text, 2012 edition |
| Minimum tread depth | 10 in | IRC R311.7.5.2: "The minimum tread depth shall be 10 inches (254 mm)." | IRC R311.7 (stairways), free full text, 2012 edition |
| Nosing projection with solid risers | 3/4 in to 1 1/4 in | IRC R311.7.5.3: not less than 3/4 in nor more than 1 1/4 in; not required at a tread depth of 11 in. | IRC R311.7 (stairways), free full text, 2012 edition |
| Minimum headroom over the stair | 6 ft 8 in | IRC R311.7.2: measured vertically from the sloped line adjoining the tread nosings. | IRC R311.7 (stairways), free full text, 2012 edition |
| Minimum clear stair width | 36 in | IRC R311.7.1: not less than 36 in of clear width above handrail height. | IRC R311.7 (stairways), free full text, 2012 edition |
| Landing depth in the direction of travel | 36 in | IRC R311.7.6: for a straight run, not less than 36 in; width not less than the flight width. | IRC R311.7 (stairways), free full text, 2012 edition |
| Maximum rise between landings | 12 ft | IRC R311.7.3: "A flight of stairs shall not have a vertical rise larger than 12 feet." | IRC R311.7 (stairways), free full text, 2012 edition |
| Dressed width of 2x10 and 2x12 | 9 1/4 in and 11 1/4 in | PS 20 nominal sizes, dressed dimensions as sold. | PS 20 American Softwood Lumber Standard — nominal to dressed sizes |
| Depth AWC analyses a cut stringer at | 5.1 in | DCA 6 commentary: "Cut stringers were analyzed with 5.1" depth which is based on 7.75:10 rise to run ratio." Our own triangle gives the same 5 1/8 in on an 11 1/4 in board. | AWC DCA 6 Prescriptive Residential Wood Deck Construction Guide, Stair Requirements (Figures 28–29) |
| Stringer size, minimum count and spacing | 2x12, at least 3 cut, 18 in on centre | DCA 6: "All stringers shall be a minimum of 2x12"; "If only cut stringers are used, a minimum of three are required"; "maximum spacing of 18" on center". | AWC DCA 6 Prescriptive Residential Wood Deck Construction Guide, Stair Requirements (Figures 28–29) |
| Maximum horizontal span of a solid 2x12 stringer | 13 ft 3 in | DCA 6 commentary: "one-half of the maximum span of 13'-3" permitted for solid stringers". | AWC DCA 6 Prescriptive Residential Wood Deck Construction Guide, Stair Requirements (Figures 28–29) |
Sources
- IRC R311.7 (stairways), free full text, 2012 edition
Read from the 2012 edition full text. Later editions carry the same stairway limits, but a jurisdiction adopts one edition and may amend it, so check the copy you are building under. - AWC DCA 6 Prescriptive Residential Wood Deck Construction Guide, Stair Requirements (Figures 28–29)
Read from the 2015-IRC-based edition (copyright 2018). Local amendments win over this guide. - PS 20 American Softwood Lumber Standard — nominal to dressed sizes
2x10 dresses to 9 1/4 in, 2x12 to 11 1/4 in.
This is a layout calculator, not a code authority. Every limit shown is quoted from the IRC or from AWC DCA 6, but your state, county or city adopts one edition of the code and may amend it, and an inspector can read a detail differently. Confirm the numbers with your local building department before you cut lumber, and follow the manufacturer for engineered connectors, composite treads and guards.