Which mass crosses the boundary
Imagine collecting discharged water in a container for ten seconds. Collected volume divided by time gives volume flow rate. Density tells you how much mass this represents. This distinction prevents incorrectly assuming equal volume flows when dealing with gases.[1]
Choose a fixed pipe section with one inlet and one outlet. Density ρ is mass per local volume. Mass flow ṁ is the mass crossing a cross-section per unit time, in kg/s. Volume flow Q instead counts local volume per time, in m3/s. A mass flow of 1 kg/s is not also 1 L/s without a density specification.[1]
For uniform cross-sectional density, v̄n is the average normal velocity component.[1]
Choose the velocity component normal to the area. Motion tangent to a measuring surface carries no mass through it. Straight-pipe cross-sections are normally perpendicular to mean flow. The v in the short form then denotes cross-sectional mean velocity, not necessarily velocity at the pipe center.[1]
How does mass conservation give the steady continuity equation?
For the fixed section, change in contained mass equals inflow minus outflow. Sources, additional connections and leaks would add balance terms. In steady flow, stored mass is constant. With exactly one inlet and one outlet, positive incoming and outgoing mass-flow magnitudes must therefore match.[2]
The steady two-section form requires no mass accumulation between the areas.[1]
This derivation uses mass conservation and an appropriate flow model. It does not require frictionless motion. The same steady mass balance can hold in a real pipe with pressure loss. Friction alters energy and momentum balances but creates no additional fluid mass in an ordinary pipe model.[1]
When is volume flow conserved and when must density be retained?
Equal density also makes volume flow equal.[1]
The simplification often fits water under moderate state changes, but is not an automatic guarantee for every liquid. Gas density can change substantially with temperature and pressure. Mass flow then remains constant while can vary by location. With changing density, area alone does not determine the velocity ratio.[1]
Compression can change the velocity effect of a narrowing cross-section.[1]
Areas, diameters and units
For circular pipes, area ratio is the square of diameter ratio.[1]
Half the diameter means one quarter of the area. At equal density and mass flow, mean velocity then quadruples. For a planar slit of unchanged width, halving height instead halves area. A height shown in a sketch therefore does not fully specify area without the cross-sectional shape.[1]
and . For L/min, convert both liters and minutes. Units of are . Solving for v2 requires positive ρ2 and A2; a closed zero area cannot be handled by the same finite-flow calculation. Density connects local volume flow to mass flow.[1]
Example: water through a narrowing
Check volume flow and velocity together
- Given
- Steady water with ; , and . No other connections.
- Find
- Find v̄2, Q and ṁ.
Approach: For steady flow at equal density use , with and . Calculate circular-area ratio from diameters.
Evaluate the larger area in SI units and multiply by its mean velocity.
Use density to obtain mass flow; convert both factors for L/min.
Result: ; Q ≈ 0.5655 L/s; ṁ ≈ 0.5655 kg/s.
Check: The smaller area times gives the same Q. In 10 s approximately 5.655 L passes both sections. The required pressure difference is still undetermined.
A second direct area check: 4.0 cm2 at 2.0 m/s with a 1.0 cm2 outlet gives and . Both calculations require equal density and unchanged volume flow. They do not determine pump power. Bernoulli’s equation adds a mechanical energy balance under its own assumptions, allowing pressure changes to be examined.[1][3]
Half diameter, four times the speed
Free with a Quanta account. Your download stays ready after registration.
Example: changing density in a gas model
Same mass flow, different volume flow
- Given
- Steady model: , , ; and . Densities are specified state values.
- Find
- Calculate ṁ, v̄2 and both volume flows.
Approach: At different densities conserve ; need not be equal. Convert inlet area and find mass flow.
Solve outlet mass flow for velocity.
Calculate both local volume flows separately.
Result: ; remains equal while Q decreases from 15 to 10 L/s.
Check: Check: . Incorrectly cancelling density gives outlet speed 15 m/s and the inconsistent mass flow , violating the balance.
This calculation checks mass balance for specified states. It does not prove that those states jointly occur in a passive nozzle. Energy, momentum, an equation of state and possibly technical work are additional requirements.[1]
Advanced: storage, branches and profiles
Count multiple connections by direction; retain the left-hand term during filling.[1]
A tank with 5 kg/s inflow and 3 kg/s outflow gains 2 kg each second. Mass is conserved although inlet and outlet rates differ: stored mass changes. At a steady branch, outgoing mass flows instead sum to the incoming rate. A leak is an additional outlet, not an exception to mass conservation.[1]
Explore further: Mass flow using a surface integral
n⃗ is the chosen unit normal of the cross-section. The integral gives signed mass flow and accounts for local density and normal-velocity variation. The inlet/outlet balance then uses the corresponding positive magnitudes.[1]
If density varies across the section, multiplying separately averaged density and velocity does not automatically equal the average of their product. Constant ρ can be taken outside the integral. Turbulent time averages likewise require appropriate treatment of fluctuations. Continuity replaces neither a pressure balance nor checking actual operating flow conditions.[1]
Five exercises with checked solutions
Calculate · Foundation
In steady equal-density flow through a circular pipe without branches, diameter halves. Inlet mean normal speed is . Find .
Show hint
First calculate area ratio.
Learning goal: Translate diameter change quadratically into velocity ratio.
Show solution and calculation
Approach: Steady flow without branches at equal density requires .
Circular pipes use the squared diameter ratio.
Area decreases to one quarter.
Thus .
Check: .
Calculate · Foundation
2. A flow of 18 L/min passes 3.0 cm2. What is mean velocity?
Show hint
Convert litres to cubic metres, minutes to seconds, and square centimetres to square metres.
Learning goal: Convert volume-flow and area units to find mean velocity.
Show solution and calculation
Approach: Volume flow equals area times mean normal velocity, so .
Convert both inputs to SI units first.
.
.
Thus ; reversing gives 18 L/min again.
Transfer · Application
3. A steady branch receives 0.90 kg/s. One outlet carries 0.35 kg/s. The other has and . Find its velocity.
Show hint
First balance the missing mass flow, then divide by ρA.
Learning goal: Solve a branch balance using mass flows before calculating velocity.
Show solution and calculation
Approach: At a steady branch, outgoing mass flows sum to incoming mass flow.
For the second outlet then use .
The second outlet carries .
Thus Check: .
Interpret · Application
Gas enters a steady pipe section without branches at and . Outlet density is . Find Q2. A diagram draws outlet volume flow greater than inlet volume flow: does this violate mass conservation? The stated conditions are prescribed for this balance.
Show hint
Balance mass flow. The same mass flow requires more volume per second at lower density.
Learning goal: Recognize density change as the reason for unequal volume flows at constant mass flow.
Show solution and calculation
Approach: calculate incoming mass flow and divide by outlet density.
Mass flow stays 0.060 kg/s while volume flow increases to 0.040 m3/s.
The diagram does not violate mass conservation.
Check: outlet density times outlet volume flow again gives 0.060 kg/s. This balance alone does not establish that the states occur without additional operating constraints.
Error analysis · Application
A tank initially holds 5 kg of liquid. For 20 s, constant flow is 0.30 kg/s inward and 0.10 kg/s outward, with no other connections. A solution calls the unequal mass flows impossible and sets them equal. Find final mass and identify the missing assumption in that solution.
Show hint
Mass conservation permits storage in the tank. Equality of inflow and outflow follows only when stored mass is unchanged.
Learning goal: Use the full control-volume balance when storage changes with time.
Show solution and calculation
Approach: use the difference in mass flows as the rate of mass increase and integrate over the stated time.
The tank gains 4 kg and finally holds 9 kg.
The incorrect solution assumes steady storage without justification.
Check: total inflow is 6 kg and outflow 2 kg; 5+6−2 gives the same final mass.
Key points
Choose the system boundary and count every connection. Without mass accumulation, inflow equals outflow. Use mean normal speeds and each local density; cancel density only when the values match. Circular diameter enters quadratically through area.
Sources for this explanation
Quanta · Updated October 2, 2026
- OpenStax University Physics 1, §14.5: Fluid Dynamics
- NASA Glenn: Conservation of Mass
- OpenStax University Physics 1 §14.6: Bernoulli’s Equation
Editorial responsibility: Quanta Study editorial team
Review scope
This explanation, 2 worked examples and 5 exercises are available in German and English. Structure, source references and mathematical notation undergo automated checks. Calculations, model assumptions and both language versions receive a separate AI review.
An internal human subject review is documented for an earlier release of this page. That confirmation does not apply automatically to the revised explanation and new exercises.
An independent, named human subject review has not yet been documented. Our exercise numbers are worked examples, rather than measurements published by the cited sources.
Editorial responsibility, sources and methodsChange history
- Highlighted steady mass balance and the density condition in question headings; added paragraph connections to mass density and the conditional Bernoulli energy balance.
- Clarified the entry and learning transitions; checked and refined existing exercise solutions, typeset mathematical prose and added an original quantitative article figure.
- Added two exercises; labelled all five by task type, difficulty and learning goal.
Cite this reference page
Quanta. Continuity equation for flow. Updated October 2, 2026. https://quanta-study.de/en/formula-sheet/kontinuitaetsgleichung-stroemung
When citing a specific scientific statement, also cite the specialist source linked to that statement.