Drainage fixture unit calculator

Adds up drainage fixture units and finds the minimum size of every horizontal branch, stack, building drain and building sewer in a layout, from the fixture unit tables of the 2024 International Plumbing Code (IPC) or the 2024 Uniform Plumbing Code (UPC). Every rule that sets a size is named. It runs in your browser. Nothing you enter is sent anywhere.

1. Code

Code and occupancy

2. Pipe sections

Add one section for each run of pipe that you want a size for: a horizontal branch, a stack, the building drain or the building sewer. Put the fixtures on the section their fixture drains connect to, and say which section each one discharges into. A section carries its own fixtures plus everything that discharges into it. A branch that repeats on every floor can be entered once with the number of copies.

Result

What this tool does not do

  • Vents and vent stacks, trap arm lengths, cleanouts, fittings and changes of direction.
  • Combination waste and vent systems, wet vents, circuit vents and single stack systems, which have their own sizing rules.
  • Pipe larger than 6 in. Building sewers 8 in. and larger have maximum and minimum loadings per slope under the UPC (Table 717.1).
  • Stack offsets in buildings of five stories or more (IPC Section 711), and stack reduction toward the top.
  • Indirect waste receptors, grease and oil interceptors, sumps, ejectors and pumps beyond converting their flow to fixture units, septic tank sizing, and storm or combined drainage.
  • UPC Appendix C and any appendix, the International Residential Code, and editions other than 2024. State and local amendments.
  • Under the UPC, note 7 of Table 703.2 (up to 8 public lavatories on a 1-1/2 in. vertical branch or horizontal sanitary branch at 1/4 in. per ft) is applied only to the Lavatory row and only to a horizontal branch that drains to a stack, not to lavatories in sets, to a stack, or to the building drain.

The tables read, the rules applied and the sources are on the methodology page. Drainage sources were last checked on October 4, 2026.