Stair Calculator
Enter the total rise and the tread depth: get the riser count, the riser height, the total run and the IRC R311.7 checks (7¾ in max riser, 10 in min tread), with the arithmetic shown.
What this does not check
- It lays out residential stairs under the IRC. Commercial stairs fall under the IBC, with a lower maximum riser and a deeper minimum tread, and Canada and the UK have their own limits; the FieldDojo app carries those regions.
- It takes the total rise as finished floor to finished floor. If you measured subfloor to subfloor, add the finish that goes on the upper floor and subtract the finish on the lower floor first, then cut the stringer with the drop described on the finished stair rise chart.
- It does not check headroom, width, handrails, guards, winders, landings or nosing projection. Those are R311.7 too, and they are decided by the framing around the stair, not by the rise and run.
- The 2R+T check (24 to 25 in) is a comfort rule of thumb, not code. A stair can fail it and still pass inspection.
How to use it
Measure the total rise from finished floor to finished floor, in inches: 9 ft is 108 in. Enter the tread depth you want, nosing to nosing; 10 in is the IRC minimum and the most common choice. The riser to aim for sets how the rise is divided. 7 in is the default, the same as the app’s.
The calculator divides the rise by your target, rounds to a whole number of risers, and divides back to get the riser height. Treads are one fewer than risers, and the total run is the treads times the tread depth. It then checks the riser against 7¾ in, the tread against 10 in, and 2R + T against the 24 to 25 in comfort band.
The method
risers = round(total rise ÷ target riser)
riser = total rise ÷ risers
treads = risers − 1
run = treads × tread depthRounding to the nearest whole riser, rather than always up, is how the app does it, and it can land a riser over 7¾ in when the target is high. The check catches it: add a riser and the height drops.
Worked examples
9 ft of rise, 10 in treads, 7 in target. 108 ÷ 7 = 15.43, so 15 risers. 108 ÷ 15 = 7.2 in each. 14 treads × 10 in = 140 in of run, 11 ft 8 in. 2R + T = 24.4 in. Passes everything; this is the layout on the stair rise and run chart.
Same rise, aiming for the maximum. A 7¾ in target gives 108 ÷ 7.75 = 13.94, so 14 risers at 7.71 in, legal by about 1⁄32 in. 13 treads give 130 in of run, 10 in shorter, and 2R + T is 25.43 in: legal and steep.
Same rise, a gentler stair. A 6¾ in target gives exactly 16 risers at 6.75 in, 15 treads and 150 in of run. 2R + T is 23.5 in, under the comfort band: an easy climb that needs more floor.
Where it goes wrong in the field
The rise is measured finished, but the stringer is cut on framing. A 1 in tread on the stringer raises every step by 1 in, which makes the first finished riser 1 in taller than the rest and breaks the ⅜ in variation limit. Cut the bottom of the stringer down by the tread thickness less the floor finish below. The finished stair rise chart works a full example on subfloor, with the bottom, middle and top cuts.
The second failure is measuring the rise at one point on a floor that is not level. Measure at the top landing’s edge and plumb down to where the bottom riser will sit, not across the room.
Code references
IRC R311.7.5.1Risers, 7¾ in maximum, variation ⅜ in2021 editionIRC R311.7.5.2Treads, 10 in minimum nosing to nosing, variation ⅜ in2021 editionIRC R311.7.2Headroom, 6 ft 8 in2021 edition
Section numbers and table values move between editions, and jurisdictions amend them. Confirm against the edition your authority having jurisdiction enforces.
Common questions
- How many stairs do I need for a 9 foot rise?
- Fifteen risers. 108 in divided by a 7 in target is 15.4, which rounds to 15, and 108 ÷ 15 = 7.2 in per riser, under the 7¾ in maximum. With 10 in treads that is 14 treads and 140 in of run, 11 ft 8 in. Fourteen risers at 7.71 in is also legal, by about 1⁄32 in, and 10 in shorter in run, but it is steeper and leaves no margin.
- Why is there one less tread than risers?
- The top riser lands on the upper floor, which serves as the last step. A stair with 15 risers has 14 treads. Forgetting this is the usual reason a layout comes out one tread long.
- What is the 2R + T rule?
- Twice the riser plus the tread, which feels right on a stair between 24 and 25 in. It is a comfort rule of thumb, not code: 7.2 in risers with 10 in treads give 24.4 in, comfortable; 7.71 in risers give 25.43 in, legal but steep.
- Does the 7¾ inch maximum apply to the bottom step?
- Yes, and so does the ⅜ in limit on how much any riser may differ from the others in the flight. That is why the stringer is cut down at the bottom by one tread thickness, less the floor finish below: otherwise the first finished riser comes out taller than the rest.
For the method behind this — worked examples, the tables, and where it goes wrong — read the full guide.