The formula
Flow Q = velocity × area, where area = πD²/4
Reynolds number Re = ρVD ÷ μ (laminar below 2,300, turbulent above 4,000)
Friction factor: f = 64/Re (laminar); f = 0.25 ÷ [log₁₀(ε/3.7D + 5.74/Re^0.9)]² (Swamee–Jain)
Darcy–Weisbach: ΔP = f × (L/D) × ρV²/2; head loss h = ΔP ÷ ρg
Worked example
- 20 US gpm of 20 °C water through 100 ft of 1.25 in (31.75 mm) PVC:
- Q = 0.00126 m³/s; area = 0.000792 m², so V = 1.59 m/s (5.23 ft/s).
- Re = 998 × 1.59 × 0.03175 ÷ 0.001 = 50,400 (turbulent); f = 0.0209.
- ΔP = 0.0209 × (30.48 ÷ 0.03175) × 998 × 1.59² ÷ 2 = 25.5 kPa = 3.69 psi, or 8.5 ft of head.
Flow rate, velocity and pipe size
The volume of fluid passing through a pipe each second equals the average velocity times the pipe's cross-sectional area. For a given flow, halving the diameter quarters the area and so quadruples the velocity. Designers usually limit water velocity to about 1.5–2.5 m/s (5–8 ft/s) in building services: faster flow causes noise, erosion, water hammer and high pressure losses, while very slow flow lets sediment settle. Enter either the flow rate or the velocity and the calculator gives the other, using the pipe's inside diameter.
Reynolds number and flow regime
The Reynolds number compares inertial forces to viscous forces in a fluid. Below about 2,300, flow is laminar: smooth, orderly layers sliding past each other. Above about 4,000 it's turbulent, with chaotic eddies that mix the fluid and greatly increase friction. Most water flow in plumbing, irrigation and industrial piping is turbulent, while thick oils and very slow flows can be laminar. Between the two is a transitional zone, where friction is hard to predict.
The Darcy–Weisbach equation
Darcy–Weisbach is the most widely applicable equation for pressure loss in pipes. It works for any fluid, temperature and flow regime, unlike the Hazen–Williams formula, which is only valid for water at ordinary temperatures. Pressure loss is proportional to the pipe length, the friction factor and the square of the velocity, and inversely proportional to the diameter. So doubling the flow in the same pipe roughly quadruples the pressure drop. Our pipe friction loss calculator uses Hazen–Williams for plumbing and pump head.
The friction factor and pipe roughness
In turbulent flow, the friction factor depends on both the Reynolds number and the pipe's relative roughness, the height of surface irregularities compared with the diameter. The Colebrook equation is the accepted standard but has to be solved iteratively, so the calculator uses the Swamee–Jain approximation, which is within about 1% of it. Plastic and copper are very smooth (around 0.0015 mm), commercial steel about 0.045 mm, and old cast iron or concrete much rougher, which increases losses, particularly in small pipes.
Temperature and fluid type
Viscosity changes strongly with temperature. Water at 60 °C has less than half the viscosity of water at 20 °C, giving a higher Reynolds number and slightly lower friction. Oils are tens to hundreds of times more viscous than water, so they often flow in the laminar regime. Air is much less dense but its pressure drops can still be significant in ducts; for HVAC ductwork, use our duct size calculator. The calculator's fluid options cover the most common cases.
Units and conversions
One US gallon per minute is 3.785 L/min, or 0.227 m³/h; one psi is 6.895 kPa and about 2.31 ft of water head. A metre of water head is 9.81 kPa. The calculator converts automatically between the US and metric results so you can compare them with pump curves and manufacturer data in either system.
Fittings, valves and total system loss
Elbows, tees, valves and meters add losses on top of straight-pipe friction. Engineers handle these with equivalent lengths or K-factors: for example, a standard 90° elbow adds roughly 30 pipe diameters of equivalent length. Add the equivalent lengths of fittings to the pipe length for a better estimate. For pump selection, add the static lift (height difference) and any required outlet pressure to the friction head. Our pool volume calculator and sump pump calculator cover common pumping jobs.