Darcy-Weisbach Pipe Flow & Friction Factor Calculator

Calculate Darcy friction factor (f), major and minor head loss, pressure drop, Reynolds number, and pump hydraulic power with an interactive Moody diagram.

📁 Engineering🔒 100% Free & Private⚡ Instant Output

Fluid Properties & Presets

Pipe Geometry & Material Roughness

Flow Specification & Minor Losses

Turbulent Flow (Re = 2.82 × 10⁵)
Darcy Friction Factor (f)
0.0173dimensionless
Total Head Loss (htotal)
5.98meters of fluid
Total Pressure Drop (ΔP)
58.6kPa (0.586 bar)
Required Pump Shaft Power
2.50kW (3.35 hp)
Flow Velocity (v)
1.89m/s
Reynolds Number (Re)
2.82 × 10⁵turbulent
Relative Roughness (ε / D)
0.00030fraction
Major vs Minor Split
86% / 14%major / minor

Interactive Moody Diagram (f vs Reynolds Number)

Quick Overview & Direct Answer

Darcy-Weisbach Pipe Flow & Friction Factor Calculator: Free Darcy-Weisbach Pipe Flow & Friction Factor Calculator tool: calculate pipe head loss, Darcy friction factor (f), Colebrook-White equation, Reynolds.

Primary Use Structural calculations, fluid dynamics, electrical engineering formulas
Input Formats Engineering variables, voltage, current, resistance, stress limits
Output Format Calculated engineering values, tolerance checks
Processing Mode 100% Client-Side In-Browser Math Engine
Access Tier Free, unlimited, no sign-up needed

Fundamentals of Fluid Friction & Pipe Flow Hydrodynamics

In fluid mechanics and hydraulic engineering, the Darcy-Weisbach Equation serves as the theoretical and empirical standard for calculating energy dissipation and frictional pressure losses resulting from the steady, incompressible flow of viscous fluids through enclosed conduits. Established through the pioneering work of French hydraulic engineer Henry Darcy in 1857 and German mathematician Julius Weisbach in 1845, this formulation underpins municipal water distribution networks, oil and natural gas cross-country pipelines, HVAC hydronic heating/cooling piping, district energy infrastructure, chemical process plant piping, and maritime marine propulsion plumbing.

Unlike empirical formulations such as the Hazen-Williams or Manning equations—which are restricted solely to water at ambient temperatures within specific diameter ranges—the Darcy-Weisbach formulation is dimensionally homogeneous, theoretically rigorous, and universally applicable across any Newtonian fluid, whether light cryogenic helium, liquid water, high-viscosity crude oil, or compressible gases at sub-critical velocities.

Mathematical Formulations and Derivations

1. The Darcy-Weisbach Equation for Major Head Loss

The frictional head loss $h_f$ along a straight cylindrical pipe of uniform circular internal diameter $D$ and length $L$ carrying fluid at average cross-sectional velocity $v$ is formulated as:

h_f = f cdot frac{L}{D} cdot frac{v^2}{2 g} quad [text{meters of fluid column}]

where:

  • $f$ is the dimensionless Darcy-Weisbach friction factor (also known as the Darcy resistance coefficient).
  • $L$ is the conduit length in meters ($text{m}$).
  • $D$ is the inside pipe diameter in meters ($text{m}$).
  • $v$ is the mean bulk fluid velocity in meters per second ($text{m/s}$), given by $v = Q / A = 4 Q / (pi D^2)$.
  • $g = 9.80665 text{ m/s}^2$ is standard gravitational acceleration.

The corresponding frictional pressure drop $Delta P_f$ is directly related to fluid mass density $rho$ via hydrostatics:

Delta P_f = rho , g , h_f = f cdot frac{L}{D} cdot frac{rho , v^2}{2} quad [text{Pascals, Pa}]

2. Reynolds Number ($Re$) and Flow Regimes

Fluid flow behavior within a pipe is governed by the dimensionless Reynolds number, comparing inertial dynamic forces to viscous shear forces:

Re = frac{rho , v , D}{mu} = frac{v , D}{nu}

where $mu$ is dynamic viscosity ($text{Pa}cdottext{s}$) and $nu = mu / rho$ is kinematic viscosity ($text{m}^2/text{s}$). The flow organizes into three distinct hydrodynamic regimes:

  1. Laminar Flow ($Re < 2,300$): Fluid moves in smooth, parallel concentric cylindrical streamlines without macroscopic lateral mixing. Frictional resistance arises solely from molecular viscous shear. Solving the Navier-Stokes equations analytically yields the Hagen-Poiseuille Law:
    f = frac{64}{Re}
    Crucially, in the laminar regime, the friction factor is completely independent of the pipe wall roughness $epsilon$.
  2. Critical / Transition Zone ($2,300 le Re le 4,000$): Flow is highly intermittent and unstable, fluctuating randomly between laminar filaments and turbulent bursts. Designers generally avoid sizing piping systems within this indeterminate zone.
  3. Turbulent Flow ($Re > 4,000$): Chaotic turbulent eddies, velocity fluctuations, and boundary layer shear dominate momentum transfer. The friction factor becomes a function of both Reynolds number $Re$ and the dimensionless Relative Roughness $epsilon / D$, where $epsilon$ is the equivalent sand-grain surface roughness.

3. Colebrook-White & Explicit Approximations

In 1939, Cyril Frank Colebrook and Christopher M. White synthesized Johann Nikuradse's artificial sand-coated pipe experiments with Ludwig Prandtl's boundary layer turbulence theory into the Colebrook-White Equation:

frac{1}{sqrt{f}} = -2.0 log_{10}left(frac{epsilon / D}{3.7} + frac{2.51}{Re sqrt{f}}right)

Because $f$ appears implicitly on both sides, numerical iteration is required. For high-speed explicit computation without convergence failure, this calculator implements the widely accepted Swamee-Jain Equation (1976), which guarantees precision within $pm 1%$ of the implicit Colebrook formulation:

f = frac{0.25}{left[log_{10}left(frac{epsilon / D}{3.7} + frac{5.74}{Re^{0.9}}right)right]^2} quad left[text{valid for } 10^{-6} le frac{epsilon}{D} le 10^{-2}, ; 5,000 le Re le 10^8right]

At extremely high Reynolds numbers ($Re to infty$), the viscous term $2.51 / (Re sqrt{f}) to 0$, reaching the wholly rough turbulent limit (von Kármán-Nikuradse law):

frac{1}{sqrt{f}} = -2.0 log_{10}left(frac{epsilon / D}{3.7}right) = 1.14 - 2.0 log_{10}left(frac{epsilon}{D}right)

4. Minor Losses and Pumping Power

Local disturbances caused by valves, elbows, reducers, tees, and entrance/exit manifolds dissipate kinetic energy through vortex formation. These are quantified via minor loss coefficients $K_L$:

h_m = left(sum K_Lright) frac{v^2}{2 g} quad implies quad h_{text{total}} = h_f + h_m

The total hydraulic pump power $P_{text{hydraulic}}$ and required electrical shaft driver power $P_{text{shaft}}$ for a pump with mechanical-electrical efficiency $eta_{text{pump}}$ are:

P_{text{hydraulic}} = rho , g , Q , h_{text{total}} = Q cdot Delta P_{text{total}} quad [text{Watts}] P_{text{shaft}} = frac{P_{text{hydraulic}}}{eta_{text{pump}}} = frac{rho , g , Q , h_{text{total}}}{eta_{text{pump}}} quad [text{Watts}]

Step-by-Step Worked Engineering Example

A cooling water circulation line transfers water from a cooling tower basin to a chemical processing condenser under the following engineering parameters:

  • Volumetric Flow Rate: $Q = 120.0 text{ m}^3/text{h} = 0.03333 text{ m}^3/text{s}$
  • Pipe Inside Diameter: $D = 150 text{ mm} = 0.150 text{ m}$
  • Total Pipe Length: $L = 250 text{ m}$
  • Pipe Material: Commercial welded carbon steel ($epsilon = 0.045 text{ mm} = 4.5 times 10^{-5} text{ m}$)
  • Fluid: Water at $20,^circtext{C}$ ($rho = 998.2 text{ kg/m}^3$, $nu = 1.004 times 10^{-6} text{ m}^2/text{s}$)
  • Fittings: Four $90^circ$ standard elbows ($K = 0.75$ each), two gate valves fully open ($K = 0.15$ each), one swing check valve ($K = 2.0$), and a flush pipe entrance ($K = 0.5$): $sum K_L = 4(0.75) + 2(0.15) + 2.0 + 0.5 = 5.80$
  • Pump Efficiency: $eta_{text{pump}} = 78%$

Step 1: Compute Flow Velocity ($v$)

A = frac{pi D^2}{4} = frac{pi (0.150)^2}{4} = 0.01767 text{ m}^2 v = frac{Q}{A} = frac{0.03333 text{ m}^3/text{s}}{0.01767 text{ m}^2} = 1.8863 text{ m/s} frac{v^2}{2 g} = frac{(1.8863)^2}{2 times 9.80665} = frac{3.5582}{19.6133} = 0.1814 text{ m}

Step 2: Calculate Reynolds Number ($Re$) & Relative Roughness

Re = frac{v D}{nu} = frac{1.8863 times 0.150}{1.004 times 10^{-6}} = frac{0.28295}{1.004 times 10^{-6}} = 2.818 times 10^5 frac{epsilon}{D} = frac{0.045 text{ mm}}{150 text{ mm}} = 0.00030

Since $Re = 281,800 > 4,000$, the flow is fully in the turbulent regime.

Step 3: Calculate Darcy Friction Factor ($f$) via Swamee-Jain

log_{10}left(frac{epsilon / D}{3.7} + frac{5.74}{Re^{0.9}}right) = log_{10}left(frac{0.00030}{3.7} + frac{5.74}{(281,800)^{0.9}}right) frac{0.00030}{3.7} = 8.108 times 10^{-5} (281,800)^{0.9} = 80,695 implies frac{5.74}{80,695} = 7.113 times 10^{-5} text{Sum} = 8.108 times 10^{-5} + 7.113 times 10^{-5} = 1.5221 times 10^{-4} log_{10}(1.5221 times 10^{-4}) = -3.81755 f = frac{0.25}{(-3.81755)^2} = frac{0.25}{14.5737} = 0.01715

Step 4: Compute Major and Minor Head Losses

h_f = f frac{L}{D} left(frac{v^2}{2 g}right) = 0.01715 times left(frac{250}{0.150}right) times 0.1814 = 0.01715 times 1666.67 times 0.1814 = 5.185 text{ m} h_m = left(sum K_Lright) left(frac{v^2}{2 g}right) = 5.80 times 0.1814 = 1.052 text{ m} h_{text{total}} = h_f + h_m = 5.185 + 1.052 = 6.237 text{ m of water column}

Step 5: Calculate Total Pressure Drop and Required Pumping Power

Delta P_{text{total}} = rho , g , h_{text{total}} = 998.2 times 9.80665 times 6.237 = 61,054 text{ Pa} = 61.05 text{ kPa} quad (0.611 text{ bar}) P_{text{hydraulic}} = Q cdot Delta P_{text{total}} = 0.03333 text{ m}^3/text{s} times 61,054 text{ N/m}^2 = 2,035 text{ Watts} = 2.035 text{ kW} P_{text{shaft}} = frac{2.035 text{ kW}}{0.78} = 2.609 text{ kW} quad (3.50 text{ brake horsepower, hp})

Standard Roughness and Minor Loss Reference Table

Pipe Material / Component Absolute Roughness $epsilon$ (mm) Typical Minor Loss $K_L$ Application Characteristics
Drawn Copper / Brass / PVC / PEX 0.0015 – 0.0025 — Hydraulically smooth, zero corrosion scale, residential/commercial plumbing
Commercial Carbon Steel (New) 0.045 — Standard industrial process piping, oil/gas, steam lines
Galvanized Steel 0.15 — Zinc-coated water utility piping, fire protection sprinkler mains
Ductile Cast Iron (Unlined) 0.26 — Municipal potable water distribution, heavy storm sewer mains
Concrete Pipe (Smoothed) 0.30 – 1.00 — Large diameter storm culverts, irrigation conduits, raw water aqueducts
$90^circ$ Standard Threaded Elbow — 0.75 – 0.90 Sharp bend, localized vortex separation on inner and outer radius
Gate Valve (Fully Open) — 0.15 – 0.20 Straight-through bore, minimal resistance when fully retracted
Globe Valve (Fully Open) — 6.0 – 10.0 S-shaped tortuous internal path, severe flow deflection and pressure loss
Swing Check Valve (Fully Open) — 2.0 – 2.5 Backflow prevention flapper held open against flow inertia

Frequently Asked Questions

Velocity depends inversely on the square of diameter ($v propto 1/D^2$), so velocity squared scales as $v^2 propto 1/D^4$. Substituting into the Darcy-Weisbach equation reveals that head loss scales inversely with the fifth power of pipe diameter ($h_f propto 1 / D^5$ for a fixed volumetric flow rate $Q$). Doubling the internal pipe diameter reduces frictional head loss and pumping power by an astonishing factor of $2^5 = 32$-fold, highlighting why selecting slightly larger pipe diameters often pays for itself rapidly in lifetime energy savings.

As steel and unlined cast iron pipes age, electrochemical corrosion, tuberculation (iron oxide nodules), and mineral scale deposition (calcium carbonate precipitation) dramatically roughen the internal pipe wall. In municipal water mains in service for 30 to 50 years, the effective roughness $epsilon$ can increase from $0.045 text{ mm}$ to over $1.5text{–}3.0 text{ mm}$, accompanied by a reduction in effective flow diameter. This increases pumping energy requirements by 200% to 400% over original design baselines.

Dynamic viscosity ($mu$, units $text{Pa}cdottext{s}$ or $text{cP}$) represents a fluid's internal tangential resistance to deformation when subjected to an external shear stress. Kinematic viscosity ($nu = mu / rho$, units $text{m}^2/text{s}$ or $text{cSt}$) is dynamic viscosity divided by fluid density, representing the rate of momentum diffusion through the fluid. Kinematic viscosity is the parameter directly used in the Reynolds number equation when velocity and length scales are known.