Darcy-Weisbach Calculator — Pipe Pressure Drop & Head Loss
Calculate the pressure drop and head loss along a straight pipe section for any fluid. Enter pipe geometry (length, diameter, roughness), flow velocity and fluid properties (density, viscosity) — the calculator derives the Reynolds number, selects the correct friction factor formula and applies the Darcy-Weisbach equation.
m
mm
m/s
Pipe material (sets roughness)
mm
kg/m³
mPa·s
kPa along the pipe length
- 1
Reynolds number Re = ρ × v × D ÷ μ
998 × 2 × 0.1 ÷ 0.001002 = 199,202 - 2
Darcy friction factor f
0.01873Swamee-Jain approximation to Colebrook-White (turbulent flow) - 3
Pipe geometry ratio L ÷ D
100 ÷ 0.1 = 1,000 - 4
Pressure drop ΔP = f × (L ÷ D) × ρ × v² ÷ 2000
0.01873 × 1,000 × 998 × 2² ÷ 2000 = 37.379 kPa
How does this calculator work?
Darcy-Weisbach: ΔP = f × (L/D) × (ρv²/2). Friction factor f = 64/Re for laminar flow (Re < 2300); Swamee-Jain approximation for turbulent flow (Re ≥ 4000). Enter pipe length, diameter, roughness, velocity and fluid properties to get pressure drop (kPa), head loss (m) and the Moody regime. Straight-pipe losses only; fittings not included.
Formula
How this is calculated
The Darcy-Weisbach equation ΔP = f × (L/D) × (ρv²/2) gives the pressure drop along a straight pipe, where f is the dimensionless Darcy friction factor, L is pipe length, D is internal diameter, ρ is fluid density and v is mean flow velocity. Dividing by (ρg) gives the equivalent head loss hf in metres of fluid. Minor losses (bends, valves, fittings) are not included — this calculator handles major (friction) losses only.
The friction factor depends on the Reynolds number Re = ρvD/μ (μ = dynamic viscosity) and pipe relative roughness ε/D. For laminar flow (Re < 2300), f = 64/Re regardless of roughness. For turbulent flow (Re ≥ 4000), this calculator uses the Swamee-Jain explicit approximation to the Colebrook-White equation: f = 0.25 / [log₁₀(ε/(3.7D) + 5.74/Re^0.9)]². The transitional zone (2300 ≤ Re < 4000) is unpredictable; this calculator linearly interpolates as an approximation. Default fluid properties are for water at 20°C (ρ = 998 kg/m³, μ = 1.002 mPa·s).
Pipe roughness values (ε) are design estimates from published tables (e.g. Moody chart sources): commercial steel ≈ 0.046 mm, galvanised iron ≈ 0.15 mm, cast iron ≈ 0.26 mm, concrete 0.3–3 mm. Actual roughness increases with age, scaling and corrosion; always apply an appropriate safety factor in design.
Frequently asked questions
Darcy-Weisbach is the physically rigorous equation that applies to any fluid and any flow regime — it requires the friction factor from Reynolds number and roughness. Hazen-Williams is an empirical formula for water in turbulent flow only; it uses an empirical C-factor and is computationally simpler but less general. Darcy-Weisbach is preferred in engineering and is used by this calculator.
Velocity v = Q / A, where Q is volumetric flow rate (m³/s) and A = π D²/4 is the pipe cross-sectional area (m²). For Q in L/min, first convert: 1 L/min = 1/60 000 m³/s. The calculator also reports the volumetric flow rate corresponding to the entered velocity.
No — only straight-pipe (major) friction losses are calculated. Minor losses through fittings are typically added using the equivalent-length method (each fitting is expressed as an equivalent straight-pipe length) or the K-factor method (ΔP_minor = K × ρv²/2). For preliminary design, minor losses are sometimes estimated as 10–20% of major losses.
TG we-Calculate Editorial Team. (2026). Darcy-Weisbach Calculator — Pipe Pressure Drop & Head Loss [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/darcy-weisbach-calculator
TG we-Calculate Editorial Team. "Darcy-Weisbach Calculator — Pipe Pressure Drop & Head Loss." TG we-Calculate. 2026. https://we-calculate.com/calculator/darcy-weisbach-calculator.
TG we-Calculate Editorial Team, "Darcy-Weisbach Calculator — Pipe Pressure Drop & Head Loss," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/darcy-weisbach-calculator
@misc{wecalculate_darcy_weisbach_calculator, title = {Darcy-Weisbach Calculator — Pipe Pressure Drop & Head Loss}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/darcy-weisbach-calculator}}, year = {2026}, note = {TG we-Calculate} }
Did this calculator help you?
