Hydraulic Engineering Tools

Continuity Equation Calculator

Calculate fluid velocity and cross-sectional area instantly using the Continuity Equation. Perfect for engineers, students, hydraulic systems, and fluid mechanics applications.

Continuity Equation Calculator | A₁V₁ = A₂V₂ Fluid Mechanics Tool

Continuity Equation Calculator

Solve A₁V₁ = A₂V₂ for area, velocity, diameter, or flow rate

Input Parameters

Configure unit system, solve target, and input method

Continuity Equation — Pipe Flow
D₁, A₁, V₁ D₂, A₂, V₂ Q = A₁V₁ = A₂V₂ = constant
Solve For (Unknown Variable)
Area Input Method
Section 1 (Inlet)
Section 2 (Outlet)
Flow Rate Output Unit
Decimal Precision
.00
2 Decimals
Quick estimates
.000
3 Decimals
General applications
.0000
4 Decimals
Standard engineering accuracy
.000000
6 Decimals
High precision
.00000000
8 Decimals
Maximum precision
Number Notation
Auto
Smart format based on value
Fixed Decimal
Standard decimal notation
Scientific
Exponential notation

Results

Calculated value with step-by-step solution

Enter required values to calculate
m³/s
Flow Rate (Q)
Section 1 Q
Section 2 Q
Formula:
A₁ × V₁ = A₂ × V₂ = Q
Enter values to see substitution

Step-by-Step

1Enter known values and click Calculate

Calculation History

No calculations yet.

Continuity Equation Formula

The fundamental principle of conservation of mass in fluid mechanics

For incompressible steady flow, the volumetric flow rate remains constant throughout a pipe or channel:

A₁V₁ = A₂V₂
Q = A × V = πD²V/4

The continuity equation is based on the conservation of mass. For incompressible flow, the flow rate remains constant throughout the pipe. What enters one end must exit the other.

A
Cross-sectional Area
m² (or ft²)
V
Fluid Velocity
m/s (or ft/s)
D
Pipe Diameter
m (or ft)
Q
Volumetric Flow Rate
m³/s (or ft³/s)

Understanding the Continuity Equation

Comprehensive guide to fluid mechanics fundamentals

Introduction to the Continuity Equation

The Continuity Equation is one of the most fundamental principles in fluid mechanics. It expresses the conservation of mass for flowing fluids and is essential for analyzing pipe flow, open channel flow, and virtually all fluid transport systems. The equation states that for an incompressible fluid in steady flow, the mass flow rate must remain constant throughout the system.

Conservation of Mass Principle

The principle of conservation of mass (also known as the mass continuity principle) states that mass cannot be created or destroyed in an isolated system. For fluid flow, this means that the mass of fluid entering a control volume must equal the mass leaving plus any accumulation inside. For steady flow with no accumulation, the mass flow rate in equals the mass flow rate out.

Mathematical Derivation

For a pipe with varying cross-section, the mass flow rate at any section is:

  • ṁ = ρ × A × V (mass flow rate)
  • For incompressible flow (ρ = constant): ρ₁A₁V₁ = ρ₂A₂V₂
  • Simplifying: A₁V₁ = A₂V₂
  • Since Q = A × V: Q₁ = Q₂ = constant

Physical Interpretation

When a pipe narrows (cross-sectional area decreases), the fluid must speed up to maintain the same flow rate. This is because the same volume of fluid must pass through a smaller area in the same amount of time. Conversely, when a pipe widens, the fluid slows down. This principle is demonstrated in everyday life when you partially cover a garden hose opening — the water speeds up and shoots farther.

The Venturi Effect

The Venturi effect is a direct consequence of the continuity equation combined with Bernoulli's principle. When fluid passes through a constriction (narrow section), its velocity increases and its pressure decreases. This principle is used in Venturi meters for flow measurement, carburetors in engines, and atomizers for spraying liquids.

Applications in Engineering

The continuity equation is used extensively across multiple engineering disciplines:

  • Civil Engineering: Water supply networks, sewage systems, stormwater management
  • Mechanical Engineering: HVAC systems, hydraulic circuits, pump design
  • Chemical Engineering: Process piping, reactor design, flow measurement
  • Aerospace Engineering: Jet engines, wind tunnels, air intake design
  • Biomedical Engineering: Blood flow analysis, respiratory systems

Typical Flow Velocities

Engineers use recommended velocity ranges for different applications to balance efficiency, noise, and wear:

  • Water supply pipes: 1-3 m/s
  • Industrial process pipes: 1-5 m/s
  • HVAC ducts (air): 5-15 m/s
  • Oil pipelines: 1-3 m/s
  • Fire protection systems: 3-10 m/s
  • Steam pipes: 20-40 m/s

Common Engineering Mistakes

  • Confusing internal diameter with external diameter
  • Forgetting to convert units consistently
  • Using average velocity when maximum is needed
  • Ignoring temperature effects on fluid properties
  • Not accounting for pipe roughness in pressure calculations

Summary

The Continuity Equation (A₁V₁ = A₂V₂) is a simple yet powerful expression of mass conservation for incompressible flow. It tells us that flow rate Q = AV remains constant throughout a pipe system. When area decreases, velocity must increase proportionally, and vice versa. This principle is fundamental to all fluid mechanics and is the starting point for virtually every flow analysis problem in engineering practice.

Parameter Definitions

Understanding each variable in the Continuity Equation

A

Cross-sectional Area

Area of the pipe cross-section perpendicular to flow. For circular pipes: A = πD²/4.

SI: m²Imperial: ft²
V

Fluid Velocity

Average velocity of fluid through the cross-section. Inversely proportional to area for constant flow rate.

SI: m/sImperial: ft/s
D

Pipe Diameter

Internal diameter of circular pipe. Area: A = πD²/4. Velocity: V = 4Q/(πD²).

SI: mImperial: ft
Q

Volumetric Flow Rate

Volume of fluid passing per unit time. Q = A × V. Remains constant for incompressible flow.

SI: m³/sL/s, gpm
ρ

Fluid Density

Mass per unit volume. For incompressible flow, density is constant. Water: ~1000 kg/m³.

SI: kg/m³~1000 (water)

Mass Flow Rate

Mass of fluid passing per unit time. ṁ = ρAV. Always conserved, even for compressible flow.

SI: kg/sṁ = ρQ
r

Pipe Radius

Half of pipe diameter. Area: A = πr². Commonly used in theoretical derivations.

SI: mr = D/2
Re

Reynolds Number

Dimensionless number indicating flow regime. Re = ρVD/μ. Re < 2300: laminar, Re > 4000: turbulent.

DimensionlessFlow regime

Engineering Diagrams

Visual representations of the Continuity Equation concepts

Pipe with Changing Diameter

Section 1: Large A, Slow V Section 2: Small A, Fast V A₁V₁ = A₂V₂ = Q (constant)

Area-Velocity Relationship

Cross-sectional Area (A) Velocity (V) Small A, High V Medium A, Medium V Large A, Low V V ∝ 1/A (Inverse Relationship)

Worked Examples

Step-by-step solutions for common Continuity Equation problems

1 Find Outlet Velocity

Given

D₁ = 0.25 m, V₁ = 2 m/s, D₂ = 0.10 m

Solution

A₁ = π(0.25)²/4 = 0.04909 m²
A₂ = π(0.10)²/4 = 0.00785 m²
V₂ = (A₁/A₂) × V₁ = (0.04909/0.00785) × 2 = 12.5 m/s
V₂ = 12.5 m/s — Velocity increases 6.25× as diameter reduces 2.5×

2 Calculate Flow Rate

Given

D = 0.15 m, V = 3 m/s

Solution

A = π(0.15)²/4 = 0.01767 m²
Q = A × V = 0.01767 × 3 = 0.0530 m³/s
Q = 0.0530 m³/s = 53.0 L/s = 839 gpm

3 Find Required Diameter

Given

Q = 0.025 m³/s, V = 4 m/s. Find D.

Solution

A = Q/V = 0.025/4 = 0.00625 m²
D = √(4A/π) = √(4×0.00625/π) = 0.0892 m
D = 0.0892 m = 89.2 mm

4 Pipe Branching Problem

Given

Main pipe: D = 0.3 m, V = 2 m/s. Splits into two branches: D₁ = 0.2 m, D₂ = 0.15 m. Find V₁ and V₂ if equal flow.

Solution

Q_main = π(0.3)²/4 × 2 = 0.1414 m³/s
Q_each = Q_main/2 = 0.0707 m³/s
V₁ = 4×0.0707/(π×0.2²) = 2.25 m/s
V₂ = 4×0.0707/(π×0.15²) = 4.0 m/s
V₁ = 2.25 m/s, V₂ = 4.0 m/s — Smaller branch has higher velocity

Engineering Applications

Where the Continuity Equation is used in professional practice

Civil Engineering

Water supply and drainage pipe sizing

Mechanical Eng.

Hydraulic systems and pump design

Chemical Eng.

Process piping and reactor flow

Hydraulics

Open channel and pipe flow analysis

HVAC

Duct sizing and air distribution

Oil & Gas

Pipeline transport and flow metering

Aerospace

Jet engines and air intake design

Biomedical

Blood flow in arteries and veins

Related Equations Comparison

How the Continuity Equation relates to other fluid mechanics equations

Continuity Equation

A₁V₁ = A₂V₂
  • Conservation of mass
  • Incompressible flow
  • Simple and universal
  • No pressure information
  • No energy considerations

Bernoulli Equation

P + ½ρV² + ρgh = const
  • Conservation of energy
  • Pressure-velocity relation
  • Elevation effects
  • Inviscid flow only
  • Steady flow assumption

Darcy-Weisbach

hf = f(L/D)(V²/2g)
  • Friction head loss
  • All flow regimes
  • Pipe roughness effects
  • Requires friction factor
  • Complex for non-circular

Engineering Notes & Best Practices

Important considerations for practical applications

Assumptions

  • Incompressible fluid (constant density)
  • Steady flow (no time variation)
  • One-dimensional flow (uniform velocity)
  • No leakage or sources/sinks
  • Full pipe flow (no air pockets)

Limitations

  • Not valid for compressible gas flow at high Mach
  • Does not account for friction losses
  • Assumes uniform velocity profile
  • Cannot predict pressure changes alone
  • Requires known cross-section geometry

Best Practices

  • Always use internal diameter for calculations
  • Convert all units to consistent system
  • Use average velocity (not maximum)
  • Check Reynolds number for flow regime
  • Combine with Bernoulli for pressure analysis

Common Mistakes

  • Confusing internal vs external diameter
  • Forgetting unit conversions
  • Using radius instead of diameter in formulas
  • Ignoring temperature effects on properties
  • Not accounting for pipe roughness

Unit Converter

Convert between common hydraulic and fluid mechanics units

Enter a value to convert

Frequently Asked Questions

Common questions about the Continuity Equation and fluid mechanics

What is the Continuity Equation?

The Continuity Equation (A₁V₁ = A₂V₂) states that for incompressible steady flow, the volumetric flow rate remains constant throughout a pipe or channel. It is based on the principle of conservation of mass — what enters must exit.

How do you calculate flow rate Q?

Flow rate Q = A × V, where A is cross-sectional area and V is average velocity. For a circular pipe: Q = πD²V/4. Units: m³/s in SI, ft³/s (cfs) in Imperial.

How do you calculate area from diameter?

For a circular pipe: A = πD²/4, where D is the internal diameter. For D = 0.1 m: A = π(0.1)²/4 = 0.00785 m².

How do you calculate diameter from area?

Rearranging A = πD²/4: D = √(4A/π). For A = 0.01 m²: D = √(4×0.01/π) = 0.1128 m.

What happens to velocity when pipe narrows?

When a pipe narrows (diameter decreases), velocity must increase to maintain constant flow rate. Since A ∝ D², halving diameter quadruples velocity.

Can the continuity equation be used for gases?

Yes, but with modifications. For compressible gas flow, the full form ρ₁A₁V₁ = ρ₂A₂V₂ must be used. For low-speed gas flow (Mach < 0.3), the incompressible form is a good approximation.

What are typical flow velocities in pipes?

Water supply: 1-3 m/s, Industrial process: 1-5 m/s, HVAC ducts: 5-15 m/s (air), Oil pipelines: 1-3 m/s, Fire protection: 3-10 m/s. Excessive velocity causes erosion and noise.

What is the difference between Bernoulli and Continuity?

Continuity is based on conservation of mass (A₁V₁ = A₂V₂), while Bernoulli is based on conservation of energy (P + ½ρV² + ρgh = constant). They are often used together to solve fluid flow problems.

How do you convert between flow rate units?

Common conversions: 1 m³/s = 1000 L/s = 60,000 L/min = 15,850 gpm = 35.31 cfs. Use the unit converter section of this calculator for precise conversions.

Is continuity equation valid for open channels?

Yes. For open channels: Q = A₁V₁ = A₂V₂, where A is the wetted cross-sectional area. It applies to rivers, canals, and partially full pipes with a free surface.

What is mass conservation in fluid mechanics?

Mass conservation states that mass cannot be created or destroyed. For a control volume, the rate of mass entering equals the rate of mass leaving plus the rate of mass accumulation inside.

What is the venturi effect?

The venturi effect is the phenomenon where fluid velocity increases as it passes through a constricted section of pipe, resulting in a pressure drop. It is a direct consequence of the continuity equation combined with Bernoulli's principle.

How do you calculate velocity from flow rate?

V = Q/A. For a circular pipe: V = 4Q/(πD²). Simply divide the flow rate by the cross-sectional area.

What is volumetric flow rate?

Volumetric flow rate Q is the volume of fluid passing through a cross-section per unit time. Units: m³/s (SI), ft³/s (Imperial), L/s, or gpm.

What is the relationship between area and velocity?

For constant flow rate, area and velocity are inversely proportional: A₁V₁ = A₂V₂. If area doubles, velocity halves, and vice versa.

Copied!