Darcy-Weisbach Pressure Loss Calculator
Compute friction pressure loss in a pipe using the Darcy-Weisbach equation, the rigorous standard for all Newtonian fluids and flow regimes. Useful for pump sizing, pipe sizing decisions, and verifying pressure budgets in process and HVAC systems.
Last updated: May 2026
Compare with similar
About this calculator
The Darcy-Weisbach equation gives the head loss (or pressure loss) due to friction in a pipe: ΔP/ρ = f × (L/D) × v²/2, with units of m²/s² (energy per unit mass) when in SI. Multiplying by fluid density ρ gives pressure drop in Pa: ΔP = ρ × f × (L/D) × v²/2. The corresponding head-loss form (meters of fluid column) is h_f = f × (L/D) × v²/(2g). Variables: f is the dimensionless Darcy friction factor (NOT the Fanning friction factor, which is f_Darcy / 4); L is pipe length in meters; D is internal pipe diameter in meters; v is mean flow velocity in m/s; ρ is fluid density in kg/m³; g is 9.81 m/s². Edge cases: the friction factor f is the hard part. For laminar flow (Re < 2,300), f = 64 / Re exactly (closed form). For turbulent flow (Re > 4,000), f depends on both Re and relative roughness ε/D — use the Colebrook-White equation (implicit, requires iteration): 1/√f = −2 log₁₀(ε/(3.7D) + 2.51/(Re√f)), or its explicit approximation, the Swamee-Jain equation: f = 0.25 / [log₁₀(ε/(3.7D) + 5.74/Re^0.9)]². For transitional flow (2,300 < Re < 4,000), no reliable correlation exists — the flow is unstable and unpredictable; avoid this regime in design. Relative roughness ε/D values: commercial steel ε ≈ 0.045 mm, ductile iron 0.25 mm, galvanized iron 0.15 mm, copper 0.0015 mm, PVC/HDPE 0.0015 mm, concrete 0.3–3 mm depending on finish, wood stave 0.18–0.9 mm. The Darcy-Weisbach formula assumes (1) steady, fully-developed flow, (2) constant fluid properties, (3) circular cross-section (for non-circular, use hydraulic diameter D_h = 4A/P_w). It does NOT include minor losses from fittings, valves, bends, expansions, and contractions — those are computed separately with K-factors or equivalent lengths. The formula is valid for both Newtonian liquids and gases (with care taken on compressible-flow effects above Mach 0.3).
How to use
Example 1 — water through a residential pipe. Water at 20°C (ρ = 1,000 kg/m³, ν = 10⁻⁶ m²/s), velocity 2 m/s, internal diameter 0.025 m (1-inch copper), length 30 m. Step 1: Re = vD/ν = 2 × 0.025 / 10⁻⁶ = 50,000 → turbulent. Step 2: relative roughness for copper ε/D = 0.0015 × 10⁻³ / 0.025 = 6 × 10⁻⁵ — hydraulically smooth. Step 3: f from Moody chart at Re = 50,000, smooth pipe ≈ 0.021. Step 4: ΔP = ρ × f × (L/D) × v²/2 = 1000 × 0.021 × (30/0.025) × 4/2 = 1000 × 0.021 × 1,200 × 2 = 50,400 Pa = 50.4 kPa. Step 5: convert to head: h = ΔP/(ρg) = 50,400 / 9,810 = 5.14 m of water column. Verify: typical residential pressure drops on a 30-m run with normal demand are in the 3–10 m range — consistent. Example 2 — turbulent flow through galvanized steel. Same flow but in galvanized steel pipe (ε = 0.15 mm). Step 1: Re still 50,000. Step 2: ε/D = 0.15 × 10⁻³ / 0.025 = 6 × 10⁻³ — moderately rough. Step 3: f from Colebrook at Re = 50,000, ε/D = 6 × 10⁻³ ≈ 0.034. Step 4: ΔP = 1000 × 0.034 × 1,200 × 2 = 81,600 Pa = 81.6 kPa. Step 5: h = 81,600 / 9,810 = 8.32 m. Verify: rougher pipe has 60% higher friction loss than smooth copper at the same flow — significant. Implication: using galvanized for a long run requires either larger pipe or higher pump head than copper or PVC for the same flow.
Frequently asked questions
How do I find the Darcy friction factor for turbulent flow in a pipe?
For turbulent flow (Re > 4,000), the Darcy friction factor depends on both Reynolds number and relative roughness. Three approaches: (1) Moody Chart — graphical lookup using Re on x-axis and curves for different ε/D, the classic engineering method, accurate to ±5% if read carefully. (2) Colebrook-White equation — implicit and requires iteration: 1/√f = −2 log₁₀(ε/(3.7D) + 2.51/(Re√f)). Iterate starting from f = 0.03; typically converges in 3–5 iterations. The most accurate option, used by most professional software. (3) Swamee-Jain equation — explicit approximation: f = 0.25 / [log₁₀(ε/(3.7D) + 5.74/Re^0.9)]². Accuracy is ±1% for typical engineering range; good for spreadsheet calculations without iteration. (4) Churchill equation — works for laminar, transitional, and turbulent in a single formula but more complex. For fully-rough turbulent flow (very high Re, large roughness), the von Kármán equation simplifies to 1/√f = −2 log₁₀(ε/(3.7D)) — friction factor becomes independent of Re. For new clean pipes, use the manufacturer's published roughness; for older pipes, ε can increase 2–10× due to corrosion, scale, and deposit buildup.
What is the difference between Darcy-Weisbach friction factor and Fanning friction factor?
Two different definitions of 'friction factor' exist in fluid mechanics literature, and confusing them produces errors of factor 4. Darcy friction factor (f_D) is used in the Darcy-Weisbach equation as ΔP = f_D × (L/D) × ρv²/2. Fanning friction factor (f_F) is used in some chemical engineering contexts as τ_wall = f_F × ρv²/2, where τ_wall is wall shear stress. The relationship is f_D = 4 × f_F. So a Moody chart printed for Darcy gives values that are 4× those on a Fanning chart for the same pipe. American and most civil/mechanical engineering texts (Moody chart, Crane TP-410) use Darcy. Chemical engineering texts and Perry's Chemical Engineers' Handbook often use Fanning. Always check which convention your reference uses before applying values. The Colebrook equation as written above (with the 2.51 constant) is for Darcy f. The Fanning version has different constants. When in doubt, calculate f for laminar flow at Re = 1,000: if your reference says f = 0.064, it's Darcy; if it says f = 0.016, it's Fanning. The same physical reality, just two scaling conventions.
How do I include minor losses from fittings and valves with the Darcy-Weisbach equation?
Minor losses occur at fittings (elbows, tees), valves (gate, ball, globe), entrances, exits, contractions, and expansions. Two methods are used. (1) K-factor method: h_minor = K × v²/(2g), where K is a published loss coefficient for each fitting type. Typical K values: 90° standard elbow = 0.9, 90° long-radius elbow = 0.2, tee branch flow = 1.8, fully-open gate valve = 0.17, fully-open ball valve = 0.05, fully-open globe valve = 6.0, sharp-edge pipe entrance = 0.5, well-rounded entrance = 0.05, pipe exit = 1.0. Sum all K-values in the pipe run and multiply by v²/(2g). (2) Equivalent length method: each fitting is treated as an equivalent length of straight pipe; sum all equivalent lengths to total pipe length L_total and use in standard Darcy-Weisbach. Crane TP-410 publishes both K and equivalent-length tables. For a typical industrial process line, minor losses can range from 10% to 40% of total pressure drop — significant. For long pipelines (transmission lines, oil/gas pipelines), minor losses are negligible compared to friction loss in straight pipe and can often be ignored. Pumps and equipment also have their own pressure drops that must be added separately.
What are common mistakes when applying the Darcy-Weisbach equation?
The most common mistake is confusing Darcy friction factor with Fanning friction factor — produces an error of 4×. Always confirm which convention your data source uses. Using outdated roughness for old pipes — accumulated scale, biofilm, corrosion, and deposits can multiply roughness 5–20× over decades of service. Using room-temperature properties (density, viscosity) when actual fluid is at operating temperature — water viscosity changes 2× from 0°C to 40°C, directly affecting Re and friction factor. Forgetting minor losses on systems with many fittings — a fitting-heavy chemical process line can have 30–50% of total ΔP from fittings, completely missed by friction-only Darcy-Weisbach. Applying the formula to two-phase, slurry, or non-Newtonian flow without modifications — different physics applies. Mixing English and SI units within the same calculation (using ε in feet but D in meters, for example) — convert everything to one unit system. Using nominal pipe diameter instead of actual internal diameter — Schedule 40 1-inch steel pipe has ID 26.6 mm, not 25.4 mm. Forgetting elevation change — Darcy-Weisbach gives friction loss only; if the pipe rises or falls, gravity head must be added separately. Finally, neglecting compressibility for gas flow at high Mach numbers (above 0.3) where the simple incompressible Darcy-Weisbach is significantly off.
When should I NOT use this calculator?
Skip Darcy-Weisbach for non-Newtonian fluids (slurries, polymer melts, blood, food products) where shear-rate-dependent viscosity makes the Newtonian friction factor invalid; use power-law or Bingham plastic friction correlations instead. Do not use it for two-phase or multiphase flow (oil-water, gas-liquid, gas-solid) — use specialized two-phase correlations like Lockhart-Martinelli, Beggs-Brill, or Mukherjee-Brill. Avoid it for highly compressible gas flow at Mach > 0.3 where density changes along the pipe; use Fanno flow or isothermal compressible flow analysis. The formula doesn't apply to open-channel flow with a free surface — use Manning's equation or Chezy's equation for those. For very low flow rates approaching creeping flow (Re < 1), the formula still gives correct results but the f = 64/Re relationship becomes the dominant cost — laminar friction is large at low velocity. For pulsating or unsteady flows, the steady-state assumption fails and time-dependent analysis is required. For supercritical fluids (CO₂, water above critical point), property variations along the pipe require integrated analysis. Finally, for any safety-critical application (pressure vessel relief, fire-water supply, oxygen service), use professional process simulation software (Aspen Plus, ChemCAD, KORF, AFT Fathom) rather than spreadsheet calculations from this calculator.