Pipe Flow Calculator (Darcy-Weisbach)
Pipe flow calculator. Darcy-Weisbach head loss + Swamee-Jain (explicit Colebrook-White approximation) friction factor for turbulent flow. Reynolds + flow rate + pressure drop.
Pipe Flow
| Bulk velocity | — |
| Reynolds number | — |
| Flow regime | — |
| Friction factor f | — |
| Head loss h_f | — |
| Velocity head v²/2g | — |
| Flow rate (m³/s) | — |
How to use the pipe flow calculator
Enter flow rate
Flow rate Q in L/min (1 L/min = 0.0167 GPM). Common ranges: residential plumbing 5-30 L/min, industrial process 100-1000 L/min, large pipelines 1000-50000 L/min.
Set pipe geometry
Inner diameter (ID) in mm. Standard sizes: 15 mm (½"), 20 mm (¾"), 25 mm (1"), 50 mm (2"), 100 mm (4"). Length in meters — total run from inlet to outlet.
Set fluid properties
Water (20°C): ρ=1000, μ=0.001 Pa·s. Air (20°C): ρ=1.225, μ=0.0000181. Engine oil: ρ=870, μ=0.04. Properties vary with temperature — adjust for hot water (60°C: μ ≈ 0.00046) or hot oil.
Set roughness
Roughness ε in mm: PVC + smooth plastic 0.0015, copper 0.0015, stainless steel 0.015, drawn steel 0.045, galvanized 0.15, cast iron 0.25, concrete 1.0+. Roughness matters more at high Reynolds numbers.
Read pressure drop + head loss
Pressure drop ΔP = ρ·g·h_f, where h_f is head loss in meters of fluid column. Used for pump sizing: pump must overcome total head (elevation + pipe friction + velocity head + minor losses). For long pipelines, friction dominates; for short systems, minor losses (fittings) may exceed friction loss.
Pipe flow — Darcy-Weisbach + Colebrook-White
Pipe flow head loss calculations are the foundation of plumbing, HVAC, process piping, hydraulic + pneumatic system design. The Darcy-Weisbach equation h_f = f·(L/D)·(v²/2g) gives the head loss along a pipe due to friction, where f is the dimensionless Darcy friction factor, L is pipe length, D is diameter, v is velocity, g is gravitational acceleration. The challenge: f depends on Reynolds number + pipe roughness in a complex way. For turbulent flow, the implicit Colebrook-White equation requires iterative solution. This calculator uses the explicit Swamee-Jain (1976) approximation which is accurate to ~1% for typical engineering applications and avoids iteration.
Flow regimes + friction factor
Laminar (Re < 2300): f = 64/Re, independent of roughness. Friction factor is large but flow is slow. Transitional (2300-4000): unstable, calculator assigns approximate value. Turbulent (Re > 4000): Colebrook-White or Swamee-Jain gives f as function of Re + relative roughness ε/D. At very high Re, f approaches a constant value depending only on ε/D ("fully rough" regime). Most engineering pipe flow is turbulent — laminar is rare except in very small pipes, very viscous fluids, or very low flow rates.
Darcy-Weisbach is the universal pipe head loss equation. Colebrook-White provides the friction factor. Swamee-Jain (1976) gives an explicit approximation that\'s accurate to 1% — no iteration needed.
Minor losses
Beyond friction in straight pipe, fittings cause additional head loss: elbows, tees, valves, sudden contractions/expansions, entrances/exits. These are characterized by loss coefficients K: h_minor = K·v²/(2g). Typical K values: 90° standard elbow ~0.75, gate valve fully open ~0.15, fully open ball valve ~0.05, sharp pipe entrance ~0.5, sharp pipe exit ~1.0. For complex piping systems, sum all major (friction) + minor losses. For short systems with many fittings, minor losses can exceed friction loss in straight pipe.
Practical applications
Residential plumbing: target velocities 1-3 m/s (above causes water hammer + noise; below allows debris settling). HVAC chilled water: 1.5-3 m/s. Process piping: depends on fluid + service. Fire sprinkler systems: NFPA 13 sizing with specific Hazen-Williams formula. Sewer lines: minimum velocity 0.6 m/s to prevent solids settling. Pump sizing: total head = static head (elevation) + dynamic head (friction + minor losses + velocity head).
10 Things to Know About Pipe Flow
Darcy-Weisbach: h_f = f·(L/D)·(v²/2g). The universal pipe head loss equation.
Friction factor f: 64/Re laminar; Colebrook-White turbulent.
Swamee-Jain (1976) explicit approximation: ~1% accurate vs Colebrook iterative.
Pressure drop ΔP = ρ·g·h_f. Used for pump sizing.
Velocity ∝ Q/D². Doubling diameter = quartering velocity at same flow.
Head loss ∝ v² ≈ Q² for turbulent flow. Quadratic — small velocity changes are large losses.
Roughness ε: PVC 0.0015 mm, steel 0.045, cast iron 0.25 — wide variation.
Minor losses (fittings): K factors. For short systems, can dominate friction loss.
Typical water velocity: 1-3 m/s. Above causes noise + erosion; below allows settling.
Hazen-Williams formula: empirical alternative used in fire sprinkler + water-supply design.
Frequently asked questions
Darcy-Weisbach is universal, theoretically derived, works for any fluid. Hazen-Williams is empirical, water-only, simpler formula. Hazen-Williams dominant in fire sprinklers + municipal water supply (NFPA standards); Darcy-Weisbach in industrial process engineering.
Friction loss in straight pipe only. To include fittings: sum K values from tables, compute h_minor = K·v²/(2g), add to friction h_f. Equivalent length method: convert fittings to equivalent pipe length, add to L. Both methods give similar answers.
Very small pipes (microfluidics), very viscous fluids (oils, syrups, polymer melts), very slow flow. Most everyday flow (water in plumbing, air in ducts) is turbulent. For honey or molasses in pipes: laminar even at modest flow rates due to high viscosity.
For low Re (10⁴), 30% variation in ε changes f by ~10%. For high Re (10⁶+), variation matters more. Cast iron + concrete pipes have especially uncertain roughness — engineering judgment to add 30-50% margin. For new pipes use nominal ε; for aged pipes use 2-5× nominal due to corrosion + scaling.
If pressure drop < 10% of absolute pressure: Darcy-Weisbach works. Larger drops: density changes through the pipe, need iterative compressible flow analysis. Natural gas pipelines: special formulas (Panhandle, AGA, Weymouth). Steam: special handling.
Below 0.6-1.0 m/s: settling possible in sewer + storm pipes. Above 3-5 m/s: water hammer, noise, erosion in long-term, cavitation in suction lines. Sweet spot: 1.5-3 m/s for most water service.
No. All inputs stay in your browser.
Determines pump head + power requirement. Excess drop = more pumping energy cost. Pump power ≈ Q·ΔP/efficiency. For a 100 L/min flow at 100 kPa drop and 75% efficient pump: 100/60 × 100000 / 0.75 / 1000 = 222 W electric input. Annual cost = power × $/kWh × hours/year.
Use hydraulic diameter D_h = 4A/P (4× cross-section area / wetted perimeter). For rectangular ducts: D_h = 2ab/(a+b). For annular: D_h = D_outer − D_inner. Same Darcy-Weisbach equation, just substitute D_h for D.
Crane Technical Paper No. 410 — industry standard pipe flow handbook. Moody chart in any fluid mechanics text. Swamee + Jain (1976) original paper. Colebrook + White (1939) for the underlying equation. White, Fox + McDonald textbooks.
Related News
You may be interested in these recent stories from our newsroom.
No related news yet for this tool. Our editorial team publishes new pieces every week.
Browse all news →75 more free tools
Calculators, converters, security tools — no signup.