Skip to main content

Pressure Drop / Head Loss Calculator (Darcy-Weisbach)

Undersize a pipe and your pump strains, your energy bill climbs, and the flow never reaches the far end with enough pressure. Oversize it and you've wasted money on material forever. The number that decides it all is pressure drop — the energy a fluid loses to friction as it travels through a pipe or duct. The gold-standard way to calculate it is the Darcy-Weisbach equation, and this guide gives you a free calculator that does the hard part — the friction factor via the Colebrook-White and Swamee-Jain equations — automatically and accurately.

Pressure drop head loss Darcy-Weisbach pipe diagram

Figure 1. As fluid flows through a pipe, friction with the walls steadily drains its pressure from P₁ to P₂. The Darcy-Weisbach equation quantifies exactly how much is lost.

The Pressure Drop / Head Loss Calculator

Enter your pipe, fluid and flow details. The tool computes the Reynolds number, friction factor (both Colebrook and Swamee-Jain), head loss and pressure drop — with fluid and roughness presets so you can start instantly. You can enter velocity directly or a flow rate.

💧 Pressure Drop / Head Loss Calculator (Darcy-Weisbach)

Friction factor via Colebrook-White & Swamee-Jain · SI units
Pipe geometry
Fluid & flow
pressure drop ΔP
head loss h_f (m)
Reynolds number
friction factor f
velocity (m/s)
Method: Re = ρVD/μ; laminar (Re<2300) f = 64/Re; turbulent f from Colebrook-White (iterated) with Swamee-Jain seed. Head loss h_f = f·(L/D)·V²/(2g); pressure drop ΔP = ρ·g·h_f = f·(L/D)·ρV²/2. Flow rate → velocity via V = Q/A, A = π(D/2)². This is the major (friction) loss only — add minor losses from fittings, valves and bends (K-factors) for a total system pressure drop.
Validation note: the calculator matches published references. For water at 2 m/s in a 100 m × 100 mm commercial-steel pipe it gives Re ≈ 199,000, f ≈ 0.0186 (Colebrook) vs 0.0187 (Swamee-Jain), a head loss ≈ 3.8 m and a pressure drop ≈ 37 kPa. A textbook case with f = 0.02 gives exactly 4.08 m of head loss.

What Are Head Loss & Pressure Drop?

As a fluid flows through a pipe, it rubs against the walls and against itself. This friction steadily drains its energy — an effect called major loss. There are two ways to express it, and they're two views of the same thing:

  • Head loss (hf) — the energy lost per unit weight of fluid, measured in metres of fluid column. Convenient for pumps and gravity-fed systems.
  • Pressure drop (ΔP) — the same loss expressed as a pressure, in pascals or bar. Convenient for closed, pressurised systems and fans.

They convert directly:

ΔP = ρ · g · hf
One important note: Darcy-Weisbach gives the major loss — friction along straight pipe. Real systems also have minor losses from valves, bends, tees and fittings (calculated with K-factors). For a full system, add both.

The Darcy-Weisbach Equation

The Darcy-Weisbach equation is the most general and accurate pipe-friction formula, valid for any Newtonian fluid in laminar or turbulent flow:

hf = f · (L/D) · V² / (2g)
ΔP = f · (L/D) · ρV² / 2

where f is the Darcy friction factor, L the pipe length, D the diameter, V the velocity, ρ the density and g gravity. Three things immediately follow from the maths:

  • Head loss is proportional to length — double the pipe, double the loss.
  • Head loss is proportional to velocity squared — double the speed, quadruple the loss.
  • Head loss is inversely proportional to diameter — and because a bigger pipe also lowers velocity, increasing diameter cuts pressure drop dramatically.
Darcy vs Fanning: the Darcy friction factor is four times the Fanning friction factor (fDarcy = 4 · fFanning). This calculator uses the Darcy convention. When reading values from another source, always check which one it uses — mixing them gives a 4× error.

The Friction Factor (the Hard Part)


Friction factor Colebrook Swamee-Jain laminar Moody methods

Figure 2. The Darcy-Weisbach equation is easy — the complexity lives in the friction factor, which depends on the Reynolds number and the pipe's relative roughness.

The friction factor f is where all the difficulty sits. It depends on the flow regime (via the Reynolds number) and, in turbulent flow, on the pipe's relative roughness ε/D.

Laminar flow (Re < 2300)

f = 64 / Re

Simple and exact. Roughness has no effect in laminar flow — the fluid layers glide over each other without touching the wall texture.

Turbulent flow (Re > 4000)

Here f depends on both Re and ε/D, and there's no simple exact formula — which is why we need the Colebrook-White or Swamee-Jain equations below.

Colebrook-White vs Swamee-Jain

Two correlations dominate practical work:

Colebrook-White (the gold standard)

1/√f = −2 log₁₀( (ε/D)/3.7 + 2.51/(Re·√f) )

The most accurate method — but notice f appears on both sides. It's implicit and must be solved by iteration. This calculator iterates it to full convergence for you.

Swamee-Jain (the practical shortcut)

f = 0.25 / [ log₁₀( (ε/D)/3.7 + 5.74/Re⁰·⁹ ) ]²

An explicit approximation — solvable directly, no iteration. It sits within about 1–2% of Colebrook across the normal range, which is why it's the workhorse of design tools and spreadsheets. The calculator shows both so you can compare.

MethodTypeAccuracyBest for
f = 64/ReExactExact (laminar only)Re < 2300
Colebrook-WhiteImplicit (iterate)Gold standardPrecise turbulent work
Swamee-JainExplicit~1–2% of ColebrookFast design & spreadsheets
Moody chartGraphicalReading accuracyQuick checks & teaching

Pipe Roughness Values

The absolute roughness ε depends on the pipe material. Typical values:

MaterialRoughness ε (mm)
Drawn tubing, glass, PVC/plastic0.0015
Commercial / new steel0.045
Galvanized iron0.15
Cast iron0.26
Riveted steel0.9 – 9
Concrete0.3 – 3

The calculator's material dropdown fills these in automatically, or you can enter a custom value.

Worked Example

Water at 20 °C flows at 2 m/s through a 100 m long, 100 mm commercial-steel pipe:

  • Re = ρVD/μ = 998 × 2 × 0.1 / 0.001002 ≈ 199,000 → turbulent
  • Relative roughness ε/D = 0.045/100 = 0.00045
  • Friction factor (Colebrook) ≈ 0.0186 (Swamee-Jain ≈ 0.0187 — within 0.5%)
  • Head loss hf = 0.0186 × (100/0.1) × (2²/19.62) ≈ 3.8 m
  • Pressure drop ΔP = ρg·hf37 kPa (0.37 bar)

Try it in the calculator — the numbers match. Now change the diameter to 150 mm and watch the pressure drop collapse: because velocity falls and loss depends on V², a 50% bigger pipe cuts the loss by roughly 80%.

Applications in HVAC & Plumbing

Pressure-drop calculation is everywhere in building services and process engineering:

  • Pump & fan sizing — the total system pressure drop sets the pump head or fan pressure you must supply.
  • Pipe sizing — balancing material cost against pumping-energy cost over the system's life.
  • HVAC water & air distribution — chilled-water loops, heating circuits and ductwork all live or die by pressure drop. It pairs directly with airflow sizing in our CFM calculator and cooling sizing in our HVAC AC load calculator.
  • Ventilation design — duct friction is a major driver of fan energy; see natural vs mechanical ventilation.
  • Water supply & irrigation — ensuring adequate pressure reaches every outlet.
Energy insight: because head loss scales with V², oversizing a pipe slightly can save large amounts of pumping energy over decades. Fan and pump power grows even faster (roughly with flow cubed), so a modest pressure-drop reduction pays back continuously.

Common Mistakes

  • Confusing Darcy and Fanning friction factors — they differ by 4×. This is the most common and most damaging error.
  • Forgetting minor losses. Fittings, valves and bends can rival straight-pipe loss in a compact system.
  • Using roughness in the wrong units. ε is usually quoted in mm; the calculator handles the conversion, but check your inputs.
  • Applying Hazen-Williams to non-water fluids. That shortcut only works for water in turbulent flow; Darcy-Weisbach works for anything.
  • Ignoring the flow regime. Using a turbulent correlation for laminar flow (or vice versa) gives wrong results — always check Re first.
  • Using inner vs nominal diameter. Always use the true internal diameter, not the nominal pipe size.
  • Applying it to open channels. Darcy-Weisbach is for full, pressurised pipe flow; free-surface flow needs Manning's equation.

Frequently Asked Questions

What is the Darcy-Weisbach equation?

hf = f·(L/D)·V²/(2g), the most general pipe-friction formula, valid for any Newtonian fluid in laminar or turbulent flow. Multiply head loss by ρg to get pressure drop.

What is the difference between head loss and pressure drop?

Head loss is energy lost per unit weight, in metres of fluid column; pressure drop is the same loss as a pressure, in pascals. They relate by ΔP = ρ·g·hf.

What is the Colebrook-White equation?

The most accurate turbulent friction-factor correlation, relating f to Reynolds number and relative roughness. It's implicit (f on both sides) so it needs iteration, and it underlies the Moody chart.

What is the Swamee-Jain equation?

An explicit approximation of Colebrook-White, solvable without iteration and within about 1–2%. Popular for design tools and spreadsheets.

How do you find the friction factor for laminar flow?

f = 64/Re. It's exact, and roughness has no effect because the fluid layers don't interact with the wall texture.

Why does pressure drop increase with velocity squared?

Head loss is proportional to V², so doubling velocity quadruples the loss. It's also why a larger pipe helps so much — it carries the same flow at lower velocity, and loss depends on V².

Conclusion

Pressure drop is the quiet cost in every piping and duct system — it sets your pump and fan power, your pipe sizes, and your energy bills for the life of the installation. The Darcy-Weisbach equation is the reliable way to predict it, and the only real difficulty — the friction factor — is handled for you here through the Colebrook-White and Swamee-Jain methods. Compute the Reynolds number, pick the roughness, and let the calculator convert it straight into head loss and pressure drop.

Bookmark it and use it whenever you size a pipe, select a pump, or design a duct — a few seconds here saves energy and money for years.


For more fluid mechanics, HVAC and CFD tutorials plus free engineering calculators, explore Free CFD Tutorial. If this tool helped you, please share it with your classmates and colleagues.

Comments

Popular posts from this blog

Ceiling Fan Simulation in a Room Using Ansys Fluent | Adding Fan Boundary Condition in CFD

Ceiling Fan Simulation in a Room Using Ansys Fluent | Adding Fan Boundary Condition in CFD Introduction In this tutorial, we will perform a CFD simulation of a ceiling fan inside a room using Ansys Fluent. We will also learn how to add a fan boundary condition to simulate airflow behavior accurately. Step 1: Setting Up the Geometry in Ansys Open Ansys Workbench and create a new Fluid Flow (Fluent) Project . Use SpaceClaim or DesignModeler to create the room and fan geometry. Ensure that the fan blades are modeled properly or import the 3D fan model. Step 2: Meshing the Model Open the Meshing Tool in Ansys. Apply a fine mesh around the fan for better resolution. Use inflation layers near walls for accurate boundary layer calculations. Step 3: Defining the Boundary Conditions Open Ansys Fluent and import the mesh. Set the room walls as no-slip boundaries. Define the fan region and apply the fan boundary condition . Set the inlet velocity and outlet pressure as per simulation r...

TUTORIAL 03: CFD ANALYSIS OF DATA CENTER USING OPEN FOAM SOFTWARE

Title : CFD analysis of data center using open foam software Figure 3.1 (a) Velocity Contour of data center with BCs Figure 3.1 (b) Meshed domain of data center Problem Identification In this problem investigation of data center using OPENFOAM is proposed for heat transfer modeling (data center cooling), in which air is flow in data center from prescribed location section from one inlet condition, which is assumed at surface of left side wall (See the following figure). Air properties are selected from literature available in digital medium. Outlet is at top of the room which is selected for cooling effect of data center system. Some assumptions are applied in this problem like initial room temperature is assumed at constant value for this problem. Air properties are also assumed constant for this problem. “ buoyantBoussinesqPimpleFoam ”  is selected as solver for this problem. Open Foam software is installed on Win 7, provided by FSD blueCAPE Lda: http://bluec...

FDS-01: SIMPLE FLUID FLOW ANALYSIS USING FDS (FIRE DYNAMICS SIMULATOR) TOOL

FDS-01: SIMPLE FLUID FLOW ANALYSIS USING FDS (FIRE DYNAMICS SIMULATOR) TOOL In this tutorial a window is created which is treated as inflow of air with velocity of 2.5 m/s having temperature of 5 C. The outflow conditions is treated at top of the office, and the boundary condition is set as open to atmosphere  The steps are followed in this tutorial are listed below::   Step I: create header syntax file to start program in FDS software.   &HEAD CHID='office'/ Note: office is user defined name of FDS function/ file.   Step II: create syntax for simulation flow time.   &TIME T_END=15.0 Note: 15 sec is simulation flow time, which is solved in FDS software.   Step III: create syntax for initial temperature of domain.   &MISC TMPA=45.0/   Note: 45 C is initial room temperature, which is provided in this tutorial. Following three syntax is must for every FDS function.   Step IV: Create syntax for geom...