FitsTheRoom

The smallest bathroom that passes code, checked inch by inch

We ran every full bathroom from 3′6″ × 6′ to 12′ × 14′ and every half bath from 3′ × 4′ to 6′ × 8′ — 8,876 room sizes, one inch at a time — through the same clearance checks our bathroom layouts use, with three kinds of door. Two findings stood out.

Full bathroom: 5′ × 6′6″, and the line is sharp

A full bathroom — toilet, vanity, and a tub or shower — fits at least one of our four standard layouts if and only if the short wall is at least 5′ and the long wall at least 6′6″. All 5,524 sizes inside that line pass; every size outside it fails all four layouts. The smallest is 5′ × 6′6″, 32.5 sq ft.

6′-6″ (78″)5′-0″ (60″)Tub 30″×60″18″ vanity21″ clear21″ clear15″15″Tub drainToilet flangeSink drain30″ tub15″15″18″ vanity
5′ × 6′6″ full bath, classic full bath: 60″ alcove tub with shower, elongated toilet, 18″ × 21″ vanity. Every clearance passes with a standard in-swing door.

Skipping the tub does not make the room smaller with standard fixtures: the smallest shower-only layout is also 5′ × 6′6″, with a 30″ × 60″ walk-in shower taking the same wall a tub would. Going below that takes a smaller shower — the code minimum is 30″ × 30″ — and a custom layout.

The door never decides a full bathroom. Of the 1,839 sizes that fail with an in-swing door, not one passes with an out-swing or pocket door instead: when the door swing is in the way, something else is too.

Half bath: re-hang the door before you shrink the plan

With a standard in-swing door, 315 of 1,513 half-bath sizes fail every layout, and the smallest that works is 3′ × 5′11″ (17.8 sq ft). Hang the same door to swing out into the hall and 172 of those 315 sizes (55%) start to pass. The smallest workable half bath drops to 3′ × 5′1″ (15.3 sq ft) — 10″ shorter.

5′-11″ (71″)3′-0″ (36″)21″ clear18″18″21″Toilet flangeSink drain71″
In-swing door: smallest is 3′ × 5′11″.
5′-1″ (61″)3′-0″ (36″)21″ clear18″18″21″Toilet flangeSink drain61″
Out-swing door: smallest is 3′ × 5′1″.

A pocket door, the usual advice for a tight bathroom, rescues only 48 sizes, and its smallest half bath is 3′ × 5′5″. The pocket needs 30″ of plain wall beside the opening for the door to slide into, and a small room rarely has it.

Half-bath doorSizes that fail every layoutSmallest that passes
Swings in315 of 1,5133′ × 5′11″ · 17.8 sq ft
Swings out143 of 1,5133′ × 5′1″ · 15.3 sq ft
Pocket306 of 1,5133′ × 5′5″ · 16.3 sq ft

An out-swing door has to clear the hallway: check that it does not block a corridor or another door when open.

What "passes" means

Each layout uses typical US fixture sizes and is checked against the clearance rules from the International Residential Code (R307.1, P2708.1): the toilet centerline at least 15″ from anything beside it, 21″ of clear floor in front of the toilet and sink, a shower at least 30″ × 30″ with a 22″ opening and 24″ of clear floor in front of it, and a door swing that misses every fixture. How we check plans has the details.

"Fails" means none of our four standard layouts fits — not that no bathroom is possible. Smaller fixtures (a compact toilet, a 36″ shower) or a custom layout can fit rooms marked as failing here. These are IRC minimums; local codes can be stricter, and accessible (ADA) bathrooms need far more room.

The data

The full results — every size, every door, every layout, and the checks each failing layout breaks — are free to download and reuse under CC0: Bathroom Size Code-Clearance Dataset on GitHub, archived with a DOI at 10.5281/zenodo.24319105. Quote the numbers, chart them or build on them; no permission is needed, though a link back is appreciated.

To see a specific room drawn to scale, pick a size on the bathroom layouts or half bath layouts page and enter your exact measurements.