Bathroom
Toilet Clearance Checker (IRC & ADA)
Check toilet side and front clearances against IRC and IPC minimums
Updated October 28, 2026 · Live
What this tool does
Checks the distance from a toilet centreline to the side wall and the clear space in front against the IRC and IPC minimums of 15 in (381 mm) and 21 in (533 mm), plus the door swing.
People also use
Formula Used
Formula Used
How the toilet clearance checker works
Enter the distance from the toilet's centreline to the nearest side wall or fixture, the clear floor space in front of the bowl, and whether the door clears everything when fully open. The checker compares the two distances with the minimums in the US International Residential Code (IRC R307.1, which points to P2705.1) and the International Plumbing Code (IPC 405.3.1): 15 in (381 mm) from the centreline to a side wall or fixture, and 21 in (533 mm) clear in front. It returns a pass or a warning against each, and passes the whole layout only when both distances and the door swing are satisfied. The defaults, 15 in and 21 in, sit exactly on the minimums and pass; on the metric side the defaults are 400 mm and 600 mm.
The side figure is measured from the centreline of the toilet, not from the edge of the bowl. A centred toilet in a 30 in (762 mm) wide space therefore has exactly 15 in each side and just passes, and an 800 mm wide cloakroom with the toilet centred gives 400 mm each side. If the toilet sits 13 in (330 mm) from the wall it falls 2 in (51 mm) short, and 20 in (508 mm) of clear floor space in front falls 1 in (25 mm) short of 21 in.
Typical bathroom dimensions
Code minimums are not comfort dimensions. They describe the least space an inspector will accept in a new dwelling, and a bathroom built exactly to them feels tight. Many designers allow about 18 in (457 mm) from the centreline to the wall and around 30 in (760 mm) of clear floor in front. That is a rule of thumb, not a requirement, and the checker does not test against it. Adjacent fixtures have their own rule: the IRC and IPC also ask for 30 in (762 mm) between the centrelines of neighbouring fixtures, such as a toilet and a bidet, which this tool does not check.
What this tool does not do
It does not know your local code. States, provinces and countries adopt the model codes with amendments, and some set a larger front clearance, so the figures here are the model-code minimums, not a ruling for your address. It also does not check a vanity, bath or shower edge against the toilet, the venting or drain position, or the room's fire and ventilation rules. Treat a pass as a planning check, not as approval.
On-site considerations for toilet clearance checker
Measure from the finished wall surface, not the stud, and allow for tile, panelling and any boxing-in that will reduce the space. Take the centreline from the middle of the drain flange or the rough-in mark, then measure to the nearest obstruction on each side, including a cistern box, a radiator, a vanity or a door frame. In front of the toilet, measure from the front edge of the bowl to the nearest wall, fixture or door. The IPC measures the front clearance to any wall, fixture or door, so a door that swings across the space can take the layout below the minimum even when the floor space looks adequate. If the door cannot clear, hang it to open outwards or use a pocket or sliding door.
Codes and compliance
In the United States, IRC R307.1 and the IPC set the 15 in and 21 in minimums for homes. The 2010 ADA Standards for Accessible Design apply to public accommodations and government facilities rather than to a typical private house, and they work differently: the toilet centreline sits 16 to 18 in (406 to 457 mm) from the side wall (section 604.2), the clearance around it is 60 in (1524 mm) wide measured from the side wall, and a 60 in (1524 mm) turning circle is needed in the room (section 304). In England, Approved Document M Volume 1 (M4(1)) asks for a clear access zone of 750 mm (about 30 in) in front of a WC on the entrance storey, with the door opening outwards. Canada and Australia use their own national and provincial codes. Plumbing and structural alterations should be done and signed off by a licensed plumber and, where walls or floors are altered, a chartered or licensed structural engineer.
Before you order
Confirm the toilet's rough-in and the bowl's overall projection against the space before buying: an elongated bowl projects further than a round-front one, so the clear space in front shrinks. Wall-hung toilets and compact models gain a little floor room but do not change the centreline rule. Check the door swing with the actual door and frame, and decide the vanity and shower positions before fixing the toilet, since they usually set the side clearance.
Adjusting the defaults
Every field is editable and the result updates as you type. Use inches on the US side and millimetres on the metric side; the check is the same in both. Switching units converts the typed values, so 15 in becomes 381 mm and 21 in becomes 533 mm. The tool refuses an empty field or a negative distance, and treats 0 as a toilet hard against the wall, which fails.
Using this toilet clearance checker alongside other BuildMetricLab tools
Once the layout passes, the bathroom tile calculator and shower slope calculator work out the finishes and falls, and the towel warmer BTU calculator sizes the heating. Every BuildMetricLab tool runs in your browser, with no sign-up and no data sent anywhere, and the formula is shown on the page so the maths can be checked.
Sources & methodology
Pass if the toilet centreline is at least 15 in (381 mm) from a side wall or fixture and at least 21 in (533.4 mm) of floor is clear in front, and the door swing is clear (IRC R307.1 with P2705.1, and IPC 405.3.1). The same limits apply to inches and millimetres; entered inches are converted at 25.4 mm per inch before comparison. Each distance is reported with its own pass or warning, an empty field or negative distance is refused, and 0 fails. The 18 in side and 30 in front figures in the copy are designers' rules of thumb and are not tested. ADA and England AD M figures are shown for reference only.
- International Code Council: International Residential Code, chapter 3 Building Planning (R307.1 toilet clearances, United States)
- International Code Council: International Plumbing Code, chapter 4 Fixtures (405.3.1 water closet clearances, United States)
- US Access Board: ADA Standards, section 604 water closets and toilet compartments (public buildings, United States)
- 2010 ADA Standards for Accessible Design (US Department of Justice)
- Approved Document M, Volume 1: Dwellings, 2015 edition with 2016 amendments (England; paragraph 1.17 and Diagram 1.3)
Frequently asked questions
Is this checker enough to pass a building inspection?
No. Use it as a planning-stage check, not a promise that your installation will pass. It only compares the side clearance, front clearance and door-swing answer you enter with the model-code minimums in IRC R307.1 and IPC 405.3.1; it cannot verify the actual site dimensions, local amendments or other fixture conflicts. Confirm the final placement with your local building department or a licensed contractor before framing or rough-in.
What are the IRC minimum clearances for a toilet?
The IRC (R307.1, with P2705.1) and the IPC (405.3.1) require the toilet centreline to be at least 15 inches (381 mm) from a side wall or fixture, adjacent fixtures to be at least 30 inches (762 mm) apart centreline to centreline, and at least 21 inches (533 mm) of clear space in front of the toilet. These are minimums, not comfort dimensions; many designers use about 18 inches (457 mm) to each side and around 30 inches (760 mm) in front. Some jurisdictions amend the figures, so check the code your area has adopted.
Is this tool a substitute for a licensed contractor or inspector?
No. It compares the distances you enter with the model-code minimums as a planning reference. It does not certify code compliance and does not replace a licensed contractor, plumber or building inspector. For work affecting structure, plumbing, drainage to a public sewer, or final code sign-off, consult a licensed professional.
Does the door swing matter for toilet clearance?
Yes. The IPC measures the clear space in front of a toilet to any wall, fixture or door, so a door that swings into that space can take a layout below the minimum even when the side and front distances look fine. England's Approved Document M (M4(1)) also asks for the WC door to open outwards. Set 'Door Clears Fixtures' to No if the fully open door reaches the toilet or the space in front of it.
Spotted something off?
Calculations or display — let us know.
Related tools
Calculators from other categories that planners often reach for next.













