Continuity Equation Interactive Calculator

← Back to Engineering Library

If you're sizing pipework or chasing down problems in a flow circuit, you need to know how velocity, area, and flow rate are linked at every section. Get this wrong, and you risk pipes that are too small, unexplained pressure drops, or even cavitation. The Continuity Equation Calculator lets you solve for velocity, cross-sectional area, pipe diameter, volumetric flow rate, or mass flow rate, based strictly on your pipes and flow info. This isn't just for classrooms—it comes up all the time in hydraulics, HVAC, water mains, process piping, and fire systems. Below, you'll find the math, a worked example, practical engineering notes, and an FAQ.

What is the continuity equation?

The continuity equation is a basic tool in fluid mechanics that says, simply, you can't get more or less mass out of a flowing system than you put in. So, when a pipe gets narrower, the fluid has to move faster if the same amount of mass is passing through each second.

Simple Explanation

If you squeeze the end of a garden hose, the water shoots out faster, but you're not suddenly supplying more water. That's continuity—the area drops, the speed goes up, flow rate doesn't change. It's just keeping track of what goes in and what comes out with no losses or gains.

📐 Browse all 1000+ Interactive Calculators

Visual Diagram

Continuity Equation Interactive Calculator Technical Diagram

How to Use This Calculator

  1. Select which value you want to calculate (outlet velocity, outlet area, outlet diameter, inlet velocity, volumetric flow rate, or mass flow rate).
  2. Enter your known values for the pipe inlet: velocity, diameter, or area, as needed for your chosen calculation.
  3. Input the appropriate outlet values or any extra data the calculator asks for (like density), depending on the mode.
  4. Press Calculate. The result displays right away.

Continuity Equation Calculator

m/s
m
m
Engineering calculation notice

This calculator is intended for education, concept evaluation, and preliminary design. Results are based on the equations and assumptions described on this page, but cannot account for every real-world load case, tolerance, material property, environmental condition, installation detail, safety factor, code, or regulatory requirement. Verify all inputs, assumptions, units, and results independently before selecting components or using the result in a real application. Safety-critical, structural, medical, lifting, transportation, or regulated applications must be reviewed by a qualified engineer.

Found a calculation error? Message us

Continuity Equation Interactive Visualizer

Here, you can see how changing the pipe size swaps velocity and area, but the flow rate stays constant as long as the inputs are set for steady flow and no leakage. This is a direct, visual check of mass conservation in action.

Inlet Velocity (V₁) 3.0 m/s
Inlet Diameter (D₁) 0.20 m
Outlet Diameter (D₂) 0.10 m

OUTLET VELOCITY

12.0 m/s

FLOW RATE

0.094 m³/s

VELOCITY RATIO

4.0x

FIRGELLI Automations — Interactive Engineering Calculators

Governing Equations

Here's the math you'll need to work out flow velocity, area, or flow rate with the continuity equation.

Fundamental Continuity Equation

A₁V₁ = A₂V₂ = Q

Where:

  • A₁ = Cross-sectional area at inlet (m²)
  • V₁ = Fluid velocity at inlet (m/s)
  • A₂ = Cross-sectional area at outlet (m²)
  • V₂ = Fluid velocity at outlet (m/s)
  • Q = Volumetric flow rate (m³/s)

Circular Pipe Area

A = πD² / 4

Where:

  • A = Cross-sectional area (m²)
  • D = Pipe diameter (m)
  • π = Pi ≈ 3.14159

Mass Flow Rate

ṁ = ρQ = ρAV

Where:

  • = Mass flow rate (kg/s)
  • ρ = Fluid density (kg/m³)
  • Q = Volumetric flow rate (m³/s)

Velocity Ratio for Diameter Change

V₂/V₁ = (D₁/D₂)²

Where:

  • V₂/V₁ = Velocity ratio (dimensionless)
  • D₁ = Inlet diameter (m)
  • D₂ = Outlet diameter (m)

Note: This shows that velocity increases with the square of the diameter reduction, which is why small nozzles produce high-velocity jets.

Simple Example

Water flows through a 0.2 m diameter inlet pipe at 2.5 m/s. The pipe narrows to 0.1 m diameter at the outlet.

  • Inlet area (A₁) = π × 0.2² / 4 = 0.03142 m²
  • Outlet area (A₂) = π × 0.1² / 4 = 0.007854 m²
  • Outlet velocity (V₂) = (2.5 × 0.03142) / 0.007854 = 10.0 m/s
  • Volumetric flow rate (Q) = 2.5 × 0.03142 = 0.07854 m³/s

Theory & Engineering Applications

The continuity equation is built on the idea that mass has to be conserved in any steady, incompressible flow. If the fluid isn't changing density—like most water flows or air moving much below the speed of sound—then the key takeaway is that the product of cross-sectional area and velocity stays the same along the flow path.

Physical Foundations and Assumptions

The basic A₁V₁ = A₂V₂ formula only holds when the flow is steady (conditions don't change with time), the fluid acts incompressibly (density doesn't change much), and the velocity you use is effectively the average across the section—something that's close enough for engineering pipe flow but not in every minute detail. No leaking, no pooling up in bulges or tanks, and nothing materializing or vanishing out of the blue; the math assumes everything that goes in comes right out. But if you’re right up against vapor pressure, you'll see cavitation, so incompressibility falls apart there. And if you’ve got mixing or chemical reactions in the system, you'll need a more general mass balance, not just the simple continuity rule.

Mathematical Development and Extensions

From the Reynolds Transport Theorem for mass, you get—if there's no accumulation and flow stays steady—ρ₁A₁V₁ equals ρ₂A₂V₂. When density doesn't change, that just simplifies to A₁V₁ = A₂V₂. For compressible flows (fast-moving gas or big pressure drops), you can't cross out density; keep ρ in the calculation. You’ll usually be solving a set of coupled equations if you’re in this territory, since energy, pressure, and density are all in play at once.

Engineering Applications Across Industries

When you’re running water supply pipes, this is the principle you use to step down from mains to branches: drop to a smaller diameter, velocity jumps. If you don't size this right, you eat extra head loss due to higher velocities, and the pump has to work harder—sometimes it means using a bit more pipe cost for a lot less pump energy in the long run.

Take hydraulics: if the cylinder has a different area on extend and retract (which all double-acting cylinders do, because of the rod), your speeds change unless you account for area ratios. With a fixed flow from the pump, the section with less area moves faster. If you skip the math on this, your machinery won’t move as expected or in sync across a cycle.

For HVAC, you choose duct sizes to hit target air speeds so the system stays quiet and efficient. Split a main into branches, check that the sum of areas and velocities matches the target total. Too fast is noisy and wastes energy, too slow and you risk dust settling out or under-delivery to some rooms.

Venturi Meters and Flow Measurement

Venturi meters use this equation, matched up with Bernoulli, to get flow rates by narrowing a pipe and measuring the pressure drop. The velocity goes up at the throat; the pressure goes down. You can back-calculate the flow if you know the geometry and measure the pressures. No moving parts, works on anything from small process lines to huge water mains.

Worked Example: Industrial Cooling System Design

Problem Statement: A process cooling system requires 275 L/min of water flow through a heat exchanger. The main supply pipe is 100 mm (0.1 m) diameter schedule 40 steel. After the heat exchanger, the return line reduces to 80 mm (0.08 m) diameter. Calculate (a) the velocity in the supply pipe, (b) the velocity in the return pipe, (c) verify continuity is satisfied, and (d) determine the mass flow rate if water density is 998 kg/m³ at 20°C.

Solution:

Step 1: Convert flow rate to m³/s
Q = 275 L/min × (1 m³/1000 L) × (1 min/60 s) = 0.004583 m³/s

Step 2: Calculate cross-sectional areas
A₁ = π D₁² / 4 = π × (0.1)² / 4 = 0.007854 m²
A₂ = π D₂² / 4 = π × (0.08)² / 4 = 0.005027 m²

Step 3: Calculate supply pipe velocity (V₁)
From Q = A₁V₁, we get V₁ = Q / A₁
V₁ = 0.004583 / 0.007854 = 0.583 m/s

Step 4: Calculate return pipe velocity (V₂)
From Q = A₂V₂, we get V₂ = Q / A₂
V₂ = 0.004583 / 0.005027 = 0.912 m/s

Step 5: Verify continuity
Check: A₁V₁ = 0.007854 × 0.583 = 0.004579 m³/s
Check: A - V₂ = 0.005027 × 0.912 = 0.004585 m³/s
Difference: 0.004585 - 0.004579 = 0.000006 m³/s (0.13% error, due to rounding)
Continuity is satisfied within calculation precision.

Step 6: Calculate mass flow rate
ṁ = ρQ = 998 kg/m³ × 0.004583 m³/s = 4.574 kg/s
Or equivalently: ṁ = ρA₁V₁ = 998 × 0.007854 × 0.583 = 4.571 kg/s

Engineering Interpretation: The velocity bumps from 0.583 m/s to 0.912 m/s as the pipe shrinks from 100 mm to 80 mm. These numbers are good for water loops: not so high as to slap the pipe around with excess head loss, and not so slow as to risk sediment. The mass flow number is what you'd carry forward to size your heat exchanger in the next step.

Nozzles, Jets, and Fire Protection

Fire hose nozzles are a textbook case for the continuity equation. You start with a fairly slow-moving column of water in a big hose and squeeze it through a small orifice; velocity jumps way up. The area ratio squared gives you the increase in velocity—useful not just for firefighting, but anywhere you want kinetic energy out of your fluid system. All that extra speed comes from a pressure drop across the nozzle, not from nowhere, so you need pumps that can deliver on both head and flow.

For more advanced fluid mechanics calculations including friction losses and pump sizing, visit our comprehensive collection at the engineering calculator hub.

Practical Applications

Scenario: Residential Plumbing Upgrade

Marcus is adding a rainhead to his shower and needs to know if his existing 20 mm copper supply is good enough. He already gets 12 L/min at 0.64 m/s. The new total demand is 15 L/min, increasing velocity to 0.80 m/s. This is fine—well under the 1.5 m/s limit for copper lines, so no need to rip out the old plumbing.

Scenario: Manufacturing Process Optimization

Jennifer has a main line at 50 mm, 1.2 m/s in a plant, splitting to four 15 mm pipes. By continuity, each branch should take a quarter of the flow, with velocity jumping to 3.34 m/s per branch. Her measurement shows the branches are off, so flow isn't splitting evenly; simple continuity math made it clear the manifold needs redesign for proper balance.

Scenario: Irrigation System Design

Carlos is designing a vineyard drip system. The main feeds 25 m³/h through 100 mm pipe, and the line tapers down as less water is needed along the run. With each reduction, he checks that velocities stay within 0.5–1.5 m/s (fast enough to keep solids moving, slow enough to avoid pressure loss and waste). He sizes pipes as small as 40 mm by the end of the line, saving cost and keeping uniform supply.

Frequently Asked Questions

▼ When does the continuity equation not apply?
▼ How does pipe roughness affect continuity equation calculations?
▼ What is the relationship between continuity and Bernoulli's equation?
▼ How do you apply continuity to branching pipe networks?
▼ Why do fire hose nozzles create such high velocities?
▼ How does temperature affect continuity calculations for liquids?

Free Engineering Calculators

Explore our complete library of free engineering and physics calculators.

Browse All Calculators →

About the Author

Robbie Dickson — Chief Engineer & Founder, FIRGELLI Automations

Robbie Dickson brings over two decades of engineering expertise to FIRGELLI Automations. With a distinguished career at Rolls-Royce, BMW, and Ford, he has deep expertise in mechanical systems, actuator technology, and precision engineering.

Wikipedia · Full Bio

📹 Video Walkthrough — How to Use This Calculator

📹 Video Walkthrough — How to Use This Calculator

Continuity Equation Interactive Calculator

Need to implement these calculations?

Explore the precision-engineered motion control solutions used by top engineers.

Share This Article
Tags