Simuveliq

Pipe flow and pump calculator: head loss and operating point

Type the flow rate, the pipe diameter, length and roughness, the elevation change and the fittings with their K coefficient, and get the velocity, the Reynolds number, the friction factor, the friction (Darcy–Weisbach) and minor losses and the head the pump must deliver. With the catalog points of a pump, the operating point and the power; with no pump, the gravity flow.

Theory and worked examples: Pipe flow and pump selection.

What you can do

Frequently asked questions

How is the friction loss in a pipe computed?

With the Darcy–Weisbach equation: h_f = f·(L/D)·V²/(2g). The factor f is 64/Re in laminar flow and comes from the Colebrook equation in turbulent flow, where it depends on Re and on the relative roughness ε/D.

What is the operating point of a pump?

The flow rate at which the head the pump delivers equals the head the system needs: where the pump curve crosses the system curve H(Q).

What is the available NPSH?

The absolute pressure head at the pump suction above the vapor pressure of the liquid. If it is lower than the NPSH the pump requires, the liquid boils at the inlet and the pump cavitates.

Guide: pipe flow and the operating point of a pump

To move a liquid through a pipe, three things must be overcome: the elevation change, the pressure difference between the ends and the friction losses in the pipe and the fittings. This guide explains how each term is computed, how it combines with a pump curve to find the flow the pump will deliver, and how to check that it will not cavitate. The worked example is the one the tool opens with.

Velocity and Reynolds number

V = Q/A = 4Q/(πD²) Re = ρVD/μ

Below Re = 2300 the flow is laminar; above about 4000, turbulent. In between lies the transition zone, where the friction factor is uncertain: the tool warns you and uses Colebrook.

Friction factor and friction loss

The Darcy–Weisbach equation gives the head loss in a straight run of pipe:

hf = f · (L/D) · V²/(2g)

Minor losses and the energy equation

Each fitting (entrance, elbow, valve, exit) loses hm = K·V²/(2g), with a coefficient K that depends on the kind of fitting and how it is made. The tool ships no tables of K or roughness values: type those from your textbook, your instructor or the manufacturer. Between two free tank surfaces, where the velocity is negligible, the head the pump must deliver is

H = (z2 − z1) + (p2 − p1)/(ρg) + hf + ΣK·V²/(2g)

The kinetic energy with which the liquid reaches the final tank is dissipated there: that is the exit loss, with K = 1.

System curve, pump curve and operating point

Repeating the calculation for every flow rate gives the system curve H(Q): it starts at the static head and grows roughly as Q². The pump has its own curve H(Q), which falls as the flow grows; the tool fits it by least squares to the catalog points (H = a + bQ + cQ²) and does the same with the efficiency. The operating point is where the two curves cross, and the shaft power is

Pshaft = ρ·g·Q·H / η

With no pump and the outlet lower than the inlet, the gravity flow is the one that makes H(Q) = 0: the whole drop is spent on losses.

Available NPSH

If the pressure at the pump inlet drops to the vapor pressure, the liquid boils and the bubbles collapse inside the impeller: that is cavitation. The available NPSH measures the margin left:

NPSHa = ptank/(ρg) + zs − hL,suction − pv/(ρg)

with zs the liquid level above the pump (negative if it is below) and hL,suction the losses in the suction line. It must be larger than the required NPSH given by the pump manufacturer.

Worked example: pumping water 15 m up

Water at 20 °C (ρ = 998.2 kg/m³, μ ≈ 1.00 × 10⁻³ Pa·s), 20 L/s through 200 m of 100 mm pipe with ε = 0.045 mm, a 15 m lift and fittings with ΣK = 5.3: entrance 0.5, four elbows at 0.9, gate valve 0.2 and exit 1 (problem data).

  1. Velocity and regime: V = 0.020/(π·0.1²/4) = 2.546 m/s and Re ≈ 2.53 × 10⁵: turbulent.
  2. Friction factor: with ε/D = 0.045/100 and that Re, Colebrook gives f = 0.01817.
  3. Losses: hf = 0.01817 · (200/0.1) · 2.546²/(2·9.81) = 12.01 m and hm = 5.3 · 2.546²/(2·9.81) = 1.752 m.
  4. Head the system needs: H = 15 + hf + hm = 28.77 m at 20 L/s.
  5. With a pump whose catalog gives (0 L/s, 40 m), (10, 37), (20, 30) and (30, 18), with efficiencies of 60, 75 and 68 % at the last three points, the curves cross at 20.47 L/s and 29.40 m. There η = 75.2 % and the shaft power is about 7.84 kW.

Two more checks: in a smooth pipe at Re = 10⁵, Colebrook gives f = 0.01799. And with water at 60 °C (pv = 19.95 kPa) in an open sump at 101.325 kPa, 4 m below the pump and with 0.6 m of suction losses, NPSHa = 3.84 m: if the pump requires 4 m, as in the tool's "NPSH" example, it will cavitate.

How to use the tool

  1. Choose the liquid: water at the temperature you say, ethanol, methanol, toluene or n-hexane (ρ, μ and the vapor pressure come from the site's thermodynamic data), or another liquid with typed ρ and μ.
  2. Type the flow rate (in L/s, m³/s, m³/h or L/min), the inside diameter, the length and the roughness ε of the pipe.
  3. Type the elevation change z2 − z1, the pressure difference and each fitting with its K and quantity.
  4. For the operating point, turn on the pump curve and type the catalog points (Q, H and, if you have them, η). For cavitation, turn on the NPSH with the tank pressure, its level above the pump, the suction losses and the required NPSH.
  5. Read the results, the curves, the Moody chart and the step by step.

Common mistakes

Further reading

The chapters on pipe flow and pumps of any engineering fluid mechanics textbook, and each pump manufacturer's data sheet for its curve and required NPSH. The density and vapor pressure of the liquids come from each fluid's reference equation of state, and the viscosity from its viscosity model, as implemented in CoolProp 8.0.0 (I. H. Bell and contributors, MIT license), as in the site's thermodynamic tables. Simuveliq is not affiliated with the CoolProp project.

More tools

Versión en español

© 2026 Simuveliq. All rights reserved.