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
Stairs
Floor to floor: from the lower floor to the top of the upper floor or deck. Feet and inches such as 8' 10 1/2" or 8 ft 10 in, or metric with its unit (2.7 m, 2700 mm); a plain number is in the unit below.
The tallest riser you want; the riser count is the fewest that keep each riser at or under it.
The level depth of one step, without the nosing.
Which model code the riser, tread and flight rise are checked against. Local codes amend these.
For the bottom drop: how much to cut off the stringer's bottom so the first step matches the rest. 0 for none.
How far the tread board hangs past the riser. Shown as the tread board depth, not added to the run. 0 for none.
For lengths typed without a unit.
Risers = ceil(total rise ÷ riser height); treads = risers − 1 (the top step is the floor above); riser = rise ÷ risers; run = treads × tread depth; angle = arctan(riser ÷ tread); stringer = √(rise² + run²). Feet and inches are to the nearest 1/16 in, ≈ marks a rounded figure. Code limits are the model IRC and IBC 2021; check your local code.
Result
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.

Stair profile to scale
tread 10"riser 7 1/2"stringer ≈ 13' 11 1/8"
  • 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.
Stringer layout
StepHeightLevel runAlong edge
17 1/2"0"0"
21' 3"10"1' 1/2"
31' 10 1/2"1' 8"2' 1"
42' 6"2' 6"3' 1 1/2"
53' 1 1/2"3' 4"4' 2"
63' 9"4' 2"5' 2 1/2"
74' 4 1/2"5'6' 3"
85'5' 10"7' 3 1/2"
95' 7 1/2"6' 8"8' 4"
106' 3"7' 6"9' 4 1/2"
116' 10 1/2"8' 4"10' 5"
127' 6"9' 2"11' 5 1/2"
138' 1 1/2"10'12' 6"
14 (upper floor)8' 9"10' 10"13' 6 1/2"
IRC 2021 (homes) check
CheckYoursLimitResultCode
Riser height7 1/2"≤ 7 3/4"PassR311.7.5.1
Tread depth10"≥ 10"PassR311.7.5.2
Rise of the flight8' 9"≤ 12' 7"PassR311.7.3

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.

  1. Pick what you know in I know the: From total rise to say how tall a riser you want and how deep a tread, or Rise and run when the room fixes how far the stairs can go.
  2. Type the Total rise: the height from the lower floor to the top of the upper floor or deck. It can be 105, 8' 10 1/2", 8 ft 10 1/2 in or 2.7 m; a plain number is in the unit chosen in Unit for plain numbers.
  3. Set the Riser height to aim for (7 1/2 in to start with) and, in the first mode, the Tread depth (10 in). In the second mode give the Total run available instead.
  4. Choose the Code to check against, or No code check, and enter the Tread thickness (for the bottom drop) and Nosing (for the tread board depth).
  5. 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.

A 105 in rise (8 ft 9 in) with 7 1/2 in risers and 10 in treads, checked against the IRC.

Input
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 in
Output
Risers: 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 edge

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.