Under the International Residential Code (IRC), a toilet needs at least 15 inches (381 mm) from its centerline to any side wall or fixture and 21 inches (533 mm) of clear space in front. A vanity also needs 21 inches (533 mm) in front, and a shower needs 24 inches (610 mm) in front of its opening; for comfort, the NKBA recommends 18 inches (457 mm) at the sides of the toilet and 30 inches (762 mm) in front of each fixture.
The calculator lays out vanity, toilet and a shower or tub along one wall, checks every clearance and tells you the smallest room that passes and the size that feels comfortable.
How the Clearance Calculation Works
Bathroom clearances are measured from fixture centerlines and front edges to the nearest finished wall, fixture or obstruction.
For a layout with vanity, toilet and a shower or tub along one wall, the length you need is:
Wall length is the vanity width plus twice the toilet side clearance plus the width of the tub or shower.
The room depth must fit the deepest of these: toilet depth plus its front clearance, vanity depth plus its front clearance, shower depth plus 24 in (610 mm), or the length of a tub set across the end.
Worked Example: The Classic 5 by 8 Bath
A 30 in (762 mm) vanity, a toilet and a 60 by 30 in (1,524 by 762 mm) tub across the end. With the code minimum of 15 in on each side of the toilet, the wall needs 30 plus 15 plus 15 plus 30, which is 90 in or 7 ft 6 in (2,286 mm). With the recommended 18 in it is 96 in, exactly 8 ft (2,438 mm).
For the depth, the tub decides: 60 in (1,524 mm). The toilet, about 28 in (711 mm) deep, leaves 32 in (813 mm) in front, more than the recommended 30 in. This is why the 5 by 8 ft (1.52 by 2.44 m) layout works so well as a full bath.

Bathroom Clearance Table
US minimums from the IRC 2021 and 2024 and the plumbing codes, recommended values from the NKBA bathroom planning guidelines, as of 2026.
| Clearance | Code minimum (US) | NKBA recommended |
|---|---|---|
| Toilet centerline to side wall or fixture | 15 in (381 mm) | 18 in (457 mm) |
| Clear space in front of the toilet | 21 in (533 mm) | 30 in (762 mm) |
| Clear space in front of the vanity | 21 in (533 mm) | 30 in (762 mm) |
| Basin centerline to side wall | 15 in (381 mm), IPC and UPC | 20 in (508 mm) |
| Basin center to basin center | 30 in (762 mm), IPC and UPC | 36 in (914 mm) |
| Shower inside size | 30 x 30 in (762 x 762 mm), 900 sq in | 36 x 36 in (914 x 914 mm) |
| Shower entry opening | 22 in (559 mm) | no separate value |
| Clear space in front of the shower | 24 in (610 mm) | 30 in (762 mm) |
| Clear space in front of the tub | no separate IRC value | 30 in (762 mm) |
The IRC itself sets no basin centerline distance; the 15 in and 30 in values come from the International Plumbing Code (IPC) and the Uniform Plumbing Code (UPC).
Minimum Bathroom Sizes from These Rules
These are the results of the calculator for four common layouts, with a 28 in (711 mm) deep toilet and the shower width including 2 in (51 mm) for the wall or glass.
| Layout | Minimum | Recommended |
|---|---|---|
| Powder room: 30 in vanity and toilet | 5 ft x 4 ft 1 in (1.52 x 1.24 m) | 5 ft 6 in x 4 ft 10 in (1.68 x 1.47 m) |
| Full bath: 30 in vanity, toilet, 60 in tub | 7 ft 6 in x 5 ft (2.29 x 1.52 m) | 8 x 5 ft (2.44 x 1.52 m) |
| Shower bath: 30 in vanity, toilet, 36 x 36 in shower | 8 ft 2 in x 5 ft (2.49 x 1.52 m) | 8 ft 8 in x 5 ft 6 in (2.64 x 1.68 m) |
| Double vanity: 72 in vanity, toilet, 36 x 36 in shower | 11 ft 8 in x 5 ft (3.56 x 1.52 m) | 12 ft 2 in x 5 ft 6 in (3.71 x 1.68 m) |

Shower and Tub Clearances
Hinged shower doors must open outward so that someone who falls in the shower does not block the door. The other IRC minimums are summarized below.
From experience, 30 by 30 in feels cramped once you bend down. If the room allows it, plan 36 by 36 in (914 by 914 mm) or more, and add 6 in (15 cm) of depth if you want to step out of the spray.
Canada, the UK and Australia
- Canada: fixture spacing is set by the provincial plumbing code, which is based on the National Plumbing Code. Many designers use the same values as in the US; confirm them with your municipality.
- United Kingdom: the Building Regulations do not set fixture spacing for an ordinary family bathroom. BS 6465-2 gives recommended activity spaces.
- Australia: the National Construction Code (NCC) requires the door of a fully enclosed toilet to open outward, slide or have removable hinges if the pan is closer than 1.2 m (47 in) to the doorway. The calculator checks this when you choose Australia. Use AS 1428.1 if the bathroom must be accessible.
Local rules and amendments vary, so check the final layout with your local building authority.
Common Mistakes
- Measuring to the studs. Clearances apply to finished surfaces. 1 in (25 mm) of tile on each wall can turn a passing layout into a failing one.
- Wrong toilet rough-in. The standard rough-in in the US and Canada is 12 in (305 mm) from the finished wall to the drain center. Check it before you buy the toilet.
- Doors in the clear space. A bathroom door that swings into the space in front of the toilet makes the room hard to use. A pocket door or an outward swing often solves it.
- A double vanity that is too small. Two basins need at least 60 in (1,524 mm), and 72 in (1,829 mm) is comfortable.
Plan Your Bathroom Layout with Plan7Architect
With Plan7Architect Pro you draw the bathroom with walls, windows and doors in 2D and see it in 3D at the same time. Place toilet, vanity, shower and tub from the large 3D object library, dimension every clearance and plan the water supply and drain lines. Sections and elevations are generated from the model for your contractor. You can switch between US and European units at any time.
Read more about how big a bathroom should be, standard shower sizes, guest bathroom sizes and drawing a bathroom floor plan. More tools are in our home design calculators.
Plan7Architect Pro costs Original price was: $259.99.$99.99Current price is: $99.99. once, no subscription. You are covered by a 14-day money-back guarantee: a short email is enough to get your money back. Get Plan7Architect Pro here.
Plan your project with Plan7Architect
Plan7Architect Pro 6 for Original price was: $259.99.$99.99Current price is: $99.99.
You don’t need any prior experience because the software has been specifically designed for beginners. The planning process is carried out in 5 simple steps:
1. Draw Walls

2. Windows & Doors

3. Floors & Roof

4. Textures & 3D Objects

5. Plan for the Building Permit

6. Export the Floor Plan as a 3D Model for Twinmotion

- – Compliant with international construction standards
- – Usable on 3 PCs simultaneously
- – Option for consultation with an architect
- – Comprehensive user manual
- – Regular updates
- – Video tutorials
- – Millions of 3D objects available
Why 85,000+ Home Planners Choose Plan7Architect
Why choose Plan7Architect over other home design tools?
Watch how a complete house is planned from start to finish – in under 25 minutes
Detailed House Planning (25 Min)
Small Home Planning Demo (12 Min)
Short House Planning Demo (6 Min)
Your Plan + AI
Plan your house in Plan7Architect and take it further with today’s AI tools. Your design stays exactly as you planned it.


Plan7ArchitectAI
Photorealistic AI Renderings
Turn any 3D view of your Plan7Architect project into a photorealistic image in seconds.
How to render your design with AI →Free prompt generator with 11 examples →
AI Videos of Your HouseNew
A short film like real drone footage, made from your Plan7Architect 3D views.

Material List & Cost Estimate
Export your plan as DXF and let ChatGPT or Claude create quantities and a cost estimate.

Digitize Floor Plans with AI
Paper, PDF or photo to an exact DXF file you can trace in Plan7Architect.
The 3 Plan7Architects
Basic · Expert · Pro
Which version is right for you?

- Work in parallel in 2D & 3D
- Interactive dimensions
- Furnish rooms – over 15,000 3D objects
- 3D visualization in real time
- Tutorial videos, manual & support tickets

- Everything in Basic, plus:
- Automatic roof & staircase construction
- External dimensions & living-area calculation
- Automatic room detection & snap points
- Panorama backgrounds & individual lighting
- Over 30,000 3D objects & sample projects
Not included: building permit plans, sections & elevations and export to your architect – only in Pro 6.
View Expert
- Everything in Expert, plus:
- Building permit plan sets, sections & elevations
- International building standards for the US, UK, Canada, Australia, Europe and more
- Garden, terrain & site planning
- Send plans to your architect or builder (PDF, DWG, DXF)
- Wood framing for walls & roofs
- Electrical, heating & plumbing planning
- Several million 3D objects (SketchUp)
- Twinmotion Direct Link, VR & 3D printing
- Export for AI renderings, AI videos & material lists
- … and much more
One-Time Payment – No Subscription Required
Verified Customer Reviews
More on this topic: Home Design & Building Calculators – all articles
You might also like:
- Closet Size Calculator: Reach-in and Walk-in Closet Dimensions
- Concrete Calculator: Slabs, Footings, Piers, Bags and Ready-Mix
- Deck Calculator: Joists, Decking, Railing and Stairs
- Attic Floor Area Calculator: Usable Space Under a Sloped Ceiling
- Architectural Scale Calculator: Sheet Sizes and Printable Ruler


