Drain Pipe Size Calculator by Fixture Units

Enter the drainage fixture units (DFU) on a drain and this tool returns the minimum pipe size the standard sizing band allows — the answer to “what size drain pipe do I need?”.

Local plumbing code governs: This sizing follows standard reference conventions (IPC / UPC / NFPA-54-style tables). Your local plumbing code and inspector govern — sizing methods, materials and permit rules vary by jurisdiction. Confirm the design with a licensed plumber and pull the required permit before you build.

Calculator

DFU
Add the DFU of every fixture on this drain (use the fixture-units tool).
Minimum drain size3 in (labeled band)
Drainage fixture units10 DFU

A branch carrying 10 DFU wants at least a 3 in drain on a standard IPC/UPC planning band. Building drains, stacks and slope change the allowance — your local plumbing code and inspector govern; confirm with a licensed plumber.

Drain pipe is sized by load, not guesswork. Once you know the drainage fixture units (DFU) on a pipe, the code gives the smallest diameter that can carry them. Undersize and the drain runs full, siphons traps and clogs; oversize and solids no longer get the scouring flow they need to move, so bigger is not automatically better. The band below is the horizontal-branch and building-drain convention used in the model plumbing codes for private homes.

Start with the drainage fixture units tool to get your DFU total, then enter it here. The result is a minimum — local code, the pipe’s role (branch vs stack vs building drain) and its slope can all push the size up.

Formula

The minimum size is the smallest pipe whose DFU allowance covers your load:

drain size = min { size : max DFU(size) ≥ total DFU }

using the labeled horizontal-branch band:

  • 1-1/2 in → up to 3 DFU
  • 2 in → up to 6 DFU
  • 3 in → up to 20 DFU
  • 4 in → up to 160 DFU

A 3 in drain is the practical minimum for a run that carries a toilet, because a water closet needs at least a 3 in drain regardless of the DFU arithmetic.

Worked example

Two worked cases from the band:

6 DFU  → 2 in   (6 ≤ 6, the 2 in allowance)\n10 DFU → 3 in   (10 > 6, so it steps up to the 3 in band)

A single-bathroom home totalling 10 DFU therefore wants a 3 in building drain. Note the jump: at exactly 6 DFU a 2 in pipe is allowed, but one more fixture pushes you into 3 in territory — which is also the size a toilet demands, so most whole-house drains end up at 3 in or 4 in anyway.

What can override the DFU size

The DFU-to-size band is a starting point, not the whole story. Three things commonly override it. Fixture minimums: a water closet always needs at least a 3 in drain; a kitchen sink or shower has its own 1-1/2 in or 2 in minimum trap-and-drain regardless of DFU. Vertical vs horizontal: stacks carry more DFU than horizontal branches of the same size because gravity helps them; this tool uses the more conservative horizontal branch figures. Slope: a drain must also be pitched correctly — see the drain slope tool — or the nominal size will not deliver its rated capacity.

Because sizing methods and adopted tables vary by jurisdiction, treat the result as a design starting point and confirm the final drain layout with a licensed plumber and your local building department before you cut any pipe or pour a slab.

Reference table

Pipe sizeMax drainage fixture units (DFU)
1-1/2 inup to 3 DFU
2 inup to 6 DFU
3 inup to 20 DFU
4 inup to 160 DFU

Horizontal branch / drain sizing band (labeled) — building drains, stacks and slope change the allowance; your local code governs.

Frequently asked questions

What size drain pipe do I need for a shower?
A residential shower needs at least a 2 in drain and trap. Even though a shower is only 2 DFU, the fixture minimum, not the DFU count, sets the size — a 1-1/2 in shower drain is prone to clogging and is not accepted by most codes.
What size is a main drain for a house?
Most single-family building drains are 3 in or 4 in. A 3 in drain covers up to 20 DFU and is the minimum wherever a toilet is present; larger homes with more bathrooms move to 4 in (up to 160 DFU).
Can I use a 2 inch drain for a toilet?
No. A water closet requires a minimum 3 in drain in the model codes regardless of the fixture-unit total. A 2 in drain is for sinks, showers, tubs and laundry only.
Why does this tool use horizontal-branch values?
Horizontal branches carry fewer DFU than vertical stacks of the same diameter, so using the horizontal figures gives a conservative, safe minimum. A vertical stack of the same size can often serve more fixtures.
Is bigger drain pipe always better?
No. Oversized drains lose the flow velocity that scours solids along, so waste can settle and block the line. Size to the load, keep the correct slope, and only go larger when the code or a fixture minimum requires it.