# Continuity equation

The continuity equation is derived from the principle of conservation of mass. It is used, for example, to calculate the speed of a fluid in a pipe in case of a change in the cross-sectional area.

In this video Paul Andersen explains how the continuity equation is an application of conservation of matter in a fluid. The continuity equation may apply to either mass or volumetric flow. Example problem and examples are included.