Flow Rate Calculator

Easily calculate the volumetric flow rate of a pipe (a.k.a. discharge rate) given its diameter (for a round pipe, height & width for a rectangular one) and the velocity of the liquid or gas flowing through it. The flow rate calculator can also calculate the mass flow rate of liquids given the liquid density is known. Input and output support metric and imperial measurement units.

Share calculator:

Embed this tool!
get code     

    Quick navigation:
  1. Using the flow rate calculator
  2. Flow Rate Formula
  3. Calculation examples

    Using the flow rate calculator

This pipe flow rate calculator calculates the volumetric flow rate (discharge rate) a gas or liquid going through a round or rectangular pipe of known dimensions with a known velocity. If the substance is a liquid and its volumetric density is known the calculator will also output the mass flow rate (more information is required to calculate it for gases and it is currently not supported).

The output is in either imperial or metric units, depending on your selection. Some of the output units include: m3/h, m3/min, m3/s, l/h, l/min, l/s, ft3/h, ft3/min, ft3/s, yd3/h, yd3/min, yd3/s, gallons per hour, gallons per minute. Output units for mass flow rate include: kg/h, kg/mins, kg/s, tonnes/h, lb/h, lb/min, lb/s, tons/h. Output metric are automatically adjusted for your convenience.

    Flow Rate Formula

The volumetric flow rate of a stream of liquid or gas is equal to the flow velocity multiplied by its the cross-sectional area. Therefore, the formula for flow rate (Q), also known as "discharge rate" expressed in terms of the flow area (A) and its velocity (v) is the so-called discharge equation:

flow rate

The resulting Q is the volumetric flow rate. In the case of a round pipe the cross-sectional area is the inner diameter divided by 2 times π while if it is rectangular the area is the inner width times the inner height. The equation can be transformed in a straightforward way to allow for solving for the cross-section area or velocity.

    Mass Flow Rate Formula

The mass flow rate ṁ is the flow of mass m through a surface per unit time t, therefore the formula for mass flow rate, given the volumetric flow rate, is ṁ = Q * ρ where ρ (Greek lower-case letter rho) is the volumetric density of the substance. This equation is applicable to liquids whereas for gaseous substances some additional information is required to perform the calculations.

    Calculation examples

Example 1: A round pipe has a diameter of 25 mm and water is running through it with a velocity of 10 m/s. What is the flow rate of the water? First, we calculate the cross-section area to be (25/2)^2 · 3.1416 ~= 490.875 mm2 via the area of a circle formula. We can convert this to m2 by dividing by 1,000,000 for more convenient results, getting 0.000490875 m2. Using the flow rate equation above we replace the values for A and v and get Q = 0.000490875 m2 · 10 m/s) = 0.00490875 m3/s. To convert this to m3/h we need to multiply by 3,600 to get a discharge rate of 17.6715 m3 per hour.

If we further know that the density of water is 1000 kg/m3 we can calculate the mass flow rate to be 17.6715 m3/h · 1000 kg/m3 = 17671.5 kg/h (= 17.6715 tonnes per hour, m3 cancels out).

Example 2: A rectangular pipe has a height of 2cm and width of 4cm and a gas running through it at a speed of 15 m/s. What is the discharge rate of this pipe? First, we find the cross-section area via the formula for the area of a rectangle which is simply 2 · 4 = 8 cm2 or 0.0008 m2. To find the flow rate Q, we multiply 0.0008 by 15 to get 0.012 cubic meters per second. To get litres per second we simply need to multiply by 1,000 to get 12 l/s. If we wanted to get liters per hour, we can further multiply by 3600 to get 43,200 litres per hour.

Our calculator is especially useful if the input units for the calculation are different than the desired output units, in which case it will perform these unit conversions for you.


[1] NIST Special Publication 330 (2008) - "The International System of Units (SI)", edited by Barry N.Taylor and Ambler Thompson, p. 52

[2] "The International System of Units" (SI) (2006, 8th ed.). Bureau international des poids et mesures pp. 142–143. ISBN 92-822-2213-6

Cite this calculator & page

If you'd like to cite this online calculator resource and information as provided on the page, you can use the following citation:
Georgiev G.Z., "Flow Rate Calculator", [online] Available at: https://www.gigacalculator.com/calculators/pipe-flow-rate-calculator.php URL [Accessed Date: 31 Jul, 2021].