Skip to content
Engineering Bible

Results appear as you type. Use the arrow keys to move through them and Enter to open one.

Popular

↑ ↓ moveEnter openEsc close

Fluids and pumps guide

How to calculate pressure drop in a pipe (Darcy–Weisbach)

By Christos Papandreou. Updated . About 12 minutes to read.

Every pump selection, cooling circuit and transfer line comes down to the same question: how much pressure does the fluid lose between one end of the pipe and the other at the flow you want. The Darcy–Weisbach equation answers it for any Newtonian fluid, any pipe size and any material, which is why it is the method in Crane Technical Paper 410 and in every fluid mechanics textbook.

The calculation is a chain of five small steps: velocity, Reynolds number, relative roughness, friction factor, pressure drop. Fittings and the height difference are then added to give the head a pump must supply. This guide goes through each step with its formula, works one line from start to finish, and lists the slips that most often spoil the answer. The pipe flow and pressure drop calculator does the same chain and is used here to check every number.

What you need before you start

The method assumes steady, fully developed, incompressible flow in a circular pipe running full.

Step 1: velocity from flow and bore

Continuity gives the mean velocity over the cross-section:

A = π D² / 4
V = Q / A

Velocity depends on the square of the bore, so doubling the diameter quarters the velocity. If you only need this step, the flow rate and velocity calculator solves it for any of the three quantities.

Step 2: Reynolds number and flow regime

The Reynolds number compares inertia with viscous forces and decides which friction law applies:

Re = V D / ν = ρ V D / μ

Use the kinematic viscosity ν in m²/s, or the dynamic viscosity μ in Pa·s together with the density. The limits used for pipes, following Moody (1944) and White's Fluid Mechanics, are:

RegimeReynolds numberFriction factor
Laminarbelow 2 300f = 64 / Re, independent of roughness
Transitional2 300 to 4 000Uncertain by about ±30 %; use the turbulent value as the conservative choice
Turbulentabove 4 000Colebrook–White, depends on Re and ε/D

Water lines are almost always turbulent: in a 50 mm bore, water at 20 °C would have to move slower than 0.046 m/s to become laminar. Viscous liquids are the exception. Heavy fuel oil of 380 cSt at 1 m/s in a 100 mm pipe gives Re = 263, firmly laminar. The Reynolds number calculator covers ducts and flat plates as well.

Step 3: relative roughness and friction factor

The relative roughness is the wall roughness divided by the bore, both in the same unit:

relative roughness = ε / D

In laminar flow the Darcy friction factor is simply f = 64 / Re. In turbulent flow it comes from the Colebrook–White equation (Colebrook, 1939), which is what the Moody chart plots:

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

The unknown f appears on both sides, so the equation is solved by iteration. A good first guess is the explicit Swamee–Jain approximation (1976):

f = 0.25 / [ log₁₀( ε/(3.7 D) + 5.74/Re^0.9 ) ]²

Put that f into the right-hand side of Colebrook, compute a new f from the left-hand side, and repeat. Two or three passes fix the fourth significant figure. The calculator does exactly this, starting from Swamee–Jain and repeating until f changes by less than 10⁻¹³, and it shows both values. Swamee–Jain alone is within about 1 % of Colebrook for 5 000 ≤ Re ≤ 10⁸ and 10⁻⁶ ≤ ε/D ≤ 10⁻², which is enough for most design work.

Step 4: Darcy–Weisbach for the straight pipe

h_f  = f (L/D) V² / (2g)        friction head, m of the fluid
Δp_f = f (L/D) ρ V² / 2         friction pressure drop, Pa

with g = 9.80665 m/s². The two forms are the same result, linked by Δp = ρ g h. The group ρV²/2 is the dynamic pressure and V²/2g the velocity head; you will use them again for the fittings.

Because V falls with D² and the loss rises with V² and with L/D, the friction loss at a fixed flow scales with D⁻⁵. A slightly larger pipe gives a much smaller loss, and a slightly smaller bore than you assumed gives a much larger one.

Step 5: fittings and valves as K values

Each bend, valve, entrance and exit loses a number K of velocity heads. The losses add:

h_K  = ΣK × V² / (2g)
Δp_K = ΣK × ρ V² / 2

Crane TP-410 gives K for a fitting as a turbulent friction factor f_T for the pipe size times an equivalent length in diameters: 30 for a standard 90° elbow, 8 for an open gate valve, 340 for an open globe valve, 100 for a swing check valve, 60 for a tee branch. A sharp-edged entrance is K = 0.5 and an exit into a tank is K = 1.0, because the fluid loses its whole velocity head there. The minor losses calculator adds them up for your bore.

Handbook K values vary by about ±30 % with geometry and Reynolds number, valves are assumed fully open, and fittings close together lose more than the sum of their K values. "Minor" is a name, not a promise: in a short line with many fittings they often exceed the pipe friction.

Step 6: static head and the system curve

A rise of the outlet above the inlet adds a pressure difference that exists even at zero flow:

Δp_z = ρ g Δz
Δp_total = Δp_f + Δp_K + Δp_z
H_total  = Δp_total / (ρ g)

If the liquid moves between two vessels at different pressures, add (p_d − p_s)/(ρ g) as well. The sum is the total dynamic head of ANSI/HI 1.3, the head a pump must add at that flow; the total dynamic head calculator sets it out in that form.

Repeat the calculation at several flows and you have the system curve. The static part is constant and the losses grow almost with the square of the flow:

H(Q) ≈ H_static + C Q²,   C = (f L/D + ΣK) / (2 g A²)

The pump runs where its own curve crosses this one. The pump and pipe system simulator lets you move the operating point by changing speed, pipe size and valve opening.

Worked example: a 3 inch steel transfer line

A pump moves 30 m³/h of fresh water at 20 °C through 80 m of 3 inch commercial steel pipe with a 77.9 mm bore, to a tank whose surface is 12 m above the suction surface. The line has a sharp entrance, four standard elbows, a gate valve, a swing check valve and an exit into the tank.

  1. Velocity. Q = 30 / 3600 = 0.008333 m³/s. A = π × 0.0779² / 4 = 0.004766 m². V = 0.008333 / 0.004766 = 1.748 m/s.
  2. Reynolds number. Re = 1.748 × 0.0779 / 1.004 × 10⁻⁶ = 135 700. Turbulent.
  3. Relative roughness. ε/D = 0.045 / 77.9 = 0.000578.
  4. Friction factor. Swamee–Jain gives 0.02005. One pass through Colebrook gives 0.01992, the second 0.01993, and it stays there: f = 0.01993.
  5. Velocity head. V²/2g = 1.748² / (2 × 9.80665) = 0.1559 m. Dynamic pressure 998.2 × 1.748² / 2 = 1 526 Pa.
  6. Pipe friction. h_f = 0.01993 × (80 / 0.0779) × 0.1559 = 3.19 m, or 31.2 kPa. That is 39.0 kPa per 100 m.
  7. Fittings. By the Crane method f_T = 0.0173 for this bore, so the elbows, gate valve and check valve give 0.0173 × (4 × 30 + 8 + 100) = 3.95. Adding the entrance 0.5 and exit 1.0 gives ΣK = 5.45. Loss: 5.45 × 0.1559 = 0.85 m, or 8.3 kPa.
  8. Static head. 12 m, or 998.2 × 9.80665 × 12 = 117.5 kPa.
  9. Total. 3.19 + 0.85 + 12 = 16.04 m, or 157.0 kPa.

Load the same inputs into the pipe flow calculator (flow 30 m³/h, diameter 77.9 mm, length 80 m, commercial steel, fresh water at 20 °C, ΣK 5.45, rise 12 m) and it returns f = 0.01993, a loss head of 4.04 m and a total of 16.04 m.

Repeating the run at other flows gives the system curve:

Flow (m³/h)Velocity (m/s)Friction factorLosses (m)Total head (m)
00–012.00
100.580.02320.5112.51
201.170.02091.8713.87
301.750.01994.0416.04
402.330.01947.0219.02

The friction factor falls slowly as the flow rises, so the true curve climbs a little less steeply than a pure Q² law fitted at the design point. At 30 m³/h and 16.04 m the hydraulic power ρ g Q H is 1.31 kW; at a pump efficiency of 70 % the shaft needs 1.87 kW, which the pump power calculator turns into a motor size.

Now pump SAE 30 lubricating oil at 40 °C (typically 100 cSt, 870 kg/m³) through the same line at the same flow. The Reynolds number drops to 1 362, the flow is laminar, f = 64 / 1 362 = 0.0470, and the pipe friction rises from 3.19 m to 7.52 m of the liquid. Viscosity changed everything and roughness no longer matters.

Sensible velocities

A pressure drop is neither good nor bad on its own; it is weighed against pump energy and pipe cost. Velocity is the quicker sanity check. Common design practice, which Crane TP-410 also tabulates:

Above 3 m/s in a liquid line expect noise, erosion and a higher water hammer risk. These ranges are practice, not code limits. The 1.75 m/s of the example sits comfortably in the discharge range.

The suction side needs a separate check. The friction and fitting losses of the suction line, worked out exactly as above, are subtracted from the NPSH available, and they are the term most often underestimated. Take them to the pump NPSH calculator.

When Hazen–Williams is used instead

Water mains and sprinkler systems are usually calculated with the Hazen–Williams equation, which NFPA 13 prescribes. It needs no Reynolds number or iteration:

h_f = 10.67 L Q^1.852 / (C^1.852 d^4.8704)     (SI: Q in m³/s, d and L in m)

C describes the pipe: 150 for plastic and copper, 140 for cement-lined iron, 120 for steel in wet systems, 100 for unlined cast iron. The price of the simplicity is a narrow range of validity. The equation has no viscosity term, so it holds only for water near 15 °C, and fails for oils, glycol mixtures and hot water. It was fitted to bores of about 50 mm and up at roughly 0.3 to 3 m/s.

Inside that range the two methods agree well when the roughness inputs describe the same pipe: for 20 L/s of water in 150 mm PVC they differ by about 1 %. They disagree when the inputs do not match. For the steel line of the example, the Hazen–Williams calculator with the NFPA design value C = 120 gives 4.25 m of friction, against 3.19 m from Darcy–Weisbach with the new-pipe roughness of 0.045 mm. Neither is wrong; they assume different pipe conditions.

Common mistakes

Where the method stops

The sources behind the steps are Moody, "Friction factors for pipe flow", Trans. ASME 66 (1944); Colebrook, J. Inst. Civil Eng. 11 (1939); Swamee and Jain, J. Hydraulics Div. ASCE 102 (1976); White, Fluid Mechanics, chapter 6; and Crane Technical Paper 410 for fittings and velocities.

Calculators used in this guide

Results are estimates. They do not replace the governing code, class or flag requirements, or a check by a competent person. Report an error in this guide

By Christos Papandreou. How the numbers are checked.