Pipe Head Loss Calculator

Calculate pipe head loss and pressure drop using the Darcy-Weisbach equation with Colebrook iterative friction factor. Includes major losses (pipe friction), minor losses (fittings K-factors), Reynolds number, flow regime, and pump head requirement.

Scratchpad (not saved)

mm

Internal (bore) diameter of the pipe — not the outer diameter.

m

Total length of the straight pipe run (not including fittings).

L/s

Volumetric flow rate in litres per second.

mm

Absolute surface roughness. Drawn steel/copper: 0.046; galvanised: 0.15; cast iron: 0.26. See table below.

kg/m³

Water at 20°C: 998 kg/m³. Water at 60°C: 983 kg/m³. Light oil: ~850 kg/m³.

cSt

1 cSt = 10⁻⁶ m²/s. Water at 20°C: 1.0 cSt. Water at 60°C: 0.47 cSt. SAE 30 oil: ~110 cSt.

Sum of K-factors for all fittings/valves. See the K-factor table. Zero to ignore minor losses.

What This Calculator Does

The pipe head loss calculator uses the Darcy-Weisbach equation with the Colebrook-White iterative friction factor — the industry-standard method used in ASHRAE, AWWA, and hydraulic engineering practice. It computes major losses (pipe wall friction), minor losses from fittings using K-factors, the Reynolds number and flow regime (laminar/turbulent/transitional), and the total pump head required to overcome resistance. Results are shown in metres of head, Pa, kPa, and psi.

It combines Pipe Internal Diameter, Pipe Length, Flow Rate, Pipe Roughness ε to estimate Total Head Loss, Pressure Drop, Flow Velocity.

Formula & Method

Darcy-Weisbach equation: hf=fLDv22gh_f = f \cdot \frac{L}{D} \cdot \frac{v^2}{2g} where ff is the Darcy friction factor, LL is pipe length (m), DD is internal diameter (m), vv is mean flow velocity (m/s), and g=9.81m/s2g = 9.81\,\text{m/s}^2. Reynolds number: Re=vDνRe = \frac{vD}{\nu} where ν\nu is kinematic viscosity. Colebrook-White equation (iterative): 1f=2log ⁣(ε3.7D+2.51Ref)\frac{1}{\sqrt{f}} = -2\log\!\left(\frac{\varepsilon}{3.7D} + \frac{2.51}{Re\sqrt{f}}\right) For laminar flow (Re<2300Re < 2300): f=64/Ref = 64/Re. Minor losses: hm=Kv22gh_m = K \cdot \frac{v^2}{2g} where KK is the fitting loss coefficient.

Notation used in the formulas: RR = Total Head Loss; x1x_{1} = Pipe Internal Diameter; x2x_{2} = Pipe Length; x3x_{3} = Flow Rate; x4x_{4} = Pipe Roughness ε; x5x_{5} = Fluid Density ρ; x6x_{6} = Kinematic Viscosity ν.

Method summary: inputs are normalized to consistent units, core equations are evaluated, then secondary values are derived and rounded for display.

Use this calculator for quick scenario analysis. Start with baseline values, change one driver at a time, and compare how sensitive the results are to each input shown above.

Worked Examples

50mm steel pipe — 30 m long, 2 L/s water

Inputs: D = 0.050 m, L = 30 m, Q = 2 L/s = 0.002 m³/s, ε = 0.046 mm (drawn steel), ν = 1×10⁻⁶ m²/s (water at 20°C) Step 1: Flow velocity A = π(0.025)² = 1.963×10⁻³ m² v = Q/A = 0.002 / 1.963×10⁻³ = 1.019 m/s Step 2: Reynolds number Re = vD/ν = 1.019 × 0.050 / 1×10⁻⁶ = 50,950 → turbulent Step 3: Friction factor (Colebrook iteration, converges in ~5 iterations) ε/D = 0.046/50 = 0.00092 f ≈ 0.0232 (Colebrook converged) Step 4: Major head loss hf = 0.0232 × (30/0.050) × (1.019)²/(2×9.81) = 0.0232 × 600 × 0.0529 = 0.736 m Pressure drop = ρgh = 1000 × 9.81 × 0.736 = 7,220 Pa = 7.22 kPa = 1.05 psi

100mm cast iron main — 500 m, 15 L/s with fittings

Inputs: D = 0.100 m, L = 500 m, Q = 15 L/s = 0.015 m³/s, ε = 0.26 mm (cast iron) Fittings: two 90° elbows (K = 1.5 each) + one gate valve open (K = 0.2) v = 0.015 / (π × 0.0025) = 1.910 m/s Re = 1.910 × 0.100 / 1×10⁻⁶ = 191,000 f (Colebrook) ≈ 0.0262 Major loss: hf = 0.0262 × (500/0.1) × (1.91)²/19.62 = 12.32 m Minor loss: hm = (2×1.5 + 0.2) × (1.91)²/19.62 = 3.2 × 0.186 = 0.60 m Total head loss = 12.32 + 0.60 = 12.92 m (126.7 kPa, 18.4 psi)

Pipe Roughness Values Reference

Pipe MaterialRoughness ε (mm)Typical Use
Smooth bore (drawn tubing, PVC)0.0015Domestic plumbing, hydraulic lines
Drawn steel / copper0.046HVAC, process piping
Wrought iron0.046Older industrial systems
Galvanised steel0.15General-purpose industrial
Cast iron (unlined)0.26Water mains (older)
Concrete (smooth)0.3Culverts, sewers
Concrete (rough)3.0Large-diameter culverts
HDPE0.007Water supply, drainage

Minor Loss K-Factors for Common Fittings

Fitting / ComponentK-FactorNotes
Gate valve — fully open0.2Low resistance when open
Gate valve — half open5.6Avoid throttling gate valves
Ball valve — fully open0.05Lowest-resistance valve type
Globe valve — fully open10.0High resistance; use for throttling
Check valve — swing type2.5Backflow prevention
90° elbow — standard radius1.5Most common elbow
90° elbow — long radius0.7Lower loss, larger footprint
45° elbow0.4Gradual direction change
Tee — branch flow1.8Flow turns 90°
Tee — straight through0.4Minimal loss
Sharp entrance (tank → pipe)0.5Reentrant = 0.8–1.0
Rounded entrance0.04Well-formed bell mouth
Exit (pipe → tank)1.0All kinetic energy lost

Common Mistakes

  • Using pipe outer diameter instead of internal diameter — especially important for thick-wall pipes where the difference is significant.
  • Forgetting to convert flow rate units consistently — enter Q in m³/s for SI calculations. 1 L/s = 0.001 m³/s; 1 US gal/min = 6.309×10⁻⁵ m³/s.
  • Using flywheel friction factor f = 0.02 as a constant — the Colebrook friction factor varies significantly with Reynolds number and roughness. f ranges from 0.010 (smooth turbulent) to 0.06 (rough, fully turbulent).
  • Ignoring minor losses in short systems — in systems with many fittings and short pipe runs, minor losses can equal or exceed major losses.
  • Not checking the flow regime — Hagen-Poiseuille (f = 64/Re) applies only for laminar flow (Re < 2300). Using Colebrook for laminar flow gives incorrect results.

Frequently Asked Questions

What is the Darcy-Weisbach equation and why is it preferred?
hf = f·L/D·v²/2g is preferred because it is dimensionally consistent, applies to all fluids and flow regimes, and the friction factor is well-characterised by the Colebrook-White equation.
What is the Colebrook-White equation?
1/√f = −2·log(ε/3.7D + 2.51/Re√f). It requires iteration to solve for f. The explicit Swamee-Jain approximation is accurate within ±3% for most practical cases.
What is the Reynolds number and what does it tell me?
Re = vD/ν. Re < 2300: laminar (f = 64/Re). 2300–4000: transitional. Re > 4000: turbulent — use Colebrook-White.
How do minor losses compare to major losses in typical pipe systems?
In long runs (L/D > 1,000), major losses dominate. In short systems with many fittings, minor losses can equal or exceed major losses.

Inputs Used

  • Pipe Internal Diameter: Internal (bore) diameter of the pipe — not the outer diameter.
  • Pipe Length: Total length of the straight pipe run (not including fittings).
  • Flow Rate: Volumetric flow rate in litres per second.
  • Pipe Roughness ε: Absolute surface roughness. Drawn steel/copper: 0.046; galvanised: 0.15; cast iron: 0.26. See table below.
  • Fluid Density ρ: Water at 20°C: 998 kg/m³. Water at 60°C: 983 kg/m³. Light oil: ~850 kg/m³.
  • Kinematic Viscosity ν: 1 cSt = 10⁻⁶ m²/s. Water at 20°C: 1.0 cSt. Water at 60°C: 0.47 cSt. SAE 30 oil: ~110 cSt.
  • Total Minor Loss K: Sum of K-factors for all fittings/valves. See the K-factor table. Zero to ignore minor losses.

Related Calculators

  • Flow Rate Calculator - Calculate volumetric flow rate using three methods: basic Q=Av, Darcy-Weisbach (Colebrook-White, pressure-driven), and Hazen-Williams (water distribution).
  • Reynolds Number Calculator - Calculate Reynolds number for flow characterization.
  • Pressure Calculator - Calculate pressure from force and area.
  • Gear Ratio Calculator - Calculate gear ratio, speed ratio, torque multiplier, compound gear train ratios, and vehicle speed from gear ratio.
  • Torque Calculator - Calculate torque from force and moment arm, from power and rotational speed, or output torque through a gear stage.
  • Pulley System Calculator - Calculate mechanical advantage, effort force, velocity ratio, and efficiency for fixed, movable, block-and-tackle, and compound pulley systems.
  • Spring Constant Calculator - Calculate spring constant using Hooke's law.
  • Thermal Expansion Calculator - Calculate linear or volumetric thermal expansion for any material — with material presets, reverse-solve mode, and instant unit conversion.