The Darcy-Weisbach Equation

Pressure loss in a pipe depends on five variables: how rough the pipe surface is, how long the pipe is, how fast the fluid moves, how dense the fluid is, and the pipe's internal diameter. The Darcy-Weisbach equation combines these factors into a single formula that hydraulic engineers rely on worldwide.

ΔP = (f × L × V² × ρ) ÷ (2 × D)

  • ΔP — Pressure drop across the pipe (Pa or psi)
  • f — Darcy friction factor (dimensionless, typically 0.01–0.10)
  • L — Length of pipe section (m or ft)
  • V — Mean flow velocity of the fluid (m/s or ft/s)
  • ρ — Density of the fluid (kg/m³ or lb/ft³)
  • D — Internal diameter of the pipe (m or ft)

Understanding Pressure Drop in Pipes

Friction loss is unavoidable when fluid moves through any enclosed pipe. The rougher the inner wall surface, the greater the resistance. This resistance converts kinetic energy into heat, manifesting as a measurable pressure reduction along the flow path.

Pressure drop accelerates with flow velocity—notice the V² term in the equation. Doubling flow speed quadruples friction losses. This nonlinear relationship is why pump sizing becomes critical in high-velocity systems. Conversely, increasing pipe diameter substantially reduces losses, since friction is inversely proportional to diameter.

In water supply networks, high-rise buildings, industrial cooling loops, and long-distance pipelines, unaccounted pressure drop leads to undersized pumps and inadequate service at distant outlets. Real-world systems must balance pipe cost against energy costs for overcoming friction.

The Friction Factor and Surface Roughness

The Darcy friction factor f is not constant—it depends on flow regime and pipe material. In laminar flow (Reynolds number < 2,300), friction factor follows f = 64/Re, independent of roughness. In turbulent flow, both Reynolds number and relative roughness k/D (absolute roughness divided by diameter) determine f.

Engineers use the Moody diagram or Colebrook-White equation to find f for turbulent conditions. Common pipe materials have established roughness values:

  • Smooth pipes (plastic, glass): k ≈ 0.0015 mm
  • Commercial steel: k ≈ 0.045 mm
  • Galvanized iron: k ≈ 0.15 mm
  • Cast iron (old): k ≈ 0.25 mm

Age and corrosion increase effective roughness over time, which is why older infrastructure often exhibits higher losses than design calculations predicted.

Practical Calculation Example

Consider a horizontal steel pipe delivering water at industrial scale: diameter 0.5 m, length 250 m, flow velocity 2 m/s, water density 1,000 kg/m³, and friction factor 0.025 (typical for turbulent flow in commercial steel).

Substituting into the equation:

ΔP = (0.025 × 250 × 2² × 1,000) ÷ (2 × 0.5)
ΔP = (0.025 × 250 × 4 × 1,000) ÷ 1
ΔP = 250,000 Pa = 250 kPa ≈ 2.5 bar

A 2.5 bar loss across 250 m is substantial. If the system requires 5 bar at the outlet, the pump must deliver 7.5 bar at the inlet. This is why engineers prefer larger diameters in long runs—a 0.75 m pipe would reduce loss by roughly 80%.

Common Pitfalls and Design Considerations

Pressure drop calculations often fail in practice due to overlooked variables and assumption errors.

  1. Ignoring Minor Losses — Fittings, elbows, valves, and sudden expansions add friction beyond the pipe walls alone. These 'minor losses' can equal 20–50% of major losses in piping systems with many bends. Account for them using equivalent length methods or minor loss coefficients.
  2. Using Incorrect Friction Factor — Confusing the Darcy friction factor <code>f</code> with the Fanning factor <code>f'</code> (which is one-quarter of Darcy) leads to four-fold errors. Always verify which definition your source uses. The Moody diagram plots Darcy friction factor.
  3. Neglecting Temperature and Viscosity Effects — Fluid viscosity changes drastically with temperature, shifting the Reynolds number and hence the friction factor. Warm oil flows easier than cold oil through the same pipe. Always calculate flow properties at operating temperature.
  4. Forgetting Transient States — The formula assumes steady-state flow. During startup or when valves close rapidly, transient pressure waves (water hammer) can exceed steady-state predictions by orders of magnitude. Systems handling sudden flow changes need surge protection.

Frequently Asked Questions

Why does velocity matter so much in the Darcy-Weisbach equation?

Pressure drop is proportional to the square of velocity (V²), meaning that small increases in flow speed produce large increases in friction loss. Doubling the velocity quadruples the pressure drop. This is why slowing down flow—by increasing pipe diameter—is so effective at reducing pump energy consumption. Designers often accept slightly larger, more expensive piping to avoid the much higher operating costs of high-velocity systems.

How do I determine the right friction factor for my pipe?

The friction factor depends on whether flow is laminar or turbulent, determined by the Reynolds number (Re = ρVD/μ). In laminar flow (Re < 2,300), use f = 64/Re. For turbulent flow, consult the Moody diagram using both Reynolds number and relative roughness (k/D). Alternatively, apply the Colebrook-White implicit equation iteratively. New commercial steel pipes typically have f ≈ 0.025–0.035 in normal turbulent ranges.

Can I use this equation for gases and compressible fluids?

The Darcy-Weisbach equation as presented assumes incompressible flow with constant density. For gases, density changes significantly with pressure drop over long distances, so the equation applies only over short sections or at low Mach numbers. Compressible flow analysis requires integration accounting for density variation along the pipe. Always check whether your fluid behaves incompressibly within the pressure range of your system.

How does pipe age affect pressure drop predictions?

New pipes have roughness values documented by manufacturers. With age, corrosion, scaling, and sediment deposits increase the effective roughness substantially. An old cast iron water main might have doubled its original friction factor. Field measurements or inspection can reveal deposits. When designing long-lived systems, consider applying a roughness margin (e.g., increase k by 50%) to account for future deterioration.

What is the difference between major and minor losses?

Major losses occur along straight pipe sections due to wall friction, calculated by Darcy-Weisbach. Minor losses occur at fittings, bends, valves, and tees, typically expressed as a velocity head loss (K × V²/2g). Combined, they form the total system head. Oversimplifying by ignoring minor losses can underestimate pump requirements by 20–50% in complex piping networks.

How do I account for pipes that are not horizontal?

The Darcy-Weisbach equation predicts friction loss only. For non-horizontal pipes, add the hydrostatic pressure change (ρgh, where h is vertical elevation gain) to the friction loss to find total head. In downward flow, hydrostatic pressure works in your favor, reducing net head requirement. In upward flow, it adds to the pump load. Always sketch your system elevation to avoid this mistake.

More physics calculators (see all)