Audited 31 Jul 2026·Last updated 28 Oct 2026·3 citations·Tier 2·0 uses

Friction Loss Calculator

Find the Darcy-Weisbach friction head loss in a straight pipe from the Darcy friction factor, pipe length, inside diameter and mean flow velocity.

Friction Loss Calculator

m
m
m/s
m/s^2
Friction head loss
2.0394
Energy lost to friction along the straight pipe, expressed as metres of the flowing fluid's own column.
Model scope
Darcy-Weisbach major loss in a constant-diameter straight pipe; the Darcy factor is user-entered, and fittings, entrances, valves, elevation, pumps, compressibility, multiphase effects, and property selection are outside it.

Background.

Water pushed through a long pipe arrives with less energy than it set out with. The fluid drags against the pipe wall and churns against itself, and that friction turns pressure into a little heat, metre after metre. Engineers express the loss as head: the height of a column of the same fluid whose weight would supply the lost pressure. A head loss of 2 m in a water line means the pump must find an extra 2 m of lift, about 20 kPa, just to overcome the pipe.

The Darcy-Weisbach equation is the standard estimate for a straight run of constant diameter. The loss equals a friction factor times the pipe's length-to-diameter ratio times the velocity head, v²/2g, the height the fluid would rise to if all its kinetic energy were turned into lift. Long pipes lose more, wide pipes less, and fast flow a great deal more, because the velocity is squared.

That squared term combines with diameter in a way that surprises people. For a fixed flow rate the velocity rises with the inverse square of the diameter, so stepping down from a 100 mm to an 80 mm bore roughly triples the friction loss over the same length, if the friction factor stays similar.

The friction factor is the hard part, and here you supply it. It depends on the Reynolds number and on the wall roughness relative to the diameter, and is usually read from a Moody chart or worked out with the Colebrook equation; in laminar flow it is simply 64 divided by the Reynolds number. The result is the straight-pipe, or major, loss only. Bends, valves, entrances and exits add minor losses of their own, and any change in elevation or pump head is a separate term in the energy balance.

What is friction loss calculator?

Friction head loss is the mechanical energy a fluid loses per unit of its weight to wall shear and turbulence as it flows along a pipe, written as an equivalent height of that fluid in metres. Multiplied by the fluid's density and by g it becomes a pressure drop in pascals. The Darcy-Weisbach equation gives it for fully developed flow in a straight pipe of uniform bore, laminar or turbulent, provided the factor used is the Darcy friction factor, which is four times the Fanning factor quoted in some chemical-engineering texts.

How to use this calculator.

  1. Enter the Darcy friction factor, found from a Moody chart or the Colebrook equation using your Reynolds number and relative roughness, or as 64/Re for laminar flow. If your source gives a Fanning factor, multiply it by four first.
  2. Enter Pipe length in metres, counting only straight pipe of one diameter. Sections of different diameter need separate runs of the calculation, added together afterwards.
  3. Enter the actual Inside diameter in metres rather than the nominal size; a nominal 4-inch schedule 40 steel pipe, for instance, has a bore of about 0.1023 m.
  4. Enter Mean velocity in m/s. If you know the flow rate instead, divide it by the bore area, π × D²/4: 15.7 litres per second in a 0.1 m bore is about 2 m/s.
  5. Leave Gravitational acceleration at standard gravity, 9.80665 m/s², unless you need a local value, and multiply the head loss by density and g if you want it as a pressure.

The formula.

h_f = f_D (L/D) v^2/(2g)

h_f = f_D × (L/D) × v²/(2g). Here f_D is the dimensionless Darcy friction factor, L the pipe length, D the inside diameter, v the mean velocity (volumetric flow divided by bore area) and g the gravitational acceleration. The term v²/(2g) is the velocity head, the flow's kinetic energy per unit weight expressed as a height. L/D counts how many diameters long the pipe is, and f_D sets how much of a velocity head is lost per diameter of length. Multiplying both sides by ρg gives the pressure form, Δp = f_D (L/D) ρv²/2, in which g cancels, so the gravity input changes only the conversion to head, not the physical pressure drop. Velocity matters most because it is squared, and through velocity so does diameter at a fixed flow. The friction factor is held at whatever you enter, although in reality it drifts with Reynolds number when the velocity changes.

A worked example.

Example

Water flows at a mean 2 m/s through 50 m of straight pipe with a 0.1 m inside diameter, and the Darcy friction factor is taken as 0.02. The pipe is 50 ÷ 0.1 = 500 diameters long. The velocity head is 2² ÷ (2 × 9.80665) = 4 ÷ 19.6133 ≈ 0.2039 m. Then 0.02 × 500 = 10 velocity heads lost, and 10 × 0.2039 gives a friction head loss of 2.0394 m, about 4.08 m per 100 m of pipe. For water at 1,000 kg/m³ that is a pressure drop of 1,000 × 9.80665 × 2.0394 ≈ 20,000 Pa, or 20 kPa. Push the same flow through an 80 mm bore and the velocity rises to 3.125 m/s; with the same friction factor the loss over 50 m becomes about 6.22 m, roughly three times as much.

darcy Friction Factor0.02
mean Velocity Mps2
inside Diameter M0.1
gravity Mps29.807
pipe Length M50

Frequently asked questions.

Where do I get a value for the Darcy friction factor?
Work out the Reynolds number, ρvD/μ, and the relative roughness, wall roughness divided by diameter. Below about 2,000 the flow is laminar and the factor is 64/Re. Above that, read it from a Moody chart or solve the Colebrook equation, or use an explicit approximation such as Haaland's.
Why is my answer four times smaller than my textbook's?
You have probably entered a Fanning friction factor, common in chemical-engineering texts, into the Darcy form of the equation. The Darcy factor is four times the Fanning value, so a Fanning 0.005 must be entered here as 0.02 to get the right head loss.
How do I account for bends, valves and fittings?
Each fitting adds a minor loss of K × v²/(2g), with K taken from manufacturer data or standard tables. Alternatively, convert fittings into an equivalent length of straight pipe and add it to the pipe length here, which keeps the whole run in one calculation.
How do I convert head loss into a pressure drop?
Multiply by the fluid density and by g. For water at about 1,000 kg/m³, each metre of head is roughly 9.81 kPa or 1.42 psi, so the worked example's 2.04 m corresponds to about 20 kPa, or 2.9 psi.
Why does friction loss climb so steeply when I increase the flow?
Loss scales with velocity squared, so doubling the flow through the same pipe roughly quadruples it; in turbulent flow the friction factor falls slightly as velocity rises, softening that a little. At a fixed flow, loss scales with roughly the fifth power of one over the diameter, which is why undersized pipes are so costly to pump through.
Does a pipe running uphill have more friction loss?
No. Friction loss depends on length, bore, velocity and the friction factor, not on slope. Lifting the fluid is a separate requirement: the total head a pump must supply is the friction loss plus minor losses plus the rise in elevation, and a downhill run gains back head from its fall.

How this page was produced

Published by
Quanta Calculator
Primary sources
3 cited below
Method
h_f = f_D (L/D) v^2/(2g)
Published
Last verified

Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.

In this category

Embed

Quanta Pro

Paid features are coming later.

  • All 1560 calculators remain free
  • No billing is enabled
Coming soon