CTR K

How to Calculate Pipe Pressure Drop with the Darcy-Weisbach Equation

Pressure drop is the single most important number in any pipe-flow design: it sets the pump size, the pipe schedule and the energy cost for every metre of piping in the system. The Darcy-Weisbach equation is the standard method for computing that drop — it is physically rigorous, dimensionally consistent, and valid from creeping laminar flow all the way to fully rough turbulent flow. Combined with the Colebrook-White friction factor (or its explicit Swamee-Jain approximation), it handles any pipe material, any Newtonian fluid, and any Reynolds number in a single, repeatable calculation.

This guide walks through the method step by step: from Reynolds number and flow-regime identification, through friction-factor selection, to the Darcy-Weisbach pressure-drop formula and a fully worked numeric example you can reproduce by hand. The MechanixCalc pipe flow calculator runs exactly this chain — plus minor losses, pump-curve intersection, and water-hammer surge — so you can check your hand calculation against the tool instantly.

Reynolds number and flow regime

Before you can choose the friction factor, you must know whether the flow is laminar or turbulent. The Reynolds number Re = ρvD/μ is the dimensionless ratio of inertial to viscous forces. Below Re = 2 300 the flow is laminar and the velocity profile is a paraboloid (Hagen-Poiseuille); above Re = 4 000 it is turbulent and the friction factor depends on both Re and the pipe-wall roughness. The band 2 300 < Re < 4 000 is transitional and unstable — design conservatively by using the turbulent value or blending the two.

Mean flow velocity v follows directly from the volumetric flow rate Q and the pipe bore area A = πD²/4. Note that velocity scales with Q/D², so doubling the diameter at the same flow rate quarters the velocity — and since friction loss scales with v², halving the velocity cuts pipe friction to one-quarter.

Mean flow velocity
v = Q / A = 4Q / (π · D²)

where v = mean velocity (m/s); Q = volumetric flow rate (m³/s); A = pipe cross-section area (m²); D = internal diameter (m)

Reynolds number
Re = ρ · v · D / μ

where Re = Reynolds number (−); ρ = fluid density (kg/m³); v = mean velocity (m/s); D = internal diameter (m); μ = dynamic viscosity (Pa·s). Laminar: Re < 2 300; Turbulent: Re > 4 000.

Friction factor: Hagen-Poiseuille (laminar) and Colebrook-White (turbulent)

The Darcy friction factor f links the pressure drop to the velocity head. For laminar flow (Re < 2 300) the exact analytical result is f = 64/Re — derived from the Hagen-Poiseuille solution and independent of surface roughness. For turbulent flow (Re > 4 000) the friction factor depends on both Re and the relative roughness ε/D (where ε is the absolute pipe-wall roughness in the same units as D). The classic implicit Colebrook-White equation captures this dependence across the full Moody chart, but because it requires iteration the Swamee-Jain explicit formula is widely used in engineering software; it agrees with Colebrook-White to within about 1–2% for 5 × 10³ < Re < 10⁸ and 10⁻⁶ < ε/D < 10⁻².

Typical absolute roughness values: commercial steel ε = 0.046 mm; galvanised steel ε = 0.15 mm; cast iron ε = 0.26 mm; drawn tubing (smooth) ε ≈ 0.0015 mm; PVC/HDPE (hydraulically smooth) ε ≈ 0.0015 mm. In the fully rough turbulent limit (very high Re) the friction factor depends only on ε/D and the curves on the Moody diagram become horizontal.

Laminar friction factor (Hagen-Poiseuille)
f = 64 / Re

where f = Darcy friction factor (−); Re = Reynolds number (−). Exact for Re < 2 300, independent of pipe roughness.

Turbulent friction factor (Swamee-Jain, explicit Colebrook-White)
f = 0.25 / [log₁₀(ε/(3.7·D) + 5.74 / Re⁰·⁹)]²

where f = Darcy friction factor (−); ε = absolute pipe roughness (m); D = internal diameter (m); Re = Reynolds number (−). Valid for 5 × 10³ < Re < 10⁸ and 10⁻⁶ < ε/D < 10⁻².

The Darcy-Weisbach pressure-drop formula

The Darcy-Weisbach equation expresses pressure drop as the product of the Darcy friction factor, the pipe slenderness ratio L/D, and the dynamic pressure ρv²/2. It is dimensionally homogeneous and applicable to any Newtonian fluid in any pipe geometry where the cross-section is circular. For non-circular ducts, replace D with the hydraulic diameter D_h = 4A/P (where P is the wetted perimeter), though the accuracy is reduced for highly non-circular sections.

Minor losses from fittings, bends, valves and other inline components add to the straight-pipe loss. Two equivalent approaches exist: the K-factor method (ΔP_minor = K·ρv²/2, where K is a loss coefficient for each fitting) and the equivalent-length method (replace each fitting with an equivalent pipe length L_eq = K·D so the total effective length L_eff = L_pipe + ΣL_eq,i). Both are in common use; the MechanixCalc calculator supports both, with equivalent-length values from Crane Technical Paper TP-410.

Head loss h_L, expressed in metres of fluid column, is the pressure drop divided by ρg. Engineers often prefer head loss when working with pumps, because centrifugal pump curves are specified in metres of head.

Darcy-Weisbach pressure drop
ΔP = f · (L / D) · (ρ · v² / 2)

where ΔP = pressure drop (Pa); f = Darcy friction factor (−); L = pipe length (m); D = internal pipe diameter (m); ρ = fluid density (kg/m³); v = mean flow velocity (m/s)

Equivalent head loss
h_L = ΔP / (ρ · g)

where h_L = head loss (m of fluid); ΔP = pressure drop (Pa); ρ = fluid density (kg/m³); g = 9.81 m/s² (gravitational acceleration)

Minor losses, pipe roughness, and practical sizing tips

A common rule of thumb is to keep mean velocity in liquid service lines below 2–3 m/s to limit erosion, noise and excessive friction losses. Higher velocities are acceptable in short runs or where pump energy is cheap, but always check the resulting ΔP against the available head. For gas lines (compressible flow), the same Darcy-Weisbach method applies at low Mach numbers (Ma < 0.3) using average-section fluid density; above Ma ≈ 0.3 compressibility corrections become important.

When sizing a pipe for a given allowable pressure drop, rearrange the formula to solve for D — but because f itself depends on D through Re and ε/D, the solution is iterative. A practical approach is to guess f ≈ 0.02 for turbulent flow, solve for D, compute Re and ε/D, recalculate f with Swamee-Jain, and iterate until convergence (typically 2–3 passes). The calculator does this automatically.

Minor-loss pressure drop (K-factor method)
ΔP_minor = K · (ρ · v² / 2)

where ΔP_minor = minor loss (Pa); K = dimensionless loss coefficient for each fitting (from tables; e.g. K ≈ 0.5–1.0 for a globe valve fully open, K ≈ 0.3 for a 90° elbow); ρ = fluid density (kg/m³); v = mean velocity (m/s)

Worked example

Find the pressure drop and head loss for water flowing through a 50 mm internal-diameter, 100 m long commercial-steel pipe at 5 m³/h. Water: ρ = 1 000 kg/m³, μ = 0.001 Pa·s. Steel roughness ε = 0.046 mm.

Given

  • Internal diameter D50 mm (0.050 m)
  • Pipe length L100 m
  • Absolute roughness ε0.046 mm (commercial steel)
  • Flow rate Q5 m³/h = 1.389 × 10⁻³ m³/s
  • Fluid density ρ1 000 kg/m³
  • Dynamic viscosity μ0.001 Pa·s (water at ~20 °C)

Result

  • Flow regimeTurbulent (Re = 35 400)
  • Darcy friction factor f0.0252
  • Pressure drop ΔP≈ 12 600 Pa (0.126 bar)
  • Head loss h_L≈ 1.29 m
  1. Pipe cross-section area: A = π/4 × D² = π/4 × (0.050)² = 1.963 × 10⁻³ m².
  2. Mean velocity: v = Q / A = 1.389 × 10⁻³ / 1.963 × 10⁻³ = 0.708 m/s.
  3. Reynolds number: Re = ρ·v·D / μ = 1 000 × 0.708 × 0.050 / 0.001 = 35 400. Since Re > 4 000, flow is turbulent.
  4. Relative roughness: ε/D = 0.046 / 50 = 9.2 × 10⁻⁴. (Note: ε and D in the same units — both in mm here.)
  5. Swamee-Jain friction factor: term = ε/(3.7·D) + 5.74/Re⁰·⁹ = 9.2×10⁻⁴/3.7 + 5.74/35 400⁰·⁹ = 2.49×10⁻⁴ + 4.62×10⁻⁴ = 7.11×10⁻⁴. f = 0.25 / [log₁₀(7.11×10⁻⁴)]² = 0.25 / (−3.148)² = 0.25 / 9.91 = 0.0252.
  6. Dynamic pressure: ρv²/2 = 1 000 × (0.708)² / 2 = 1 000 × 0.501 / 2 = 251 Pa.
  7. Darcy-Weisbach pressure drop: ΔP = f·(L/D)·(ρv²/2) = 0.0252 × (100/0.050) × 251 = 0.0252 × 2 000 × 251 = 12 650 Pa ≈ 12 600 Pa (0.126 bar).
  8. Head loss: h_L = ΔP / (ρ·g) = 12 650 / (1 000 × 9.81) = 1.29 m.

Straight-pipe friction only — add fitting losses (K·ρv²/2 per fitting) for a complete system total. The calculator includes valves, bends and other fittings via K-factor or equivalent-length (Crane TP-410) tables.

Do it on your own numbers

Compute pressure drop, friction factor and head loss for your pipe — including minor losses, pump curve, and water-hammer surge. Free 30-minute preview, no sign-up.

Open the Pipe Flow

Frequently asked questions

What is the Darcy-Weisbach equation and when should I use it?

The Darcy-Weisbach equation (ΔP = f·(L/D)·ρv²/2) is the standard method for calculating friction pressure drop in a circular pipe for any Newtonian fluid and any Reynolds number — laminar or turbulent. It is preferred over empirical alternatives such as Hazen-Williams (which is water-only and ignores viscosity) because it is dimensionally consistent and covers the full range of conditions. Use it whenever you need a reliable, fluid-agnostic pressure-drop calculation.

How do I find the Darcy friction factor without the Moody chart?

For laminar flow (Re < 2 300) the exact result is f = 64/Re — no chart needed. For turbulent flow (Re > 4 000) the Swamee-Jain formula f = 0.25 / [log₁₀(ε/(3.7D) + 5.74/Re⁰·⁹)]² gives the friction factor explicitly to within about 1–2% of the iterative Colebrook-White result. The MechanixCalc pipe flow calculator evaluates this formula automatically and plots the result on an interactive Moody diagram so you can see where your operating point sits.

What pipe roughness value should I use?

Use the absolute roughness ε for the pipe material: commercial steel ≈ 0.046 mm, galvanised steel ≈ 0.15 mm, cast iron ≈ 0.26 mm, drawn copper or brass ≈ 0.0015 mm, PVC or HDPE ≈ 0.0015 mm. At high Reynolds numbers the flow becomes 'fully rough' and the friction factor depends only on ε/D, not Re — so roughness dominates pressure drop. At lower Re (smooth turbulent regime) roughness has little effect and the friction factor depends mainly on Re.

What is the difference between major losses and minor losses in pipe flow?

Major losses (also called friction losses) are the pressure drop due to friction along the straight pipe, calculated by the Darcy-Weisbach equation. Minor losses are the additional pressure drops caused by fittings, valves, bends, tee-junctions, entries and exits. Despite the name, minor losses can dominate in short pipe runs with many fittings. They are quantified either by a K-factor (ΔP_minor = K·ρv²/2) or an equivalent pipe length added to the straight-pipe length before applying Darcy-Weisbach.

Is the pipe flow calculator free?

You can use the full calculator during a free 30-minute preview with no sign-up, and a free 14-day account trial unlocks every calculator on MechanixCalc with no credit card required. The branded PDF engineering report and the ability to save and reload calculations are part of a paid plan.

Related