Stairs Calculator
How do you build a stair to code? The 2021 IRC R311.7 sets the basics every flight in America has to meet: maximum riser 7-3/4 inches, minimum tread 10 inches with nosing or 11 inches without, variation no more than 3/8 inch between any two within a flight, minimum width 36 inches, minimum headroom 80 inches, and maximum 151-inch vertical rise between landings. Spiral stairs follow R311.7.10.1 (26-inch min width, 7-1/2 inch tread at the walkline, 9-1/2 inch max riser); winder stairs follow R311.7.5.2.1 (10-inch tread at the 12-inch walkline). The 2024 IRC moves the same rules to R318.7. This calculator enforces all of it as a traffic-light pass/warn/fail check before you cut a single stringer.
Six configurations cover the residential universe: straight (single flight), L-shape (90 degree quarter-turn with landing), U-shape (180 degree switchback), winder (3+ pie-shaped treads replacing the landing), spiral (helical around a center pole), and curved (every tread a winder along an arc). All six share the same three-equation core: number of risers = round(total rise / desired riser); tread count = risers - 1; stringer length = sqrt(rise squared + run squared). Configuration-specific geometry layers on top — the math stays consistent.
Built on 2021 IRC R311.7 (and 2024 IRC R318.7), AWC DCA 6 stringer span limits (cut/notched 6 ft for SPF, 7 ft for Southern Pine; solid/housed 13-ft-3 SPF, 16-ft-6 Southern Pine), Pennsylvania UCC 34 Pa. Code §403.21 (8-1/4 inch riser, 9 inch tread amendment), Rhode Island residential code, IBC §1011 commercial mode, ADA §504/§505 accessible egress mode, and Blondel-formula comfort checks. Free, no signup.
Stairs Calculator
Code-compliant residential stair geometry, materials & stringer engineering — pulled from 2021 IRC R311.7 (riser ≤ 7-3/4", tread ≥ 10" with nosing, max rise 151" per flight) and AWC DCA 6 stringer-span limits. Six configurations: straight, L, U, winder, spiral, curved.
Stair geometry
Total rise is finished floor to finished floor — IRC excludes carpet and runners from tolerances
7" rise / 11" run is the universally-cited gold standard (2R + T = 25, R + T = 18). Calculator picks a riser count where the actual riser ≤ jurisdiction max.
Pricing stringer/tread lumber by the board foot? Calculate it →
Not sure how total rise becomes equal steps? See the rise & run diagram
Code & jurisdiction
Drives the riser/tread/width/rise limits — IRC default for most US
What riser, tread & nosing are legal and comfortable? See the limits diagram
Materials
Tread, riser, stringer species, and stringer construction style
Per AWC DCA 6 (2018 reprint): cut/notched stringers max 6'-0" unsupported run (7'-0" Southern Pine); solid (housed) stringers max 13'-3" (16'-6" SYP). Cut stringers must keep ≥ 5" throat.
How is a cut stringer laid out, and what is the throat? See the stringer diagram
Guard & handrail
IRC R312 guard at > 30" above grade; R311.7.8 handrail at ≥ 4 risers
How a set of stairs goes together
Stairs hinge on a few ideas that trip up first-time builders: how total rise decides the number of equal steps, what riser and tread are both code-legal and comfortable to climb, and how a notched stringer is laid out so it won't shear. These engineering-style diagrams walk through each one — use the “see the diagram” links beside the inputs above to jump to the figure you need.
The rise-run anatomy is why total floor-to-floor rise sets the whole stair. The riser count is the rise divided by a maximum riser height rounded up, treads are one fewer, and run is treads times depth — and every riser must come out equal. That is why the calculator starts from total rise, not a guessed step count.
The code-and-comfort diagram is why the calculator holds riser and tread within a narrow window. Code caps the riser and floors the tread, and the comfort rules tie rise and run together, so a step that meets one can fail the other. Risers also have to match within a small tolerance, which is why the calculator distributes them evenly.
The stringer-layout diagram is why the estimate is more than boards and treads. The stringer is laid out with a framing square, keeps a minimum throat so it cannot shear at a notch, and its bottom riser is dropped by one tread thickness so all risers stay equal. That bottom-riser drop is the detail that keeps the finished steps uniform.
The guard-and-handrail diagram is why a finished stair is more than its steps. A graspable handrail runs 34–38 inches above the nosings, a guard at least 36 inches protects the open side and any landing, and no gap in the railing may let a 4-inch ball pass (4⅜ inches on the open stair, 6 inches in the triangle at the tread, riser, and bottom rail). These are the details an inspector measures after the stringers pass.
Calculation Formulas
Round up the total rise (finished floor to finished floor, in inches) divided by the jurisdiction's maximum riser height. The resulting riser count gives you an exact riser height that does NOT exceed the limit. IRC base is 7-3/4"; PA UCC and RI are 8-1/4"; IBC commercial is 7"; ADA is 7". The IRC explicitly excludes carpet and runners from the dimensional tolerance, so always calculate from finished floor to finished floor.
Example:
108" total rise (9-ft floor-to-floor) at 7-3/4" max: ⌈ 108 / 7.75 ⌉ = 14 risers @ 7.71" each. With a 7" target: round(108/7) = 15 risers @ 7.20" — both code-compliant; 15 risers is a more comfortable Blondel 25.20.".
Standard-mount stairs have one fewer tread than risers (the floor is the last 'tread'). Flush-mount stairs have one tread per riser. Tread depth is ≥ 10" with nosing or ≥ 11" without nosing per R311.7.5.3. Variation between any two treads or any two risers within a flight is limited to 3/8" (R311.7.5.1).
Example:
15 risers, 11" tread, standard mount → 14 treads, 154" run = 12'-10". Total run is constrained by the available horizontal space; reduce risers to fit, but never exceed the riser-height limit.
Stringer length on a straight flight is the hypotenuse of the rise/run right triangle. Round up to the next even foot of stock lumber (12, 14, 16). Diagonal layout pitch d = √(R² + Tread²) — the increment along the stringer between successive step layouts.
Example:
Total rise 108", total run 154" → L = √(11664 + 23716) = 188" = 15'-8". Order 16-ft stock 2x12. Layout pitch d = √(7.20² + 11²) = 13.16".
Notched (cut) stringers expose triangular notches and are structurally weaker — DCA 6 limits unsupported run to 6 ft for SPF / Douglas Fir-Larch / Hem-Fir #2 2x12, 7 ft for Southern Pine. Solid (housed/closed) stringers carry treads on dado grooves with no notch and span much further (13'-3" SPF/DFL, 16'-6" SYP). Beyond these spans, an intermediate post or landing is required, or the stringer must be engineered.
Example:
12-ft total run with cut stringers: exceeds 6 ft SPF limit by 2× — switch to a solid stringer (13'-3" allowed) or add a landing at 6 ft. Southern Pine cut stringer can span to 7 ft.
François Blondel's 1675 stride-length formula: a comfortable stair has 2 × riser + tread between 24" and 25". The 7" rise / 11" tread combination (2R+T = 25, R+T = 18) is the universally-cited gold standard. Stairs outside the 30°–37° angle range (the slope produced by typical R/T pairs) feel either too steep or too shallow. The calculator surfaces these as comfort warnings — they are NOT code violations.
Example:
7" / 11" = 25 (Blondel ✓), 18 (stride ✓), 32.5° angle ✓. 7-3/4" / 10" = 25.5 (slightly steep), 17.75 (✓), 37.7° (warn — at the steep edge).
Comfort range is 30°–37°. Below 30° feels shallow and uses too much floor space; above 37° feels steep and approaches OSHA / ship-stair territory. Spiral and winder geometries are calculated separately along the walkline.
Example:
7" / 11" → arctan(7/11) = 32.47°. 8" / 9" (PA UCC max steep) → arctan(8/9) = 41.6° — outside comfort range.
Spiral stairs use a separate rule set: minimum 26" clear width below the handrail, walkline radius 24-1/2" max from the center pole, tread ≥ 7-1/2" measured 12" from the narrow edge, all treads identical, max riser 9-1/2", min headroom 78". 12 treads per full 360° turn (30° each) is the standard. The minimum outer diameter for a code-compliant residential spiral is 5'-0" (60"); 5'-6" is more comfortable.
Example:
60" outer diameter spiral: walkline radius = 30 − 1.5 = 28.5" → capped at 24.5". Tread depth at walkline = 24.5 × (π/12) = 6.41" — FAILS the 7-1/2" rule. Increase outer diameter to ~70".
On winder stairs the tread depth must be ≥ 10" measured along the walkline (12" from the narrow side, concentric to the turn) and ≥ 6" at any point in the clear width. The largest winder tread depth at the walkline shall not exceed the smallest by more than 3/8". A 90° turn with three winders puts each at 30° of arc — the central winder is a quadrilateral kite.
Example:
Three 30° winders with 12" inside radius: walkline radius 24". Walkline arc per winder = 24 × (30π/180) = 12.57" — comfortably above the 10" minimum. Inside (narrow) edge tread = 12 × (30π/180) = 6.28" — meets the 6" minimum.
Every tread on a curved staircase is a winder along a single concentric arc. Walkline radius = inside radius + 12". Total walkline arc length divided by tread count gives the tread depth at the walkline, which must meet the same 10" / 6" rule as winders. Stringers are typically curved laminated glulam — engineered design recommended.
Example:
Inside radius 36", 90° sweep, 14 treads: walkline radius 48", arc = 48 × (π/2) = 75.4" → 5.39" tread at walkline. FAILS — increase the radius or reduce the sweep.
1-1/2" square baluster + 4" max gap = 5.5" on-center → 2.18 / LF. 3/4" round baluster + 4" max gap = 4.75" on-center → 2.53 / LF. 1/2" iron baluster typically at 4" on-center → 3 / LF. Sphere rule: 4" general; 4-3/8" stair guard openings; 6" tread/riser/rail triangle.
Example:
20 LF of stair handrail + 4 LF of landing rail = 24 LF total at 1-1/2" square: 24 × 2.18 = 52.4 → 53 balusters. With 1/2" iron @ 4" o.c.: 24 × 3 = 72 balusters.
Handrail length is the slope distance of the flight (Pythagorean). ADA §505.10 requires 12" horizontal extension at the top and one tread depth + 12" at the bottom; IRC R311.7.8.4 only requires 'full length of the flight, ends returned to wall/newel/safety terminal.' The calculator outputs the slope length and the user adds extensions to suit the code path.
Example:
Total rise 108", total run 154": slope = √(108² + 154²) = 188" = 15.67 ft. Plus ADA extensions: 15.67 + 1 + (11/12 + 1) = 18.59 ft.
Standard Constants
| Constant | Value | Description |
|---|---|---|
| Maximum Riser Height | 7-3/4" (IRC) / 8-1/4" (PA UCC, RI) / 7" (IBC, ADA) / 9-1/2" (spiral) | IRC R311.7.5.1 base. Pennsylvania UCC §403.21 and Rhode Island residential codes amend up to 8-1/4" for R-3 and dwelling units in R-2. IBC §1011 commercial and ADA §504.2 cap at 7". Spiral stairs allow 9-1/2" per R311.7.10.1. |
| Minimum Tread Depth | 10" with nosing / 11" without nosing (IRC) / 9" (PA, RI) / 11" (IBC, ADA) / 7-1/2" @ walkline (spiral) | IRC R311.7.5.2 with nosing exception in R311.7.5.3. Tread depth is measured horizontally between the leading edge of one tread and the leading edge of the next. Spiral measures at 12" from the narrow edge. |
| Riser/Tread Variation Tolerance | 3/8" max within a flight | IRC R311.7.5.1 and R311.7.5.2 — the largest riser or tread shall not differ from the smallest in the same flight by more than 3/8". Tolerance resets at every landing. The 2024 IRC clarified this applies per-flight, not across the whole stairway. |
| Maximum Vertical Rise per Flight | 151" (12'-7") IRC / 147" PA UCC / 144" IBC commercial | IRC R311.7.3 — beyond this, a landing breaks the flight. PA UCC is slightly tighter at 147". The landing resets riser uniformity and breaks long flights into a manageable cadence. |
| Minimum Stair Width | 36" residential (IRC) / 26" spiral / 44" commercial (IBC) | IRC R311.7.1 — 36" minimum above the handrail; reduces to 31-1/2" with one handrail and 27" with two (handrails project 4-1/2" max each side). Spiral R311.7.10.1 allows 26". IBC commercial is 44". |
| Minimum Headroom | 80" residential (IRC) / 78" spiral / 80" commercial | IRC R311.7.2 — 6'-8" measured vertically from the leading edge of any tread to a sloped plane parallel to the slope of the flight. Spiral 6'-6" per R311.7.10.1. |
| Stringer Span — Cut/Notched 2x12 | 6'-0" SPF / DFL / HF, 7'-0" Southern Pine, 9'-0" LVL | AWC DCA 6 (2018 reprint), IRC R507.13.1 deck stringer reference. Cut stringers expose triangular notches; structurally weakest. Throat (the wood remaining behind the notch) ≥ 5" minimum. Beyond the limit, add intermediate post or use solid stringer. |
| Stringer Span — Solid/Housed 2x12 | 13'-3" SPF / DFL / HF, 16'-6" Southern Pine, 18'-0" LVL | Treads are dadoed into the solid 2x12 face — no notch, full structural depth retained. Allowed span more than doubles vs cut stringers. Common for finished interior stairs with skirt-board reveal. |
| Stringer Spacing | 16" o.c. (wood treads) / 12" o.c. (composite stair tread) | Wood treads tolerate 16" stringer spacing. ASTM D7032 composite stair treads (Trex, TimberTech, Fiberon) are limited to 12" o.c. by ICC-ES report regardless of board on-center spacing on a flat deck. 3 stringers minimum on a 36" stair; add one stringer per ~16" of additional width. |
| Live Load | 40 psf uniform OR 300 lb concentrated on 4 sq in | IRC R301.5 / IBC Table 1607.1. Stairs design must satisfy whichever governs. Guard top rail: 200 lb concentrated at any point. Guard infill: 50 lb on 1 sq ft (need not act simultaneously with the top-rail load). The 2021 IRC relaxed the 'any direction' requirement on guards — outward and downward only. |
| Handrail Height & Grip | 34"–38" above tread nosing; Type I 1-1/4"–2" OD or Type II 4"–6-1/4" perimeter with finger recess | IRC R311.7.8.1 and R311.7.8.3. Required where 4 or more risers are present. Wall clearance ≥ 1-1/2". Continuous full length of flight; ends return to wall, newel, or safety terminal. ADA §505 also requires both-side handrails with 12" extensions. |
| Sphere Rule (Guards) | 4" general / 4-3/8" stair guard openings / 6" tread-riser-rail triangle | IRC R312.1.3. The 4" sphere shall not pass through the general guard infill on landings and floors. The stair side of a stair guard allows the 4-3/8" sphere (slightly relaxed). The triangular opening at the intersection of tread, riser, and bottom rail allows up to a 6" sphere. |
Note: All calculations include appropriate waste factors based on project complexity and material type. Results are estimates and should be verified by professionals before purchasing materials.
2021 IRC Section R311.7 — Stairways(IRC R311.7)
View StandardThe most widely adopted current US residential code section governing stairs. Covers riser height (R311.7.5.1, max 7-3/4"), tread depth (R311.7.5.2, min 10" with nosing), variation tolerance (3/8" within a flight), width (R311.7.1, min 36"), headroom (R311.7.2, 80"), max vertical rise per flight (R311.7.3, 151"), nosing (R311.7.5.3, 3/4"–1-1/4"), landings (R311.7.6), illumination (R303.7), handrails (R311.7.8), spiral stairs (R311.7.10.1), and winder stairs (R311.7.5.2.1).
Key Requirements:
- •R311.7.5.1 max riser 7-3/4", min 4", variation ≤ 3/8" within a flight
- •R311.7.5.2 min tread 10" with nosing, 11" without nosing
- •R311.7.5.2.1 winder treads ≥ 10" at walkline (12" from narrow edge), ≥ 6" at any point
- •R311.7.5.3 nosing 3/4"–1-1/4" projection, max 9/16" radius or 1/2" bevel
- •R311.7.10.1 spiral stairs: 26" min width, 7-1/2" tread at walkline, 9-1/2" max riser, 78" min headroom, all treads identical
- •R311.7.8 handrails required where 4 or more risers; 34"–38" height; Type I or Type II graspable; 1-1/2" min wall clearance
2024 IRC Section R318.7 — Stairways (renumbered)(IRC R318.7)
View StandardThe 2024 IRC reorganized Chapter 3, renumbering stairways from R311.7 to R318.7. The dimensional rules are unchanged. Notable substantive changes: landing exceptions expanded (no top landing required where the door doesn't swing over the stairs; exterior stairs of ≤ 2 risers exempt; non-egress exterior stairs to deck/porch with ≤ 3 risers need only a 36" bottom landing); nosing uniformity (3/8") now applies per individual flight rather than the entire stairway; guard top-rail 200 lb concentrated load is now outward and downward only, not 'any direction.'
Key Requirements:
- •Same 7-3/4" / 10" / 36" / 80" / 151" core dimensional rules as 2021 IRC R311.7
- •Landing exceptions for top landings where door doesn't swing over stairs
- •Nosing 3/8" tolerance applies per individual flight
- •Guard 200 lb top-rail load: outward and downward only (not 'any direction')
- •Renumbered cross-references throughout — older code-handout PDFs cite both numbering systems
AWC DCA 6 — Prescriptive Residential Wood Deck Construction Guide(AWC DCA 6 (2018 reprint based on 2015 IRC))
View StandardAmerican Wood Council's prescriptive companion document. The stair-stringer span limits in DCA 6 are widely treated as binding for interior stairs even though DCA 6 is technically a deck guide. Cut stringers max 6'-0" unsupported run for SPF / DF-L / Hem-Fir 2x12, 7'-0" for Southern Pine. Solid (housed) stringers max 13'-3" SPF / DF-L / HF, 16'-6" Southern Pine. Cut stringers must keep ≥ 5" throat after notching. Free PDF download from American Wood Council.
Key Requirements:
- •Cut/notched 2x12 stringer max 6'-0" SPF / DFL / HF, 7'-0" Southern Pine
- •Solid/housed 2x12 stringer max 13'-3" SPF / DFL / HF, 16'-6" Southern Pine
- •Minimum 5" throat after notching cut stringer
- •Stringer spacing ≤ 18" o.c. for wood treads, ≤ 12" o.c. for composite
- •Free PDF download from American Wood Council
Pennsylvania UCC — 34 Pa. Code §403.21(PA UCC §403.21)
View StandardPennsylvania's Uniform Construction Code amendment, current through 56 Pa. Bulletin 1270, Feb 28 2026. Permits 8-1/4" maximum riser and 9" minimum tread for occupancies in Use Group R-3 (one-family and two-family dwellings) and within dwelling units in occupancies in Use Group R-2 (multi-family). Maximum vertical rise 147" between landings. This is meaningfully different from base IRC and trips up renovators relocating from other states.
Key Requirements:
- •Maximum riser 8-1/4" (R-3 only and dwelling units in R-2)
- •Minimum tread 9" (R-3 only and dwelling units in R-2)
- •Maximum vertical rise 147" between landings
- •All other R311.7 provisions unchanged from base IRC
- •Verify with municipal building code office — local amendments may restore IRC defaults
ADA 2010 Standards §504/§505 — Accessible Egress Stairs(ADA Standards §504, §505)
View StandardFederal Americans with Disabilities Act standards for stairs in covered facilities (commercial, public, multi-family beyond a single dwelling unit). Risers 4"–7" maximum. Treads ≥ 11". No open risers permitted. Handrails required on BOTH sides at 34"–38" continuous, with 12" horizontal extension at the top and one tread + 12" extension at the bottom. Gripping diameter 1-1/4"–2". Generally NOT applicable to single-family residential — but multi-family common stairs and any commercial egress trigger ADA.
Key Requirements:
- •Riser 4"–7" max (more restrictive than IRC)
- •Tread ≥ 11" min (more restrictive than IRC 10")
- •No open risers
- •Handrails on BOTH sides, 34"–38" height, continuous, with 12" / 1 tread + 12" extensions
- •Handrail gripping diameter 1-1/4"–2" (Type I only)
- •Detectable warnings at top of stairs in transit / public-rights-of-way
IBC §1011 — Stairways (Commercial)(IBC §1011)
View StandardInternational Building Code §1011 governs stairs in commercial occupancies. Risers 4"–7" maximum (different from IRC's 7-3/4"). Treads ≥ 11". Width ≥ 44" general (36" if occupant load < 50). Maximum vertical rise 144" between landings. Open risers not permitted in egress stairs. The calculator's IBC mode enforces these tighter limits.
Key Requirements:
- •Riser 4"–7" max
- •Tread ≥ 11" min
- •Width ≥ 44" (≥ 36" with occupant load < 50)
- •Vertical rise ≤ 144" between landings
- •Open risers prohibited in egress stairs
- •Handrails on both sides; intermediate handrails on stairs > 60" wide
OSHA 29 CFR 1910.25 — General Industry Stairs(OSHA 1910.25)
View StandardFederal OSHA standard for stairs in general industry workplaces — NOT applicable to residential homes. Standard stairs slope 30°–50°, max riser 9-1/2", min tread 9-1/2", min width 22", min headroom 80". Spiral stairs in industrial: 78" headroom, 7-1/2" tread @ 12". Ship stairs: 50°–70° slope (steeper than standard). The OSHA values are intentionally permissive on the steep end because they govern access to mezzanines, ladders, and tighter industrial geometries — never apply to residential.
Key Requirements:
- •Standard stairs: 30°–50° slope, riser ≤ 9-1/2", tread ≥ 9-1/2", width ≥ 22"
- •Spiral industrial stairs: 78" min headroom, 7-1/2" tread at 12" from narrow
- •Ship stairs: 50°–70° slope, used for limited-access industrial settings
- •Both sides handrails for unenclosed stairs ≥ 4 risers
- •Hard line: do NOT apply OSHA to residential homes — IRC governs
ANSI/AWC NDS — National Design Specification for Wood Construction(ANSI/AWC NDS-2018)
View StandardThe base structural standard for engineered wood design in the US. Stair stringers beyond DCA 6 prescriptive limits must be designed to NDS — bending strength (Fb), shear (Fv), and deflection (L/360 live, L/240 total under combined live + dead load). LVL and engineered lumber follow APA / ICC-ES evaluation reports rather than dimensional lumber tables. Used by structural engineers when stair geometry exceeds prescriptive scope.
Key Requirements:
- •Bending Fb' adjusted for size factor, wet service, repetitive member, etc.
- •Shear Fv' for stringer notch checks (cut stringers fail in shear at the notch root)
- •Deflection limits L/360 live load, L/240 total load
- •Connections per NDS Chapter 11 (lateral and withdrawal)
- •LVL via APA EWS / ICC-ES ESR — not NDS dimensional tables
Standards Disclaimer: Standards and codes are subject to periodic updates. Always verify current requirements with local building authorities and professional engineers before beginning construction. Links provided are for reference only.
Pennsylvania UCC — 8-1/4" Riser, 9" Tread
34 Pa. Code §403.21 — R-3 and dwelling units in R-2 only
Pennsylvania's UCC explicitly permits steeper, narrower stairs in R-3 (one-family and two-family) and within dwelling units in R-2 (multi-family). Maximum riser 8-1/4" (210 mm), minimum tread 9" (229 mm), max vertical rise 147" between landings. This is the most consequential single state amendment and trips up homeowners renovating from other states. The amendment does NOT apply to common-area stairs in R-2 multi-family — those follow IBC §1011 (7" / 11").
Regional Examples:
Rhode Island — 8-1/4" Riser, 9" Tread
RI residential code matches the PA UCC concession
Rhode Island residential code permits the same 8-1/4" / 9" amendment as Pennsylvania for one-family and two-family dwellings. Total rise per flight remains 151" (RI did not adopt the PA 147" tightening). Many older RI housing stock (Cape Cod-style narrow staircases) is grandfathered under this allowance.
Regional Examples:
California Residential Code — IRC + Title 24 + WUI Overlay
CRC R311.7 / CBC Chapter 7A wildland-urban interface
California Residential Code (2022 edition based on 2021 IRC) follows R311.7 closely for the dimensional rules — same 7-3/4" / 10" / 36" / 80" / 151" base. The big additions are Title 24 energy provisions (irrelevant to stairs) and WUI fire zone amendments per CBC Chapter 7A. WUI requires ignition-resistant materials on exterior stairs in designated fire zones. Some local jurisdictions amend guard height to 42" for residential.
Regional Examples:
Pacific Northwest — Snow Loading on Exterior Stair Landings
Washington / Oregon — landings under deep snow stack
Stair stringers themselves are not significantly load-affected by snow because the live load (40 psf or 300 lb concentrated) governs. But landings — especially exterior landings at the top of a deck stair — accumulate snow drift to depths that require engineered design. Cascade counties at 60–70 psf ground snow load can see 3–4 ft of stack on a stair landing. Combine with a stair stringer attached to that landing and prescriptive scope ends.
Regional Examples:
Northeast Snow Belt — Frost Depth on Exterior Stair Footings
NY / VT / NH / ME — 48"–72" frost depth on bottom-of-stair footings
Exterior stair stringers attached at the bottom to a concrete pad on grade need that pad to extend below the local frost line. Vermont, New Hampshire, Northern Maine routinely require 60"+ frost depth — a single bottom-of-stair footing can use 4-6 × 80 lb bags of concrete. Skimping on frost depth heaves the footing in winter, twisting the stair off the ledger and pulling the lag bolts over 5-10 years.
Regional Examples:
Spiral Stair Sales vs Code Compliance
Big-box retailers sell decorative spirals that don't meet R311.7.10.1
Many off-the-shelf spiral kits sold at Home Depot / Lowe's / online have outer diameters of 48"–55" and tread depths at the walkline below 7-1/2". They are sold as 'decorative' or 'secondary access' — NOT as primary egress. The IRC R311.7.10.1 minimum 26" clear width below the handrail combined with the 7-1/2" tread @ walkline rule means a code-compliant residential primary-egress spiral starts at ~60" outer diameter. Salter, Iron Shop, and Goddard sell code-compliant spirals starting around $3,000.
Regional Examples:
Curved Staircase — Custom Pricing and Engineered Stringers
$10,000–$30,000+ installed (HomeAdvisor / Stair Creations 2025–2026)
Curved staircases are 2-6× the price of a straight stair because every component is custom: glulam laminated stringers, hand-fitted treads, custom risers, curved skirtboards, and custom handrail. The walkline must be a single concentric arc — no straight portion. The tread depth at the walkline and at the narrow end must satisfy the same 10" / 6" winder rule.
Regional Examples:
Before You Build
- •Contact your local building department for specific requirements
- •Verify frost line depths, wind zones, and seismic requirements for your area
- •Check if permits are required and schedule required inspections
- •Consult with a local contractor familiar with local codes
Share this calculator with your customers
Run a contractor site, supply store, or blog? Drop this free stairs calculator straight onto your own page so your visitors can estimate materials without leaving. No signup, works on any website — just copy and paste.
Want to Learn More?
Residential stair guide — IRC R311.7 / 2024 R318.7 limits, three master equations, AWC DCA 6 stringer spans, six layouts, and 10 inspection fails.
Read the Stairs Building GuidePlan disposal before you start
Smaller jobs still produce more debris than a few trash bags can hold. Check what's allowed in a dumpster and which disposal option fits the scope.
See disposal options →
Related Calculators
Deck Calculator
Code-compliant deck framing, decking, footings, ledger, stairs & railing — built on 2021 IRC R507 and AWC DCA 6 tables. Free, no signup.
Trim & Molding Calculator
Calculate crown molding, casing, chair rail & shoe in linear feet, sticks, fasteners & caulk — plus crown compound-miter angles. WMMPA WM profiles. Free.
Carpet Calculator
Calculate broadloom carpet, pad, tackless strip & seam tape with roll-width seam plan, waste & stair runner. CRI 105 standards. Free, no signup.
Board Foot Calculator
Free board foot calculator: build a lumber cut list and get total board feet, MBF, pieces and linear feet. Nominal sizes or custom hardwood, no signup.
How to Use This Calculator
- Enter total rise in inches — measured finished floor to finished floor (IRC explicitly excludes carpet and runners from the dimensional tolerance).
- Pick a configuration: straight (cheapest, simplest), L-shape (90° quarter-turn with landing), U-shape (180° switchback), winder (pie treads on a 90° turn — saves length), spiral (helical, R311.7.10.1 separate rule set), or curved (continuous arc — custom glulam stringers).
- Set stair width in inches (default 36" — IRC residential minimum). Spiral mode unlocks an outer-diameter input (60" minimum for code-compliant primary egress).
- Enter desired riser and tread targets — the calculator picks the riser count where the actual riser ≤ jurisdiction max and adjusts the tread depth accordingly. 7" rise / 11" run is the universally-cited gold standard.
- Pick the code package: 2021 IRC (default — most US), 2024 IRC R318.7 (renumbered), Pennsylvania UCC §403.21 (8-1/4" / 9" amendment), Rhode Island, Rapid City SD (8" max), IBC §1011 commercial, or ADA §504 accessible.
- Pick tread material (red oak, white oak, pine, poplar, PT 2x12 for exterior, or composite stair tread), riser material (primed pine, MDF, oak, or open risers for utility), and stringer style (cut/notched vs solid/housed) plus species (SPF/DF-L, Southern Pine, or LVL).
- Toggle handrail (required where ≥4 risers) and guard (required on open side > 30" above grade). Pick baluster type — 1-1/2" square, 3/4" round, or 1/2" iron — and the calculator computes count from the 4" sphere rule.
- For winder stairs, set the number of pie treads (2–5, typically 3). For curved stairs, set the inside radius and sweep angle.
- Click Calculate: see riser count and height, tread count and depth, total run with footprint, stair angle and Blondel comfort check, stringer count by flight with span limits, handrail and guard linear feet, balusters, newels, and a code-compliance traffic-light flag panel.
How the Three Master Equations Drive Every Configuration
Every stair shape on the calculator reduces to the same three formulas. Number of risers: round up the total rise divided by the maximum allowed riser, then optionally refine to your desired riser if the result is still code-compliant. Riser height: total rise divided by riser count — this is your exact step-up dimension. Stringer length: the Pythagorean hypotenuse of total rise and total run. Layout pitch d = sqrt(R squared + T squared) is the diagonal increment along the stringer between successive step layouts. Configuration-specific geometry only modifies the run side: an L-shape splits the run between two flights with a landing in between; a winder replaces a landing with 3-5 pie treads; a spiral unwinds the run as 12 treads per 360-degree turn at the walkline; a curved stair stretches the run along a single concentric arc. The riser side stays the same in every case, which is why the riser-uniformity rule (3/8-inch tolerance per flight) applies identically across all six configurations.
Frequently Asked Questions
How many risers do I need for my staircase?
Riser count = round-up of total rise (in inches) divided by your maximum riser height. The 2021 IRC R311.7.5.1 caps the maximum riser at 7-3/4 inches, so a typical 9-foot floor-to-floor (108 inches) needs at least ⌈108 / 7.75⌉ = 14 risers at 7.71 inches each. With a 7-inch comfort target, round(108/7) = 15 risers at 7.20 inches — both are code-compliant; 15 risers gives a more comfortable stair (Blondel 25.20). Pennsylvania UCC §403.21 and Rhode Island allow up to 8-1/4 inches, IBC commercial and ADA cap at 7 inches, and spiral stairs allow up to 9-1/2 inches per R311.7.10.1. The rise-run anatomy diagram shows how total rise sets the step count.
What's the maximum stair stringer length without intermediate support?
Per AWC DCA 6 (the residential deck and stair prescriptive guide): notched (cut) 2x12 stringers are limited to 6'-0" unsupported run for SPF / Douglas Fir-Larch / Hem-Fir, or 7'-0" for Southern Pine. Solid (housed/closed) 2x12 stringers — where treads sit in dado grooves rather than on triangular notches — span much further: 13'-3" SPF / DFL / HF, or 16'-6" Southern Pine. Cut stringers must keep ≥ 5" of throat after notching. Beyond these limits, add an intermediate post or landing, or use LVL / engineered design.
What's the difference between IRC and Pennsylvania stair rules?
Pennsylvania's UCC §403.21 (34 Pa. Code) explicitly amends the IRC for occupancies in Use Group R-3 (one and two-family dwellings) and within dwelling units in R-2 (multi-family): maximum riser 8-1/4 inches (vs IRC 7-3/4"), minimum tread 9 inches (vs IRC 10"), maximum vertical rise 147 inches between landings (vs IRC 151"). This is why Philadelphia, Pittsburgh, and the rest of the state can keep older townhouse stairs in spec on retrofit. Rhode Island has the same 8-1/4" / 9" allowance. The PA amendment does NOT apply to common-area stairs in R-2 multi-family — those follow IBC §1011 (7" / 11").
How do I calculate stair stringer length?
Stringer length is the Pythagorean hypotenuse of the rise/run right triangle: L = √(Total_rise² + Total_run²). For 108" total rise and 154" total run (15 risers, 14 treads at 11"), L = √(11664 + 23716) = √35380 = 188" = 15'-8". Round up to the next even foot of stock — order 16-ft 2x12. The diagonal layout pitch d = √(R² + T²) is the increment along the stringer between successive step layouts; for 7.20" / 11", d = 13.16". The stringer layout diagram shows the framing-square steps and throat depth.
Why is 7" rise and 11" tread the gold standard?
François Blondel's 1675 stride formula (still the universally-cited comfort target) says 2R + T should be 24" to 25" for a comfortable stair, and R + T should be 17" to 18". A 7" rise with an 11" tread hits both: 2 × 7 + 11 = 25, 7 + 11 = 18. The resulting stair angle is 32.5° — squarely in the comfortable 30°–37° range. 7-3/4" rise with 10" tread (the IRC-max steep edge) gives 2R + T = 25.5 and a 37.7° angle — barely in range and noticeably steep. The calculator surfaces all three values (Blondel, stride, angle) and warns when any is outside its comfort band. The code and comfort diagram shows the riser and tread limits and the Blondel rule.
Do I need a handrail on my stairs?
Per IRC R311.7.8, handrails are required on at least one side of any stairway with 4 or more risers. Height must be 34"–38" measured vertically above the leading edge of the treads. Type I grip is 1-1/4"–2" outside diameter (or perimeter 4"–6-1/4" with cross-section ≤ 2-1/4"); Type II grip is perimeter > 6-1/4" with a finger recess. Wall clearance is at least 1-1/2". Handrails must run continuously the full length of the flight with ends returned to a wall, newel post, or safety terminal. ADA §505 (commercial) requires handrails on BOTH sides with 12" extensions at the top and one tread + 12" at the bottom. The guard and handrail diagram shows the 34–38″ handrail height above the nosings.
What's the IRC sphere rule for stair guards?
IRC R312.1.3 — different sphere sizes apply to different parts of the stair guard: 4" sphere general (landings, floors), 4-3/8" sphere on the stair side of stair guard openings (slightly relaxed because of the angled geometry), and 6" sphere at the triangular opening formed by tread, riser, and bottom rail intersection. Top-rail load is 200 lb concentrated at any point — the 2021 IRC relaxed the 'any direction' requirement to outward and downward only. Infill load is 50 lb on 1 sq ft, and need NOT act simultaneously with the top-rail load. The guard and handrail diagram shows how the 4-inch ball gap rule works.
How wide does a code-compliant spiral stair need to be?
IRC R311.7.10.1 sets spiral-specific rules: minimum 26" clear width below the handrail, walkline radius ≤ 24-1/2" from the center pole, tread depth ≥ 7-1/2" measured at 12" from the narrow edge, all treads identical, maximum riser 9-1/2", minimum headroom 78" (6'-6"). The smallest outer diameter that satisfies the 26" clear-width + handrail combo is roughly 5'-0" (60"); 5'-6" (66") is more comfortable. Many off-the-shelf 'decorative' spirals at 48"–55" outer diameter do NOT meet code for primary egress — read the manufacturer datasheet for explicit R311.7.10.1 compliance before buying. Salter, Iron Shop, and Goddard sell code-compliant kits starting around $3,000.