A Darcy-Weisbach calculator finds the head loss and the pressure drop caused by friction when a fluid flows through a pipe. Enter the length, the diameter and the speed, and the fluid, and it calculates the Reynolds number, the Darcy friction factor, the head loss in feet or metres and the pressure drop.
How to use the Darcy-Weisbach calculator
- Choose US or metric units.
- Enter the length, diameter and speed.
- Add the roughness and the fluid if they are not smooth pipe and water.
- Press Calculate.
The equation
The Darcy–Weisbach equation gives the head loss in a pipe as ΔH = f L V² ÷ (2 g D), where f is the Darcy friction factor, L the length, V the mean speed, g the acceleration due to gravity and D the diameter [1]. The pressure drop per unit length is Δp ÷ L = f_D ÷ D × ρ v² ÷ 2, with ρ the density [1]. The pressure drop is the density times g times the head loss.
Reynolds number
The Reynolds number is Re = ρ v D ÷ μ, or v D ÷ ν with ν the kinematic viscosity [1]. It tells the type of flow. The page gives laminar flow for Re below 2,000, an unsteady critical range between 2,000 and 4,000, and turbulent flow above 4,000 [1]. The calculator shows the Reynolds number and the regime, and warns when the flow is in the critical range.
Laminar flow
In laminar flow, the friction factor follows from Poiseuille's law: f_D = 64 ÷ Re [1]. A slow flow of 0.02 metres per second of water in a 50 millimetre pipe has a Reynolds number of about 996 and a friction factor of 0.0642. The loss then does not depend on the roughness of the pipe. The Fanning friction factor, which is a quarter of the Darcy one, is not used here [1].
Turbulent flow, smooth pipe
For turbulent flow in a smooth pipe, the page gives the Kármán–Prandtl relation: 1 ÷ √f_D = 1.930 log₁₀(Re √f_D) − 0.537 [1]. It has to be solved by iteration, which the calculator does. For water at 2 metres per second in a 50 millimetre pipe, Re is 99,621 and f is 0.01812. Over 100 metres, the head loss is 7.39 metres and the pressure drop is 72.35 kilopascals.
Rough pipes
For a pipe with a roughness, the calculator uses the Colebrook–White equation, 1 ÷ √f = −2 log₁₀(ε ÷ 3.7D + 2.51 ÷ (Re √f)). The page names the Colebrook relation but its form is garbled in the text that we could read, so this standard form is our own. With a roughness of 0.046 millimetres, typical for new commercial steel, in the same example, f rises to 0.02191 and the head loss to 8.94 metres.
Using water
If you leave the density and viscosity blank, the calculator uses water at 20 degrees Celsius, with a density of 998.2 kilograms per cubic metre and a viscosity of 1.002 millipascal seconds. These values are our own. For oil, a warm liquid or a gas, enter the density and the dynamic viscosity of the fluid at its working temperature, since viscosity changes strongly with temperature.
Diameter matters
The page points out that if the diameter is doubled at a fixed flow rate, the head loss falls by a factor of 32 [1]. The speed falls to a quarter, and the loss depends on v², on 1 ÷ D and, through the friction factor, a little on D. This is why a slightly larger pipe saves a great deal of pumping energy.
US units
In US mode, the length is in feet, the diameter and the roughness in inches and the speed in feet per second. The head loss is given in feet and the pressure drop in psi. A pipe of 328 feet, 1.97 inches, with a flow of 6.56 feet per second gives a head loss of 24.25 feet and 10.49 psi. The calculator converts to SI internally, and the fluid properties are always in SI units.
Limits
The equation covers the friction along a straight pipe. It leaves out the losses in bends, valves, entrances and fittings, which add to the total. It is for a full pipe with steady flow of one fluid. The friction factor depends on a correlation, so a result in the critical range, or for unusual roughness, is only approximate. Use it for estimates and checks.
Using the calculator
Select the units, enter the three pipe values, and add a roughness if the pipe is not smooth. Look at the Reynolds number first: it tells you which equation was used. Compare the head loss with the pump head that you have available, or use the pressure drop to size a pump. Change the diameter to see how strongly it affects the result.
Choosing the roughness
The roughness is the average height of the bumps on the wall of the pipe, and the calculator takes it in inches or millimetres. Leave it blank for a smooth pipe, such as drawn tubing or plastic. For commercial steel, a figure of 0.046 millimetres is often used, and for old or corroded pipes it can be many times larger. The effect is small at a low Reynolds number and grows as the flow gets faster.
Common mistakes
- Using the outside diameter. Use the inside diameter.
- Forgetting the fittings. Add minor losses.
- Mixing the viscosities. The box takes mPa·s, which is the same as cP.
- Trusting the critical range. Between 2,000 and 4,000 the flow is unsteady.
What next
Use this often? Add Darcy-Weisba to your Home screen.
Frequently asked questions
What is a Darcy-Weisbach calculator?
A tool that finds the friction head loss and pressure drop in a pipe.
What is the Darcy–Weisbach equation?
ΔH = f L V² ÷ (2 g D).
What is the friction factor for laminar flow?
f = 64 ÷ Re.
When is the flow laminar?
For a Reynolds number below about 2,000; above 4,000 it is turbulent.
What happens if I double the pipe diameter?
At a fixed flow rate, the head loss falls by a factor of 32.
Was this tool helpful?
What went wrong?
We only receive the reason you pick, never what you typed into the tool.
Thanks for your feedback.