ScienceEngineering

Pipe Flow
calculator.

Work out the pressure a liquid loses to friction in a pipe, and the pump power to beat it.

Before you rely on this result. This is a planning estimate of friction on a level pipe. A real system needs its design checked against the equipment data and your local code. Sources used on this page.

How it's worked out

Liquid rubbing along a pipe wall loses energy. The Darcy-Weisbach equation puts a number on it as a head loss hh, the height of liquid that energy could lift. It works for any liquid, laminar or turbulent, in round pipes and others.

v\displaystyle v=QπD2/4\displaystyle {}= \frac{Q}{\pi D^2 / 4}
h\displaystyle h=(fLD+ΣK)v22g\displaystyle {}= \left(f \frac{L}{D} + \Sigma K\right) \frac{v^2}{2g}
Δp\displaystyle \Delta p=ρgh\displaystyle {}= \rho g h

Here QQ is the flow rate, DD the inside diameter, LL the length and vv the average speed. ρ\rho is the density and gg is 9.80665 m/s². ΣK\Sigma K adds up the loss coefficients of the bends, valves and other fittings, each a share of the velocity head.

The friction factor ff depends on the Reynolds number Re and on how rough the wall is next to its diameter. Below Re = 2,300 the flow is laminar and ff is 64 over Re. Above that it comes from the Colebrook equation, where ε\varepsilon is the roughness height.

Re\displaystyle \mathrm{Re}=ρvDμ\displaystyle {}= \frac{\rho v D}{\mu}
x\displaystyle x=ε3.7D+2.51Ref\displaystyle {}= \frac{\varepsilon}{3.7 D} + \frac{2.51}{\mathrm{Re} \sqrt{f}}
1f\displaystyle \frac{1}{\sqrt{f}}=−2log10⁡x\displaystyle {}= -2 \log_{10} x

The pump must supply that pressure at that flow. Its power is the pressure times the flow, divided by the efficiency of the pump and motor together.

P\displaystyle P=ΔpQη\displaystyle {}= \frac{\Delta p \, Q}{\eta}

To find the flow a given pressure allows, or the bore that keeps the drop under a limit, the calculator runs the same equations backward until the drop matches.

Worked examples

Marco checks a 50 mm steel line carrying 2 L/s

Water at 20 °C moves at 1.02 m/s through 100 m of 50 mm commercial steel. Re is 50,757, so the flow is turbulent and f = 0.0237. The head loss is 2.51 m, a drop of 24.5 kPa, and a pump at 70% needs 70.1 W.

One size up, 65 mm, the same flow loses only 6.72 kPa and needs 19.2 W. Squeezing it into 25 mm would cost 814 kPa.

Open this example in the tool

Why a long garden hose gives a weak spray

At 10 gpm, 50 ft of 5/8 inch hose with fittings worth K = 2 loses 16.4 psi. The water moves at 10.5 ft/s, and the fittings take 9% of the loss.

Without the fittings the hose alone loses 15 psi. Whatever is left of the tap pressure is all the nozzle gets.

Open this example in the tool

How much flow does a 30 psi drop push through 1 inch copper?

With 30 psi to spend on 100 ft of smooth 1 inch tube, the flow comes to 35.2 gpm, at 14.4 ft/s. Putting that flow back in gives the 30 psi again, as it should.

That figure is friction only. Any lift, fittings, a meter or the pressure a fixture needs at the far end all come out of the same 30 psi, so the real flow will be lower.

Open this example in the tool

Reading your result

Head and pressure are one loss in two units. Head is a height of the liquid itself, and head loss is the pressure loss over \(\rho g\). For water at 20 °C, 1 m of head is 9.79 kPa, so the same head means less pressure in a lighter liquid.

The regime changes how the loss grows. In laminar flow, doubling the flow doubles the drop: oil in a 20 mm line goes from 18.7 to 37.3 kPa. In turbulent flow it grows nearly with the square: Marco's line goes from 24.5 to 90.3 kPa.

Fittings can matter more than pipe in short runs. In a 40 m hot water loop with fittings adding up to K = 12, they take 25% of the head loss.

Between Re 2,300 and 4,000 the flow can switch back and forth, and the friction factor is uncertain. Treat any pressure figure there as rough.

Common mistakes

Using the nominal size. A pipe sold as 1 inch may not have a 1 inch bore, since the wall thickness varies with the type. Measure or look up the inside diameter. Loss rises with about the fifth power of the bore, so a small error in D is a big error in the drop.

Leaving out height. The calculator gives friction loss on a level pipe. Pumping uphill adds ρgΔz\rho g \Delta z, the weight of the column, as the energy equation shows.

Using new-pipe roughness for old steel or iron. Corrosion and scale roughen the wall and shrink the bore. For an old line, try a rougher material and a slightly smaller bore to bracket the answer.

Treating a gas like a liquid. These equations assume the density stays the same along the pipe. That holds for air only while the drop is small next to its absolute pressure.

Questions people ask

At a fixed flow the speed falls with the square of the bore, and the loss with roughly the fifth power in turbulent flow, or the fourth in laminar flow. For 2 L/s of water in steel, 25 mm loses 814 kPa over 100 m, 50 mm loses 24.5 kPa and 65 mm loses 6.72 kPa. The friction factor shifts a little with each size, so the ratios are not exact powers.

Sources