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
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.
- 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.
- 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.
- 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.
- 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.
- 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²/(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.
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.
Frequently asked questions.
Where do I get a value for the Darcy friction factor?
Why is my answer four times smaller than my textbook's?
How do I account for bends, valves and fittings?
How do I convert head loss into a pressure drop?
Why does friction loss climb so steeply when I increase the flow?
Does a pipe running uphill have more friction loss?
References& sources.
- [1]Munson et al., Fundamentals of Fluid Mechanics, 9th ed. (PRINT).
- [2]Nuclear Regulatory Commission, Thermodynamics, Heat Transfer, and Fluid Flow handbook.
- [3]BIPM, The International System of Units (SI Brochure), 9th ed., version 3.01, coherent derived units and quantity equations.
How this page was produced
- Published by
- Quanta Calculator
- Overseen by
- Daniel, Quanta Calculator Researcher
- 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