Maintained by BuildSolver · Updated
Calculator · Construction
Stair stringer calculator
Enter the total rise, a target riser height and the tread depth, and this page gives the number of risers, the exact riser height, the run and the stringer line, checked against the residential limits of the International Residential Code. A 108 in rise (9 ft floor to floor) at a 7.5 in target is 14 risers of 7.71 in. With 10 in treads that is 13 treads and 130.0 in of run, and a stringer line of 169.0 in, 14 ft 1 in. For the slab or pad the stair lands on use the concrete calculator; for the roof drainage of the same building, the gutter and downspout size calculator.
- The height from finished floor to finished floor, in inches. A flight may rise at most 151 in (12 ft 7 in) before it needs a landing.
- A target riser height such as 7 1/2 in, and a tread depth of 10 in or more. The code allows risers of 7 3/4 in at most.
- The nosing projection in inches. With solid risers and a tread under 11 in the code asks for 3/4 to 1 1/4 in. Leave it empty to skip the check.
- The result gives the number of risers, the exact equal riser height, the treads, the total run and the stringer line, with a check of each against IRC R311.7.5.
Example result for the default inputs
Total rise 108 in, target riser 7.5 in, tread 10 in, nosing 1 in.
Risers
14 steps
Riser height
7.71 in
Total run
130.0 in
Stringer line
169.0 in
| Number of risers | 108 / 7.5 = 14.40, rounded to 14 |
|---|---|
| Riser height (rise of each step) | 108 / 14 = 7.71 in (about 7 11/16 in) |
| Treads | 14 - 1 = 13 treads of 10 in (the upper floor is the last tread) |
| Total run | 13 x 10 = 130.0 in (10 ft 10 in) |
| Stringer line | sqrt(108^2 + 130.0^2) = 169.0 in (14 ft 1 in), before end cuts |
| Stair angle | 37.6 degrees from horizontal |
| Riser, R311.7.5.1 | 7.71 in against 7 3/4 in maximum: within the limit. Fewest risers the limit allows: 14 |
| Tread, R311.7.5.2 | 10 in against 10 in minimum: within the limit |
| Variation, R311.7.5.1 and .2 | 0 in on the layout (equal risers and treads) against 3/8 in allowed between the largest and smallest in a flight |
| Nosing, R311.7.5.3 | 1 in is within 3/4 to 1 1/4 in |
- Do not cut every riser at the rounded 7 11/16 in: 14 of them would be 0.38 in short of the rise. Step the dividers along the line, or take the difference out of the stringer length, so all risers stay equal within 3/8 in.
- The stringer line is the straight line from the floor at the foot of the first riser to the nosing at the top of the flight. The board must be longer for the end cuts and must leave solid wood under the notches.
- Measure the rise between finished floors. Treads and the finished floor at each end change the first and last riser; the flight still needs all risers within 3/8 in of each other.
- Residential stairs under the IRC. Check the edition and amendments your jurisdiction has adopted; width, headroom and handrails are not in this calculation.
For estimation purposes only. Consult a licensed engineer for final designs.
Sign up with your email. Back on this page in the same browser, your inputs are filled in. No card.
Free without signup
How the stringer layout is found
The page lays out one straight flight the way a stair builder does by hand. It divides the total rise into a whole number of equal risers, sets one tread less than there are risers, finds the run from the tread depth, and takes the stringer line as the diagonal of that rise and run. Then it checks the result against the residential limits of the International Residential Code, R311.7.5.
- Number of risers
N = round(total rise / target riser height)108 / 7.5 = 14.40, so 14 risers. A ratio such as 14.4 is not a stair: the count is rounded and the riser height is worked again from it.- Riser height (unit rise)
R = total rise / N108 / 14 = 7.71 in, about 7 11/16 in. IRC R311.7.5.1 allows at most 7 3/4 in, so the fewest risers for 108 in is 14.- Number of treads
T = N - 1The upper floor is the last tread, so 14 risers have 13 treads.- Total run
run = T x tread depth (unit run)13 x 10 = 130.0 in, or 10 ft 10 in. The tread depth is at least 10 in under R311.7.5.2.- Stringer line
L = sqrt(total rise^2 + run^2)sqrt(108^2 + 130.0^2) = 169.0 in, or 14 ft 1 in, the straight line from the floor at the foot of the first riser to the top nosing. The board must be longer than this for the end cuts.
Six floor-to-floor heights
Each row is one flight at a 7.5 in target riser and 10 in treads, worked with the same function as the form. An 8 ft rise takes 13 risers and an 11 ft one takes 18; every row stays under the 7 3/4 in riser limit.
| Floor to floor | Total rise | Risers | Riser, in | Run, in | Stringer line, in |
|---|---|---|---|---|---|
| 8 ft | 96 in | 13 | 7.38 | 120.0 | 153.7 |
| 8 ft 6 in | 102 in | 14 | 7.29 | 130.0 | 165.2 |
| 9 ft | 108 in | 14 | 7.71 | 130.0 | 169.0 |
| 9 ft 6 in | 114 in | 15 | 7.60 | 140.0 | 180.5 |
| 10 ft | 120 in | 16 | 7.50 | 150.0 | 192.1 |
| 11 ft | 132 in | 18 | 7.33 | 170.0 | 215.2 |
The stringer line is the diagonal, not the sum of rise and run: for the 108 in flight the sum is 238.0 in and the diagonal is 169.0 in. The board you buy must be longer than the line for the end cuts.
Standards and data sources
- 2021 International Residential Code, Chapter 3, R311.7.5 Stair treads and risers, on ICC Digital Codes (free view) - The rules behind the page: riser height not more than 7 3/4 in, tread depth not less than 10 in, no more than 3/8 in between the largest and smallest riser or tread in a flight, and the nosing in R311.7.5.3. The ICC site does not open for automated readers, so the wording below was read in the reprints listed after it; check the section itself.
- Stairbuilders and Manufacturers Association, R311.7.5.1 Risers (IRC 2018) - The riser text: not more than 7 3/4 in (196 mm), measured vertically between the leading edges of adjacent treads, and the greatest riser within a flight not more than 3/8 in (9.5 mm) over the smallest.
- Humboldt County, California, Stairways handout quoting the residential code - The tread minimum of 10 in (254 mm), the 3/8 in variation for treads and nosings, the nosing projection of 3/4 to 1 1/4 in, the 12 ft 7 in rise limit between floors or landings, the 36 in clear width and the 6 ft 8 in headroom. Its riser-variation sentence has a typo (4 3/8); the limit is 3/8 in.
- Viewrail, tread depth and risers under the IRC 2021 - A second reading of the 7 3/4 in and 10 in limits, the nosing range, and the 11 in tread depth from which no nosing is required.
- StairsCalculator.net, how to calculate stair rise and run - The layout arithmetic and the worked example the page opens on: 108 in of rise, 14 risers, 13 treads of 10 in, a run of 130 in and a stringer of about 169 in. A second example, 96 in at a 7.25 in target, gives 13 risers and about 154 in.
Limitations of this calculator
- This page lays out one straight residential flight with equal risers and treads and checks it against IRC R311.7.5 (the 2018 and 2021 numbering; the 2024 IRC renumbers the section as R318.7.5 with the same riser, tread and variation limits). It is a layout aid for a quote or a first cut list, not a stair design. The edition and the amendments your jurisdiction has adopted decide, and some jurisdictions set stricter limits or have adopted a different edition. Check with the building department before you cut.
- Only residential stairs under the IRC are covered. Stairs in commercial buildings fall under the International Building Code with other riser and tread limits, and accessible routes have their own rules. None of them are checked here.
- Width, headroom and handrails are not part of the calculation. The IRC asks for a clear width of 36 in (R311.7.1), 6 ft 8 in of headroom measured from the sloped line of the nosings (R311.7.2) and a rise of no more than 12 ft 7 in between floors or landings (R311.7.3). The last is checked here; width and headroom are for you to confirm on the plans, together with the handrail and guard rules.
- The stringer line is the straight line from the floor at the foot of the first riser to the nosing at the top of the flight. The board you buy must be longer for the end cuts, and the stringer must keep enough solid wood under the deepest notch; the page does not size the lumber or the span. Check the span and the board grade with the stringer manufacturer, a span table or an engineer.
- Risers and treads are taken as equal. The code allows 3/8 in between the largest and smallest in a flight, which is for building tolerance, not for planning. A first or last riser that changes with the finished floor, a tread thickness or a landing is yours to correct in the cut.
- The nosing check assumes solid risers. Open risers have their own rule, an opening that must not pass a 4 in sphere where the stair is more than 30 in above the floor or grade below, which is not worked here. The page checks a nosing only when you enter one.
- Winders, spiral stairs, curved stairs, landings in the flight and stairs with unequal treads are not covered. Enter each straight flight between landings as its own case.
- Values outside the field ranges are not accepted: total rise 8 to 1,000 in, target riser 4 to 8 in, tread 6 to 16 in and nosing 0 to 2 in. A rise above 151 in is refused, because it needs an intermediate landing and each flight laid out on its own, and a rise that rounds to one riser is a single step with no stringer.
Common mistakes when laying out a stair stringer
- Rounding the number of risers down. Dividing 108 in by the 7 3/4 in maximum gives 13.9. Taking 13 risers makes each 8.31 in, over the limit of R311.7.5.1. Round to the nearest whole riser at your target, then check the height; if it is over 7 3/4 in, add a riser. For 108 in the fewest the code allows is 14.
- Counting the risers as treads. 14 risers have 13 treads, because the upper floor is the last one. Using 14 gives a run of 140.0 in in place of 130.0 in and a stringer of 176.8 in in place of 169.0 in, and the stair lands 10 in past where the framing is.
- Adding rise and run for the stringer length. The stringer is the diagonal. For 108 in of rise and 130.0 in of run, adding them gives 238.0 in; the diagonal is 169.0 in, which is 14 ft 1 in.
- Cutting every riser at the rounded fraction. 7.71 in reads as 7 11/16 in on a tape. 14 risers cut at 7 11/16 in come to 0.38 in short of the rise, and the last riser takes all of it: 8.06 in, over the 7 3/4 in limit and 0.38 in taller than the others. Step the dividers along the line, or mark the exact figure, so the error does not pile up.
- Measuring the rise to the wrong surface. The rise is between finished floors. If the stringers are cut for 108 in and a 3/4 in finish floor goes down at the bottom afterwards, the bottom riser becomes 7.71 - 3/4 = 6.96 in, a spread of 3/4 in against the 3/8 in allowed. Add or take the tread and floor thicknesses into the first and last riser before you cut.
- Using a tread under 10 in to save space. A 9 in tread on the same 108 in rise shortens the run to 117.0 in, but it is under the 10 in minimum of R311.7.5.2 and the page flags it. The steepest stair the limits allow, 7 3/4 in risers on 10 in treads, is about 37.8 degrees; the 108 in default is 37.6 degrees.
Common questions about stair stringers
How do I calculate a stair stringer?
Measure the total rise from finished floor to finished floor. Divide it by a target riser height and round to a whole number of risers: 108 / 7.5 = 14.40, so 14. Divide the rise by that number for the exact riser, 7.71 in. There is one tread fewer than risers, 13, so at 10 in the run is 130.0 in. The stringer line is the diagonal, sqrt(108^2 + 130.0^2) = 169.0 in.
What is the maximum riser height and minimum tread depth?
For residential stairs the IRC R311.7.5 allows a riser of not more than 7 3/4 in and requires a tread of at least 10 in. The largest and smallest riser in one flight may differ by no more than 3/8 in, and the same goes for treads. Some jurisdictions are stricter, so check the code the local building department has adopted.
How many steps do I need for a 9 ft rise?
A 9 ft floor-to-floor rise is 108 in. At a 7.5 in target that is 14 risers of 7.71 in. The code limit of 7 3/4 in allows no fewer than 14, and an 8 ft rise (96 in) needs 13 risers of 7.38 in. A 7.25 in target gives 13 risers for 96 in.
Why is the number of treads one less than the number of risers?
The top riser rises to the upper floor, and that floor is the last tread. A flight of 14 risers therefore has 13 treads cut into the stringer. Measured over those 13 treads, the run is 13 x 10 = 130.0 in.
How long does the stringer board need to be?
The stringer line for 108 in of rise and 130.0 in of run is 169.0 in, 14 ft 1 in. That is the straight line from the floor at the foot of the first riser to the top nosing. Allow extra board for the end cuts and the wood left under the notches, so buy the next stock length up, and check the span with the manufacturer or a span table.
How much can a flight of stairs rise?
A flight may rise no more than 12 ft 7 in (151 in) between floors or landings under IRC R311.7.3. At a 7.5 in target that is 20 risers of 7.55 in. A taller rise needs an intermediate landing, and each flight is then laid out on its own.
Do I need a nosing on the treads?
With solid risers, R311.7.5.3 asks for a nosing projection of 3/4 to 1 1/4 in, unless the tread is 11 in deep or more. A 10 in tread on this page needs one; an 11 in tread does not, and the run of the same 108 in rise is 143.0 in. Open risers have their own opening limit, a 4 in sphere that must not pass.
Are the width and the headroom checked here?
No. The IRC asks for a clear width of 36 in and 6 ft 8 in of headroom, measured from the sloped line of the nosings. They are properties of the stairwell, not of the rise and run, so confirm them on the plans together with the handrails and guards.