Head Loss Calculator – Darcy–Weisbach Friction Loss & Pressure Drop

Use this free Head Loss Calculator to find the friction head loss in a pipe with the Darcy–Weisbach equation. Friction against the pipe wall steadily drains pressure along a pipeline — this tool gives both the head loss in metres and the equivalent pressure loss.

Push water through a pipe and the pipe pushes back — not with a single obstacle, but with a continuous tax levied on every metre of the journey. Friction between the moving fluid and the wall, and the turbulence that friction breeds, converts pressure steadily into heat. The Darcy–Weisbach equation is the accountant of that tax: it predicts the head loss hf — the metres of fluid height whose energy the journey consumes — from the pipe's length, diameter, the flow's velocity and a single empirical friction factor. This calculator evaluates it and translates the answer into the pressure drop a pump must repay.

The equation's character is set by two ratios and a square. The length-to-diameter ratio L/D counts how many pipe-widths of wall the flow must slide past — a long, thin pipe is all wall. The velocity head v²/2g is the kinetic energy each kilogram of fluid carries, and the friction factor f decides what fraction of it is surrendered per diameter of travel. The square on velocity is the tyrant of the piece: double the flow speed and the loss quadruples, a relationship that caps the ambitions of every pipeline designer and explains why pipes grow so quickly in diameter as flows grow.

Head Loss Calculator — formula and diagram

Head, the unit of the answer, deserves its fame. Expressing energy as a height of the fluid itself lets pumps, pipes and reservoirs speak one language: a pump "adds 30 m of head", friction "takes 4 m", a hill "costs 12 m" — and the system's fate is the arithmetic of those heights. This calculator's second output, the pressure drop ΔP = ρghf, is the same loss translated for the gauge-readers. Between the two, every pipeline energy budget can be kept honestly.

the energy grade line falls by h f pump must repay it h f = f (L/D) (v² / 2g)

Formula

Darcy–Weisbach hf = f × (L/D) × (v² / 2g)  •  and ΔP = ρ g hf; f dimensionless, L and D in metres, v in m/s, hf in metres of the flowing fluid

Each factor earns its place: f, the Darcy friction factor, packages the wall's roughness and the flow's turbulence into one number (found from the Moody chart via the Reynolds number Re = vD/ν); L/D counts diameters of travel; v²/2g is the velocity head, the natural energy currency of the flow. Rearranged, the equation also answers design questions: the diameter needed to keep loss under a budget at a given flow (with v from the continuity equation, this becomes a search best done by trying the next pipe size up), or the maximum velocity a pump's spare head can afford. This calculator uses g = 9.81 m/s² and reports hf in metres and ΔP in Pa and kPa.

SymbolMeaningUnits
hffriction head loss along the pipem (of the fluid)
fDarcy friction factor (Moody chart)dimensionless, typically 0.01–0.04
L, Dpipe length and internal diameterm
vmean flow velocity, Q/Am/s
ΔPpressure loss, ρ g hfPa, kPa

The friction factor: one number, two regimes

The friction factor is where the physics of turbulence hides. In laminar flow — slow, smooth, honey-like, Reynolds number below about 2,300 — the factor is a gift of pure theory: f = 64/Re, independent of the wall entirely, because the fluid slides in layers that never touch the wall's roughness with any violence. In turbulent flow, the regime of nearly all water engineering, f depends on both Re and the wall's relative roughness ε/D, and the relationship is the famous Moody chart: at moderate Re the factor falls as the flow speeds up (the smooth-pipe behaviour), until at high Re it levels onto a plateau set by roughness alone, where the turbulent eddies are large compared with the wall's texture and viscosity stops mattering. Commercial steel, plastic and old cast iron each live at characteristic addresses on that chart, which is why "f = 0.02" is a fair default for water in decent pipe and a dangerous one for a corroded main.

For the reference case on this page — water at 2 m/s in a 0.1 m pipe — the Reynolds number is Re = 2 × 0.1 / 10−6 = 200,000: deep in turbulence, where f ≈ 0.02 for smooth pipe is exactly what the Moody chart returns. The number is not a guess; it is the chart read at the flow's own coordinates, and the depth section on minor losses shows how the same velocity head prices the fittings as well.

smoother pipe → lower f f falls with Re, then levels Reynolds number → f the Moody chart, sketched: roughness sets the plateau

How to use

  1. Enter the Darcy friction factor — 0.02 is pre-filled as a typical value for water in smooth commercial pipe; consult the Moody chart for your Reynolds number and roughness if precision matters.
  2. Enter the pipe length and internal diameter in metres.
  3. Enter the mean velocity in m/s (from Q ÷ A — the flow velocity solver on this site computes it).
  4. Enter the fluid density (1,000 kg/m³ for water) and click "Calculate Head Loss" for hf in metres and ΔP in Pa and kPa.

Worked examples

Example 1 — the reference pipeline. Water at 2 m/s through 100 m of 0.1 m pipe, f = 0.02.
hf = 0.02 × (100/0.1) × (2²/(2 × 9.81)) = 0.02 × 1,000 × 0.2039 = 4.08 m; ΔP = 1,000 × 9.81 × 4.08 = 40,000 Pa = 40 kPa. A pump serving this line spends 4 metres of its head — before lifting anything — on friction alone.

Example 2 — the velocity tyranny. Double the speed to 4 m/s in the same pipe: the velocity head quadruples, so hf = 16.31 m and ΔP = 160 kPa. This is why "just push it faster" is the most expensive sentence in pipeline design — the pump, the power bill and the pipe's pressure rating all pay the square.

Example 3 — the diameter remedy. Double the diameter instead (0.2 m, same 2 m/s, same 100 m): L/D halves to 500, so hf = 2.04 m. And if the flow is held constant rather than the velocity, the bigger pipe also slows the flow (continuity), compounding the saving roughly sixteen-fold — the combined effect that makes upsizing the classic cure.

Example 4 — the long haul. Stretch the reference pipe to 500 m at 2 m/s: L/D = 5,000 and hf = 20.39 m. Length is the honest factor — no square, no surprise — but over kilometres it accumulates into the booster stations that dot every long pipeline and aqueduct.

Example 5 — a full design chain. A line must carry Q = 0.05 m³/s through 200 m of 0.2 m pipe. Continuity gives v = 1.59 m/s; Darcy–Weisbach with f = 0.02 gives hf = 0.02 × 1,000 × (1.59²/19.62) = 2.58 m, ΔP ≈ 25,330 Pa. Two calculators, one answer — the standard two-step of pipeline sizing.

Example 6 — the old pipe penalty. Let the reference pipe corrode until f doubles to 0.04: hf = 8.15 m. Nothing about the flow changed — the wall did. Utilities budget for exactly this decay, and the energy wasted by rough old mains is a measurable slice of a city's power bill.

Head loss in real life

Pump selection. Every pump duty point is a negotiation between the pump's head–flow curve and the system's: static lift plus this friction loss, which grows with the square of flow. The intersection is where the system will actually run — this calculator supplies the system's side of the bargain.

Municipal water networks. Cities lose pressure across kilometres of mains exactly as Example 4 accumulates; pressure zones, booster pumps and the notorious low pressure at the far end of a growing suburb are head-loss arithmetic at civic scale.

Fire protection. Sprinkler and hydrant standards are built on head-loss calculations: the farthest sprinkler must still receive its design pressure after friction has taxed every metre of pipe between it and the pump.

Heating and cooling circuits. The "pump head" of a boiler circulator is chosen to overcome the index circuit's friction loss; balancing valves then deliberately add loss to the favoured branches so every radiator receives its share.

Irrigation mains. A farmer's electricity bill is, in large part, hf × Q × ρg paid hourly. Doubling a main's diameter can cut the pumping cost of a field by more than the pipe costs — Example 3 with a mortgage attached.

Blood flow, at the small end. The same equation, in laminar dress (f = 64/Re), describes pressure drops in blood vessels, which is why a modest narrowing of an artery — D in the denominator of both area and loss — raises the heart's workload so sharply.

v=1: 1.02 m v=2: 4.08 m v=3: 9.17 m v=4: 16.31 m head loss vs velocity — the parabola that rules pipelines

Minor losses: the fittings take their cut too

Straight pipe is only part of a real system's resistance. Every elbow, tee, valve and entrance disturbs the flow and destroys a fraction of the velocity head, priced by a loss coefficient K in the same currency: h = K × v²/2g. A fully open gate valve is a bargain at K ≈ 0.15; a sharp elbow costs about 0.9; a globe valve, throttling by design, can charge K ≈ 10 — as much as hundreds of diameters of straight pipe. Designers fold fittings into the Darcy calculation either as K values added one by one or as an "equivalent length" of extra pipe. The lesson of the numbers is asymmetry: in a long pipeline the straight runs dominate and this calculator is nearly the whole story; in a short, valve-crowded plant room, the "minor" losses are frequently the majority, and the word minor is exposed as a historical courtesy.

Quick reference: the reference pipe at four speeds

VelocityVelocity head v²/2ghf (f=0.02, L=100 m, D=0.1 m)
1 m/s0.051 m1.02 m
2 m/s0.204 m4.08 m
3 m/s0.459 m9.17 m
4 m/s0.815 m16.31 m

Read down the last column and the square law stops being algebra: each doubling of speed quadruples the toll. Almost every pipeline argument — about pump size, pipe size or flow rate — is an argument about which row of this table to live on.

The energy does not vanish, by the way — it degrades into heat in the fluid. In most water systems the warming is undetectable, a thousandth of a degree across a pumping station; but in high-pressure hydraulic circuits the same conversion, concentrated, is exactly why oil coolers exist. Friction's tax is always collected; only the currency changes.

The system curve: where this loss meets the pump

A pipeline's total demand on its pump is the sum of a constant and a parabola: the static head (the height the fluid must be lifted, plus any pressure difference between the endpoints), which does not care about flow, and the friction head of this page, which grows with the square of it. Plot that sum against flow and you have the system curve — the pipe's own signature. The pump answers with its curve, a falling line of head against flow published by its manufacturer. Where the two curves cross is the duty point: the only flow at which the pump's generosity exactly matches the system's appetite, and therefore the flow the installation will actually deliver, whatever anyone hoped. This is why a pump swapped for a "bigger" one sometimes disappoints — if the system curve is steep, the crossing moves little — and why enlarging a bottleneck section of pipe (flattening the parabola) can outperform a new pump entirely.

The picture also explains a classic commissioning surprise: a system tested with clean water at 20 °C behaves slightly differently in service with hot, thin oil or cold, thick syrup, because f — and with it the parabola — belongs to the fluid as much as to the pipe. Head loss is never a property of the hardware alone. It is a property of the marriage between hardware and fluid at a stated flow, which is precisely what this calculator asks you to state.

Common mistakes

  • Using the Hazen–Williams or Darcy f interchangeably. The Darcy factor is about four times the Fanning factor used in some chemical-engineering texts. Check which f your chart or table reports before typing it in — a factor of four hides here.
  • Taking f as a constant of nature. f belongs to a Reynolds number and a roughness. Using 0.02 for a rough old main (Example 6) can halve the predicted loss against reality.
  • Forgetting that v comes from Q and the real bore. Nominal diameters and pump-plate flows both lie politely; compute v from the actual flow and internal diameter, as in Example 5.
  • Reporting ΔP where head is needed (or the reverse). Head in metres is fluid-independent as an energy measure; pressure is not. Convert with the flowing fluid's own density, as this calculator does.
  • Ignoring fittings in short runs. In plant rooms and manifolds, minor losses routinely exceed the straight-pipe loss. Add the K values before blaming the pump.

FAQ

What is "head" and why is it in metres?
Head expresses energy per unit weight of fluid as an equivalent height of that fluid. A head loss of 4.08 m means the friction consumes as much energy as lifting the water 4.08 m — or a pressure of ρgh.

How do I find the friction factor?
From the Moody chart using the Reynolds number and the pipe's relative roughness. Smooth plastic pipe in turbulent flow sits near 0.01–0.02; old, rough steel can reach 0.04 or more.

Does this include bends and valves?
No — this is straight-pipe (major) loss only. Fittings add "minor" losses, usually handled with equivalent lengths or loss coefficients added separately.

Why is the answer in metres rather than pascals?
Because head — energy per unit weight — lets pumps, hills and friction be added in one column regardless of the fluid. The pressure equivalent changes with density; the metre figure is the portable truth, and this calculator gives both.

What friction factor should I use for plastic pipe?
Plastic is hydraulically smooth: at water Reynolds numbers, f typically falls between 0.01 and 0.02 from the Moody chart's smooth curve. Start with the chart at your Re rather than a memorised constant.

Does head loss depend on pressure?
For liquids, essentially no — the loss depends on velocity, geometry and roughness, not on the line's working pressure. A pipe at 10 bar loses the same head to friction as the identical pipe at 2 bar carrying the same flow.

How does temperature enter?
Through viscosity: warm water is thinner, its Reynolds number higher, and f slightly lower; very cold water thickens and nudges f up. The effect is a few percent across domestic temperatures — real, but second-order beside the v² term.

What is the alternative Hazen–Williams formula?
An empirical water-only formula popular in civil engineering, trading generality for convenience: it hides the physics in a roughness coefficient C. Darcy–Weisbach, used here, works for any Newtonian fluid and exposes the velocity-squared law honestly.

Can head loss be negative — can a pipe gain energy?
Never from friction. Only a pump adds head; every passive element — pipe, fitting, valve — subtracts it. A calculation that gains head across a passive run has a sign error, guaranteed. (A siphon's downhill leg recovers elevation head, but that is gravity's bookkeeping, not friction running backwards.)

How do I reduce head loss in an existing line?
In order of usual value: clean or reline the rough pipe (restore f), remove throttling valves and sharp fittings (cut K), enlarge the worst bottleneck section (attack L/D and v together), and only then buy a bigger pump to pay a smaller bill. A useful diagnostic precedes all four: measure the pressure at both ends at a known flow and compare with this calculator — the size of the disagreement tells you whether the pipe, the fittings or the assumptions are at fault.

Elena Petrova

Elena Petrova

Physics Editor · Fluids & Rotation

Elena Petrova creates and reviews our fluid mechanics and rotational motion calculators at CalcVIP. Every calculator is checked against hand-worked examples before it is published, so the formula, the diagram and the answer all agree.

View full profile & all calculators by Petrova →