Darcy–Weisbach head loss calculator

Pipe friction loss with the friction factor from Colebrook. Enter your values and see the formula, your numbers plugged in and every step of the working. Free, no sign-up, SI and imperial units.

Formula

h_f = f · (L / D) · v² / (2g)
ΔP = ρ · g · h_f

Inputs

  • Fluid density (ρ), in kg/m³ or other units
  • Dynamic viscosity (μ), in cP or other units
  • Pipe inner diameter (D), in mm or other units
  • Mean velocity (v), in m/s or other units
  • Pipe length (L), in m or other units
  • Absolute roughness (commercial steel 0.045 mm) (ε), in mm or other units

Worked example: Water at 2 m/s in 100 m of 100 mm steel pipe

  • Fluid density ρ = 998 kg/m³
  • Dynamic viscosity μ = 1.002 cP
  • Pipe inner diameter D = 100 mm
  • Mean velocity v = 2 m/s
  • Pipe length L = 100 m
  • Absolute roughness (commercial steel 0.045 mm) ε = 0.045 mm
  1. Convert inputs to SI units: μ = 1.002 cP = 0.001002 Pa·s; D = 100 mm = 0.1 m; ε = 0.045 mm = 4.5 × 10-5 m
  2. Re = 998 × 2 × 0.1 ÷ 0.001002 = 199,202; ε/D = 4.5 × 10-4
  3. Colebrook: 1/√f = −2 log₁₀(ε/3.7D + 2.51/(Re√f)). Start from Swamee–Jain f = 0.0186723, iterate to f = 0.0185674
  4. h_f = 0.0185674 × (100 ÷ 0.1) × 2² ÷ (2 × 9.80665) = 3.78669 m
  5. ΔP = 998 × 9.80665 × 3.78669 = 37,060.5 Pa

Answer: Head loss h_f = 3.78669 m; Pressure drop ΔP = 37.0605 kPa; Darcy friction factor f = 0.0185674 ; Reynolds number Re = 199,202

More fluids & thermodynamics calculators

Fluids & Thermodynamics formula sheet · All calculators · Practice problems