Sizing water supply pipe is a balance: too small and velocity climbs until the pipe erodes and bangs, too large and you waste material and let the water go stale. This calculator computes the flow velocity and the Hazen-Williams friction loss for a given flow rate, pipe size, and material so you can keep a run inside the sensible 4 to 8 ft/s window.
How it works
Velocity comes straight from continuity — flow divided by cross-sectional area. Friction loss uses the Hazen-Williams equation, the workhorse of plumbing hydraulics for water at normal temperatures:
V (ft/s) = 0.4085 × GPM / d^2 (d = inside diameter, inches)
S (ft/ft) = 4.52 × Q^1.852 / (C^1.852 × d^4.8704) (Q in GPM, d in inches)
psi/100ft = S × 100 × 0.4331
C is the material roughness coefficient: about 150 for PVC and CPVC, 140 for new
copper, and 100 to 130 for steel depending on age. A higher inside diameter or a
higher C both cut the friction loss sharply because of the large exponents.
Tips and example
Take 10 GPM through 3/4 inch type-L copper (inside diameter about 0.785 in,
C = 140). Velocity works out near 6.8 ft/s — inside range but on the high side —
with roughly 9 psi per 100 ft of friction loss. Step up to 1 inch copper and
velocity falls to about 3.7 ft/s with under 3 psi per 100 ft. Remember this is
straight-pipe loss only: add equivalent length for every fitting and 0.433 psi per
vertical foot before judging whether the farthest fixture still has enough pressure.