What is the Darcy-Weisbach equation used for?+
The Darcy-Weisbach equation calculates head loss (pressure drop expressed as fluid height in metres) caused by friction as fluid moves through a pipe: h_f = f x (L/D) x (V2/2g). It is the standard formula for pipe flow design in water supply, HVAC, oil and gas, and chemical process systems. Engineers use it to size pipes, select pumps, and balance distribution networks.
What is the Darcy friction factor and how is it calculated?+
The Darcy friction factor (f) quantifies resistance between the fluid and pipe wall. For laminar flow (Re less than 2300), f = 64/Re exactly. For turbulent flow, this calculator uses the Swamee-Jain explicit formula: f = 0.25 / [log10(ε/3.7D + 5.74/Re^0.9)]^2, which is accurate to within 3% of the Colebrook-White equation for Reynolds numbers between 5000 and 10^8.
What is the Reynolds number and what values indicate turbulent flow?+
Reynolds number Re = VD/ν is the ratio of inertial to viscous forces. Re below 2300 means laminar flow with smooth, parallel streamlines and f = 64/Re. Re between 2300 and 4000 is the unstable transition zone. Re above 4000 is fully turbulent with chaotic mixing and a higher friction factor. Most water pipes in practice operate with Re from 50,000 to 500,000, well into the turbulent regime.
What pipe roughness value should I use?+
Use these absolute roughness values (ε): PVC or drawn copper 0.0015 mm, new commercial steel 0.046 mm, galvanized steel 0.15 mm, asphalted cast iron 0.12 mm, cast iron 0.26 mm, concrete 0.3 to 3 mm. For aged pipes, double or triple these values to account for scale and corrosion. The Moody chart is the classical reference for relative roughness ε/D vs. friction factor.
How does pipe diameter affect head loss in a pipe?+
Head loss is inversely proportional to D^5 when flow rate (not velocity) is held constant. Halving the pipe diameter while maintaining the same flow rate increases head loss by a factor of 2^5 = 32. This makes pipe sizing the single most impactful variable in pipe system design, with small diameter reductions causing very large increases in pumping energy and cost.
What is the difference between head loss and pressure drop?+
Head loss (h_f, in metres) is pressure drop expressed as equivalent fluid column height. Pressure drop (ΔP, in Pascals) is the actual reduction in pressure. They relate by ΔP = ρgh_f. For water at 20°C, 1 m of head = 9.79 kPa = 1.42 psi. Head loss is preferred in hydraulics because it is independent of fluid density when comparing pipe sections with different fluid types.
What is the Swamee-Jain equation?+
The Swamee-Jain equation (1976) is an explicit approximation for the Darcy friction factor in turbulent flow: f = 0.25 / [log10(ε/3.7D + 5.74/Re^0.9)]^2. It replaces the implicit Colebrook-White equation, which requires numerical iteration to solve. Swamee-Jain is accurate to within 3% of Colebrook-White for Reynolds numbers from 5000 to 10^8 and relative roughness ε/D from 10^-6 to 0.05.
How does this calculator find velocity from head loss?+
Rearranging Darcy-Weisbach gives V = sqrt(2gDhf/fL), but f also depends on V through the Reynolds number. The calculator starts with an initial guess of f = 0.02, computes V, then computes Re and a new f, and repeats until convergence (typically 10 to 20 iterations). This iterative approach is standard in hydraulics software and pipe network analysis tools.
What kinematic viscosity should I use for water at different temperatures?+
Water kinematic viscosity by temperature: 10°C = 1.307 mm²/s, 20°C = 1.004 mm²/s, 40°C = 0.658 mm²/s, 60°C = 0.474 mm²/s, 80°C = 0.365 mm²/s, 100°C = 0.294 mm²/s. Viscosity decreases significantly with temperature. Hot water systems have lower friction losses than cold water systems at the same flow rate, which matters for solar thermal and heating loop design.
What is the typical design head loss per kilometre for water pipes?+
Common design guidelines for municipal water distribution recommend a maximum friction gradient of 4 to 10 metres per kilometre (4 to 10 m per 1000 m). Transmission mains typically target the lower end (4 m/km) to minimise pumping energy over long distances. Distribution networks may accept up to 10 m/km. Building internal plumbing often allows 1 to 2 m per 10 m length.
Is the Darcy-Weisbach equation more accurate than Hazen-Williams?+
Yes. The Darcy-Weisbach equation is physically derived and valid for any incompressible fluid at any temperature and Reynolds number. The Hazen-Williams formula is empirical, calibrated only for water near 15°C in turbulent flow, and can underestimate head loss by up to 20% for very smooth or very rough pipes outside its calibration range. Modern hydraulic software and the ASCE standards recommend Darcy-Weisbach for all new designs.
Can I use this calculator for gases or compressible flow?+
For low-velocity gas flow where density change along the pipe is small (Mach number below 0.3 and pressure drop below 10% of inlet pressure), the Darcy-Weisbach equation gives a useful approximation using inlet density and viscosity. For high-velocity or high-pressure-drop gas flow, compressibility effects become significant and require the full compressible flow equations. This calculator is designed for incompressible liquids and low-velocity gases only.