What Is the Darcy-Weisbach Head Loss Calculator?
This calculator finds the friction head loss of a fluid flowing through a straight pipe using the Darcy-Weisbach equation, one of the most reliable methods in fluid mechanics. Head loss represents the energy lost to friction between the moving fluid and the pipe wall, expressed as an equivalent height (meters) of the fluid column. Engineers use it to size pumps, select pipe diameters, and verify that a system can deliver the required flow and pressure.
How to Use It
Enter five values: the dimensionless Darcy friction factor (f), pipe length (L) in meters, internal diameter (D) in meters, mean flow velocity (v) in m/s, and gravitational acceleration g (default 9.81 m/s²). The calculator returns the head loss hf in meters of fluid. To convert to pressure drop, multiply by fluid density and g: \(\Delta p = \rho \cdot g \cdot h_f\).
The Formula Explained
The equation is $$h_f = f \cdot \frac{L}{D} \cdot \frac{v^{2}}{2 \cdot g}$$ The ratio \(L/D\) scales loss with how long and how narrow the pipe is. The term \(v^2/2g\) is the velocity head — the kinetic energy of the flow expressed as a height. The friction factor \(f\) captures the combined effect of Reynolds number (laminar vs turbulent) and relative roughness, and is typically read from a Moody chart or computed with the Colebrook or Swamee-Jain equations (often 0.015–0.04 for turbulent water flow).
Worked Example
For f = 0.02, L = 100 m, D = 0.1 m, v = 2 m/s, g = 9.81 m/s²: \(L/D = 1000\), \(v^2/2g = 4 / 19.62 = 0.2039\). So $$h_f = 0.02 \times 1000 \times 0.2039 = 4.077 \text{ m}$$ of head loss.
Typical Absolute Roughness of Pipe Materials
The friction factor \(f\) in the Darcy-Weisbach equation depends on the Reynolds number and on the relative roughness \(\varepsilon/D\). The table lists approximate typical absolute roughness values \(\varepsilon\) for new or clean pipes.
| Pipe material | Typical absolute roughness ε (mm) |
|---|---|
| Drawn tubing / PVC / plastic | ≈ 0.0015 |
| Commercial steel | ≈ 0.045 |
| Galvanized iron | ≈ 0.15 |
| Cast iron | ≈ 0.26 |
| Concrete | ≈ 0.3 – 3.0 |
| Riveted steel | ≈ 0.9 – 9.0 |
Relative roughness: divide ε by the inside diameter, using the same units for both: $$\frac{\varepsilon}{D}$$ For example, commercial steel (ε = 0.045 mm) in a 100 mm pipe gives \(0.045/100 = 0.00045\).
These are approximate typical figures of the kind found in standard references such as the sources behind the Moody chart. Real roughness varies with manufacturing, age, corrosion and scaling, so treat them as estimates.
Typical Velocities and Friction Factors
- General water supply: about 0.5 – 3 m/s.
- Pump suction side: about 1 – 2 m/s, kept low to reduce the risk of cavitation.
- Pump discharge side: up to about 3 m/s.
Darcy friction factor \(f\):
- Laminar flow (Re below about 2300): \(f = 64/\mathrm{Re}\), which does not depend on roughness.
- Turbulent flow: \(f\) is roughly 0.01 – 0.05 for most practical pipes. It is found from the Colebrook equation or the Moody chart, and it increases with relative roughness ε/D.
These ranges are common engineering rules of thumb, not strict standards. Project specifications, local codes and the particular fluid and pipe material may call for different limits.
Head Loss Scenario Comparison
Fixed inputs: \(f = 0.02\), \(L = 100\) m, \(g = 9.81\) m/s². Head loss is computed as $$h_f = f \cdot \frac{L}{D} \cdot \frac{v^2}{2g}$$ For example, with D = 0.1 m and v = 2 m/s: \(h_f = 0.02 \cdot \frac{100}{0.1} \cdot \frac{2^2}{2 \cdot 9.81} = 20 \cdot 0.20387 = \) 4.077 m.
| Diameter D (m) | v = 1 m/s: hf (m) | v = 2 m/s: hf (m) | v = 3 m/s: hf (m) |
|---|---|---|---|
| 0.05 | 2.039 | 8.155 | 18.349 |
| 0.1 | 1.019 | 4.077 | 9.174 |
| 0.2 | 0.510 | 2.039 | 4.587 |
Head loss scales with the square of velocity: doubling v quadruples hf. It is inversely proportional to diameter at fixed f and v: doubling D halves hf. In practice f also changes with Re and ε/D, so this table, which holds f constant, is for comparison only.
FAQ
Where do I get the friction factor? Use a Moody diagram or solve the Swamee-Jain equation from Reynolds number and relative roughness (ε/D).
What units does this use? SI units throughout — meters, m/s, and m/s² — giving head loss in meters of fluid.
Does this include fittings? No. This computes major (friction) loss only. Minor losses from valves, bends and fittings should be added separately using loss coefficients.