Stair Calculator
: Work out the risers, treads, riser height, tread depth, run, angle and stringer length of a staircase from the total rise, checked against IRC or IBC, with a stringer layout and a drawing- Risers
- 14
- 14 equal steps up from the lower floor.
- Riser height
- 7 1/2 in (190.5 mm)
- Total rise 8 ft 9 in ÷ 14. Each riser is equal; the decimal is 7.5 in.
- Treads
- 13
- One fewer than the risers: the top step is the upper floor or deck, not a tread.
- Tread depth
- 10 in (254 mm)
- As typed (the level depth from one riser to the next).
- Total run
- 10 ft 10 in (3,302 mm)
- 13 treads × 10 in: the level distance the flight covers.
- Stair angle
- 36.9°
- From level: arctan(riser ÷ tread).
- Stringer length
- ≈ 13 ft 11 1/8 in (4,244.5 mm)
- √(rise² + run²): the diagonal from the foot of the bottom riser to the top corner of the top riser.
- Board to buy
- 14 ft (4.27 m)
- The next even-foot board that is at least as long as the stringer. In metric, round up to the next length your supplier stocks (4.24 m needed).
- Tread board depth
- 11 in (279.4 mm)
- Tread 10 in + nosing 1 in: the depth of the board to cut. IRC R311.7.5.3 asks 3/4 in to 1 1/4 in of nosing on solid-riser stairs with treads under 11 in.
- Comfort rule 2R + T
- 25 in (635 mm), comfortable
- Twice the riser plus the tread; 24 to 25 in feels natural to most people. A rule of thumb, not a code rule.
- Framing square
- 7 1/2 in on the tongue, 10 in on the blade
- Set the square on the stringer with the riser height on the tongue and the tread depth on the blade, both at the board's edge, and mark each step along it.
- Bottom drop
- 1 in (25.4 mm)
- Cut 1 in (one tread thickness) off the bottom of the stringer so the first step is as tall as the rest once the tread is on it.
- Working
- risers = ceil(total rise ÷ riser height) = ceil(105 in ÷ 7.5 in) = 14 riser height = 105 in ÷ 14 = 7.5 in treads = risers − 1 = 13 (the top step is the floor above) run = treads × tread depth = 13 × 10 in = 130 in angle = arctan(riser ÷ tread) = arctan(7.5 ÷ 10) = 36.9° stringer = √(rise² + run²) = √(105² + 130²) = 167.1077 in
Meets the IRC 2021 (homes) riser, tread and flight-rise limits.
- IRC also asks every riser of a flight to be within 3/8 in of the others; the risers here are all equal, so cut them equal. Source: ICC IRC 2021 chapter 3, R311.7 (codes.iccsafe.org/content/IRC2021P2), read 2026-11-27.
- Stringer layout: height is above the lower floor; level run is from the stringer foot to that step's riser; along edge is measured on the stringer's top edge from the first notch (one riser-and-tread diagonal per step).
- Local codes amend the model codes: check the limits with your local building department before you build.
| Step | Height | Level run | Along edge |
|---|---|---|---|
| 1 | 7 1 | 0" | 0" |
| 2 | 1' 3" | 10" | 1' 1 |
| 3 | 1' 10 1 | 1' 8" | 2' 1" |
| 4 | 2' 6" | 2' 6" | 3' 1 1 |
| 5 | 3' 1 1 | 3' 4" | 4' 2" |
| 6 | 3' 9" | 4' 2" | 5' 2 1 |
| 7 | 4' 4 1 | 5' | 6' 3" |
| 8 | 5' | 5' 10" | 7' 3 1 |
| 9 | 5' 7 1 | 6' 8" | 8' 4" |
| 10 | 6' 3" | 7' 6" | 9' 4 1 |
| 11 | 6' 10 1 | 8' 4" | 10' 5" |
| 12 | 7' 6" | 9' 2" | 11' 5 1 |
| 13 | 8' 1 1 | 10' | 12' 6" |
| 14 (upper floor) | 8' 9" | 10' 10" | 13' 6 1 |
| Check | Yours | Limit | Result | Code |
|---|---|---|---|---|
| Riser height | 7 1 | ≤ 7 3 | Pass | R311.7.5.1 |
| Tread depth | 10" | ≥ 10" | Pass | R311.7.5.2 |
| Rise of the flight | 8' 9" | ≤ 12' 7" | Pass | R311.7.3 |
Stair Calculator
This stair calculator turns the total rise of a staircase into the number of risers and treads, the riser height, the tread depth, the total run, the stair angle and the stringer length. Answers are in feet and inches to the nearest 1/16 in, with millimeters beside them, and you can type lengths in either system. Each result is checked against the model US code (IRC for homes, IBC for other buildings) and shows a stringer layout and a drawing of the flight to scale. It runs in your browser, so nothing you type is sent anywhere, and there are no ads or sign-up.
How to use the stair calculator to find the risers, treads and stringer length
- Pick what you know in
I know the:From total riseto say how tall a riser you want and how deep a tread, orRise and runwhen the room fixes how far the stairs can go. - Type the
Total rise: the height from the lower floor to the top of the upper floor or deck. It can be105,8' 10 1/2",8 ft 10 1/2 inor2.7 m; a plain number is in the unit chosen inUnit for plain numbers. - Set the
Riser height to aim for(7 1/2 in to start with) and, in the first mode, theTread depth(10 in). In the second mode give theTotal run availableinstead. - Choose the
Codeto check against, orNo code check, and enter theTread thickness(for the bottom drop) andNosing(for the tread board depth). - Read the risers, riser height, treads and run at the top, then the angle, stringer length and the board to buy. The code check, the stringer layout table and the drawing follow. Copy or download the layout to take it to the saw.
Example
A 105 in rise (8 ft 9 in) with 7 1/2 in risers and 10 in treads, checked against the IRC.
I know the: From total rise
Total rise: 105 in
Riser height to aim for: 7 1/2 in
Tread depth: 10 in
Code: IRC 2021 (homes)
Tread thickness: 1 in
Nosing: 1 inRisers: 14
Riser height: 7 1/2 in (190.5 mm)
Treads: 13
Tread depth: 10 in (254 mm)
Total run: 10 ft 10 in (3,302 mm)
Stair angle: 36.9°
Stringer length: ≈ 13 ft 11 1/8 in (4,244.5 mm)
Board to buy: 14 ft (4.27 m)
Tread board depth: 11 in (279.4 mm)
Comfort rule 2R + T: 25 in (635 mm), comfortable
Framing square: 7 1/2 in on the tongue, 10 in on the blade
Bottom drop: 1 in (25.4 mm)
Code check:
Riser height: 7 1/2" (limit ≤ 7 3/4") Pass, IRC R311.7.5.1
Tread depth: 10" (limit ≥ 10") Pass, IRC R311.7.5.2
Rise of the flight: 8' 9" (limit ≤ 12' 7") Pass, IRC R311.7.3
Step 2 of the layout: 1 ft 3 in high, 10 in from the foot, 1 ft 1/2 in along the edgeDetails
- How to calculate the number of stairs: divide the total rise by the riser height you want and round up. A rise of 105 in at 7 1/2 in is 14 risers. A rise of 8' 10 1/2" (106.5 in) with a 7 3/4 in limit is 13.7 risers' worth, so 13 would make each riser too tall and 14 give ≈ 7 5/8 in (193.2 mm). Rounding up always keeps the riser at or under the height you asked for, and the riser is then the rise divided by the whole number of risers, so every riser is the same. This is the stair riser calculator part.
- Treads are one fewer than risers, because the top step is the upper floor or deck. 14 risers make 13 treads, and the total run is the treads times the tread depth: 13 × 10 in = 10 ft 10 in. A deck stair with a 30 in rise has 4 risers of 7 1/2 in and 3 treads, a run of 2 ft 6 in. That is the deck stair calculator and the stair tread calculator in one: type the deck's height and your tread board.
- Stair calculator with rise and run: pick
Rise and runwhen the room fixes the run. For a 105 in rise and a 130 in run the tool finds 14 risers and a tread of 10 in. It takes the fewest risers that keep each riser within the limit, then divides the run by the treads. If the run is too short, it says so and names the run needed: "Run: 6 ft 8 in is too short for 14 risers of at most 7 1/2 in: the treads would be ≈ 6 1/8 in, under the 10 in IRC minimum (R311.7.5.2). The run needed is 10 ft 10 in (13 treads × 10 in); or allow a taller riser, or add a landing." - Stair angle calculator: the angle is arctan(riser ÷ tread), measured from level. The 7 1/2 in riser and 10 in tread give 36.9°, and the 2.7 m example gives 35.3°.
- Stringer length: it is the diagonal √(rise² + run²), from the foot of the bottom riser to the top corner of the top riser: √(105² + 130²) is ≈ 13 ft 11 1/8 in. The
Board to buyis the next even-foot board that is at least that long, 14 ft (4.27 m) here. That is a minimum: the board must also be deep enough for the notches, and a metric buyer should round up to a length the supplier stocks. - Stair stringer calculator and stringer layout: the table lists every step with its height above the lower floor, its level distance from the stringer foot and its mark along the stringer's top edge. Step 1 is 7 1/2 in high, and step 2 is 1 ft 3 in high, 10 in from the foot and 1 ft 1/2 in along the edge. The
Framing squarerow gives the settings for a framing square: the riser height (7 1/2 in) on the tongue, the tread depth on the blade. TheBottom dropis the tread thickness cut off the bottom of the stringer, so the first step is no taller than the others once its tread is on. - Stair calculator with diagram: under the figures is the flight drawn to scale from the side, with a riser, a tread and the stringer labelled in feet and inches. The drawing is a picture of the numbers above it, not a separate calculation.
- Code check: choose
IRC 2021 (homes)for a house orIBC 2021 (other buildings)for anything else. The IRC allows a riser of 7 3/4 in at most (R311.7.5.1), a tread of 10 in at least (R311.7.5.2) and a rise of 151 in at most between floors or landings (R311.7.3). The IBC asks a riser of 4 to 7 in, a tread of 11 in at least (1011.5.2) and a rise of 12 ft (144 in) at most (1011.8). Each is shown as pass or fail with its section. A 105 in rise at 7 1/2 in and a 10 in tread passes the IRC. The same stair under the IBC fails: a 10 in tread is under the IBC minimum of 11 in, and the riser is held to 7 in, so it takes 15 risers. A rise of 160 in fails the IRC flight check (the limit is 151 in) and the notes say it needs a landing. - Comfort rule: twice the riser plus the tread, 2R + T, is usually 24 to 25 in for a comfortable stair; the example is 25 in (635 mm), comfortable. It is a rule of thumb, not a code requirement, and the tool says so.
- Metric: type
2.7 mor2700with mm chosen. The example 2.7 m rise gives 15 risers of ≈ 7 1/16 in (180 mm). The target riser and tread still default to inches; type them with a unit (190 mm) if you want them metric.
Limits
- The model codes (IRC 2021, IBC 2021) are quoted as of 2026-11-27. Local codes amend them, and other countries have their own: check the limits with your local building department before you build.
- It plans one straight flight with equal risers. It has no landings, winders, spiral or curved stairs, and no headroom check: a flight over the code's vertical rise is flagged but not split.
- Nosing is shown only as the tread board depth. It is not added to the run, and the IRC nosing size is quoted, not checked. The IRC's rule on risers varying by 3/8 in within a flight is met by cutting them all equal.
- The stringer length is a minimum board length from the diagonal. It does not allow for the wood left under the notches.
- It does not give stair width, handrails, guards or balusters, and it does not estimate concrete or materials: for a concrete stair, see the concrete calculator.
- Feet and inches are to the nearest 1/16 in, and ≈ marks a rounded figure. A rise of 0 or less, a tread of 0 or less, a riser target over 12 in and a flight of more than 200 risers are refused.
FAQ
How do I calculate stairs from the total rise?
Divide the total rise by the riser height you want, round up to get the number of risers, then divide the rise by that number for the actual riser. A 105 in rise at 7 1/2 in is 14 risers of 7 1/2 in, with 13 treads.
What is the maximum riser height and minimum tread depth?
The model IRC 2021 allows a riser of 7 3/4 in at most (R311.7.5.1) and asks a tread of 10 in at least (R311.7.5.2). The IBC 2021 asks 4 to 7 in and 11 in at least (1011.5.2). Local codes amend these, so check yours.
How long is a stair stringer?
It is the diagonal √(rise² + run²). For a 105 in rise over a 10 ft 10 in run it is ≈ 13 ft 11 1/8 in, so a 14 ft (4.27 m) board. The tool rounds up to the next even foot; the board also has to be deep enough for the notches.
What is the 2R + T rule for stairs?
Twice the riser plus the tread should be about 24 to 25 in for a stair that feels natural. 7 1/2 in and 10 in give 25 in, comfortable. It is a rule of thumb, not part of the code.
What is the bottom drop on a stair stringer?
The thickness of the tread, cut off the bottom of the stringer, so the first riser comes out the same height as the rest once the first tread sits on the stringer. For the 1 in tread in the example, the drop is 1 in.
Runs entirely in your browser. Nothing is uploaded.