Plumber field & IPC code exam tool
Plumbing Pipe Sizing Calculator (DFU & WSFU)
Sum Drainage Fixture Units (DFU) and Water Supply Fixture Units (WSFU) to size residential building drains, PEX or Type L copper water mains, peak GPM demand and main vent stacks from IPC tables.
1. Enter fixtures served by the drain & supply main
Private residential fixture values from IPC Table 709.1 (DFU) and Table E103.3(2) (WSFU).
Total load: 24 DFU at 1/4 in./ft slope (IPC Table 710.1)
22.1 WSFU → ~15.2 GPM peak demand (flush-tank)
Verify local frost-closure roof terminal rule (IPC 903.2) & developed length
IPC vs. UPC code notes for journeyman exams & rough-ins
- Drain slope: Under IPC Table 704.1, horizontal drainage piping 2-1/2 inches and smaller requires a minimum 1/4 inch per foot (2%) fall; 3-inch to 6-inch pipe requires at least 1/8 inch per foot (1%).
- Water closets on a 3-inch branch: IPC Table 710.1(2) and UPC Table 703.2 limit how many water closets can tie into a 3-inch horizontal branch (often 2 or 3 max depending on state amendments) before stepping up to 4-inch pipe.
- PEX inner diameter: PEX-B with crimp/clamp insert fittings has a smaller inside diameter than Type L copper of the same nominal size, so main trunks often upsize one nominal size to hold velocity under 5 ft/sec on hot lines.
Certifications and gear employers ask for
- Browse plumbing and pipefitting courses on Udemy · Plumbing systems, pipefitting math and mechanical blueprint courses from independent instructors.
- Study for the plumber exam with Mometrix's study guide · Mometrix's study guides for the journeyman and master plumber licensing exams, in print or as an ebook.
- The International Plumbing Code (IPC) book on Amazon · The model plumbing code most states build theirs on, and the book many journeyman plumber exams test from. Check which code and edition your state uses.
- The Uniform Plumbing Code (UPC) book on Amazon · The plumbing code California, Washington, Oregon and a number of other states use instead of the IPC.
Offered to plumbers and plumbing apprentices for what employers' postings ask of them. We may earn a share of what you pay if you buy through these links. It never changes your price, and the sellers have no say in the jobs we list. As an Amazon Associate I earn from qualifying purchases.
Weekly jobs email
Trades openings in your inbox, once a week
Every week we send the latest openings from the employers on the board, each with the hourly rate it lists. It costs nothing, and one click stops it.
Just openings and their pay. Every email has a link that stops it.
Questions about DFU & WSFU pipe sizing
What is a Drainage Fixture Unit (DFU) in plumbing code?
A Drainage Fixture Unit (DFU) measures the probable peak discharge volume a fixture puts into a sanitary drainage system (1 DFU equals roughly 1 cubic foot or 7.48 gallons per minute of intermittent flow). Plumbers sum DFUs across all fixtures on a branch or building drain and look up the minimum pipe diameter in IPC Table 710.1 or UPC Table 703.2.
What is the minimum slope for residential drain pipes under the IPC?
Under IPC Table 704.1, horizontal drainage pipes 2-1/2 inches in diameter and smaller must pitch at least 1/4 inch per foot (2% grade). Pipes 3 inches through 6 inches require at least 1/8 inch per foot (1% grade), though many plumbers run 3-inch branches at 1/4 inch per foot whenever ceiling height allows.
Why does PEX-B often require one size larger pipe than Type L copper?
PEX tubing is measured by outside diameter (CTS) with thicker walls than copper, and crimp/clamp insert fittings restrict the bore further at every elbow and tee. Upsizing a 3/4-inch copper main to 1-inch PEX keeps water velocity below 5 to 8 feet per second and prevents pressure drops when two showers run simultaneously.
Does this calculator replace an engineered commercial or local AHJ review?
No. This tool uses IPC residential private-use tables as a fast rough-in and journeyman-exam study reference. Always check whether your state or city uses the IPC or UPC (Uniform Plumbing Code), apply local amendments, and verify static street pressure and developed length before pulling a permit.