CalcStack — free, instant, no signup. The interactive calculator loads automatically.

Drain Size Calculator

Count the fixtures, slope the pipe, size the drain.

Drain sizing is the mirror image of supply sizing: drainage fixture units encode how much a fixture dumps and how often, and the pipe just has to swallow the probable peak at code slope. This calculator totals your DFU per IPC Table 709.1, then selects the smallest diameter from Table 710.1 at your slope — for the building drain or a horizontal branch — enforcing the 3-inch toilet minimum and the ¼-inch-per-foot rule for small pipe.

Why people use this

Plumbers use it for remodels and additions: count the new fixtures, and know in seconds whether the existing 3-inch main swallows the load or the job needs a 4-inch upgrade. It also settles the crawlspace argument about whether ⅛-inch slope is legal — only at 3 inches and up.

How it works

  1. Count each fixture type draining into the pipe — toilets, sinks, tubs, showers, appliances, floor drains.
  2. Pick the slope (¼ inch per foot is the residential standard; ⅛ inch is legal only at 3 inches and up).
  3. Choose the pipe section — building drain/sewer or horizontal branch/stack; the capacity tables differ.
  4. Read the minimum diameter, its DFU capacity, and your spare headroom for future fixtures.

Common questions

How many fixture units is a typical house?

A two-bathroom single-family home totals roughly 18–24 DFU — two toilets (3 each), lavatories (1 each), a tub and shower (2 each), kitchen sink, dishwasher, and washer (2 each). That fits a 3-inch building drain at ¼-inch-per-foot with comfortable margin, which is why 3-inch is the de facto residential main.

Why is 3-inch the minimum for a toilet drain?

Solids. A water closet discharges a surge of waste that needs the pipe's full diameter to carry — IPC sets 3 inches as the floor for any drain serving a toilet regardless of what the DFU arithmetic allows.

Can I flatten a drain below ¼ inch per foot where framing is tight?

Only at 3 inches and larger — the ⅛-inch-per-foot column exists for bigger pipe because larger diameters maintain scouring velocity at flatter slopes. Two-inch and smaller must keep ¼ inch per foot. Too flat clogs; too steep (over about 2 inches per foot vertical-ish runs) lets liquids outrun solids, which also clogs.

Is UPC sizing different?

Slightly — the UPC counts a clothes washer as 3 DFU instead of 2 and uses its own capacity tables, though the pipe sizes usually come out the same for residential loads. Count and size with whichever code your jurisdiction adopted, and never mix tables between codes.

Browse all 500+ free calculators →