Sill & Rafter

Plumbing & Water · Calculator

Drain Pipe Size Calculator

Count the fixtures that drain into the pipe and choose whether it is the building drain or a horizontal branch. The calculator adds up their drainage fixture units, finds the smallest pipe the plumbing code allows for that load and gives the minimum slope and the fall.

A water closet, a lavatory and a bathtub or shower, with toilets of 1.6 gallons per flush.

Toilets not in a bathroom group, such as in a half bath.

Not in a bathroom group, with a total flow of 5.7 gpm or less.

With or without a food waste disposer.

Leave at 0 if it drains through the kitchen sink: the code rates a kitchen sink with a dishwasher, a disposer or both at 2 units in all.

Optional, to get the total fall.

Minimum drain size

3 in

Drainage fixture units
18 dfu
Capacity at 1/4 in per ft
42 dfu
Minimum slope for this size
1/8 in per ft

With a water closet on it, the drain is kept at 3 in or more.

Steeper slopes carry more: sizes with no figure at this slope in the code table are skipped.

Vents are sized separately; see the vent pipe size calculator.

2021 IPC Tables 704.1, 709.1, 710.1(1) and 710.1(2).

Drains are sized by drainage fixture units, a measure of how much each fixture discharges. A house with two full bathrooms, a half bath, a kitchen and a laundry adds up to 18 units, and at 1/4 inch per foot its building drain must be at least 3 inches.

Drainage fixture units

The plumbing code rates each fixture in drainage fixture units, or dfu, a measure of its probable discharge into the drain. Table 709.1 of the 2021 International Plumbing Code gives, among others:

Fixturedfu
Bathroom group, 1.6 gpf toilet5
Water closet, private, 1.6 gpf3
Lavatory1
Bathtub2
Shower, 5.7 gpm or less2
Kitchen sink, domestic2
Dishwasher, domestic2
Clothes washer, residential2
Laundry tray2
Floor drain2

A bathroom group is a water closet, a lavatory and a bathtub or shower on the same floor. A kitchen sink keeps its 2 units with a disposer, a dishwasher or both on it, so count a dishwasher on its own only if it drains separately.

Building drain or branch

The building drain is the lowest piping that collects the drainage inside the house and carries it to 30 inches outside the walls, where the sewer begins. Table 710.1(1) sizes it by load and slope: the steeper the pipe, the more it carries. Horizontal branches inside the house are sized from the first column of Table 710.1(2), whatever their slope. The code's minimum building drain for one that serves a water closet is 3 inches, and the calculator keeps any drain with a toilet on it at 3 inches or more.

A worked example

A house has two full bathrooms, 5 units each, a half bath with a toilet and a lavatory, 3 + 1, a kitchen sink with its dishwasher, 2 in all, and a clothes washer, 2: 18 drainage fixture units. At 1/4 inch per foot, Table 710.1(1) allows 21 units on a 2 inch building drain, but with toilets on it the drain stays at 3 inches, which carries 42 units at that slope. Over a 40 foot run it falls 10 inches.

Minimum slope

Table 704.1 sets the least slope a horizontal drain may have: 1/4 inch per foot for pipes of 2-1/2 inches or less, 1/8 inch for 3 to 6 inches and 1/16 inch for 8 inches or larger. Upstream of a grease interceptor the slope is at least 1/4 inch whatever the size. For the fall over a run, multiply its length by the slope: 40 feet at 1/4 inch per foot fall 10 inches.

Questions people ask

How many fixture units can a 3 inch drain carry?

As a building drain, 36 at 1/8 inch per foot, 42 at 1/4 inch and 50 at 1/2 inch. As a horizontal branch, 20.

What is the right slope for a drain pipe?

At least 1/4 inch per foot for pipes of 2-1/2 inches or less and 1/8 inch for 3 to 6 inches, under Table 704.1 of the plumbing code.

How many fixture units is a full bathroom?

A bathroom group with a 1.6 gallon per flush toilet is 5 drainage fixture units; with a toilet that uses more, 6.

Sources