Calculate the widest bathroom vanity that fits your wall after toilet and side clearances, the nearest standard size, and the clear space left in front.
- All Construction Calculators
- Bathroom Area Calculator
- Cabinet Door Calculator
- Mirror Cost Calculator
- Shower Pan Slope Calculator
- Ceiling Height Clearance Calculator
Calculator Functions
The calculator gives the widest vanity a bathroom wall can take once the space beside a toilet is set aside, the largest standard vanity width that fits, and the clear floor space left in front of the vanity. Select a function to open it in the calculator.
| Function | Use it when | You enter |
|---|---|---|
| Vanity width that fits | You are choosing how wide a vanity to buy for a wall | Wall width, what is on each side of the vanity, and one or two sinks |
| Clearance in front | You want to know whether a vanity is too deep for the room | Distance from the vanity wall to whatever faces it, and the vanity depth |
Lengths can be entered in inches or centimeters, and results show both. A toilet beside the vanity starts at 15 in from its side wall to its center, which you can replace with your own measurement, and vanity depth starts at 21 in.
Bathroom Vanity Size Formulas
| V | Widest vanity that fits (in) |
| W | Wall width, side to side (in) |
| L | Space kept clear on the left (in) |
| R | Space kept clear on the right (in) |
Vanity width that fits
A side with a wall, tub or shower needs no gap, so L or R is 0. On a side with a toilet, T is the distance from the side wall to the center of the toilet, and the vanity has to stay 15 in from that center. Model codes require at least 15 in from the center of a toilet to any side wall, vanity or other obstruction [1] [2], so a toilet at the minimum takes 15 + 15 = 30 in of wall. A 60 in wall with a toilet on the right leaves 60 − 0 − 30 = 30 in for the vanity.
The result is then matched to the standard vanity widths of 24, 30, 36, 48, 60 and 72 in [4], and the largest one that fits is shown with the width left over. For two sinks, the plumbing code calls for 30 in between the centers of side-by-side fixtures and 15 in from a sink’s center to a side wall [2], which adds up to 15 + 30 + 15 = 60 in, so the calculator reports whether the space reaches 60 in. For one sink, a vanity under 30 in wide puts a centered sink less than 15 in from a side wall. Residential codes do not always set that distance for a sink [3], so the calculator shows a note rather than an error.
Clearance in front
D is the distance from the wall behind the vanity to the facing wall, fixture or door, and d is the vanity depth with its counter. Model codes require at least 21 in of clear space in front of a sink [1] [2], so the deepest vanity that fits is D − 21. Vanities run from 14 to 26 in deep and average about 21 in [4]. A room 60 in deep with a 21 in vanity leaves 60 − 21 = 39 in clear.
Limits of This Estimate
- The 15 in and 21 in figures are minimums from the model residential and plumbing codes [1] [2]. States and cities adopt and amend those codes, so the local building department has the final word, and accessible bathrooms follow different rules.
- Code minimums are tight. A vanity sized to the last inch can be hard to slide into place and leaves no room for trim, so a little spare width is worth keeping.
- The calculator does not check door swings, drawer and door openings, baseboards, windows, plumbing locations or a countertop that overhangs the cabinet. Measure the cabinet and the top separately.
- Standard widths are the common stock sizes [4]. Individual makers also sell in-between and compact sizes.
Sources
- Larimer County, Colorado, Minimum Fixture Clearances (2021 International Residential Code, Figure R307.1): 15 in from a toilet’s center to a side wall and 21 in clear in front of a toilet or sink
- International Code Council, Significant Changes to the International Plumbing Code, 2018 Edition, Section 405.3.1: 15 in from a fixture’s center to a side wall, vanity or other obstruction, 30 in center to center and 21 in in front
- North Carolina Office of the State Fire Marshal, Lavatory Sidewall Clearance, Residential (March 22, 2019): the residential code figure sets no sink-to-side-wall distance
- The Home Depot, How to Measure for a Bathroom Vanity: standard vanity widths and depths
