Skip to content
All Calculators

🔧Plumbing Calculator PRO

WSFU per IPC · Drain & vent sizing · Water heater · Material breakdown

Advertisement
Ad space — activates after AdSense approval

Pipe Schematic — updates as you type

Supply and drain runs. Fixture units size the pipes; length and fittings drive material cost.

WSFU -> pipe size per IPC

1 Rooms & Fixtures

2WSFU Summary (IPC Table E103.3)

Fixture Cold WSFU Hot WSFU Total Qty DFU
Totals

3 Supply Pipe Sizing

Main Supply Line
Branch Lines

4 Drain & Vent Sizing

Main Drain Size
Vent Stack Size
Drain Slope Verification
Minimum ¼" per foot (2% grade) — IPC Section 704.1

5 Water Heater Sizing

Tank Size
BTU/hr
Recovery Rate
First Hour

6 Pipe Lengths & Insulation

Pipe Insulation Recommendation

7 Material Breakdown

Category Item Qty / Length Unit Price Subtotal

8 Pricing & Labour

Labour

Results

Supply System

Total WSFU
Main Supply Size
Branch Size
Total Cold Pipe
Total Hot Pipe
Water Load
Water Heater
BTU Required

Drain System

Total DFU
Drain Size
Vent Size
Total Drain Pipe

Fixtures

Total Fixtures
Rooms

Cost Breakdown

Supply Pipes
Drain Pipes
Fittings
Insulation
Hangers
Materials
Labour
Grand Total

⚠️ Pre-Export Checklist

  • All rooms and fixtures counted correctly
  • Pipe lengths measured on-site
  • Local plumbing code verified (IPC / UPC)
  • Water pressure tested at source
  • Drain slope confirmed (¼" per foot)
  • Water heater type and capacity selected
  • Insulation requirements reviewed
  • Material prices confirmed with supplier

Plumbing Sizing Reference Guide

📐 WSFU Formulas & IPC Reference ▼

WSFU Values (IPC Table E103.3)

Cold WSFU — Bathroom group (1.0), Kitchen sink (1.0), Clothes washer (2.0), Hose bib (2.5)

Hot WSFU — Kitchen sink (1.0), Clothes washer (1.0), Dishwasher (1.0)

DFU — Toilet (3), Sink (2), Shower (2), Bathtub (3), Washer (3), Dishwasher (2), Hose bib (1)

Main Supply Sizing Formula

Supply size = f(total WSFU, supply pressure)

At 45 psi: ≤8 WSFU = ¾", 9–20 WSFU = 1", 21–48 WSFU = 1¼", 49–135 WSFU = 1½"

Drain Pipe Sizing (IPC Table 709.1)

Drain size = f(total DFU)

≤3 DFU = 2", 4–36 DFU = 3", 37–216 DFU = 4"

Vent Sizing (IPC Table 916.1)

Vent pipe must be ≥ ½ the drain size or 1½" minimum. Most residential vents: 2"–3"

🔥 Water Heater Sizing Worked Example ▼

Example: 2-bathroom house

Fixtures: 2 toilets, 3 sinks, 2 showers, 1 tub, 1 washer, 1 dishwasher

  • Peak demand = 3 showers × 2.5 GPM + 1 sink × 2 GPM = 9.5 GPM simultaneous
  • Tank Size = (showers × 20 gal) + (sinks × 4 gal) + (washer × 15 gal) = 71 gal → 80 gallon tank
  • BTU = 80 gal × 8.33 lb/gal × (120°F − 50°F) × 1.2 safety ÷ 1 hr = 56,000 BTU/hr
  • Recovery rate = 56,000 ÷ (8.33 × 70°F rise × 1 hr) = 96 GPH

Tankless Alternative

For 3 simultaneous fixtures at 7.5 GPM with 70°F rise:

BTU = 7.5 × 8.33 × 70 × 1.2 = 5,248 BTU/min →~200,000 BTU tankless unit

❌ Common Mistakes to Avoid ▼
  • Ignoring peak demand — sizing only for normal use fails when guests run multiple fixtures
  • Wrong drain slope — too steep causes solids to settle; too flat causes standing water. Always ¼" per foot for pipes ≤3"
  • Omitting vent sizing — undersized vents cause gurgling and sewer gas entry
  • No shutoff valves — every fixture needs a local shutoff for maintenance
  • Pipe material mismatch — never mix copper and galvanized (dielectric corrosion)
  • Neglecting expansion tanks — required on closed-loop systems with water heaters
  • Not insulating hot pipes — wastes energy and increases wait time for hot water
💡 Pro Tips ▼
  • PEX is faster, cheaper, and more flexible for residential supply lines; copper is preferred for commercial
  • Run pipes through framing before drywall to minimize visible pipe runs
  • Use manifold systems (home run) with PEX for easier future maintenance
  • Support horizontal runs every 4–6 ft for supply, every 4 ft for drain (per code)
  • Insulate all hot water pipes with R-3 foam — saves 3–5% on energy bills
  • Label all shutoff valves during install — future you will be grateful
  • Test with pressure gauge before closing walls — 60 psi for 15 min, max 1 psi drop
  • Photograph rough-ins before closing walls for insurance and future reference
🏗️

Plumbing — 3D Preview

Drag to rotate — Scroll to zoom

Supply: — @ psi
Drain: —
Fixtures:
WSFU:· DFU:
Heater:
Legend
Hot Supply
Cold Supply
Drain / Vent
Water Heater
Fixtures

Client & Quote (prints on PDF & Excel)

Adjustments (applies to exports)

Contingency is added as a separate line on the exported cost summary. Waste % is printed as an advisory reminder.

Project notes (prints on PDF & Excel)

Result compare (A/B)

Item Pinned Current Change

Saved rates auto-apply from your Price Library. Advanced details stay in your browser — nothing is uploaded except inside your own PDF/Excel exports.

Advertisement
Ad space — activates after AdSense approval

Getting plumbing right the first time saves you from water damage, code violations, and expensive callbacks. Our free online plumbing calculator helps you size supply pipes, calculate drain-waste-vent requirements, estimate fixture counts, and budget for materials on residential plumbing projects.

Whether you are roughing-in a new bathroom, running water lines to a kitchen, or sizing a main supply line for a house addition, this tool gives you fast, reliable numbers. The calculator converts plumbing fixture units (FU) to flow rate in gallons per minute, then matches that flow to the correct pipe diameter using standard plumbing code tables. Professional plumbers use this tool to generate quick material takeoffs during the bidding phase.

📖 Cara Menggunakan Kalkulator Pipa Ini

1

Step 1: Count Fixtures

Enter the number of each fixture type: toilets, lavatories, sinks, showers, bathtubs, washing machines, and dishwashers.

2

Step 2: Select Pipe Material

Choose copper, PEX, CPVC, or galvanized steel. Each material has different flow characteristics.

3

Step 3: Enter Supply Pressure

Typical residential water pressure is 40 to 60 psi. Enter your actual pressure or use 50 psi as a default.

4

Step 4: Specify Run Length

Enter the distance from the main water supply to the farthest fixture.

5

Step 5: Enter Material Costs

Input per-foot pricing for pipe, per-unit costs for fittings, valves, and miscellaneous supplies.

6

Step 6: Review Results

The output shows total fixture units, required flow rate in GPM, recommended pipe sizes, and estimated material cost.

📐 Rumus Unit Fixture

Plumbing pipe sizing uses the relationship between fixture units (FU) and flow rate (GPM). Each fixture type has a standard FU value: a toilet is 3 FU, a lavatory is 2 FU, a shower is 3 FU, and a bathtub is 4 FU. The total fixture unit count for a system is the sum of all individual fixture values.

Fixture units are then converted to flow rate using plumbing code tables. For example, 8 total fixture units corresponds to approximately 10 GPM. Pipe sizing tables then match that flow rate to the minimum pipe diameter. At 10 GPM, a 3/4-inch copper Type L pipe provides adequate flow with acceptable friction loss.

For supply piping, the Hazen-Williams equation determines friction loss: loss is proportional to the flow rate raised to the 1.85 power and inversely proportional to the pipe diameter raised to the 4.87 power. Daily water demand is estimated at 80 to 100 gallons per person per day for residential sizing.

⚠️ Kesalahan Umum yang Dihindari

✕

Undersizing the main supply line

✓ The main line must handle peak demand from all fixtures running simultaneously. A 3/4-inch main is the minimum for most homes.

✕

Not accounting for elevation changes

✓ Every 10 feet of elevation change loses about 4.3 psi. A second-story bathroom needs adequate pressure from the main.

✕

Using the wrong pipe slope on drains

✓ Drain pipes must slope 1/4 inch per foot for pipes 3 inches and smaller. Too little slope causes clogs.

✕

Forgetting the water heater recovery rate

✓ A 50-gallon tank water heater recovers in about 1 hour. Consider a larger tank or tankless system for high demand.

💡 Tips Profesional

✓

Install shut-off valves at every fixture. This makes future repairs possible without shutting water to the entire house.

✓

Use PEX for most residential rough-in work. It is faster to install and 40 percent cheaper than copper.

✓

Run the hot water line on the left and cold on the right at every fixture.

✓

Slope all drain pipes 1/4 inch per foot toward the main stack.

✓

Install cleanouts at every change of direction and at the base of every stack.

❓ Pertanyaan Umum

A bathroom with a toilet, lavatory, and shower uses about 8 fixture units, requiring a minimum 3/4-inch supply line.

A full bathroom has a toilet (3 FU), lavatory (2 FU), and shower (3 to 4 FU), totaling 8 to 9 fixture units.

Copper is rigid and more expensive. PEX is flexible, easier to install, cheaper, and more resistant to freeze damage.

The average family of four uses 300 to 400 gallons per day, based on 80 to 100 gallons per person.

🏗️ Aplikasi Nyata

Plumbing material estimation is one of the trickiest parts of construction because pipe sizing, fitting counts, and fixture connections all depend on the specific layout. For a typical bathroom rough-in, the material cost ranges from 500 to 1,500 dollars depending on pipe material and fixture grade.

A full kitchen plumbing rough-in with sink, dishwasher, garbage disposal, and ice maker line typically costs 800 to 2,000 dollars in materials. For whole-house repiping projects, material costs can reach 5,000 to 15,000 dollars.

Our free plumbing calculator is the most accurate online tool for estimating pipe sizing, fixture counts, and plumbing material costs. Get accurate pipe sizes and material quantities before starting your plumbing work.

✅Method, Sources & Review

Maintained by theBuildingCalc methods desk· Last reviewedSeptember 23, 2026. This calculator implements the standards and references below; every figure can be rechecked against the formulas and worked example on this page.

IPC water-supply sizing Hunter's WSFU method

Results are estimates, not engineering advice. Verify against local codes and licensed professionals for structural, electrical, and gas work. See ourTerms. Spotted an error? Report it— corrections ship with the next review.