DeckMath
IRC R311.7.8 stair handrail · Type 1 / Type 2 grip · ADA 505 mode · returns + BoM

Stair Handrail Calculator

The IRC R311.7.8 stair-handrail design tool — separate from a guard (R312.1 — the railing around a deck edge), a handrail is the GRASPABLE rail required on any stair with 4+ risers. Validates grip profile against IRC Type 1 (circular 1.25-2″ Ø, OR perimeter 4-6.25″) vs Type 2 (perimeter > 6.25″ with graspable profile). Confirms 34-38″ height above tread nosing (R311.7.8.1). Requires returns to wall/post at top + bottom (R311.7.8.3). Optional ADA mode forces circular 1.25-2″ Ø only with 12″ extensions. 7 material options (PT 2×4, PT round 1.5″, cedar, composite profile, aluminum, stainless steel, wrought iron) × 4 mounting styles. Full hardware BoM: brackets, 90° return fittings, post connectors, end caps.

IRC R311.7.8Type 1 / Type 2 grip34-38″ height checkReturns requiredADA 505 mode7 materials × 4 mountsFree forever
≥4 risers·Handrail trigger
1.5″ Ø·Universal grip
ADA 505·Optional mode
PASS/FAIL·Compliance card

Inputs

Stair geometry

ft

ea

in

Handrail REQUIREDIRC R311.7.8 — 4+ riser threshold (6 risers)

Location + region

Northeast · 1.22× labor

Stair handrail

12 ft × 1 side = 12 lf rail · PT 1.5" round handrail · Attached to stair posts

IRC R311.7.8 compliance
PASS
Grip type
✓ pass
Height 34-38″
✓ pass
Returns
✓ pass
ADA 505

✓ Handrail meets IRC R311.7.8 + R311.7.8.1 + R311.7.8.3 requirements. Grip profile, height, and returns all compliant.

Total rail
12
linear feet
Brackets
4
@ 4 ft OC
Returns
2
top + bottom

Hardware BoM

ItemQty
PT 1.5" round handrail (turned)12 lf
Attached to stair posts brackets4 ea
90° elbow return fittings2 ea
Post connector fittings4 ea

Bracket spacing: 4 ft (min of mount typical 6 ft + material max 4 ft). Returns required by IRC R311.7.8.3 to eliminate protruding-end hazard.

Cost breakdown

Handrail (12 lf × $7.50)$90
Hardware (4 brackets + 2 returns)$148
Labor — Northeast (1.22×) · range$249
Project total (high estimate)$560

IRC references

  • IRC 2021 R311.7.8 — Handrail required on stairways with 4+ risers (your stair: 6 risers — handrail REQUIRED)
  • IRC 2021 R311.7.8.1 — Handrail height 34-38" above tread nosing (yours: 36")
  • IRC 2021 R311.7.8.3 — Handrail returns to wall/post at top + bottom (no protruding hazard)
  • IRC 2021 R311.7.8.5 — Type 1 grip: circular 1.25-2" Ø OR perimeter 4-6.25". Type 2: perimeter > 6.25" with documented graspable profile

How to use

Three steps. Permit-ready output.

  1. 01

    Enter stair geometry

    Stair run linear feet (rake distance — Pythagorean of rise + run, NOT level distance). Number of risers (steps up). Sides needing handrail: 1 (residential default) or 2 (commercial wide stairs ≥ 44″). If riser count < 4, IRC doesn't require a handrail — calculator flags this.

  2. 02

    Pick grip profile + height

    Circular 1.5″ Ø is the industry standard (IRC Type 1 + ADA-compliant). Smaller hands prefer 1.25″ Ø; larger 2″ Ø. Non-circular options (Type 1 perimeter 4-6.25″, Type 2 > 6.25″) work but are NOT ADA-compliant. Height must be 34-38″ above tread nosing — set 36″ as a forgiving middle ground.

  3. 03

    Pick material + mounting

    PT round 1.5″ ($7.50/lf) is the cheapest code-compliant circular option. Cedar ($14.50). Aluminum ($18, AAMA 2604 powder-coat). Stainless ($38, marine-grade). Wrought iron ($28). Composite profile ($32, premium look but NOT ADA). PT 2×4 ($4.50, Type 2 graspable, NOT ADA). Mount: wall-bracket (indoor), post-attached (outdoor most common), continuous-newel (premium), freestanding (no posts/wall).

  4. 04

    Returns + ADA + state

    Returns ON (default) adds 90° elbow fittings at top + bottom — required by R311.7.8.3 to eliminate the protruding-end hazard. ADA mode locks grip profile to circular 1.25-2″ Ø only and adds 12″ horizontal extensions at top + bottom (manual add ~24″ to LF total). State drives regional labor multiplier.

  5. 05

    Read compliance + hardware BoM

    Compliance card returns PASS or FAIL with itemized issues. Hardware BoM lists every bracket, return fitting, post connector, and end cap. Total cost = material + hardware + regional labor.

How we calculate

The math, fully transparent.

The Handrail Calculator is the IRC R311.7.8 stair-handrail design tool — different from a guard (R312.1 — the railing around a deck edge), a handrail is the GRASPABLE rail required on any stair with 4+ risers. Validates grip profile against IRC Type 1 (circular 1.25-2″ Ø, OR perimeter 4-6.25″) vs Type 2 (perimeter > 6.25″ with graspable profile). Confirms 34-38″ height above tread nosing (R311.7.8.1). Requires returns to wall/post at top + bottom (R311.7.8.3). Optional ADA mode forces circular 1.25-2″ Ø only. 7 material options (PT 2×4, PT round 1.5″, cedar, composite profile, aluminum, stainless steel, wrought iron) × 4 mounting styles (wall-bracket, post-attached, continuous-newel, freestanding). Full hardware BoM: brackets, return fittings, post connectors, end caps.

IRC references

  • IRC 2021 R311.7.8 — Handrail required on stairs with 4+ risers
  • IRC 2021 R311.7.8.1 — Handrail height 34-38" above tread nosing
  • IRC 2021 R311.7.8.3 — Handrail returns to wall/post at both ends
  • IRC 2021 R311.7.8.5 — Type 1 (circular 1.25-2" Ø) / Type 2 (graspable > 6.25" perimeter)
  • ADA Standard 505 — Circular 1.25-2" Ø · 34-38" height · 12" extensions

IRC 2021 R311.7.8 (stair handrail), R311.7.8.1 (34-38″ height), R311.7.8.3 (returns), R311.7.8.5 (Type 1/Type 2 grip). ADA Standard 505 for accessibility-required builds. 2026-Q1 retail material pricing — PT round 1.5″ $7.50/lf, cedar $14.50, aluminum $18, composite $32, stainless $38, wrought iron $28, PT 2×4 $4.50. Bracket pricing $12-28 per connection by mount style. Return fitting $22, end cap $8, post connector $14. Labor $12-22/lf × regional multiplier.

Handrail requirement check
if riser_count ≥ 4 → handrail required (IRC R311.7.8)

Single biggest gate. Stairs with 1-3 risers (porches, single-step deck access) don't trigger handrail. Stairs with 4+ risers always do (single side residential, both sides commercial ≥ 44″ wide). Decks usually have 4-8 risers, so handrail is required in nearly all real-world cases.

Grip profile validation (R311.7.8.5)
Type 1 = circular 1.25-2" Ø OR perimeter 4-6.25" non-circular | Type 2 = perimeter > 6.25" graspable

Most strict: circular 1.5″ Ø round is the universal answer — Type 1 + ADA-compliant + works with all bracket systems. Non-circular Type 1 (2×2 PT = 5.6″ perimeter) is code-compliant but NOT ADA. Type 2 (2×4 PT = 10″ perimeter) requires a documented graspable cross-section — IRC allows but ADA forbids. Use Type 2 only for indoor decorative or when matching existing rail.

Height (R311.7.8.1)
34" ≤ handrail_height ≤ 38" above tread nosing

Measured perpendicular from the imaginary line connecting all tread nosings (not from the tread itself). Setting handrail at 36″ gives 2″ flex margin in either direction during install. Below 34″ = fails code. Above 38″ = fails. Some jurisdictions allow taller for top-rail-and-handrail combined.

Returns (R311.7.8.3)
return to wall/post at top + bottom

Handrail must not end in space — must return back to a wall or guard post at both ends. Eliminates the snag/impale hazard. 90° elbow fittings ($22 each) are the typical solution. ADA bumps the requirement: top return after 12″ horizontal extension; bottom return after 1 tread depth of horizontal extension.

Bracket count + spacing
brackets = ceil(stair_run / spacing) + 1, × sides

Bracket spacing varies by material rigidity (PT max 4 ft, composite 5 ft, stainless 6 ft) and mount style. Calculator uses the MIN of mount typical and material max. Brackets at top + bottom always (endpoints) plus intermediate at spacing intervals. 12-ft stair @ 4 ft bracket spacing = 4 brackets per side.

Save your plan

Don’t lose this estimate.

Your inputs are preserved in the URL — email it to yourself or copy the link so you can compare with contractor bids later. No account needed.

Frequently asked

Questions, answered.

Embed this calculator

One line. Any site. Free.

Drop the snippet into your contractor site, blog, or marketing page. Theme matches the parent site automatically.

<!-- Drop into any HTML, WordPress, Webflow, or contractor site -->
<script src="https://embed.deckmath.com/v1.js"
        data-deckmath-calc="handrail-calculator"
        data-theme="auto"
        async></script>