🔬
🔬 Science & engineering

Continuity Equation & Pipe Flow Velocity

Results update as you type.

Your numbers

Understanding the continuity equation and pipe flow velocity calculator — concept and principle

The continuity equation says that the volume of liquid entering a pipe each second must leave it each second. From a flow rate and two inside diameters, the calculator gives the mean velocity in each section and the flow in m³/h. It is used to size pipes, check that velocities stay in a sensible range, and find the speed at a reducer, nozzle or narrow section.

Continuity: the same flow through a wide and a narrow pipeIn one second, 5 litres pass each section. In the 50 mm pipe that slug is short and moves at 2.55 m/s; the 25 mm pipe has a quarter of the area, so the slug is four times longer and moves at 10.19 m/s.The same 5 litres pass every second5 L5 L in 1 sd₁ 50 mmv₁ 2.55 m/sd₂ 25 mmv₂ 10.19 m/sA₁ 19.6 cm²area ×1A₂ 4.9 cm²¼ area → 4× speedQ = A₁v₁ = A₂v₂5 L/s × 3.6 = 18 m³/h
Half the diameter means a quarter of the area, so the same 5 L/s must move four times faster.

How it is calculated

Because the same Q passes both sections, A₁v₁ = A₂v₂, so v₂ = v₁ × (d₁/d₂)².

The principle

Mass is conserved. In steady flow nothing accumulates inside the pipe, so the mass passing any cross-section per second, ρAv, is the same everywhere. For a liquid, density is practically constant, which leaves Av = constant. Area depends on the square of diameter, so velocity scales with 1/d²: halve the diameter and the area becomes one quarter, so the velocity becomes four times larger. The velocity here is the average over the section; the real profile is faster in the centre and zero at the wall.

Worked example

  1. Inputs: Q = 5 L/s, d₁ = 50 mm, d₂ = 25 mm.
  2. Q = 5 ÷ 1000 = 0.005 m³/s.
  3. A₁ = π × 0.025² = 0.0019635 m²; v₁ = 0.005 ÷ 0.0019635 = 2.546 m/s (shown as 2.546479089).
  4. A₂ = π × 0.0125² = 0.00049087 m²; v₂ = 0.005 ÷ 0.00049087 = 10.186 m/s (shown as 10.18591636), exactly 4 × v₁.
  5. Flow: 5 × 3.6 = 18 m³/h.
How Velocity 1 (m/s) changes with Diameter 1 (mm)How Velocity 1 changes with Diameter 10102030405012.52537.55062.575100Example: 2.546479089Diameter 1 (mm)
Each point is the calculator re-run with only “Diameter 1 (mm)” changed; the gold point is the default example. Change the inputs above and this chart follows your numbers.
Diameter 1 (mm)Velocity 1 (m/s)
12.540.74366543
2510.18591636
37.54.527073937
502.546479089
62.51.629746617
751.131768484
1000.6366197724

How to read the result

Many design guides keep water velocity in pressure pipes roughly between 1 and 3 m/s: lower speeds mean larger, costlier pipes and possible sediment, higher speeds mean more friction loss, noise, erosion and stronger water hammer. In the example, 2.5 m/s is reasonable for a 50 mm pipe, while 10 m/s in the 25 mm section is only acceptable over a very short nozzle or restriction.

Common mistakes

Keep in mind: The equation gives average velocity only and assumes a full pipe, steady flow and incompressible fluid. It says nothing about pressure loss; pipe sizing for real installations should follow local codes and be checked by a qualified engineer.

Frequently asked questions

How do I find the pipe diameter for a target velocity?

Rearrange to d = √(4Q ÷ (πv)). For 5 L/s at 2 m/s, d = √(4 × 0.005 ÷ (π × 2)) ≈ 0.056 m, about 56 mm.

Does the continuity equation work for branching pipes?

Yes. At a junction the flow in equals the sum of the flows out: Q₁ = Q₂ + Q₃.

Why does putting a thumb over a hose make the water go further?

Reducing the outlet area raises the exit velocity for a similar flow, so the jet travels further, although the restriction also reduces the flow somewhat.

Sources: F. M. White, Fluid Mechanics, McGraw-Hill (conservation of mass) · B. R. Munson et al., Fundamentals of Fluid Mechanics, Wiley

Checked 8 Nov 2026. Standard textbook formulas in SI units, computed in your browser. For learning and estimates — real designs must follow your local codes and be checked by a qualified engineer.

🔬 All science & engineering tools →🌍 Calculators by country →