Bathroom Fixture Clearance Checker
Check the space around your toilet, sink and shower against the residential code minimums, rule by rule, before the drain is set and the walls are closed.
Rule: 2021 IRC R307.1 or 2024 UPC 402.5 · Tested against 32 worked examples, 1 printed in a published source · How this is worked out →
Common cases
Questions people ask
How much space do you need around a toilet by code?
Under the 2021 IRC a toilet needs at least 15 in from its centreline to any side wall, partition or vanity, 30 in centre to centre between adjacent fixtures, and 21 in of clearance in front. Under the 2024 UPC the side and centre-to-centre figures are 15 in and 30 in, and the clear space in front is 24 in. Local amendments can change either, and accessible bathrooms need more.
Is the 15 inches measured from the edge of the toilet or the centre?
From the centre. Both codes word it as the distance from the centre of the water closet to the side wall, and the IRC figure draws it from the centreline of the bowl. So a single toilet needs a space at least 30 in wide between two walls. This tool checks the distance to the finished wall surface, or to the nearest edge of a vanity, tub or other obstruction. It subtracts nothing for you: if you measure off bare studs, take off the thickness of board and tile still to come before you enter the figure.
What is the smallest shower allowed by code?
Under the 2021 IRC a shower compartment needs at least 900 sq in of inside area and no inside dimension under 30 in, so 30 by 30 in is the smallest square. An exception allows a dimension down to 25 in where the area is at least 1,300 sq in. Under the 2024 UPC it needs 1,024 sq in and room for a 30 in circle, so 32 by 32 in is the smallest square, and those two minimums do not apply to a shower receptor at least 30 in by 60 in overall. Both measure the finished interior and want the opening at least 22 in wide. The IRC figure also shows 24 in of clearance in front of the opening; no such figure was found in the UPC.
Does a toilet have to be 30 inches from the sink?
Under the 2024 UPC no: its 30 in centre-to-centre rule is between a toilet or bidet and a similar fixture, and a sink or vanity beside the toilet only has to be 15 in from the centreline of the toilet. Under the 2021 IRC the sentence asks for 30 in centre to centre between adjacent fixtures without saying which. This tool reads that as covering a toilet beside a sink, but the figure in the code draws that pair with only the 15 in dimension, so a shortfall there is reported as something to confirm with your inspector, not as a plain fail.
Do these clearances apply to an accessible (ADA) bathroom?
No. These are the ordinary minimums for one- and two-family dwellings. Accessible design standards such as the ADA Standards and ICC A117.1 set their own, larger clearances and are not checked by this tool.