Tight Bathroom Layouts That Pass Code: 5x8, 5x5, 4x7 and 3x6, Inch by Inch
Updated
Bottom line
As of 2026, the 2021 IRC is generally cited as requiring a toilet to sit at least 15 inches from its centerline to any side wall or fixture with 21 inches clear in front, and a shower of at least 30 by 30 inches with 900 square inches of floor. As of 2026, a 5 by 8 foot room is a common tight full bath with a 60-inch tub, and roughly 5 by 5 feet is about the smallest room that holds a toilet and a sink plus a corner shower. As of 2026, a half bath with only a toilet and sink can fit in roughly 3 by 6 feet, or about 4 by 5 feet with the fixtures side by side.
How many standard tight layouts fit your room?
Standard layouts that fitExample result
How this is calculated
Example: Room width (finished wall to wall): 60 in, Room length (finished wall to wall): 96 in. Result: 5 layouts.
Checks your room in either direction against six footprints built to 2021 IRC minimums: 3x6 and 4x5 half bath, 5x5 corner shower, 4x7 wet room, 6x6 corner, 5x8 tub bath. The default 60 x 96 in (5x8) fits 5 of them.
The four code numbers every tight bathroom is built on
15 inToilet centerline to any side wall or the edge of a vanity
21 inClear space in front of the toilet and the sink
30 x 30 inSmallest legal shower, with a 30-inch circle inside
900 sq inMinimum shower floor area
As of 2026, the International Residential Code calls for 21 inches of clear floor in front of a toilet. That's shorter than a carry-on suitcase. So why do so many small bathrooms feel like a phone booth with plumbing? The room is rarely the problem. The door, the vanity and the shower stall eat the inches, usually before anyone picks up a tape measure.
Our take: in a tight bathroom, the code minimum is the trap. As of 2026, a 15-inch toilet centerline and a 30x30 shower generally meet the 2021 IRC minimums, though local inspectors decide. As of 2026, the NKBA planning guidelines recommend 16 inches from the toilet centerline to a side obstruction and a 36 by 36 inch shower. Find those inches in the door and the vanity's depth, never in the toilet's elbow room.
What is the smallest bathroom that fits a full set of fixtures?
As of 2026, the toilet zone is about 30 inches wide (15 on each side of the centerline) and about 49 inches deep (a typical 28-inch toilet plus 21 inches clear). Fit that first. Everything else gets the leftovers. Six standard footprints, smallest first:
3x6 half bath (18 sq ft): toilet and sink in a line.
4x5 half bath (20 sq ft): toilet and sink side by side.
5x5 corner shower (25 sq ft): a small wall-hung sink and a toilet, with a 30x30 stall in the corner and a door that doesn't swing in. Legal with almost no slack.
4x7 wet room (28 sq ft): a curbless shower at one end.
6x6 corner (36 sq ft): room for a 36x36 stall and a real vanity.
5x8 tub bath (40 sq ft): a common US builder layout, with a 60-inch tub across the end.
Here's how fast the inches run out. Say your room is 60 inches wide and the toilet and vanity share one wall. The centerline sits 15 inches from the side wall, and the vanity can start 15 inches past it. That leaves exactly 30 inches of vanity. A 36-inch vanity fails the side clearance by 6 inches.
Measure from finished surfaces. Cement board and tile typically add roughly 3/4 to 1 inch per wall, so a framed 60 inches can finish near 58. In the fitter below, enter width and length in inches (5 ft 4 in is 64). It checks both orientations.
How much space do you need beside and in front of a toilet by code?
As of 2026, the 2021 IRC (Section R307.1 and its figure) is generally cited as requiring at least 15 inches from the toilet centerline to any side wall or fixture and 21 inches clear in front. As of 2026, the International Plumbing Code (Section 405.3.1) uses the same 15 and 21 inch figures, measured to the nearest obstruction, a door swing included. Remember the door. It comes back to bite in the door section.
The centerline runs through the middle of the flange, front to back. Measure to it, not to the edge of the bowl. Rough-in sets how far out the bowl sits: 12 inches from the finished back wall to the flange center is the usual figure, and 10-inch and 14-inch rough-ins also turn up. A 12-inch toilet on a 10-inch rough-in won't sit against the wall, so measure to the hold-down bolts before you buy.
Measure from the centerline, not the bowl edge. A vanity counts as an obstruction.
How much clearance do you need in front of a vanity or sink?
As of 2026, the IRC figure is generally cited as asking for 21 inches clear in front of a lavatory, the same as the toilet.
Tight rooms fail when the sink faces the toilet. One shared gap serves both fixtures, so the math across the room is toilet depth plus 21 plus vanity depth. With a 28-inch toilet and a 21-inch vanity, that's 70 inches, and a 5-foot room comes up 10 short. An 18-inch vanity leaves you 7 short. A 12-inch wall-hung sink across from a 26-inch compact toilet totals 59 inches and passes.
When you're short, pick an 18-inch-deep vanity, a wall-hung sink, or a corner sink tucked where no clearance zone reaches. Our view: shave depth, never width at the toilet. The shower is where that rule gets tested hardest.
Code minimum vs NKBA recommended clearances
Legal minimums under the 2021 IRC compared with NKBA planning guidelines
Item
IRC minimum (2021)
NKBA recommended
Toilet centerline to side wall or fixture
15 in
16 in
Clear space in front of toilet
21 in
30 x 48 in clear floor space
Clear space in front of sink
21 in
30 x 48 in clear floor space
Shower interior
30 x 30 in and 900 sq in
36 x 36 in
Door clear opening
No set minimum for a private bath
32 in
2021 International Residential Code, Sections R307.1 (Figure R307.2) and P2708.1; NKBA Bathroom Planning Guidelines, as of 2026
What is the minimum shower size, and can a tub fit in a 5-foot-wide bathroom?
As of 2026, IRC Section P2708.1 is generally cited as setting a minimum of 900 square inches of interior shower floor, with no side under 30 inches. A 30x30 stall passes at exactly 900. A 24x36 stall has 864 square inches and fails on area and on width. As of 2026, the IRC is generally cited as allowing a stall as narrow as 25 inches if it has at least 1,300 square inches of floor, so a 25x52 can fit a narrow slot. As of 2026, the IRC is generally cited as requiring a 22-inch clear shower entry, hinged shower doors that open outward, and 24 inches clear in front of the opening.
The NKBA's recommended 36x36 stall, as of 2026, is the size worth fighting for. A 36x36 square, or a 38x38 neo-angle with its front corner clipped, lets you bend down to wash your feet. In a 30x30, your elbows find the walls first.
Yes, a tub fits a 5-foot room. The common alcove tub is about 60 inches long and 30 to 32 inches wide, so in a 5x8 room the tub spans the width and leaves about 66 inches of length for everything else. Swapping it for a 60x30 shower pan frees no floor, but it kills the step-over.
Same scale, same 30-inch circle: only the first and third stalls hold it.
What layouts fit a 5x8 bathroom, and is putting everything on one wall better?
Three plans fit a 60x96-inch room:
One-wall: tub across the far end, then on one long wall the toilet with its centerline 45 inches from that end (30 for the tub, 15 clear), then a vanity up to 30 inches wide starting 60 inches out. The toilet gets 32 inches clear in front, a 21-inch vanity leaves a 39-inch walkway, and the door fits on the near end wall.
Two-wall: the vanity moves to the opposite long wall. Face to face with the toilet, 60 minus 28 minus 21 leaves 11 inches, 10 short of code. Offset it and it passes, but the walkway turns into a slalom.
Three-wall: tub at one end, vanity on the other end wall, toilet on a long wall. Workable, with plumbing in three walls.
Our take: in a 5x8, one wall wins nearly every time. One wet wall is the cheapest plumbing, and nothing faces the toilet, so the 21 inches take care of themselves.
5x8 bathroom: one-wall vs two-wall layout
One-wall layout
Tub across the far end, with the toilet and the vanity sharing one long wall.
Pros
One wet wall, the cheapest plumbing
A 39 in walkway with a 21 in deep vanity
Nothing faces the toilet, so the 21 in in front is easy to meet
Cons
Vanity width limited to about 30 in by the wall length
The door has to be planned so it clears the vanity
Best for: Most 5x8 remodels and new builds
Two-wall layout
Vanity on the long wall opposite the toilet.
Pros
Room for a wider vanity
Can suit an existing drain position
Cons
Two wet walls cost more
Face to face, the gap is 11 in, 10 short of the 21 in code minimum
Best for: Rooms where the plumbing already runs on both walls
Bottom line: In a 5x8, the one-wall layout wins unless your plumbing already forces two walls.
How small can a half bath or a 3- or 4-foot-wide bathroom be?
A 3x6 (36x72) half bath puts the toilet on the end wall facing the door, centered with 18 inches each side. Toilet plus clearance takes 49 inches, leaving 23 near the door for a sink on the side wall. That sink can be at most 15 inches deep, since 36 minus 21 is 15.
A 4x5 has a catch most plans miss. Put toilet and sink on the 5-foot wall and a 28-inch toilet leaves 20 inches in front: 1 inch short. Put them on the 4-foot wall instead (centerline at 15, an 18-inch sink starting at 30) and you get 60 inches of depth with 11 to spare.
A full bath 3 feet wide works as a corridor about 9 feet long: a 36x36 stall across the end, the toilet facing the door, a shallow sink near the entrance. In all three rooms, an inswing door lands in the toilet's 21-inch zone, and under the IPC, as of 2026, that zone is measured to the door.
Which way should the door swing in a small bathroom, and is a pocket door worth it?
A 30-inch door swinging in sweeps about 707 square inches, roughly 4.9 square feet. In a 5x5, that's a fifth of the floor. As of 2026, the IRC is generally understood to set no swing direction and no minimum width for a private bathroom door. As of 2026, the NKBA recommends a 32-inch clear door opening.
What each option costs you:
Inswing: about 4.9 sq ft of bathroom floor, plus any clearance zone the arc crosses.
Outswing: nothing inside, but the arc lands in the hall. As of 2026, IRC Section R311.6 is generally cited as requiring hallways at least 3 feet wide, so check what is across from the door.
Pocket door: no floor at all, but a wall cavity beside the opening about as wide as the door, with no drain lines or switch boxes in it.
Barn door: no floor, but it needs open wall outside and seals poorly for sound and privacy.
For aging in place, a common reference is the 60-inch turning circle in the 2010 ADA Standards (Section 304.3). A 5x8 can't hold it: the room is exactly 60 inches wide and the toilet alone projects about 28 inches into it. That's why a curbless shower is the accessibility upgrade that actually fits a small bath.
When does a wet room or a curbless shower actually save space?
A 4x7 (48x84) wet room has no curb, no stall door and no stall walls. The shower end, about 36x48 (1,728 square inches), is sloped floor you can walk across. As of 2026, IRC Section P2709 is generally cited as asking for a shower floor slope of 1/4 to 1/2 inch per foot toward the drain. A toilet on the long wall has to project 27 inches or less (27 plus 21 is 48), or be wall-hung.
It earns its keep in rooms under 5 feet wide, where a 30x30 stall plus its outswing door won't fit. In a 5x8 it saves little, because the tub alcove already works.
The price: a waterproof membrane on the floor and walls, a recessed or sloped subfloor and usually a linear drain. Skip a fixed glass panel and your toilet paper takes a shower too.
Does moving the toilet in a small bathroom cost a lot more than keeping the plumbing where it is?
Usually yes. As of 2026, relocating a toilet drain is often estimated at roughly $1,000 to $3,500 or more, with concrete slabs at the high end. As of 2026, a 3-inch drain is generally cited as needing at least 1/8 inch of fall per foot (IRC Section P3005.3) and must stay tied to a vent. On a wood floor, 3-inch PVC measures about 3.5 inches outside, and IRC Section R502.8.1 is generally cited as capping bored holes at one third of the joist depth. A 2x10 is about 9.25 inches deep, so a one-third limit is about 3.1 inches, and the 3.5-inch pipe won't pass through.
Before you order fixtures, tick these off against your own tape measure:
Toilet centerline at least 15 inches from each side obstruction, vanity edge included (2021 IRC, as of 2026)
At least 21 inches clear in front of the toilet, to the nearest obstruction, door swing included (2021 IRC, as of 2026)
Rough-in measured from the finished back wall to the flange center (commonly 10, 12 or 14 inches)
At least 21 inches clear in front of the sink (2021 IRC, as of 2026)
Shower at least 30x30 inches inside with 900 square inches of floor and a 22-inch entry (2021 IRC, as of 2026)
24 inches clear in front of the shower opening (2021 IRC figure, as of 2026)
Door arc drawn on the plan, or the pocket wall checked for drain lines and wiring
Flange and stack location marked before you pick the layout
How to measure a tight bathroom before ordering fixtures
1Back wall to flangeFinished wall to flange center: 10, 12 or 14 in
2Centerline to the sidesAt least 15 in to each side obstruction, vanity edge included
3Clear in frontBowl front to the nearest obstruction, door swing included: at least 21 in
4Door sweepDraw the arc: a 30-in door takes about 4.9 sq ft
5Shower footprintInside at least 30 x 30 in and 900 sq in
Frequently asked questions
Does a small bathroom without a window need an exhaust fan?
Yes. As of 2026, IRC Section R303.3 is generally cited as requiring a bathroom window of at least 3 square feet (half openable) or mechanical exhaust of at least 50 cfm intermittent or 20 cfm continuous, vented outdoors.
Do these clearances apply everywhere in the US?
Most states and cities base their residential rules on the IRC, often with local amendments, and some large cities write their own codes. The 15-inch and 21-inch numbers are widely shared, but your city or county building department has the final word.
Do I need a permit to rearrange a small bathroom?
Moving a drain, vent or supply line is plumbing work that local building departments generally permit and inspect. Swapping a fixture in the same spot often needs no permit. Ask your building department before demolition.