Tallyard

Step safely.

Stair stringer length, rise, run, and tread count for any height. Meets IRC code limits on rise and tread dimensions.

IRC-compliantStringer + treadsAny rise
Loading…

How we calculated this

The calculator divides total vertical rise by your target riser height and rounds to the nearest whole number — because stair risers must all be equal. Once you know the riser count, actual riser height is total rise divided by that count. If your total rise is 108 inches and you target 7.5-inch risers, you get 14 risers at 7.71 inches each (close to target but equal across all risers).

The number of treads is always one less than the number of risers because the last 'step' at the top is the upper floor itself, not an additional tread. This catches people off by one — if you have 14 risers, you need 13 treads.

Total run is treads times tread depth. A 14-riser / 13-tread staircase at 11-inch treads needs 143 inches (11 feet 11 inches) of horizontal space. This is the most commonly underestimated dimension when planning a staircase inside a house — measure your available horizontal space before committing to a stair layout.

Stringer length is the hypotenuse of the rise and run — Pythagoras. For ordering: round up to the next standard lumber length. 2×12 stringers come in 8, 10, 12, 14, 16, 20 foot lengths. The calculated stringer length is the actual path along the stair; you need some extra for the top and bottom mounting, so order one standard length above the calculated number.

IRC 2021 compliance: riser height 4"-7.75" (no more than 3/8" variation between any two risers), tread depth minimum 10", stair width minimum 36". The calculator checks these automatically. Some municipalities have stricter local codes — always verify with your building department before cutting stringers.

The 'rule of 25' is a carpenter's comfort guideline: 2 × riser + tread ≈ 24-25 inches. Too low (aggressive rise, shallow tread) feels steep. Too high (shallow rise, deep tread) feels awkward and stretched. 7.5" rise + 10" tread = 25. 7" rise + 11" tread = 25. Most comfortable stairs land near 25.

Tallyard EditorialUpdated April 20, 2026Reviewed against IRC 2021 R311.7 (stairways), AWC span tables

Building code sets the numbers. Comfort decides where inside those numbers you land.

Stair design is one of the few areas where building code dictates the exact dimensions of what you build. Maximum riser height, minimum tread depth, minimum width, baluster spacing, headroom, handrail height. These are not suggestions. An inspector will measure them, and a staircase that fails code cannot be signed off. The calculator above computes rise and run from your total height using these IRC requirements.

IRC R311.7 stair requirementsMaximum riser height7.75"Most builders target 7.0–7.5" for comfortMinimum tread depth10"Measured from nose to nose. 10.5–11" is standard.Minimum stair width36"Clear width between walls or railingsMaximum baluster spacing4"A 4" sphere cannot pass through any opening
Fig. 1. IRC R311.7 sets the boundaries. Within those limits, comfort comes from targeting 7.0–7.5 inch rise and 10.5–11 inch run. The 7-11 rule.
How we calculated these numbers

Rise and run calculations follow IRC 2021 R311.7. Stringer length uses the Pythagorean theorem: √(total_rise² + total_run²). Stringer spacing per AWC span tables for 2×12 southern pine or Douglas fir. All dimensions assume standard residential interior or deck stairs.

Rise and run from your total height

Steps and stringer length by total riseTotal riseStepsRise eachRun eachStringer length36"57.2"10"49"48"76.86"10"77"72"107.2"10"106"96"137.38"10"136"108"157.2"10"155"
Fig. 2. Total rise ÷ maximum riser height gives you the minimum number of steps. Then divide total rise by step count for the actual rise per step.

The formula is: divide your total rise (in inches) by the target riser height (7.5 inches is the sweet spot). Round up to get the step count. Then divide total rise by step count for the actual rise per step. A 48-inch total rise divided by 7.5 gives 6.4, rounded up to 7 steps, with an actual rise of 6.86 inches each. Every step must be the same height. Variation of more than 3/8 inch between any two risers fails inspection and is a trip hazard.

The 7-11 rule
Professional stair builders target a 7-inch rise and 11-inch run. This ratio feels natural to walk, meets code with margin, and produces a stringer angle of about 32 degrees. Steeper stairs (closer to the 7.75-inch code maximum) feel cramped. Shallower stairs (under 6.5-inch rise) feel like ramps and waste floor space.

Stringers: how many and how long

How many stringers?36" (code minimum)3 stringers18" OC42" (comfortable)3 stringers21" OC48" (two-person)4 stringers16" OC
Fig. 3. Standard 36-inch stairs need 3 stringers. Wider stairs add a stringer every 16 inches of width. Stringers are cut from 2×12 lumber.
Illustrative example · Minneapolis, MN
A homeowner building deck stairs measured his total rise at 42 inches and ordered three 8-foot 2×12 stringers. The calculator said he needed 6 steps at 7.0 inches each with a total run of 60 inches, giving a stringer length of 73 inches. An 8-foot (96-inch) 2×12 gives enough length, but the notch cuts remove so much wood that the remaining throat (the narrowest part of the stringer after cuts) was only 3.5 inches. Code requires a minimum 3.5-inch throat. He was at the absolute limit. A 2×12 with a 7-inch rise and 10-inch run leaves exactly 3.5 inches of throat. If his rise had been 7.5 inches, the throat would have failed inspection.

Composite illustration based on typical project dimensions, regional contractor pricing, and 2026 material costs. Not a specific real project.

 
Interior stairs
Deck/exterior stairs
Stringer material2×12 SPF or Douglas fir2×12 pressure-treated
Tread materialHardwood, LVP on plywoodPT, composite, or cedar
Railing required?Yes if 4+ risersYes if 30"+ above grade
Open or closed risers?Closed (finished look)Open allowed by most codes
Landing required?At top and bottom, 36" minAt top, 36" min

Exterior stairs use pressure-treated lumber throughout. Interior stairs use dimensional lumber for stringers and finished wood or LVP for treads.

For deck projects where stairs are part of a larger build, the deck calculator and the deck planner chain the stair calculation with decking, framing, and footing quantities automatically.

How many stair stringers do I need?

Stringer count depends on stair width and tread material. For 36-inch-wide stairs (code minimum) with standard 2× treads: 3 stringers (one on each side plus one center). For stairs wider than 36 inches, add a stringer every 16 to 18 inches of additional width. A 48-inch-wide staircase needs 4 stringers. Stairs using composite or thin decking boards as treads need stringers every 12 to 16 inches because those materials flex more than solid lumber under foot traffic.

 
Stringer count
Max span between
Stair width 36"3 stringers18" between
Stair width 48"4 stringers16" between
Stair width 60"4–5 stringers15–16" between
Composite treads (any width)Add 1 extra12–16" max span

Center stringers prevent tread bounce. If your treads flex when you step in the middle, you need another stringer.

Standard stair rise and run dimensions (IRC R311.7)

The IRC sets exact limits that every residential staircase must meet. These are not recommendations. Stairs that fall outside these ranges fail inspection and must be rebuilt.

 
IRC requirement
What it means
Max riser height7.75 inchesEach step can be no taller than this
Min tread depth10 inchesEach step must be at least this deep
Min width36 inchesClear width between walls or railings
Max variation3/8 inchLargest riser minus smallest riser
Headroom80 inches minimumMeasured from nosing to ceiling above
Landing36" deep minimumRequired at top; at bottom if total rise > 12 ft

The 3/8-inch variation rule is the one most DIYers fail. If your first riser is 7.5 inches and your last is 7.0 inches, that 1/2-inch difference fails code. The calculator keeps all risers uniform to prevent this.

Common rise and run combinations that pass code: 7.0-inch rise with 10.5-inch run (comfortable, gentle slope), 7.5-inch rise with 10-inch run (standard, the most common residential stair), 7.75-inch rise with 10-inch run (steepest allowed, saves horizontal space). The calculator finds the optimal combination from your total height.

Sources

Frequently asked

How many stairs do I need for an 8-foot ceiling?

For a floor-to-floor rise of about 8.75 feet (105 inches — 8 ft ceiling plus floor assembly), you need 14 risers and 13 treads with a 7.5" target. For a 9-foot ceiling (about 117 inches total rise), 16 risers and 15 treads. The calculator above handles any rise.

What's the IRC code for stair dimensions?

IRC 2021 residential: risers 4"-7.75" (variation ≤ 3/8" between any two risers), treads minimum 10", stair width minimum 36". Handrails required if more than 4 risers. Some local codes are stricter — always check before building.

How long should my stair stringer be?

The calculated stringer length is the actual slope length. For lumber ordering, round up to the next standard length (2×12 stringers come in 2-foot increments from 8 to 20 ft). A 108-inch rise at 7.5" risers needs a stringer about 155 inches long — order a 14-foot stringer (168 inches) with extra for cutting.

How many stringers do I need?

Minimum 2 (one each side) for stairs up to 36" wide. Add a middle stringer for stairs 36"+ wide or when treads are 1" or thinner. Always add a middle stringer for commercial or exterior stairs, and for any stair carrying heavy loads.

What's the rule of 25?

A comfort test: 2 × riser height + tread depth should be around 24-25 inches. Below 23 feels steep and unsafe; above 26 feels awkward. Most comfortable stairs: 7" rise + 11" tread = 25. Code allows stairs outside this range but experienced carpenters use it as a design target.

Can I adjust tread depth if my space is tight?

Yes, down to 10" (IRC minimum). Below that is not code-compliant. If you're truly tight on horizontal space, consider a winder stair (wedge-shaped treads turning at a corner) or a spiral stair — both consume less horizontal space than a straight run but are harder to navigate with furniture.

How do I measure total rise if the floor isn't finished?

Measure from the top of the lower finished floor surface to the top of the upper finished floor surface. If either floor is unfinished, add the finish thickness: typical hardwood adds 3/4", tile adds 1" with underlayment, carpet with pad adds 1/2". Miss this step and your top or bottom riser will be uneven.

What about landings?

Required by IRC for any stair with more than 12 risers in a single run, or at any turn. Landings must be at least as deep as the stair is wide (so a 36" wide stair needs a 36" deep landing). The calculator treats the stair as a single straight run — for L-shaped or U-shaped stairs, calculate each run separately.

Was this calculator helpful?