Continuity Equation Calculator – A1v1 = A2v2 Pipe Solver

Use this free Continuity Equation Calculator to find how fast a fluid moves when a pipe changes size. Enter the diameter and speed in the wide section and the diameter of the narrow section — the calculator finds the new speed using A1v1 = A2v2.

D1 D2 v1 v2

Formula

Continuity equation: A1 × v1 = A2 × v2  →  v2 = v1 × (A1/A2) = v1 × (D1/D2)²

For round pipes A = π(D/2)², so the speed depends on the square of the diameter ratio: halve the diameter and the speed becomes four times bigger. The volume flow rate Q = A × v is the same at both points.

How to use

Worked example

Water flows at 1.5 m/s in a pipe of diameter 0.2 m (area A1 = π × 0.1² ≈ 0.0314 m²). The pipe narrows to 0.1 m (area A2 = π × 0.05² ≈ 0.00785 m²). v2 = 1.5 × (0.2/0.1)² = 1.5 × 4 = 6 m/s. The flow rate stays Q ≈ 0.0471 m³/s at both points — this is why a garden hose jet shoots out faster when you partly cover the end.

FAQ

Why does the fluid speed up in a narrow pipe?
The same volume of fluid must pass through every cross-section each second. A smaller area means the fluid has to move faster to get the same volume through — mass is conserved.

Does the continuity equation work for gases?
Only approximately, and only for slow flows. Gases are compressible, so for fast gas flow the density changes and the full form ρ1A1v1 = ρ2A2v2 must be used.

What happens to the pressure where the speed increases?
By Bernoulli's principle, the pressure falls where the speed rises — the two effects (continuity + Bernoulli) together explain most pipe-flow behaviour.