Calculator Tools
Stair Calculator
Calculate stair risers, tread depth, total run, stringer length, and angle from a known total rise. IRC code check, Blondel comfort rule, imperial or metric.
Stair calculator
Quick presets
Click a preset to load common deck and floor-to-floor scenarios.
Stair dimensions
Total rise is the vertical distance from the lower floor to the finished upper floor.
Units
Enter inches or a feet-inch form like 8' 6".
Solve for
Most residential stairs feel best around 7 to 7.5 inches (18 to 19 cm). Code allows up to 7.75 in.
Tread depth
Vertical clearance above the stair. IRC requires at least 80 in (6 ft 8 in).
Stair geometry
Total rise 108 in (9')
Risers
14
Vertical step faces
Treads
13
Horizontal step surfaces (top floor not counted)
Riser height
7.71 in
Exact height per step
Tread depth
10 in
Front to back of each step
Total run
130 in (10' 10")
Horizontal distance covered
Stringer length
169.01 in (14' 1.01")
Diagonal board length
Stair angle
39.7°
From horizontal
Blondel 2R + T
25.4 in
Target 24.6 in
Code issue
Stair angle 39.7° is steeper than the residential code limit of about 37.8°. Use a deeper tread or shorter riser.
Stair terms
- Total rise: the vertical distance from the lower finished floor to the upper finished floor.
- Riser: the vertical face of each step. The number of risers always exceeds the number of treads by one because the upper floor counts as the final landing.
- Tread: the horizontal surface you step on, measured nose to nose.
- Total run: the horizontal distance covered by all treads end to end.
- Stringer: the diagonal board cut to hold the treads and risers. Its length is sqrt(rise^2 + run^2).
- Blondel comfort: the classical rule 2 * riser + tread = 24.6 in (or 63 cm). Stairs that match this constant feel right under everyday use.
Residential code (IRC R311.7.5)
- Maximum riser height: 7.75 in (19.7 cm) measured nose to nose.
- Minimum tread depth: 10 in (25.4 cm) measured nose to nose.
- Riser heights and tread depths within a single flight must not vary by more than 0.375 in (about 1 cm) so the rhythm of the stair stays consistent.
- Minimum headroom above any tread or landing: 6 ft 8 in (80 in / 203 cm) measured vertically.
- Nosing projection: typically 0.75 to 1.25 in (about 2 to 3 cm) past the riser face, required when treads are less than 11 in deep.
- Always confirm against your local building code. This tool gives a planning estimate and is not a substitute for an inspection.
How to use
- Set the units toggle to Imperial or Metric to match the tape measure you are working with.
- Enter the Total rise: the vertical distance from the lower finished floor (or grade) to the upper finished floor.
- Choose Auto from target riser to pick a comfortable riser height, or Fixed step count when you already know how many steps fit the opening.
- Pick the Blondel comfort rule for an automatic tread depth, or switch to Pick the depth to enter a tread depth you already own.
- Optionally enter the Ceiling clearance above the stair so the headroom check runs against the IRC minimum.
- Read the geometry panel for the riser height, tread depth, total run, stringer length, and stair angle, then click Copy summary to share the result.
About this tool
Stair Calculator turns a known total rise (the floor-to-floor or grade-to-deck height) into a complete plan for a straight run of stairs: the number of risers and treads, the exact riser height and tread depth, the total horizontal run, the diagonal stringer length, and the stair angle. Two solver modes cover the most common workflows. Auto from target riser lets you pick a comfortable riser height (default 7 inches or 18 centimeters), then divides the total rise by that height, rounds to the nearest whole number of risers, and back-solves the precise riser needed to land flush on the upper floor. Fixed step count lets you supply the number of risers you already plan to build and reports the resulting riser height and tread. Tread depth can be set directly to match stock lumber, or derived automatically from the classical Blondel comfort rule 2R + T = 24.6 in (63 cm), which produces a stair that walks naturally at any speed. The stringer length is computed exactly as sqrt(rise^2 + run^2) so a carpenter can mark and cut the diagonal in one pass, and the stair angle is reported in degrees so it can be compared against the residential maximum of about 37.76 degrees. Every result is checked live against the International Residential Code R311.7.5 limits used in most US jurisdictions: maximum riser 7.75 in (19.7 cm), minimum tread 10 in (25.4 cm), and minimum headroom 6 ft 8 in (203 cm) when a ceiling clearance is supplied. Code issues appear in red and comfort warnings in amber, so a deck plan that needs one more step or a slightly deeper tread is flagged before any wood is cut. Quick presets load common scenarios: a low backyard deck, a high above-grade deck, a residential floor-to-floor of 8 ft 6 in, a steep basement stair near code limits, and a 2.7 m metric floor-to-floor. Inputs accept inches as a plain number, feet-inch forms such as 8 ft 6 in, simple fractions like 1/2, mixed numbers like 1 1/2, comma decimals for European keyboards, and metric centimeters when the unit toggle is set to metric. Useful for deck builders sizing a stringer before buying lumber, homeowners planning a porch or basement stair, contractors laying out an interior staircase, DIYers checking that a new step run will pass inspection, and anyone double-checking a finished stair against the residential code. Everything runs in your browser; the numbers you enter here are never uploaded.
Free to use. Works in your browser. No signup, no login.
Related tools
You may also like
Roof Pitch Calculator
Convert roof pitch between X/12, degrees, percent, and ratio with rafter length output.
Open tool
CalculatorSlope Calculator
Slope, line equation, midpoint, distance, and angle from two points.
Open tool
CalculatorSquare Footage Calculator
Multi-room square footage with shapes, units, waste percentage, and cost.
Open tool
CalculatorRight Triangle Calculator
Solve any right triangle and see sides, angles, area, perimeter, and trig values with shown steps.
Open tool
CalculatorConcrete Calculator
Concrete volume for slabs, columns, post holes, and stairs with bag counts and cost.
Open tool
CalculatorPaint Calculator
Estimate gallons or liters of paint from room dimensions, coats, and coverage.
Open tool