← thecodex.expert
Classical Mechanics Hub Physicist Biographies
Definition Curious Exploring Deep Dive Sources
Fluid Mechanics · Concept

Continuity Equation

Reading time: 9 minConfidence: HighLast verified: October 2026

The continuity equation expresses local conservation of mass: ∂ρ/∂t + ∇ · (ρv) = 0. For steady flow the mass flow rate ρAv is the same through every cross-section of a stream tube; for an incompressible fluid this reduces to ∇ · v = 0 and A1v1 = A2v2 (constant volume flow rate). Equations of the same form express local conservation of electric charge, probability in quantum mechanics, energy and number of particles.

Curious

One sentence that captures itFluid cannot appear or vanish, so when a stream is squeezed into a narrower channel it must flow faster.

Put your thumb over the end of a garden hose and the water shoots out faster. The same amount of water per second must pass through the smaller opening, so it has to move more quickly. Rivers flow fast through narrow gorges and slowly across wide plains for the same reason.

The continuity equation is one of the basic equations of fluid motion, alongside the momentum equations (Euler's and the Navier–Stokes equations) and energy conservation. Combined with Bernoulli's equation, it explains why faster flow in a constriction has lower pressure.

Exploring

Worked example — blood flowA resting heart pumps about 5 litres per minute (8.3×10−5 m³/s). Through an aorta of 2.5 cm diameter (area about 4.9 cm²) the average speed is about 0.17 m/s. The capillaries are tiny but extremely numerous; with a total cross-section often estimated at around 2,500 cm² (estimates vary widely), the average speed there falls to roughly 0.3 mm/s, giving time for exchange of oxygen and nutrients. (Computed in Python; physiological values approximate.)
Conserved quantityContinuity equation
Mass (fluids)∂ρ/∂t + ∇ · (ρv) = 0
Electric charge∂ρq/∂t + ∇ · J = 0
Probability (quantum)∂|ψ|²/∂t + ∇ · j = 0
Heat (no sources)ρc ∂T/∂t + ∇ · q = 0
Traffic on a road∂n/∂t + ∂(nv)/∂x = 0
Common mistake — Commonly ConfusedA1v1 = A2v2 holds for incompressible fluids; for gases at high speed the density changes, and it is ρAv that is constant. In supersonic flow a widening duct actually speeds the gas up, the principle of rocket nozzles. Also, continuity applies to the total cross-section: blood slows in capillaries because their combined area is large, even though each one is narrow.

Deep Dive

Primary sourceEuler, L. (1757). “Principes généraux du mouvement des fluides.” Mémoires de l'Académie des Sciences de Berlin, 11, 274–315; Batchelor, G.K. (1967). An Introduction to Fluid Dynamics. Cambridge University Press.

Derivation. The mass in a fixed volume changes only by flow through its boundary: d/dt∫ρ dV = −∮ρv · dA. Applying the divergence theorem and letting the volume shrink gives the differential form. Leonardo da Vinci had observed the inverse relation between channel width and speed in rivers; Castelli stated it in 1628; Euler gave the general equation.

Incompressibility. For liquids and low-speed gas flows, ∇ · v = 0 is an excellent approximation and acts as a constraint that, with the Navier–Stokes equations, determines the pressure field. Whether smooth solutions of the three-dimensional incompressible Navier–Stokes equations always exist is one of the Clay Mathematics Institute's unsolved Millennium Prize Problems (see Viscosity).

Across physics. In electromagnetism, Maxwell's addition of the displacement current was required to make his equations consistent with charge continuity (see Maxwell's Equations). In quantum mechanics, the Schrödinger equation implies a continuity equation for probability, ensuring total probability stays 1 (see Born Interpretation). In relativity, continuity equations are written as the vanishing four-divergence of a current.

Sources

  • Euler, L. (1757). Mém. Acad. Sci. Berlin, 11, 274–315.
  • Castelli, B. (1628). Della misura dell'acque correnti. Rome.
  • Batchelor, G.K. (1967). An Introduction to Fluid Dynamics. Cambridge University Press.
Last verified: October 2026 · Source: Castelli (1628); Euler (1757); Batchelor (1967) · Confidence: high