Profession Calculators
Plumbing & HVAC TradesPopular

Pipe Size & Flow Rate Calculator

Determine recommended pipe diameter using the Hazen-Williams equation based on flow rate, pipe length, and C-factor. Calculate head loss, pressure drop, and flow velocity with alternative pipe size comparisons.

Share:
Calculation Mode
Flow Parameters

Gallons per minute

Total length of pipe run

Pipe Material & Constraints

Pipe roughness coefficient

Typical limit: 5-10 ft/s to avoid noise/erosion

Results

Enter flow parameters and constraints, then click calculate to determine optimal pipe sizing using the Hazen-Williams equation.

Embed This Calculator on Your Website

Add this free calculator to your blog, website, or CMS with a simple copy-paste embed code.

Introduction

Undersized supply piping is one of the most common -- and most expensive -- plumbing mistakes in residential and light commercial construction. A 1/2-inch supply line feeding three bathrooms on a second floor will produce weak pressure at every fixture when demand is simultaneous. Replacing incorrectly sized pipe after walls are closed costs $3,000 to $8,000 in rework. The correct approach is to size pipe before installation using published flow rate demand tables and the Hazen-Williams formula -- the standard method endorsed by the International Plumbing Code (IPC) and the Uniform Plumbing Code (UPC). Most residential plumbers learn sizing rules of thumb on the job, but rules of thumb fail at the edges: long runs, multiple fixtures, high-demand appliances, and low-pressure supply systems all require explicit calculation. This calculator applies Hazen-Williams to determine minimum pipe diameter for a given flow rate, pipe material, and system pressure.

What This Calculator Does

This calculator determines the minimum pipe diameter required to deliver a target flow rate at acceptable velocity and pressure drop based on target flow rate (GPM), pipe material (copper, CPVC, PEX, galvanized, Schedule 40 PVC), pipe length (run length including equivalent lengths for fittings), available supply pressure (PSI), and minimum delivery pressure required at the fixture. It also calculates velocity at the selected diameter and flags high-velocity conditions that cause noise and accelerated wear.

The Formula

Flow Velocity (ft/s) = Flow Rate (GPM) x 0.4085 / (Pipe Diameter inches)^2 | Hazen-Williams: V = 1.318 x C x R^0.63 x S^0.54 | Pressure Drop (PSI/100ft) = 4.52 x Q^1.85 / (C^1.85 x d^4.87)

The Hazen-Williams equation calculates head loss (pressure drop) in a pipe based on flow rate (Q in GPM), the Hazen-Williams roughness coefficient (C -- a material property: copper 130, PEX 150, CPVC 130, galvanized 120, Schedule 40 PVC 150), pipe diameter (d in inches), and pipe length. Velocity is calculated separately: at the selected flow rate and diameter, velocity should not exceed 8 ft/s for cold water and 5 ft/s for hot water to prevent pipe noise, water hammer, and accelerated wear. Maximum recommended velocity for residential systems is 5-8 ft/s per IPC guidelines.

Step-by-Step Example

1

Determine required flow rate at the fixture

Fixture unit method: a bathroom group (toilet, lavatory, shower) demands 4-6 fixture units. At 6 fixture units, the IPC demand table yields approximately 3.0-3.5 GPM. A kitchen faucet is 2 fixture units (1.5 GPM). Clothes washer: 4 fixture units (2.5 GPM). Total demand for this bathroom group: use 3.2 GPM as the design flow rate.

2

Calculate velocity in trial pipe size

Trial: 1/2-inch nominal copper (0.625 inch actual ID). Velocity = 3.2 GPM x 0.4085 / 0.625^2 = 1.307 / 0.390625 = 3.35 ft/s. This is within the acceptable 5 ft/s maximum for hot water and 8 ft/s for cold water. 1/2-inch is acceptable for this fixture's individual branch.

3

Calculate pressure drop over the run

Run length: 45 feet of copper pipe, includes 4 elbows (equivalent length ~8 feet each = 32 feet), 2 tees (10 feet each = 20 feet). Total equivalent length: 45 + 32 + 20 = 97 feet. Pressure drop: 4.52 x 3.2^1.85 / (130^1.85 x 0.625^4.87) = [see calculator output]. Supply pressure: 60 PSI. Pressure drop over 97 ft: approximately 6.2 PSI. Delivery pressure: 60 - 6.2 = 53.8 PSI. Minimum fixture delivery: 20 PSI required. Adequate.

4

Verify main distribution pipe sizing

Main distribution serving 3 bathrooms plus kitchen simultaneously: total demand 14 GPM. Main: 3/4-inch copper (0.811 inch ID). Velocity: 14 x 0.4085 / 0.811^2 = 5.72 / 0.658 = 8.7 ft/s. Exceeds 8 ft/s maximum. Upsize to 1-inch nominal (1.025 inch ID): velocity = 14 x 0.4085 / 1.025^2 = 5.72 / 1.051 = 5.44 ft/s. Acceptable. Use 1-inch main.

Real-World Use Cases

New Home Rough-In Supply Pipe Sizing

A plumber sizing supply for a 3-bedroom, 2.5-bath home works through the fixture unit calculation. Total fixture units: 35. Design flow rate from IPC Table 604.1: 18 GPM for the main service. At 60 PSI supply with 1-inch main line (80 feet total equivalent length), pressure drop is 9.8 PSI. Delivery pressure: 50.2 PSI -- well above minimum. Branch lines: 3/4-inch for bathroom groups, 1/2-inch for individual fixtures.

Low Pressure Complaint Diagnosis

A homeowner complains of low pressure at the second-floor master bath. The plumber calculates the actual pressure drop from the street: 55 PSI supply, 65 feet of 1/2-inch galvanized pipe (C=120, highly degraded), 4 fixture units demand. Pressure drop: 18.4 PSI. Delivery: 36.6 PSI -- marginal. But galvanized pipe has scale buildup reducing effective ID from 0.622 to an estimated 0.480 inch. Recalculated drop: 38 PSI. Delivery: 17 PSI -- below the 20 PSI minimum. Diagnosis confirmed: pipe replacement with 3/4-inch copper resolves the issue.

Commercial Restroom Expansion

A plumber adds a 4-fixture commercial restroom to an office building's existing supply system. New demand: 8 GPM. Existing 3/4-inch branch at 45 PSI (after pressure regulator). Run: 55 feet to new restroom. Hazen-Williams for 3/4-inch copper: pressure drop 12.1 PSI. Delivery: 32.9 PSI. Minimum required for commercial fixtures: 25 PSI. Adequate. 3/4-inch branch confirmed.

Comparison

Pipe MaterialHazen-Williams CMax Velocity (cold)Typical UseNotes
Type L Copper1308 ft/sResidential, commercial water supplyIndustry standard for supply
PEX-A1508 ft/sResidential, radiant, manifold systemsMore flexible, lower C-factor drag
CPVC1305-8 ft/sHot/cold residential supplyAvoid over 100 PSI systems
Schedule 40 PVC1505 ft/sCold water only, irrigationNot for hot water
Galvanized Steel120 (new)8 ft/sLegacy systemsC drops to 80-100 with age/scale
Stainless Steel1408 ft/sCommercial, food serviceCorrosion resistant

Common Mistakes to Avoid

  • Using inside diameter instead of nominal diameter (or vice versa) in the Hazen-Williams formula. Nominal pipe size (NPS) is not the actual inside diameter. 1/2-inch nominal copper Type L has an actual ID of 0.545 inches. Using 0.5 instead of 0.545 in the formula produces a pressure drop calculation that is 18% too high -- potentially triggering an unnecessary pipe size upgrade.

  • Ignoring equivalent lengths for fittings and valves. A system with 10 elbows adds 40 to 80 feet of equivalent pipe length to the pressure drop calculation. Plumbers who calculate pressure drop on straight pipe length only consistently underestimate pressure losses on complex runs with multiple direction changes, tees, and valves.

  • Sizing for average demand rather than simultaneous demand. A plumbing system sized for average daily usage will not perform when multiple fixtures run at the same time -- the scenario that always occurs in residential morning routines and commercial restroom breaks. Size for simultaneous demand using IPC fixture unit tables, not for average flow.

Frequently Asked Questions

Accuracy and Disclaimer

Pipe size and flow rate calculations are based on Hazen-Williams friction loss equations and IPC/UPC fixture unit demand tables current as of 2026. Actual system performance depends on supply pressure, pipe condition, installation quality, and local code requirements. Always verify pipe sizing with local plumbing codes and submit designs for permit review where required. This calculator is for estimation and planning purposes only and does not substitute for a licensed plumbing engineer's design review on commercial projects.

Conclusion

Correct pipe sizing prevents the rework that erodes plumbing job margins. For contractors building comprehensive job quotes that include pipe sizing decisions, the Plumbing Job Pricing Calculator helps calculate the full cost of a piping installation including material, labor, and overhead. When pipe sizing is part of a drain system, the Drain Slope & Grade Calculator provides the companion calculation for drain line sizing and slope requirements.