DWV Pipe Size Calculator

This free DWV (drain-waste-vent) pipe size calculator answers the question that comes before "what slope do I need": what diameter pipe does this branch actually require? Every fixture in a house — a toilet, a lavatory, a kitchen sink — carries a Drainage Fixture Unit (DFU) value under the International Plumbing Code, a weighted measure of how much load it puts on the drain. Add up the fixtures on one branch, and IPC Table 710.1(2) sets the minimum branch diameter; the same total against Table 710.1(1) sets the building drain or sewer size. A water closet on the branch floors both at 3 inches, regardless of what the DFU math alone would allow.

Enter your fixture counts and the calculator returns the branch size, the building drain size at code-minimum slope, and — using IPC Section 906.2's half-the-drain-diameter rule — the minimum vent size for that branch. If your vent run is long, it flags the one-size upsize required past 40 feet of developed length. Optionally enter your actual trap-arm distance for a pass/fail against IPC Table 909.1, the code table that limits how far a fixture's trap can sit from its vent before the trap seal risks siphoning dry.

This calculator is scoped to the IPC and to a single horizontal branch and the building drain it feeds — not a multi-story vent stack, which uses a separate table and generally needs a licensed designer. It also does not cover the Uniform Plumbing Code (UPC), which diverges on several fixture values (a clothes washer, for instance, counts differently under each code). DWV rough-in is permitted work nearly everywhere; your inspector and adopted code edition govern the final answer. Free, no signup.

View material estimation guides →

DWV Pipe Size Calculator

Enter your fixtures and get the minimum branch, building drain, and vent pipe sizes straight from IPC Table 709.1 and 710.1 — plus the trap-arm distance check most sizing charts skip. Free, no signup.

Fixtures on this branch

Enter the quantity of each fixture draining into one horizontal branch (e.g. one bathroom, or a kitchen + adjacent powder room).

Vent + trap arm (optional)

Leave blank to size for a typical run — fill these in for a precise check on a long layout.

Vent length over 40 ft requires one nominal pipe size larger (IPC 906.2). Trap arm run is checked against IPC Table 909.1 for your largest trap on this branch.

Plan disposal before you start

Smaller jobs still produce more debris than a few trash bags can hold. Check what's allowed in a dumpster and which disposal option fits the scope.

See disposal options →

Related Calculators

Explore Plumbing: calculators, diagrams & guidesEvery calculator, cross-section diagram, and guide for this trade in one place.

How to Use This Calculator

  1. Enter the quantity of each fixture that drains into a single horizontal branch — typically one bathroom, or a kitchen plus an adjacent powder room.
  2. The calculator sums the Drainage Fixture Unit (DFU) load per IPC Table 709.1 and finds the smallest branch pipe that can carry it, per Table 710.1(2).
  3. It sizes the building drain or sewer the same way against Table 710.1(1), and the vent using the half-the-drain-diameter rule (IPC 906.2).
  4. Optionally enter your vent's developed length (it upsizes one nominal size past 40 ft) and your longest trap-arm run for a pass/fail against IPC Table 909.1.
  5. Click Calculate for the branch, building drain, vent, and trap-arm results, plus a fixture-by-fixture DFU breakdown.

When your load is close to a pipe's capacity ceiling

If your total DFU load lands near the top of what a diameter can carry, size up rather than run at the edge — especially if you expect to add fixtures later (a future bathroom, a wet bar). Going one size larger costs little at rough-in and is expensive to fix after the walls close.

Frequently Asked Questions

What is a Drainage Fixture Unit (DFU)?

A weighted load value the IPC assigns each fixture (Table 709.1) so drains can be sized by combined load, not just fixture count. A lavatory is 1 DFU, a kitchen sink 2, a 1.6-gpf toilet 3 — the weighting reflects how much and how fast each fixture discharges, not its flow rate alone. Add up the DFUs on a branch and match that total against the code's capacity tables to find the minimum pipe size.

What size drain pipe do I need for a bathroom?

A standard full bathroom (1.6-gpf toilet + lavatory + tub/shower) totals 6 DFU, but the toilet alone floors the branch and building drain at 3 inches — well under the 20-DFU capacity a 3-inch horizontal branch carries (IPC Table 710.1(2)). Without a toilet on the branch, a 2-inch pipe (6 DFU capacity) usually covers a lavatory plus tub or shower.

How do I size a vent pipe?

IPC Section 906.2: a vent must be at least half the diameter of the drain it serves, and never smaller than 1-1/4 inch. A 3-inch branch needs at least a 1-1/2-inch vent; a 4-inch branch needs 2 inches. If the vent's developed length exceeds 40 feet, code requires bumping up one full nominal pipe size for the entire run — undersized long vents are a common rough-in failure.

Why does my toilet need a 3 inch drain even with a low DFU count?

Because a water closet's integral trap is never smaller than 3 inches, and any drain carrying it inherits that minimum — a rule that overrides what the DFU capacity table alone would allow (a footnote to IPC Table 710.1(1)). A single toilet only totals 3 or 4 DFU, which a 2-inch pipe's 6-DFU capacity could technically carry, but code still requires 3 inches because of the fixture itself, not the math.

What is a trap arm and why does its length matter?

The trap arm is the horizontal drain section between a fixture's trap and its vent connection. Run it too far and negative pressure in the drain system can siphon the water seal out of the trap, letting sewer gas into the room. IPC Table 909.1 caps this distance by trap size — 6 feet for a 1-1/2-inch trap, 8 feet for 2 inches, 12 feet for 3 inches — with the required slope baked into the table. Water closets are exempt (self-siphoning fixtures).

Does this calculator work for a multi-story bathroom stack?

No — it sizes one horizontal branch and the building drain it feeds, which covers the overwhelming majority of remodel and addition rough-ins. A vertical stack serving fixtures on more than one floor uses a different table (IPC Table 906.1 for the vent) and, past five branch intervals, requires relief venting under Section 908 — that's licensed-designer territory, not a single-branch calculator.

Does this calculator cover the Uniform Plumbing Code (UPC)?

No, by design — the UPC assigns different DFU values to several common fixtures (a residential clothes washer is 3 DFU under the UPC vs. 2 under the IPC, for instance) and uses its own drain-capacity table. Rather than blend unverified UPC numbers into IPC-sourced tables, this calculator sizes strictly to the IPC. In UPC-lineage states (including California, as the CPC), treat these results as a rough estimate and confirm with your inspector.