CalcSeed

Drain Pipe Size Calculator

Enter the total fixture units to estimate the drain pipe diameter.

=
Quick answer: with the default inputs (20 DFU), the pipe diameter is 3. Change any input to update the result.
Pipe diameter
—

What this calculator picks

This tool converts a drain’s total drainage fixture units (DFU) into the smallest pipe diameter that code tables allow for that load. At the default 20 DFU it returns a 3 in drain — the size that serves a typical two-bathroom house main and the size most building drains never need to exceed.

How fixture-unit sizing works

d=min{d:capacity(d)≥DFU}d=min{d : capacity(d)ge DFU}

Plumbing codes assign every fixture a DFU load value — a weighted guess at how much water it discharges and how suddenly. A lavatory is light at 1 DFU; a tank toilet is heavy at 3 DFU because it dumps several gallons at once. Sizing is not an equation but a table lookup: sum the DFUs on the drain, then choose the smallest pipe whose rated capacity meets or exceeds the total. That is exactly what this formula expresses.

The staircase is coarser than people expect. Doubling a load from 20 to 40 DFU does not double the pipe — both fit in 3 in. Only past 42 DFU does the table jump to 4 in, which is why even large single-family houses usually share one 3 or 4 in building drain.

Fixture-unit capacities by pipe size

Pipe diameterMax DFU at standard slopeTypical use
1¼ inup to 3single lavatory or bidet branch
1½ inup to 7kitchen sink, laundry standpipe, small bathroom branch
2 inup to 14shower drains, single bathroom group branch
3 inup to 42toilet lines, whole-house branch drains
4 inup to 140building drain and sewer connection

Loads above 140 DFU fall to 6 in, which is apartment-building territory rather than residential work. These capacities reflect common US code tables at ¼ in per ft slope for horizontal drains; always verify against your local code edition, which is the version your inspector enforces.

Worked example at the defaults

Count a small house: two bathrooms (toilet 3 + lavatory 1 + tub/shower 2 each = 6 DFU per bath, 12 total), a kitchen sink group with dishwasher (3 DFU), a laundry standpipe (2 DFU), and a utility sink (2 DFU). Total: 12 + 3 + 2 + 2 = 19 DFU, close to the 20 DFU default. The table says 19 fits inside 42, so the branch drain is 3 in — and even though the toilet line itself can be 3 in, individual fixtures above still use their own smaller branch sizes.

Where each pipe size appears in a house

  • 1½ in: each sink, the dishwasher and washing machine branch
  • 2 in: showers and tubs, which drain fast and need the larger wetted area
  • 3 in: any toilet line and the main branch collecting the bathrooms
  • 4 in: the building drain under the slab and the sewer lateral to the street

Slope, stack and other constraints

The DFU table assumes a standard slope of ¼ in per ft for pipes up to 3 in. Run a horizontal drain flatter and the capacity drops, sometimes forcing one size up; run a vertical stack instead of a horizontal run and capacities actually rise, because gravity does more of the work. Venting adds another layer: a properly vented drain carries its rated load, while a poorly vented one gurgles and siphons traps long before it reaches capacity on paper.

Note that this tool sizes sanitary drainage — wastewater leaving fixtures. Roof drainage is a different table altogether: gutters and downspouts are sized by roof area and rainfall intensity, not fixture units, and a 2 in downspout serving 500 sq ft of roof has nothing to do with the 2 in DFU branch above.

What moves the required size

  • Fixture count and type: each added toilet contributes 3 DFU, each lavatory 1
  • Code edition: capacity tables differ slightly between the IPC and UPC
  • Slope: less than ¼ in per ft can force a size increase
  • Future additions: a 40 DFU house at 3 in has only 2 DFU of headroom before 4 in is required

Common DFU values to add up

  • Tank-type water closet: 3 DFU
  • Lavatory: 1 DFU
  • Bathtub or shower: 2 DFU
  • Kitchen sink: 2 DFU, or 3 with a dishwasher and disposal
  • Laundry standpipe: 2 DFU; clothes washer: 2 DFU
  • Floor drain: 2 DFU; utility sink: 2 DFU

Oversizing hurts as much as undersizing

Undersized drains clog and surge; but an oversized horizontal drain is its own failure mode. A 4 in pipe carrying only a trickle of wastewater flows shallow and slow, so solids settle out and the pipe self-clogs — the reason codes cap how much DFU you can drop below and why a 1½ in sink branch is deliberately small. Pick the smallest size the table allows, not the largest that fits the trench.

When a plumber or inspector must decide

This calculator handles branch and building-drain sizing for typical residential loads. You need a licensed plumber or a code official when the project crosses into multi-unit buildings, when an existing sewer lateral is being reused at a higher load, or when a plan review requires stamped calculations. Permit inspections hinge on the local code edition — the difference between a 2 in and 3 in branch is cheap to fix on paper and expensive to fix after the slab is poured.

Frequently asked questions

What size drain pipe do I need for 20 fixture units?

A 3 inch drain. Fixture-unit tables allow up to 42 DFU in a 3 in pipe at standard slope, so 20 DFU fits with room to spare.

What is a fixture unit (DFU)?

A load value plumbing codes assign to each fixture, roughly proportional to how much water it discharges and how fast. A lavatory is 1 DFU, a bathtub 2, a tank toilet 3.

What size drain for a toilet?

Code minimum for a water closet is 3 inches. Every toilet line is 3 in regardless of the DFU math, and most bathroom branch drains are 3 in as well.

How many fixture units can a 2 inch drain handle?

About 14 DFU at standard slope — enough for a shower, a tub branch, or a small bathroom group’s branch line, but not a toilet.

What size drain does a whole house need?

Most single-family homes fit a 3 in building drain (up to 42 DFU); larger homes and multi-bath houses go to 4 in, which carries up to 140 DFU.

Does slope affect drain pipe size?

Yes. The capacity table assumes ¼ in of drop per foot for pipes up to 3 in. Flatter runs lose capacity and may need the next size up; vertical stacks can carry more than horizontal runs.

Is a bigger drain pipe always better?

No. An oversized horizontal drain flows too shallow to carry solids, so it clogs from sediment buildup. Codes require the smallest pipe that covers the load, not the largest that fits.

How many DFU is a kitchen sink?

A single kitchen sink is 2 DFU, or 3 DFU with a dishwasher and disposal on the same branch — still comfortably inside a 1½ in pipe’s 7 DFU capacity.

Do I need a permit to change drain pipe size?

Drain work inside the plumbing system normally requires a permit and inspection, and the inspector applies your local code edition, which may differ from the general tables used here.

Method and sources

Calculation basis

Cost ranges reflect 2026 U.S. national averages for materials and labor; regional pricing varies, so use results as a planning baseline and confirm with local quotes.

Last updated: November 17, 2026
Formula & data sources
  • Drain pipe sized by total drainage fixture units against code capacity tables.

Cite this page

Reference formats
APA 7CalcSeed. (2026, November 17). Drain Pipe Size Calculator. https://calcseed.com/c/home/drain-pipe-size-calculator/
MLA 9"Drain Pipe Size Calculator." CalcSeed, 17 Nov. 2026, calcseed.com/c/home/drain-pipe-size-calculator/.
ChicagoCalcSeed. "Drain Pipe Size Calculator." Last modified November 17, 2026. https://calcseed.com/c/home/drain-pipe-size-calculator/

Related calculators

More Home & DIY calculators