Drain and vent sizing starts with a single number: the total drainage fixture units on the line. Each fixture carries a DFU value from the code table; multiply by how many you have and add them up.
Two toilets, two lavatories, a shower, and a kitchen sink total 12 DFU — the figure you carry into the drain-size table.
The example
A small bathroom group plus a kitchen sink, each fixture with its DFU value from the code table.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Fixture | Count | DFU each | Subtotal |
| 2 | Toilet | 2 | 3 | 6 |
| 3 | Lavatory | 2 | 1 | 2 |
| 4 | Shower | 1 | 2 | 2 |
| 5 | Kitchen sink | 1 | 2 | 2 |
| 6 | Total DFU | 12 |
The formula
Each subtotal is a count times a DFU value; SUM adds the column into the line total:
How it works
Two layers of arithmetic:
=B2*C2in each row multiplies the fixture count by its DFU value — two toilets at 3 DFU is 6.SUM(D2:D5)totals those subtotals into the drainage fixture units for the whole line.- That total is what you carry into the code's drain-size table to pick the pipe diameter.
- Keep each fixture on its own row so adding a fixture is a new row, not a formula edit.
The DFU values come from your plumbing code's fixture table and vary a little by code and fixture type. Put them in the DFU column so a code update is a column edit, not a rewrite.
Try it: interactive demo
Enter counts for a simple bathroom group and kitchen sink.
Variations
Weighted total with SUMPRODUCT
Multiply counts by DFU values in one step across the whole list.
Compare to a branch limit
Flag when the line exceeds what its pipe size can carry.
Pitfalls & errors
DFU values are not the same as fixture count — a toilet is one fixture but three DFU. Multiply by the code value, never just count heads.
Codes differ. The IPC and the UPC assign slightly different DFU values to the same fixture, so use the table for the code your jurisdiction has adopted.
Practice workbook
Frequently asked questions
What is a drainage fixture unit?
Do I use DFU for water supply too?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class