Guard and Handrail Code Check

Whether a guard and handrail meet the dimensional code.

Run the calculator

Example

You enter

You get

Checked against published worked examples from: American Wood Council.

Details, formula, and sources

Scopea guard is required where the walking surface is over 30 in above the floor below, with a 36 in (residential; 34 in on a stair) or 42 in (commercial) minimum height, a 4 in sphere infill limit (4-3/8 in on a residential stair), and a 34-38 in stair handrail. IRC R321 [R312 in IRC 2021] / R318.7.8 [R311.7.8 in IRC 2021] / IBC 1015; the assembly must also carry a 200 lb load and the AHJ governs.

Formula or tableguard required where surface_height > 30 in; min guard 36 in residential (34 in on a stair) / 42 in commercial; max infill 4.0 in (4.375 in on a residential stair); stair handrail 34-38 in. Each measured value is compared to its limit; a 200 lb concentrated load applies regardless.

Source and editionIRC 2024 (International Residential Code) Section R321 [R312 in IRC 2021] (guards) / R318.7.8 [R311.7.8 in IRC 2021] (handrails) and IBC 2027 Section 1015 (42 in guard and 4 in sphere unchanged from 2021) by section; dimensional minimums only, not reproduced.

Free accessRead-only at codes.iccsafe.org. The dimensional minimums are facts; the AHJ-adopted code and edition govern.

What governsEstimate. AHJ and licensed structural engineer govern.

API field namesoccupancy, surface_height_in, measured_guard_in, measured_infill_gap_in, at_stairs, measured_handrail_in, guard_required, min_guard, max_infill, guard_ok, infill_ok, all_pass

Related tools