Formula and Method for the Darcy-Weisbach Equation
The Darcy-Weisbach equation is the standard fluid-mechanics formula for the friction head loss that occurs when a fluid flows through a pipe: h_f = f × (L/D) × (V²/2g), where f is the dimensionless Darcy friction factor, L is the pipe length, D is the internal diameter, V is the average flow velocity, and g is gravitational acceleration (9.80665 m/s²). Unlike the empirical Hazen-Williams formula, Darcy-Weisbach is dimensionally consistent and applies to any Newtonian fluid — water, air, oil, or gas — across both laminar and turbulent flow.
How the calculation works
Enter the flow velocity, pipe diameter, pipe length, and the Darcy friction factor. The calculator converts every value to SI units (m/s, m) and applies h_f = f(L/D)(V²/2g) to get head loss, then multiplies by fluid density and g to get the pressure drop, ΔP = ρgh_f (equivalently ΔP = f(L/D)(ρV²/2)). It also computes the Reynolds number, Re = VD/ν, from the velocity, diameter, and the fluid's kinematic viscosity, and the volumetric flow rate, Q = V × πD²/4, from velocity and pipe cross-section.
Choosing a friction factor and checking the flow regime
The friction factor f is not a fixed constant — it depends on the Reynolds number and, in turbulent flow, on the pipe's relative roughness (ε/D). For laminar flow (Re below about 2,300), f = 64/Re exactly. For turbulent flow (Re above about 4,000), f is read from a Moody chart or solved from the implicit Colebrook-White equation; the explicit Swamee-Jain formula is a common approximation. This calculator lets you enter f directly — from a Moody chart, a manufacturer spec, or a prior calculation — and reports the Reynolds number alongside the result so you can confirm your chosen f actually matches the flow regime you have.
Real-world applications
- Sizing water supply, irrigation, and fire-sprinkler piping so friction losses stay within pump capacity.
- Calculating pressure drop across HVAC ductwork and refrigerant lines during system design.
- Determining the total dynamic head a pump must overcome, combining elevation change with Darcy-Weisbach friction losses.
- Checking oil and gas pipeline pressure drop over long transmission runs.