All tools

Darcy-Weisbach Equation Calculator

Pipe head loss from friction. Friction factor is computed from Reynolds number and pipe roughness using the Swamee-Jain explicit form of the Colebrook equation.

in
ft
ft/s
in
ft²/s
ft

Defaults: 6-inch commercial steel water main carrying 5 ft/s, 500 ft long, water at 60°F.

$$ h_f = f \, \frac{L}{D} \, \frac{V^2}{2g} $$
Friction factor (Swamee-Jain, valid for 5×10³ ≤ Re ≤ 10⁸):
$$ f = \frac{0.25}{\left[ \log_{10}\!\left(\frac{\varepsilon}{3.7 D} + \frac{5.74}{Re^{0.9}}\right) \right]^2} $$
hf head loss · f Darcy friction factor · L pipe length · D pipe diameter · V mean velocity · g gravitational acceleration · ε absolute pipe roughness · Re Reynolds number · ν kinematic viscosity.

When to use Darcy-Weisbach

The Darcy-Weisbach equation is the dimensionally correct, fluid-and-temperature-aware way to compute pipe friction loss. It applies to any Newtonian fluid in any flow regime, in pipes of any roughness. For water-supply work in the typical pressure-and-temperature range, Hazen-Williams is the simpler shortcut — but Hazen-Williams is calibrated for water at common conditions and falls apart for hot water, low-Reynolds flow, or non-water fluids.

Pipe roughness ε values

Kinematic viscosity for water

Water at 60°F (15.6°C) has ν ≈ 1.08 × 10⁻⁵ ft²/s (1.13 × 10⁻⁶ m²/s). At 40°F use 1.66 × 10⁻⁵ ft²/s; at 80°F use 0.93 × 10⁻⁵ ft²/s. Viscosity changes ~50% between 40°F and 100°F, which matters for laminar-flow calculations but is usually negligible for fully turbulent water-distribution work.

Reynolds number regimes

Reference: Crane Technical Paper No. 410, Flow of Fluids Through Valves, Fittings, and Pipe. Swamee, P.K., Jain, A.K. (1976). "Explicit equations for pipe-flow problems." J. Hydraulic Div., ASCE, 102 (5), 657–664.

Related tools

Monthly engineering case studies

One real stormwater or hydraulics design problem per month, with the math worked out and the gotchas called out. No tutorials, no fluff.

Free. Unsubscribe anytime. Privacy.