Darcy Weisbach Calculator
Find pipe friction head loss with the Darcy–Weisbach equation.
Darcy–Weisbach gives the energy lost to friction as fluid flows through a pipe.
How the Math Works
The Darcy Weisbach equation calculates pipe friction head loss through a precise mathematical relationship. The formula h_f = f·(L/D)·(v³·2g) combines four key variables: friction factor (f), pipe length (L), pipe diameter (D), and fluid velocity (v), with gravitational acceleration (g) as a constant. The friction factor accounts for surface roughness and flow regime, typically determined through experimental data or the Moody diagram. This equation is dimensionally consistent, producing head loss in units of length (meters or feet) when all inputs are in compatible SI or imperial units. The calculation assumes steady, incompressible flow in a circular pipe under fully developed conditions.
Practical Applications
To apply this calculation, engineers first determine the friction factor through the Reynolds number (Re = vD/ν) and relative roughness (ε = K/D). For laminar flow (Re < 2300), f = 64/Re. For turbulent flow, the Colebrook equation or Moody chart provides f. Users then input pipe length and diameter, fluid velocity, and use g = 9.81 m/s² or 32.2 ft/s². The calculator multiplies these values: head loss equals friction factor times the length-to-diameter ratio times velocity squared divided by twice the gravitational constant. Engineers use this to size pumps, select pipe diameters, and verify system pressure requirements during water distribution, oil pipeline, or HVAC system design.
Day-to-Day Use
This calculation directly impacts the infrastructure that delivers essential services to your daily life. When your home's water flows from the tap, Darcy-Weisbach equations help plumbers ensure adequate pressure reaches every faucet and shower, preventing weak flow or no flow at all. The city's water distribution system relies on these calculations to pipe water efficiently across neighborhoods, ensuring fire hydrants have sufficient pressure when needed most. Even your morning coffee depends on this math—coffee makers and espresso machines use pumps sized through friction loss calculations to deliver water at the right pressure through narrow paths to extract flavor properly. Without understanding pipe friction, we'd face higher utility bills, frequent pipe bursts, and unreliable access to clean water and other fluids that power modern life.
Worked example
f = 0.02, 50 m, 0.1 m dia, 2 m/s → about 2.04 m.
FAQ
How do I get f?
From the Reynolds number and pipe roughness (Moody chart) or the friction-factor calculator.