Darcy-Weisbach Equation Calculator

Calculate pressure drop and head loss in pipes using the Darcy-Weisbach equation.

ΔP = f × (L/D) × (ρV²/2)
h = f × (L/D) × (V²/(2g))

Default: 1000 kg/m³ (water)

Darcy-Weisbach Equation:

  • Pressure Drop: ΔP = f × (L/D) × (ρV²/2)
  • Head Loss: h = f × (L/D) × (V²/(2g))
  • Where: f = friction factor, L = length, D = diameter, ρ = density, V = velocity, g = gravity
  • Friction factor depends on Reynolds number and pipe roughness
  • For laminar flow (Re < 2300): f = 64/Re
  • For turbulent flow: use Colebrook equation or Moody diagram

Published: December 2025 | Author: TriVolt Editorial Team | Last Updated: February 2026

Flow Regimes

Laminar Flow

Laminar flow occurs at low Reynolds numbers (Re < 2300). Flow is smooth and orderly, with fluid moving in parallel layers. Friction losses are relatively low and proportional to velocity. The friction factor is simply 64/Re, independent of pipe roughness.

Transitional Flow

Transitional flow occurs between Reynolds numbers of 2300 and 4000. Flow characteristics are unpredictable, and calculations are less reliable. In practice, systems are typically designed to avoid this range.

Turbulent Flow

Turbulent flow occurs at high Reynolds numbers (Re > 4000). Flow is chaotic with eddies and mixing. Friction losses are higher and proportional to velocity squared. The friction factor depends on both Reynolds number and pipe roughness.

Practical Applications

Pipe Sizing

The Darcy-Weisbach equation helps determine appropriate pipe sizes. Larger diameters reduce velocity and pressure drop, but increase material costs. Engineers balance these factors to optimize system design.

Pump Selection

Pressure drop calculations determine the total head required from pumps. The sum of static head, friction head, and pressure requirements equals the total dynamic head (TDH) that the pump must overcome.

System Analysis

Understanding pressure drop helps analyze existing systems, identify bottlenecks, and optimize performance. High pressure drops may indicate undersized pipes, excessive fittings, or fouling.

Energy Efficiency

Reducing pressure drop decreases pumping power requirements. The power required to overcome friction is proportional to flow rate times pressure drop. Optimizing pipe sizes and minimizing unnecessary fittings reduces energy consumption.

Real-World Examples

Example 1: Water Distribution System

Calculate pressure drop for 100 GPM (6.3 L/s) flowing through 200 feet (61 m) of 4-inch (102 mm) diameter steel pipe (roughness = 0.00015 ft or 0.046 mm) with friction factor f = 0.018:

Imperial: Area = π × (4/12/2)² = 0.0873 ft²

Q = 100 GPM ÷ 448.831 = 0.2228 ft³/s (use 448.831 gal/(ft³/s), not 7.48052 gal/ft³)

Velocity = 0.2228 / 0.0873 = 2.55 ft/s

Head loss = 0.018 × (200 / (4/12)) × (2.55² / (2×32.174)) = 1.1 ft

Pressure drop = 62.4 × 1.1 / 144 = 0.48 psi

Metric: Area = π × (0.102/2)² = 0.00817 m²

Velocity = 0.0063 / 0.00817 = 0.77 m/s

Head loss = 0.018 × (61/0.102) × (0.77² / (2×9.81)) = 0.33 m

Pressure drop = 1000 × 9.81 × 0.33 / 1000 = 3.2 kPa

Imperial and metric results are consistent: 0.48 psi × 6.895 = 3.3 kPa ✓

Example 2: Effect of Diameter

Compare pressure drop for the same flow in 3-inch (76 mm) vs. 4-inch (102 mm) pipes (same length, same friction factor):

For smaller diameter: Head loss ∝ 1/D × V², and V ∝ 1/D², so h ∝ 1/D⁵

Imperial: 4-inch to 3-inch ratio: (4/3)⁵ = 4.2× higher pressure drop

Metric: 102 mm to 76 mm ratio: (102/76)⁵ = 4.2× higher pressure drop

Reducing diameter from 4" (102 mm) to 3" (76 mm) increases pressure drop by over 4 times!

Example 3: Laminar vs. Turbulent

For water at 1 ft/s (0.305 m/s) in a 2-inch (51 mm) pipe (Re ≈ 15,000, turbulent, f ≈ 0.028) vs. same conditions with higher viscosity fluid (Re ≈ 1,500, laminar, f = 64/1500 = 0.043):

Turbulent: h ∝ 0.028 × V² (both imperial and metric)

Laminar: h ∝ 0.043 × V (linear with velocity, both systems)

Reynolds number is dimensionless, so flow regime is the same in both systems. At low velocities, laminar flow may have higher friction; at high velocities, turbulent dominates.

Pipe Roughness Values

Absolute roughness (ε) varies with pipe material and condition. Common values include:

  • Drawn tubing: 0.000005 ft (0.0015 mm)
  • Commercial steel: 0.00015 ft (0.046 mm)
  • Cast iron: 0.00085 ft (0.26 mm)
  • Concrete: 0.001-0.01 ft (0.3-3 mm)
  • Riveted steel: 0.003-0.03 ft (0.9-9 mm)

Roughness increases with age, corrosion, and fouling. Old pipes may have significantly higher roughness than new pipes of the same material.

Important Considerations

Fittings and Valves

The Darcy-Weisbach equation applies to straight pipe sections. Fittings, valves, and other components create additional pressure losses. These are typically handled using:

  • Equivalent length method: Convert fittings to equivalent pipe length
  • K-value method: Use loss coefficients: ΔP = K × (ρV²/2)
  • Resistance coefficients: Similar to K-values but standardized

Minor Losses

In addition to friction losses, systems have minor losses from:

  • Entrance and exit effects
  • Sudden expansions and contractions
  • Bends and elbows
  • Valves and fittings
  • Flow meters and other devices

For long pipes, friction losses dominate. For short pipes with many fittings, minor losses may be significant.

Temperature Effects

Fluid properties change with temperature, affecting Reynolds number and friction factor. Viscosity typically decreases with temperature, increasing Reynolds number and potentially changing flow regime. Density changes also affect pressure drop calculations.

Non-Circular Ducts

For non-circular ducts, use the hydraulic diameter: Dh = 4A/P, where A is cross-sectional area and P is wetted perimeter. The Darcy-Weisbach equation then applies using the hydraulic diameter.

Comparison with Other Methods

Hazen-Williams Equation

The Hazen-Williams equation is an empirical formula that's simpler but less accurate. It's limited to water at typical temperatures and doesn't account for viscosity changes. Darcy-Weisbach is more fundamental and applies to all fluids and conditions.

Moody Diagram

The Moody diagram is a graphical representation of the friction factor relationship. It shows friction factor as a function of Reynolds number and relative roughness, making it easy to determine f for manual calculations.

Tips for Using This Calculator

  • Enter flow rate, pipe diameter, length, and friction factor to calculate pressure drop
  • Use the Friction Factor calculator if the friction factor is unknown
  • Friction factor depends on Reynolds number and relative roughness
  • For laminar flow (Re < 2300), f = 64/Re regardless of roughness
  • For turbulent flow, use Colebrook equation or approximations
  • Fluid density defaults to water (62.4 lb/ft³ or 1000 kg/m³) but can be adjusted
  • Remember to add minor losses from fittings and valves
  • Consider pipe roughness changes due to age, corrosion, or fouling
  • For non-circular ducts, use hydraulic diameter
  • Always verify critical calculations independently, especially for safety-critical applications

Common Pitfalls

Wrong flow unit conversion. The constant 448.831 converts GPM to ft³/s (60 s/min × 7.48052 gal/ft³). Using 7.48052 by itself drops a factor of 60 and produces a head-loss answer 3,600× too small. If your velocity seems absurdly low, recheck this constant first.

Using f for the Fanning friction factor by accident. The Darcy friction factor and the Fanning friction factor differ by a factor of 4 (Darcy = 4 × Fanning). Chemical engineering tables often list Fanning; mechanical and civil tables list Darcy. Using the wrong one makes head loss either 4× too high or 4× too low.

Ignoring pipe aging. Commercial steel starts at ε = 0.046 mm but can reach 0.5–2 mm after 20 years of service due to tuberculation and scale. A relative-roughness shift from 0.0005 to 0.01 doubles the turbulent friction factor. Design for end-of-life roughness, not day-one.

Neglecting the velocity-head term on size changes. If the pipe expands or contracts, some pressure converts to/from velocity. Darcy-Weisbach as commonly applied gives friction loss only — add the Bernoulli velocity-head change separately at diameter transitions.

Applying turbulent correlations in the transitional regime. Between Re = 2,300 and 4,000, friction behavior is unpredictable. Colebrook and Moody-diagram turbulent branches overshoot significantly. In practice, design to avoid this range by sizing pipes for Re > 4,000 at minimum operating flow.

Frequently Asked Questions

How do I determine the friction factor? For laminar flow (Re < 2,300), f = 64/Re explicitly. For turbulent flow, use the Colebrook-White equation iteratively, or use the explicit Swamee-Jain approximation: f = 0.25 / [log₁₀(ε/3.7D + 5.74/Re0.9)]². The Moody diagram is the graphical equivalent.

When is velocity head significant relative to friction loss? For short pipe runs with many fittings, minor losses and velocity head can dominate. A rule of thumb: if L/D < 1,000, check minor losses; if L/D < 100, they likely dominate.

Why is temperature important? Viscosity controls Reynolds number. Water at 4°C is 1.8× more viscous than at 60°C. A system that's turbulent (Re = 5,000) in summer may be laminar (Re = 2,800) in winter with the same flow rate — and the friction factor behaves very differently in each regime.

What about compressible flow? Darcy-Weisbach in its standard form assumes incompressible flow. For gases at low Mach numbers (under ~0.3) and modest pressure drops (under 10% of absolute), it works. For steam, compressed air at long runs, or high Mach, use the Fanno-flow or Weymouth equations instead.

How accurate is Darcy-Weisbach? With good roughness data and a validated friction factor, accuracy is typically ±5% — limited mainly by uncertainty in ε. With assumed roughness values from tables, expect ±15–25%. Field-measured friction factors can pin down a specific system to ±2%.

Related Calculators

Friction loss is one component of a larger hydraulic picture. These tools complement Darcy-Weisbach:

  • Hazen-Williams — faster explicit calculation for water-only systems near room temperature.
  • Pipe Flow Velocity — check velocity against erosion and noise limits before committing pipe size.
  • Pump Sizing — combine friction head with static and pressure head for TDH.
  • NPSH Calculator — suction-line friction h_f from Darcy-Weisbach feeds directly into NPSHa.
  • Pressure Drop — add minor losses from fittings and valves on top of the Darcy-Weisbach friction term.
  • All Hydraulic Calculators — complete hub.

Disclaimer

This calculator is provided for educational and informational purposes only. While we strive for accuracy, users should verify all calculations independently, especially for critical applications. Pipe system design should be performed by qualified engineers. We are not responsible for any errors, omissions, or damages arising from the use of this calculator.


Also in Engineering

  • → Friction Factor — Calculate friction factor using Colebrook equation or Swamee-Jain approximation
  • → Pipe Flow Velocity — Calculate flow velocity in pipes based on flow rate and pipe diameter
  • → Pump Sizing — Calculate pump power, head requirements, and NPSH
  • → Ductwork Sizing Calculator — Size round and rectangular HVAC ducts using the equal friction method per ASHRAE Fundamentals Ch. 21 / SMACNA. Darcy-Weisbach friction with Colebrook-White, velocity limits, and rectangular equivalent diameter.