Pool Fence Compliance Calculator
Use this tool to check whether your pool barrier meets common residential pool fencing requirements based on the International Swimming Pool and Spa Code (ISPSC) and widely adopted local standards. Enter your fence and gate specifications below to receive a compliance summary.
Fill in all fields above and click "Check Compliance".
Standards & Formulas Applied
This calculator applies the following threshold checks derived from the International Swimming Pool and Spa Code (ISPSC) and the International Residential Code (IRC) Appendix G:
- Fence Height ≥ 48 inches — measured on the outside (non-pool) face of the barrier (ISPSC §305.2)
- Bottom Gap ≤ 2 inches — clearance between the ground and the bottom of the barrier (ISPSC §305.4)
- Picket / Opening ≤ 4 inches — no opening shall allow passage of a 4-inch-diameter sphere (ISPSC §305.3)
- Setback ≥ 3 feet — horizontal distance from the water's edge to the inside face of the barrier (ISPSC §305.1)
- Gate Height ≥ 48 inches — gate must match or exceed fence height (ISPSC §305.5)
- Latch Height ≥ 54 inches — latch located on pool side must be ≥ 54" from ground; if on non-pool side, must be recessed or shielded (ISPSC §305.6)
- Self-Closing — gate must return to closed position without manual assistance (ISPSC §305.5)
- Self-Latching — gate must latch automatically upon closing (ISPSC §305.5)
- Outward Swing — gate must swing away from the pool (outward) to prevent a child pushing it open from the pool side (ISPSC §305.5)
Assumptions & Limitations
- Standards are based on the 2021 ISPSC and IRC Appendix G; local amendments may impose stricter requirements.
- The minimum fence height of 48 inches applies to residential pools. Some jurisdictions require 60 inches or more.
- The 4-inch sphere rule applies to vertical openings. Horizontal rails or decorative elements may have additional climb-resistance requirements (ISPSC §305.3.1).
- The 3-foot setback is a common minimum; some jurisdictions require up to 5 feet from the water's edge.
- This calculator does not evaluate above-ground pool wall compliance, natural barriers, house-as-barrier configurations, or pool covers as alternative barriers.
- Latch height rules assume the latch is on the pool side of the gate. If the latch is on the non-pool side and is recessed or shielded, a lower height may be permitted — consult your local code.
- Always obtain a permit and schedule an official inspection with your local building or pool authority before use.
- This tool is for informational purposes only and does not constitute legal or engineering advice.