calculatortoolshub
Runs on your device

Stair Stringer

Calculate stair risers, actual riser height, tread depth, total run, Pythagorean stringer length, and IRC R311.7 compliance.

Your inputs

Inputs stay on your device.

Your result
14

number of risers

Actual riser height: 7.714

View breakdown
Actual riser height 7.714
Actual tread depth 10.5
Stringer length 174.058
Number of treads 13
Total horizontal run 136.5
Stair angle 38.4
Blondel rule (2R + T) 25.9
IRC R311.7 compliant Yes

What is a stair calculator?

A stair calculator determines the exact framing geometry of a straight-run staircase from a single vertical floor-to-floor measurement and target step proportions. Carpenters, deck builders, and remodelers use it to convert total vertical rise into an integer riser count, equalized riser height, tread count, total horizontal run, diagonal stringer length, pitch angle, and residential building code compliance before marking a single 2x12 board.

Because human gait adapts automatically to step rhythm, even a small framing error can turn a staircase into a trip hazard. Measuring finished floor to finished floor and dividing evenly into equal risers prevents the bottom or top step from feeling awkwardly tall or short. This tool runs locally in your browser so project dimensions stay private on your device.

If your deck or porch staircase lands on concrete footings or a poured pad, use our Concrete Calculator to size the landing slab before cutting stringers.

Common use cases

  • Interior Floor-to-Floor RemodelsSize 14-riser flights between 9-foot finished floors (108 in rise) with exact 7.714 in risers and 174.058 in diagonal stringers before cutting kiln-dried 2x12 stock.
  • Backyard Deck & Porch StepsLay out 5-riser (36 in rise) or 8-riser (60 in rise) pressure-treated exterior stringers with wider 11-inch treads for comfortable outdoor footing.
  • Basement Stairwell FeasibilityEnable the optional horizontal run limit (totalRun) to check whether a tight 110-inch basement opening still clears the 10-inch IRC minimum tread depth or needs a landing turn.

How the stair calculator works

The calculator starts with total vertical rise measured from the lower finished floor surface to the upper finished floor surface. Dividing total rise by your target riser height and rounding to the nearest whole integer establishes the riser count. Every riser in the flight is then equalized by dividing total rise by that integer count so variance stays at zero.

Number of Risers = max(1, round(Total Rise / Target Riser)) Actual Riser (R) = Total Rise / Number of Risers Number of Treads = max(0, Number of Risers - 1) Total Run = Actual Tread (T) × Number of Treads Stringer Length = sqrt(Total Rise^2 + Total Run^2) Stair Angle = atan(Total Rise / Total Run) × (180 / pi) Blondel Value = 2 × Actual Riser + Actual Tread

When you enable the optional constrained horizontal run limit, the engine compares your unconstrained run against the available stairwell space. If the unconstrained run exceeds the maximum allowed run, total run caps at your limit and actual tread depth recalculates as Total Run Limit / Number of Treads. Finally, the tool evaluates IRC compliance against the 7.75-inch maximum riser height and 10-inch minimum tread depth specified in the International Residential Code (IRC) Chapter 3 Stairways.

For metric-to-imperial tape measure conversions prior to layout, reference the NIST SI Unit Conversion Reference.

When framing the supporting walls around a stairwell opening, pair your layout with our 16-inch on-center framing lumber takeoff to estimate studs and double top plates for the enclosure.

How to use the stair calculator

  1. Measure total vertical rise: Measure Total rise in inches from the lower finished floor (or patio landing) straight up to the upper finished floor surface, accounting for future finish flooring thickness on both levels.
  2. Enter target riser and tread: Input your Target riser height (typically 7.0 to 7.5 inches for residential comfort) and Target tread depth (10.0 to 11.0 inches without nosing).
  3. Apply optional run limit: If a wall, doorway, or ceiling header restricts horizontal space, open the optional Constrained horizontal run limit section and enter the maximum horizontal run available in inches.
  4. Verify IRC compliance: Review the primary outputs for Number of risers, Actual riser height, Actual tread depth, and Stringer length, then verify that IRC R311.7 compliant reads Yes before laying out your framing square.

Finishing tall two-story stairwell walls after framing stringers is simpler when you estimate wallpaper roll counts with pattern repeat.

Worked numerical examples

Standard 9-foot interior floor flight

With 108 inches of total rise, a 7.5-inch target riser, and a 10.5-inch target tread, round(108 / 7.5) = 14 risers, giving 108 / 14 = 7.714 in actual riser height and 13 × 10.5 = 136.5 in total run. The diagonal stringer length is sqrt(108^2 + 136.5^2) = 174.058 in, requiring a 16-foot 2x12 stringer board, and the flight passes IRC R311.7.

Low 36-inch backyard deck staircase

For a 36-inch drop to a patio with a 7.25-inch target riser and 11-inch tread depth, round(36 / 7.25) = 5 risers and 4 treads. Actual riser height equals 36 / 5 = 7.2 in, total run is 4 × 11 = 44 in, and stringer length is sqrt(36^2 + 44^2) = 56.851 in, easily cut from an 8-foot pressure-treated 2x12.

Constrained basement stairwell opening

An 8-foot basement with 96 inches of total rise and a 110-inch maximum horizontal run produces 13 risers at 96 / 13 = 7.385 in and 12 treads. Capping run at 110 inches compresses tread depth to 110 / 12 = 9.167 in and steepens the stair angle to atan(96 / 110) = 41.1°, flagging IRC R311.7 compliant = No because tread depth drops under the 10-inch code floor.

Residential Stair Rise, Run & Stringer Reference Table
Residential Stair Rise, Run & Stringer Reference Table
ScenarioRisers / TreadsActual RiserActual TreadTotal RunStringer LengthAngle / BlondelIRC Compliant
36 in rise (deck)5 / 47.200 in11.000 in44.000 in56.851 in39.3° / 25.4 inYes
60 in rise (porch)8 / 77.500 in10.500 in73.500 in94.880 in39.2° / 25.5 inYes
96 in rise (8 ft floor)13 / 127.385 in10.500 in126.000 in158.405 in37.3° / 25.3 inYes
108 in rise (9 ft floor)14 / 137.714 in10.500 in136.500 in174.058 in38.4° / 25.9 inYes
120 in rise (10 ft floor)16 / 157.500 in10.500 in157.500 in198.006 in37.3° / 25.5 inYes
96 in rise, 110 in run cap13 / 127.385 in9.167 in110.000 in146.000 in41.1° / 23.9 inNo

Key concepts

Total rise and floor finish allowance

Total rise is never just the rough framing height between subfloors. If the lower floor receives 3/4-inch hardwood while the upper floor receives 1/2-inch tile, the finished vertical rise changes by 1/4 inch. Always deduct tread thickness from the bottom cut of the stringer ("dropping the stringer") so the first step off the lower floor matches every other riser in the flight.

Riser-to-tread geometry and standard mount

A standard hanger-mounted stringer attaches to the rim joist or upper ledger one riser height below the finished upper floor. Because the upper landing provides the final horizontal stepping surface, tread count equals risers minus one. Flush-mounted decks that add an extra top tread flush with the deck surface add one full tread depth to total horizontal run.

Stringer throat depth and lumber length

Notching triangles out of a 2x12 removes more than half of the board's cross-section. Building inspectors typically require at least 3.5 inches (and preferably 5 inches) of solid, un-notched wood remaining between the inner notch corner and the back edge of the stringer. Order stringer lumber one standard length longer than the calculated hypotenuse to allow for plumb and seat cuts.

Blondel's comfort rule and stair pitch

Seventeenth-century architect Francois Blondel observed that a shorter riser requires a deeper tread to preserve a natural stride length. Keeping 2R + T near 24 to 25.5 inches keeps the stair pitch near 35° to 38°, preventing the awkward shuffling sensation of shallow steps or the calf fatigue of overly steep steps.

Practical benefits

  • Zero-variance riser layout: Equalizes every riser to three decimal places so your framing square stair gauges stay well inside the 3/8-inch IRC variance limit.
  • Immediate code verification: Flags riser heights above 7.75 inches or tread depths below 10 inches before you cut expensive pressure-treated or kiln-dried 2x12 lumber.
  • Tight-space feasibility testing: Tests constrained hallway or basement runs immediately to reveal whether a straight flight works or an L-shaped landing is necessary.
  • Accurate material ordering: Reports exact Pythagorean stringer length so you choose 8-foot, 12-foot, 14-foot, or 16-foot stock with minimal waste.

For mitered stringers, angled handrails, and sloped landings, solve exact rise-over-run degrees and miter cuts with the Construction Angle Calculator.

Factors that affect results

  • Tread nosing overhang: IRC R311.7.5.3 requires a 3/4-inch to 1-1/4-inch nosing projection whenever solid risers are used with treads less than 11 inches deep. Nosing adds visual depth without changing the structural horizontal run of the stringer.
  • Stringer spacing and span: Residential 2x12 wood stringers are commonly spaced 16 inches on center for 2x wood treads and 12 inches on center for composite decking treads to eliminate bounce.
  • Bottom step drop: Forgetting to trim the bottom of each stringer by the exact thickness of your tread material makes the bottom riser too tall and the top riser too short.
  • Landing slope on outdoor stairs: Exterior concrete pads and paver patios typically slope 1/8 to 1/4 inch per foot away from the house for drainage, which slightly alters measured total rise at the outer stringer.
  • This calculator models straight-run, standard-mounted staircases with uniform risers and treads. It does not lay out L-shaped or U-shaped intermediate landings, pie-shaped winders, spiral staircases, or curved stringers. Structural stringer span tables, handrail graspability profiles, guard baluster spacing (4-inch sphere rule), and local municipal amendments to the IRC must be verified with your local building department prior to construction.

If your project also includes framing a new deck platform before building the steps, use our outdoor deck surface material planner to estimate joists, beams, and decking boards.

Frequently asked questions

What is the maximum stair riser height allowed under IRC R311.7?

Under Section R311.7.5.1 of the International Residential Code, the maximum residential stair riser height is 7.75 inches (7-3/4 inches), and the greatest variation between the largest and smallest riser in any flight cannot exceed 0.375 inches (3/8 inch).

How do you calculate stair stringer length from total rise and run?

Stair stringer length is the hypotenuse of the right triangle formed by total vertical rise and total horizontal run: Stringer Length = sqrt(Total Rise^2 + Total Run^2). Add extra board length at the top and bottom for plumb cuts, seat cuts, and mounting hangers.

Why is the number of stair treads one less than the number of risers?

In a standard hanger-mounted staircase, the upper landing or floor deck serves as the final step surface. Because the top riser climbs directly onto the upper floor, a flight with 14 risers requires only 13 cut treads on the stringer.

What is Blondel's rule (2R + T) for comfortable stair proportions?

Blondel's formula evaluates natural human stride ergonomics by adding twice the riser height to one tread depth (2R + T). Residential stairs feel most balanced when 2R + T falls between 24 and 25 inches, with 24 to 26 inches widely accepted in carpentry.

What lumber size should be used to cut notched stair stringers?

Standard residential stair stringers are cut from 2x12 dimensional lumber (11.25 inches actual width). After notching the triangles for risers and treads, carpenters verify at least 3.5 to 5 inches of uncut throat depth remains beneath the inner corners to carry live loads.

How does a constrained horizontal run limit affect tread depth?

When a hallway or basement opening restricts total horizontal run, dividing the available run by the number of treads compresses each tread depth. If compressed tread depth drops below 10 inches, the staircase fails IRC R311.7.5.2 and requires a landing, winder, or redesigned opening.

Ready to use

Loading tools…