Guard and Handrail Calculator (IBC 1014/1015, IRC R311.7.8/R312)

Check when a guard is required, the required guard height, the sphere limits for openings, and handrail height, grip size, wall clearance, and projection under the 2021 or 2024 IBC or the 2021 IRC.

Edition: 2021 IBC and 2024 IBC Sections 1011.11, 1014 and 1015; 2021 IRC Sections R311.7.8 and R312.1. States and cities amend these codes. Confirm the edition the authority having jurisdiction enforces.

Measured vertically at any point within 36 in horizontally of the open side.
The largest sphere that would pass through the guard below 36 in (or the full height where one limit applies).
Pass · 2021 IBC Sections 1014 and 1015
42 in min.

A guard is required. Guard height at least 42 in (2021 IBC Section 1015.3). Openings: under a 4 in sphere from the walking surface to 36 in, and under 4 3/8 in from 36 in to 42 in.

CheckSectionResultSummary
Guard required2021 IBC Section 1015.2NoteA 48 in drop (measured within 36 in horizontally of the open side) is more than 30 in, so a guard is required.
Guard height2021 IBC Section 1015.3Pass42 in provided; required at least 42 in, measured from the adjacent walking surface.
Guard openings2021 IBC Section 1015.4NoteNo opening entered. Openings from the walking surface to 36 in shall not pass a 4 in sphere.
Guard openings, upper zone2021 IBC Section 1015.4, Exception 1NoteNo opening entered. Openings from 36 in to 42 in shall not pass a 4 3/8 in sphere.

Worked example

An office mezzanine, a house deck, and a dwelling stair guard.

A mezzanine 48 in above the floor below needs a guard (more than 30 in). Under 2021 IBC 1015.3 the guard is at least 42 in high; openings may not pass a 4 in sphere up to 36 in and a 4 3/8 in sphere from 36 to 42 in, so 3 1/2 in and 4 1/4 in gaps pass. A house deck 32 in above grade under 2021 IRC R312.1 needs a guard at least 36 in high with openings under 4 in; a 36 in guard with 3 3/4 in gaps passes. On the open side of a stair inside a Group R-3 dwelling, a guard whose top serves as the handrail must be 34 to 38 in above the nosings, so 39 in fails.

How this is calculated

  1. Choose the code and the location. Select the 2021 IBC, the 2024 IBC, or the 2021 IRC. For the IBC, choose the occupancy or location, because dwelling units, Group F stairs, equipment platforms, non-public industrial areas, and ship's ladders have their own exceptions.
  2. Check whether a guard is required. A guard is required where the drop is more than 30 inches at any point within 36 inches horizontally of the open side (IBC 1015.2, IRC R312.1.1).
  3. Find the required guard height. The IBC requires 42 inches, with 36 inch and 34 inch exceptions for dwellings and dwelling stairs (1015.3). The IRC requires 36 inches, or 34 inches on stairs (R312.1.2). A guard that serves as a handrail has a 34 to 38 inch range (30 to 34 inches on ship's ladders).
  4. Check the openings. Openings must stay under the sphere for the zone: 4 inches, 4 3/8 inches from 36 to 42 inches under the IBC or on dwelling stairs, 6 inches at the stair triangle, and 21 inches at equipment and non-public industrial areas (IBC 1015.4, IRC R312.1.3). An opening equal to the sphere is treated as failing.
  5. Check the handrail. Handrails are 34 to 38 inches high, Type I grip 1 1/4 to 2 inches round or a 4 to 6 1/4 inch perimeter, at least 1 1/2 inches from the wall, and project not more than 4 1/2 inches. The 2024 IBC also limits a rail outside the walking surface to 6 inches from its edge (1014.3).

The rules behind these checks are explained in the handrails and guards guide. Riser and tread sizes are in the stair geometry calculator. The adopted building or residential code for a city is on its jurisdiction page.

FAQ

When is a guard required under the IBC and the IRC?

2021 and 2024 IBC Section 1015.2 and 2021 IRC Section R312.1.1 require a guard along open-sided walking surfaces, including stairs, ramps, and landings, that are more than 30 inches above the floor or grade below at any point within 36 inches horizontally of the open side. A drop of exactly 30 inches does not trigger the requirement. The IRC adds that insect screening is not a guard, and IBC 1015.5 requires guards on screened porches over 30 inches.

How tall must a guard be?

The IBC requires 42 inches (Section 1015.3). Group R-3 buildings, and dwelling units in Group R-2 buildings with separate means of egress, that are not more than three stories above grade may use 36 inches. The 2024 IBC adds a 36 inch allowance inside the conditioned space of an R-2 or R-3 dwelling unit where the drop is not more than 25 feet. The 2021 IRC requires 36 inches (R312.1.2). On the open side of a dwelling stair the minimum is 34 inches from the line of the nosings, and a guard that also serves as the handrail is 34 to 38 inches.

What opening sizes are allowed in a guard?

Openings must not pass a 4 inch sphere from the walking surface to the required height. Under the IBC, from 36 to 42 inches the limit is 4 3/8 inches. The triangle formed by a stair riser, tread, and bottom rail must not pass a 6 inch sphere. Open sides of stairs inside dwelling units, and IRC stairs, use 4 3/8 inches. Equipment platforms, areas not open to the public in Groups I-3, F, H, and S, and ship's ladders use 21 inches.

What are the handrail height and grip size rules?

Handrails are 34 to 38 inches above the line connecting the nosings (30 to 34 inches on alternating tread devices and ship's ladders). A Type I circular rail is 1 1/4 to 2 inches in diameter. A non-circular Type I rail has a 4 to 6 1/4 inch perimeter and a cross-section of not more than 2 1/4 inches (and, in the IBC, not less than 1 inch). Rails with a larger perimeter are Type II with a finger recess, allowed in IBC Group R-3 and R-2 dwelling units and in the IRC. Wall clearance is at least 1 1/2 inches and projection into the stair is not more than 4 1/2 inches.

Check your full plan set →

This calculator uses the 2021 and 2024 International Building Code and the 2021 International Residential Code. States and cities amend these codes. It is not a substitute for the code enforced by your authority having jurisdiction. See the jurisdiction pages for the edition a city has adopted, and scan the plan set before you rely on a result.

Values to check. (a) Structural loads for guards and handrails (IBC Section 1607.9, IRC Table R301.5) are not checked. (b) Assembly seating guards (IBC 1030.17), window fall protection (IBC 1015.8, IRC R312.2), and roof and equipment guard extents (IBC 1015.6 and 1015.7) are not calculated. (c) The 2024 IRC text could not be opened for this page, so only the 2021 IRC is offered. (d) An opening equal to the sphere diameter is treated as letting the sphere pass; the code does not state a tolerance.