MATERIALFOREMAN · SHEET S-001 · STAIR WORKS
CALC-001 · DRAWING NO. S-001 · REV A

Stair calculator.

Drafted to scale · cited sources · honest numbers

Works out riser count, tread count, total run, and stringer length for a straight residential stair. Auto-rounds the riser height to keep every step uniform and inside IRC R311.7.5.1. Flags any violation of the 7-3/4 inch riser, 10 inch tread, 151 inch rise, and 6 foot 8 inch headroom rules.

◈ DRAFTING PANEL · STAIR TAKEOFF · N.T.S. SHEET S-001 · REV A
Redline · scope notice Straight flight only. Winders (IRC R311.7.5.2.1), spirals (R311.7.10), and L/U-shape landings are out of scope. Geometry and piece counts only. Stringer structural sizing, handrail graspability, guardrail spacing, and open-riser rules are separate code sections. For structural stringer spans on exterior wood deck stairs, use AWC DCA 6. For interior framed stairs over 6 feet of run, a designer or engineer sizes the stringer.

How to measure the rise

  1. Measure finished floor to finished floor. The floor above and the floor below are both the finished surface. Subfloor to subfloor is the #1 reason a stair fails inspection; every riser ends up off by the thickness of the flooring.
  2. If the upper floor is getting 3/4 inch hardwood that is not yet installed, add that thickness to the total rise. The calculator has a finish-floor preset for the common cases.
  3. Measure the ceiling opening above the stair for headroom. Every point along the stair needs at least 6 feet 8 inches of vertical clearance measured from the sloped plane of the tread nosings.
  4. Decide the stair width first. 36 inches is the residential minimum. 42 inches fits two-way traffic; 48 inches feels generous and justifies three stringers.
  5. Count twice. The risers are always one more than the treads because the top riser lands on the upper floor itself.

The formula

risers  =  round( rise ÷ ideal )  ·  actual = rise ÷ risers  ·  stringer = √( rise² + run² )
risetotal finished-floor to finished-floor distance, inches
idealpreferred riser height, inches (default 7.5)
actualuniform riser after rounding, must be 4 to 7.75 inches per IRC
runtreads × tread depth, inches
2R+TBlondel comfort stride: 24 to 25 inches is comfortable
If the naive round produces a riser over 7.75 inches, the calculator bumps the count up by one and recomputes. The output riser count is always IRC-legal unless you override it.

Typical residential dimensions

T Use case Notes
Riser height4 to 7.75 inchesIRC R311.7.5.1. 7 to 7.5 is the comfortable target. Over 7.75 fails inspection.
Tread depth10 inches minimumIRC R311.7.5.2. 11 inches feels better underfoot; 10 is the hard floor.
Stair width36 inches minimumMeasured above the handrail, below the headroom plane. Wider stairs need more stringers.
Headroom80 inches minimumIRC R311.7.2. Measured vertically from the sloped line connecting tread nosings.
Max rise between landings151 inchesIRC 2021 R311.7.3. Flights taller than 12 feet 7 inches need a landing.
Stringer board, cut 2x12max 6 feet of runAWC DCA 6. Longer runs need engineered stringers or solid uncut stringers.

Sources

Authorities cited on this sheet
  1. IRC R311.7 Stairways (2021, current residential baseline) · The governing section for stairs in one- and two-family dwellings. R311.7.5.1 riser, R311.7.5.2 tread, R311.7.2 headroom, R311.7.3 vertical rise, R311.7.8 handrails.
  2. AWC DCA 6 Prescriptive Residential Wood Deck Construction Guide · Free PDF from the American Wood Council. The authoritative reference for exterior wood deck stringers. Caps cut 2x12 stringers at 6 feet of run and requires at least 5 inches of solid wood below the tread cut.
  3. Building Code Trainer · Residential Stair Code · Plain-English walkthrough of IRC R311.7 with the exact subsection numbers. Useful cross-reference when the codes.iccsafe.org viewer is paywalled.
  4. Wikipedia · Stairs (Blondel formula) · Canonical reference for the Blondel stride formula (2R + T = 24 to 25 inches). Matches the Fine Homebuilding and NAHB comfort targets.
  5. WeKnowCodes · Residential Stair Geometry Quick Reference · Free one-page PDF summarizing IRC R311.7.5.1 and R311.7.5.2 with the 3/8 inch variance rule spelled out.

What the sheet count does not tell you

The measurement that fails inspections

The most common stair mistake has nothing to do with math. It is the measurement. Homeowners and framers both reach for the tape, drop the end on the subfloor, and pull up to the subfloor on the level above. That number is wrong by the thickness of the finish on both floors. Over 14 risers, a missed 3/4 inch of hardwood on the upper floor pushes the last riser to 7.554 inches when the rest are 7.5. The 0.054 inch difference lands inside the IRC R311.7.5.1 variance rule by accident, but the next thicker finish (a 0.875 inch tile over backer) is the one that pushes the top riser out of tolerance and gets the stair red-tagged.

The fix is simple: always measure finished-floor to finished-floor. If the upper floor is not installed yet, add the planned thickness before computing the riser count. The calculator has a preset for the common finishes. Put the preset on the upper floor, not the lower, because the upper floor is the one that lifts the top of the stair.

The second mistake is measuring mid-wall instead of at the opening. A floor sags over its span. The measurement that matters is at the point where the stringer will actually attach to the upper framing. A dead-center tape reading on a 14 foot floor may be a quarter inch off from the reading at the rim joist. On long stairs, that quarter inch changes the last two risers.

Why the rounding rule matters

Every riser on a flight must be within 3/8 inch of every other riser. IRC R311.7.5.1 spells it out: the greatest riser may not exceed the smallest by more than 0.375 inches. This is the rule that makes this calculator auto-round instead of accepting your ideal 7.5 inch number verbatim. If you tell the calculator your ideal is 7.5 and your total rise is 108 inches, the naive answer is 14.4 risers. You cannot build 14.4 risers. The calculator rounds to 14, which gives you 14 uniform risers of 7.714 inches each. That is inside the 7.75 inch maximum and inside the variance rule because every riser is identical.

The place the round fails is when your ideal is too ambitious for the rise. A 48 inch deck with a 7.5 inch ideal rounds to 6 risers, which would be 8 inches each. 8 exceeds the IRC maximum. The calculator catches this, bumps the count to 7, and recomputes the actual riser to 6.857 inches. That is legal and uniform, but it is also lower than you thought you wanted. The calculator tells you when this happens so you are not surprised that your deck stairs feel shallow.

You can override the auto-round with the manual riser count field. Set it to a specific integer and the calculator uses your number. If your override produces an illegal riser, the warning cards fire so you see what you broke. Overriding is the right move on retrofit jobs where the flight already has a fixed count and you are solving for tread depth.

IRC R311.7 for residential stairs

The residential stair code is short. The five rules that catch 90 percent of inspection failures are all in R311.7.

R311.7.5.1 riser height. Maximum 7 and 3/4 inches. No minimum is listed but any riser under 4 inches is probably a ramp. The 3/8 inch variance rule applies across every riser in the flight.

R311.7.5.2 tread depth. Minimum 10 inches measured horizontally between the nose of one tread and the nose of the next. Again a 3/8 inch variance rule applies. This is the number most commonly cheated on tight retrofit jobs; code does not bend.

R311.7.2 headroom. Minimum 6 feet 8 inches measured vertically from the sloped line connecting the tread nosings. The worst-case point is usually directly under the upper floor opening. Check with a framing square held at the critical step.

R311.7.3 vertical rise. A single flight may not have more than 151 inches of rise without an intermediate landing. This calculator flags the 151 inch line as a hard warning because it is geometry this tool cannot solve. A flight over 151 inches needs a platform in the middle, which restarts the math on two separate flights.

R311.7.8 handrails. Any flight with four or more risers requires a handrail on at least one side. The graspability rules in R311.7.8.3 and 8.5 govern the cross-section of the rail itself, which is not a calculator problem. It is a trip to the home center to pick a rail that matches the code profile.

The full IRC language is at codes.iccsafe.org. The 2021 edition is the current baseline; 2024 retains the same numbers.

Stringer sizing, and when to call a pro

Stringers are the diagonal members that carry the treads. On exterior residential deck stairs, the American Wood Council DCA 6 is the prescriptive reference. Everyone from the deck builder to the building inspector reads from the same PDF, which is free from the AWC.

The binding rule on cut stringers is this: a notched 2x12 southern yellow pine stringer may span no more than 6 feet of horizontal run between supports. Six feet of run at a 7 inch riser and 10.5 inch tread is about 63 inches, which is five risers worth. Stairs longer than that need either a solid uncut stringer (very long planks), an intermediate support, or engineered lumber. This calculator flags the DCA 6 limit in the spec slip. When the note says engineered stringer required, it means the geometry exceeds what a 2x12 cut stringer can carry and a designer needs to size something stronger.

The other DCA 6 rule is the 5 inch residual: after the tread cutout, at least 5 inches of solid wood must remain below the deepest notch. A 2x12 is 11.25 inches wide. A 7.75 inch riser cut leaves 3.5 inches at the deepest point, which is under the 5 inch rule. That is another reason a 7.5 inch riser is the practical residential target, not 7.75: the 0.25 inch margin matters at the notch.

Interior framed stairs are not covered by DCA 6 at all. A residential framer will still reach for a 2x12, and for short runs it is fine. For long flights, a structural engineer or a prescriptive table from a state code supplement is the right reference. This calculator cannot size those stringers and will not try. The geometry output (length, count, width) is enough to cut the wood once a stringer has been sized by someone qualified.

Comfort formulas, and why some stairs feel wrong

A stair can be legal and still feel wrong. Basement stairs in 1950s houses usually hit the IRC maximums: 7.75 inch risers, 10 inch treads, no nosing projection. Every step is legal. Every step also feels like a ladder. The reason is the Blondel formula, which has been around since Nicolas-Francois Blondel published it in Cours d'architecture in 1675 and has not been improved on since.

Blondel noticed that a comfortable stride averages about 24 to 25 inches. On a stair, the stride distance is twice the riser plus the tread: 2R + T. A 7.75 inch riser with a 10 inch tread gives 2(7.75) + 10 = 25.5, which is already at the upper edge of the comfort window. A 7 inch riser with a 11 inch tread gives 25 exactly. A 6.5 inch riser with a 12 inch tread gives 25 also, and feels luxurious. The IRC does not care about comfort; Blondel does.

The carpenter rule of thumb is shorter: R + T should land between 17 and 18 inches. A 7 inch riser with an 11 inch tread hits 18. A 7.75 riser with a 10 tread hits 17.75. Both rules give the same verdict: the IRC minimums are the floor, not the target. When you have room to make the tread deeper, make it deeper. Your knees will thank you ten years from now.

The spec slip on this calculator shows both formulas so you can see where you are landing. A comfortable flight has 2R + T between 24 and 25 and R + T between 17 and 18. A legal-but-tight flight will be above both ranges. A shallow flight (long tread, low riser) is harder to detect because both formulas creep up, but shallow flights have their own problem: they eat a lot of floor space, which is why basement stairs are steep in the first place.

PROJ MATERIALFOREMAN
SHT S-001 / 014
REV A · 2026-04-19
DRAWN MF