Plumbing contractors estimating commercial tenant fit-outs or whole-home repiping projects must calculate precise water service supply line and distribution branch pipe sizing to ensure adequate dynamic water pressure at all fixtures simultaneously. Sizing pipes too small causes severe velocity noise and pressure drop when multiple fixtures run; sizing pipes too large significantly inflates copper or PEX-a material costs and water heater lag times.

Under the IPC (International Plumbing Code) Appendix E and UPC (Uniform Plumbing Code) Chapter 6, plumbing pipe sizing relies on the **Water Supply Fixture Unit (WSFU)** method. Combining AI vision models for automated architectural plumbing takeoff with deterministic WSFU demand load curves allows estimators to produce code-compliant supply piping schedules in minutes.

The engineering math: Converting WSFU to Peak Flow Demand (GPM)

Plumbing fixtures do not run continuously. The WSFU system assigns a probabilistic load weighting to each fixture type based on frequency of use and flow rate.

1. Standard IPC Water Supply Fixture Unit values (Private Occupancy)

  • Lavatory / Bathroom Faucet: 1.0 WSFU (Cold 0.75 / Hot 0.75)
  • Water Closet (Tank-type gravity toilet): 2.5 WSFU (Cold only)
  • Shower Head (Standard 2.5 GPM): 2.0 WSFU (Cold 1.5 / Hot 1.5)
  • Bathtub / Shower combo: 4.0 WSFU (Cold 3.0 / Hot 3.0)
  • Kitchen Sink: 1.5 WSFU (Cold 1.0 / Hot 1.0)
  • Dishwasher: 1.5 WSFU (Hot only)
  • Clothes Washer: 4.0 WSFU (Cold 3.0 / Hot 3.0)
  • Hose Bibb / Sillcock (First outlet): 2.5 WSFU (Cold only)

2. Hunter's Curve conversion to Gallons Per Minute (GPM)

Total WSFUs are converted to instantaneous peak demand design flow ($Q$) using modified Hunter's Curve algorithms:

  • **Predominantly Flush Tank Systems:**
  • 10 WSFU ≈ 8.0 GPM
  • 20 WSFU ≈ 14.0 GPM
  • 35 WSFU ≈ 22.5 GPM
  • 50 WSFU ≈ 29.0 GPM
  • 100 WSFU ≈ 43.5 GPM

3. Maximum allowable friction pressure loss formula

`Allowable Pressure Loss per 100 ft = [(Street Static Pressure - Minimum Fixture Pressure - Meter Loss - Elevation Loss) ÷ Equivalent Developed Pipe Length] × 100`

Worked estimating example: 3-Bathroom custom home repipe

Calculate the required main water service line diameter and meter size for a 3,000 sq ft custom home with 60 PSI municipal street pressure and an equivalent pipe run of 120 feet (including fitting friction allowances):

1. **Step 1: Calculate total whole-house WSFU inventory**

  • 3× Toilets (Tank): `3 × 2.5 = 7.5 WSFU`
  • 4× Bathroom Lavatories: `4 × 1.0 = 4.0 WSFU`
  • 2× Walk-in Showers: `2 × 2.0 = 4.0 WSFU`
  • 1× Soaking Tub: `1 × 4.0 = 4.0 WSFU`
  • 1× Kitchen Sink + Dishwasher: `1.5 + 1.5 = 3.0 WSFU`
  • 1× Laundry Washer: `1 × 4.0 = 4.0 WSFU`
  • 2× Hose Bibbs: `2.5 + 1.0 (subsequent) = 3.5 WSFU`
  • **Total Building WSFU Load:** `7.5 + 4.0 + 4.0 + 4.0 + 3.0 + 4.0 + 3.5 = 30.0 WSFU`.

2. **Step 2: Convert to Peak Design Flow Rate**

  • At 30.0 WSFU (Flush Tank), Hunter's Curve design flow = **20.0 GPM**.

3. **Step 3: Pipe sizing selection by velocity and pressure loss**

  • Per IPC 604.4, maximum water velocity in copper or PEX water lines must not exceed **8.0 feet per second (fps) for cold water** and **5.0 fps for hot water** to prevent erosion corrosion and water hammer.
  • At 20.0 GPM:
  • 3/4" Type L Copper: Velocity = `8.8 fps` (Exceeds maximum velocity limit; excessive head loss of 14.2 PSI/100 ft).
  • 1" Type L Copper (or 1" PEX-a): Velocity = `5.3 fps` (Within safe code limits; head loss = 4.1 PSI/100 ft).
  • **Conclusion:** Specify a **1-inch main water service line** with a 3/4-inch heavy-duty or 1-inch utility water meter.

AI + Estimator automated workflow SOP

1. **Plan Upload & Takeoff:** Estimator uploads MEP (Mechanical/Electrical/Plumbing) PDF drawings to the AI vision tool. 2. **Automated Fixture Count:** AI parses architectural floor plans, identifies fixture schedule tags, and tallies WSFU counts grouped by bathroom group and wet wall riser. 3. **Hydraulic Calculation Engine:** The calculation script matches total WSFU against local municipal water pressure tables and generates a pipe diameter schedule (Main: 1", Water Heater Feed: 3/4", Fixture Drops: 1/2"). 4. **BOM & Purchase Order Export:** Outputs an exact bill of materials with linear PEX/copper footages, tee/elbow fitting counts, and pressure reducing valves (PRVs).

Plumbing estimating verification checklist

  • Check municipal static pressure at the curb stop with a calibrated pressure gauge.
  • If street pressure exceeds 80 PSI, specify a code-mandated Pressure Reducing Valve (PRV).
  • Add 50% developed length factor to linear pipe runs to account for fitting equivalent lengths (elbows, tees, gate valves).
  • Verify hot water recirculation loop return lines are isolated with check valves.