Darcy–Weisbach Calculator
Major head loss h_f = f(L/D)(v²/2g)
Parameters
Controls
Calculated Values
Examples
Water pipe 100 m
f=0.02, D=0.1 m, v=2 m/s.
Long pipeline
L=500 m.
Visualization
Darcy–Weisbach Equation — Pipe Head Loss
The Darcy–Weisbach equation is the standard engineering formula for head loss due to friction in straight, full, steady pipe flow: h_f = f(L/D)(v²/2g), where f is the Darcy friction factor (dimensionless), L is pipe length (m), D is internal diameter (m), v is average velocity (m/s), and g ≈ 9.81 m/s².
Head loss h_f has dimensions of length (meters of fluid column) and represents energy dissipated per unit weight of fluid. Pressure drop along the pipe is ΔP = ρgh_f (Pa). Pump must supply head at least equal to total system head loss to maintain flow.
Friction factor f is not constant — it depends on Reynolds number Re = ρvD/μ and relative roughness ε/D (pipe wall roughness height ε). Laminar flow (Re < 2300): f = 64/Re exactly, independent of roughness. Turbulent flow: f from Moody chart or Colebrook equation (iterative). Smooth pipe turbulent f can be as low as ~0.008; rough old pipes may have f > 0.04.
The v² dependence is critical: doubling flow velocity quadruples friction head loss. Doubling pipe length doubles h_f. Halving diameter (for same v) multiplies h_f by 2 (L/D effect) and also increases v for fixed Q — combined effect is very strong.
Total system head loss = major losses (straight pipe, Darcy–Weisbach) + minor losses (elbows, tees, valves) often modeled as K(v²/2g). Non-circular ducts use hydraulic diameter D_h = 4A/P. Link to Hagen–Poiseuille: laminar limit gives Q ∝ D⁴ΔP/L.
Used in water distribution networks, fire protection hydraulics, oil pipelines, HVAC duct design, and pump curve matching. The Moody diagram is one of the most used charts in mechanical and civil engineering.
Key Concepts
- h_f = f(L/D)(v²/2g) — major loss
- ΔP = ρgh_f; h_f in meters of fluid
- f = f(Re, ε/D) from Moody chart
- Laminar: f = 64/Re (Re < 2300)
- h_f ∝ v² — strong velocity effect
- Minor losses: K(v²/2g) fittings
Real-World Applications
- Municipal water supply and distribution
- Pump selection and system curve analysis
- Fire sprinkler and standpipe hydraulics
- Oil, gas, and slurry pipeline design
- Class 12 pipe friction and Reynolds number labs
- Building plumbing pressure-loss calculations
Explore Further
- All Fluid Mechanics Calculators
Browse every fluid mechanics solver in this category.
- Fluid Mechanics Formula Sheet
Bernoulli, continuity, buoyancy, and viscosity formulas.
- Fluid Dynamics
Pressure, flow, and Bernoulli ideas for pipe and open-channel problems.
- Physics Constants Reference
SI values for c, G, k_B, ε₀, and more used across solvers.
More fluid mechanics tools
- Bernoulli's Principle
Calculate fluid velocities, pressures, and flow rates using Bernoulli's equation.
- Reynolds Number
Determine flow regime (laminar/turbulent) using Reynolds number.
- Poiseuille's Law
Calculate volumetric flow rate in laminar pipe flow.
- Archimedes' Principle
Calculate buoyant force and floating conditions for submerged objects.
- Viscosity Calculator
Calculate dynamic and kinematic viscosity of fluids.
- Drag Force Calculator
Calculate drag force on objects in fluid flow.
Physics Equations
Step-by-Step Solution
See how the main results are calculated.
Step 1: Darcy–Weisbach
Equation:
Explanation:
Major head loss in pipe flow; h_f in meters of fluid.
Step 2: Friction Factor f
Result:
Explanation:
Depends on Re and roughness (Moody chart).
Step 3: L/D Ratio
Calculation:
Step 4: Velocity Head
Calculation:
Explanation:
Kinetic energy per unit weight.
Step 5: Head Loss
Calculation:
Result:
Step 6: Pressure Drop
Equation:
Explanation:
Multiply by ρg for Pa if density known.
Frequently Asked Questions (FAQ)
Darcy f vs Fanning?
Fanning f_F = Darcy f/4 — check which definition.
Smooth vs rough pipe?
Roughness ε increases f at high Re.
Non-circular duct?
Use hydraulic diameter D_h = 4A/P.
Link to Poiseuille?
Laminar limit gives Hagen–Poiseuille Q relation.
Negative h_f?
Head loss always positive — energy dissipated.
Practice MCQs
- Doubling flow velocity multiplies h_f by:
- Darcy f depends on:
- Laminar pipe flow f =
- Smaller diameter D at same v:
- h_f has units of:
- Pressure drop from h_f:
Related Calculators
These tools connect to the same physics concepts used in this calculator.