Flow Rate Calculator

Enter a pipe's diameter and average fluid velocity to get volumetric flow rate (Q = A × v) and mass flow rate, in m³/s, L/min, GPM, and kg/s.

Quick Facts

Continuity equation
Q = A × v
Volumetric flow rate equals cross-sectional area times average velocity.
Pipe cross-section
A = π(d/2)²
Area of a circular pipe from its inside diameter d.
Mass flow rate
ṁ = ρ × Q
Multiply volumetric flow by fluid density to get mass moved per second.
Unit conversion
1 m³/s ≈ 15,850 GPM
Handy for converting SI results to US gallons per minute.

Your Results

Calculated
Volumetric Flow Rate
-
Q = A × v, cubic meters per second
Flow Rate
-
Liters per minute (L/min)
Flow Rate
-
US gallons per minute (GPM)
Mass Flow Rate
-
ṁ = ρ × Q, kilograms per second

Ready

Enter pipe diameter, average velocity, and fluid density, then press Calculate.

Formula and Method for Flow Rate

Flow rate describes how much fluid moves past a point per unit time. The volumetric flow rate through a pipe or duct follows the continuity equation: Q = A × v, where A is the cross-sectional area the fluid flows through and v is the average velocity across that area. For a circular pipe of inside diameter d, the area is A = π(d/2)². Multiply the volumetric flow rate by the fluid's density (ρ) to get the mass flow rate: ṁ = ρ × Q. This calculator converts your diameter and velocity to consistent SI units, computes the pipe's cross-sectional area, and reports the flow rate in several common units.

How the calculation works

Enter the pipe's inside diameter and choose its unit, then enter the average fluid velocity and choose its unit. The calculator converts both to meters and meters per second, computes the circular cross-sectional area A = π(d/2)², and multiplies by velocity to get Q = A × v in cubic meters per second. That base value is then converted to liters per minute (× 60,000) and US gallons per minute (× 15,850.32). If you supply a fluid density, the tool also reports the mass flow rate ṁ = ρQ in kilograms per second — water at 20°C has a density of about 998 kg/m³, while air at sea level is about 1.2 kg/m³.

Common mistakes and practical notes

  • Diameter vs. radius: pipe sizes are usually quoted as diameter, not radius — halve the diameter before squaring, which this calculator does automatically.
  • Average velocity, not peak: real velocity profiles are not flat. In laminar flow the centerline velocity is about twice the cross-sectional average; in turbulent flow it is closer to 1.2 times the average. Use the true average, not a single point measurement, for an accurate Q.
  • Compressible fluids: for gases at high pressure or velocity, density changes along the pipe and this simple formula becomes an approximation — use compressible-flow relations for those cases.
  • Nominal vs. actual pipe diameter: a nominal pipe size (e.g., "2-inch pipe") often differs from the actual inside diameter — check the schedule or spec sheet for the true bore before calculating.

Real-world applications

  • HVAC duct and pump sizing uses Q = A × v to confirm a duct or pipe can carry the required air or water volume without excessive velocity — and the pressure drop that comes with it.
  • Irrigation and plumbing design sizes pipes so flow rate meets fixture or field demand in GPM or L/min.
  • Process and chemical engineering converts between volumetric and mass flow rate when metering fuels or other fluids by weight.
  • Open-channel and stormwater calculations apply the same Q = A × v principle using the wetted cross-sectional area of a channel.

Frequently Asked Questions

What is the formula for flow rate?
Volumetric flow rate is Q = A × v, where A is the fluid's cross-sectional area and v is its average velocity. For a circular pipe of diameter d, A = π(d/2)², so Q = π(d/2)² × v.
What is the difference between volumetric and mass flow rate?
Volumetric flow rate (Q) measures volume per time, such as m³/s or gallons per minute. Mass flow rate (ṁ) measures mass per time and equals density times volumetric flow rate: ṁ = ρ × Q. Mass flow rate stays constant through a pipe of changing cross-section even when velocity and volumetric flow change; volumetric flow rate can vary if the fluid is compressible.
How do I convert flow rate between m³/s, L/min, and GPM?
Multiply cubic meters per second by 60,000 to get liters per minute, or by 15,850.32 to get US gallons per minute (1 m³/s = 15,850.32 GPM). This calculator performs those conversions automatically alongside the base SI result.
Does this calculator account for pipe friction or pressure drop?
No. This tool applies the continuity equation (Q = A × v) using the velocity and diameter you provide — it does not model friction losses, fittings, or pressure drop. For head loss along a pipe, use the Darcy-Weisbach or Hazen-Williams equations with your pipe's roughness, length, and flow velocity.