TSE.
MathematicsFinanceHealthPhysicsEngineeringBrowse all

Engineering · Civil Engineering · Fluid Mechanics

Pipe Flow Rate Calculator

Calculates volumetric flow rate through a pipe using the Hagen-Poiseuille equation for laminar flow or the continuity equation based on velocity and cross-sectional area.

Calculator

Advertisement

Formula

Q = volumetric flow rate (m³/s); d = pipe inner diameter (m); ΔP = pressure difference across pipe length (Pa); μ = dynamic viscosity of fluid (Pa·s); L = pipe length (m). This is the Hagen-Poiseuille equation valid for fully developed, incompressible, laminar flow (Re < 2300). The continuity equation Q = A × v, where A = π(d/2)² is the cross-sectional area and v is the mean flow velocity, can also be used when velocity is known.

Source: White, F.M. (2016). Fluid Mechanics, 8th Edition. McGraw-Hill. Chapter 6.

How it works

Flow through a pipe is governed by the balance between the driving pressure difference and the viscous resistance of the fluid. For fully developed, steady, incompressible, laminar flow in a straight circular pipe — conditions that apply when the Reynolds number is below approximately 2300 — the Hagen-Poiseuille equation provides an exact analytical solution. This law was independently derived by Gotthilf Hagen (1839) and Jean Léonard Marie Poiseuille (1840) and remains one of the most fundamental results in fluid mechanics. The equation shows that flow rate is exquisitely sensitive to pipe diameter: doubling the diameter increases flow by a factor of 16, making correct pipe sizing absolutely critical.

The governing formula is Q = (π d⁴ ΔP) / (128 μ L), where Q is the volumetric flow rate in cubic metres per second, d is the internal pipe diameter in metres, ΔP is the pressure drop across the pipe length in Pascals, μ is the dynamic viscosity of the fluid in Pascal-seconds, and L is the pipe length in metres. The mean cross-sectional velocity is then recovered from the continuity equation: v = Q / A, where A = π(d/2)² is the pipe's cross-sectional area. The Reynolds number Re = ρ v d / μ is calculated to verify that the laminar assumption holds — if Re exceeds 2300, the flow transitions toward turbulence and the Hagen-Poiseuille equation no longer applies.

This calculator is used across water supply and distribution networks, pharmaceutical process piping, microfluidic device design, chemical plant design, oil and gas pipeline engineering, HVAC hydronic systems, and laboratory flow measurement. By computing both volumetric and mass flow rates together with the Reynolds number, engineers can immediately assess whether a given pipe diameter and pressure budget will deliver the required flow while remaining within the laminar regime.

Worked example

Consider a water supply line carrying water at 20 °C with a dynamic viscosity of 1.002 mPa·s (0.001002 Pa·s) and a density of 998 kg/m³. The pipe has an internal diameter of 50 mm (0.05 m) and a length of 10 m. A pressure drop of 5000 Pa is available across the pipe.

Step 1 — Apply the Hagen-Poiseuille equation:
Q = (π × (0.05)⁴ × 5000) / (128 × 0.001002 × 10)
Q = (π × 6.25×10⁻⁶ × 5000) / (1.2826)
Q = (π × 0.03125) / 1.2826
Q = 0.09817 / 1.2826
Q ≈ 0.0000765 m³/s (7.65 × 10⁻⁵ m³/s)

Step 2 — Convert to litres per minute:
Q = 7.65 × 10⁻⁵ × 1000 × 60 ≈ 4.59 L/min

Step 3 — Calculate mean velocity:
A = π × (0.025)² = 1.9635 × 10⁻³ m²
v = Q / A = 7.65 × 10⁻⁵ / 1.9635 × 10⁻³ ≈ 0.039 m/s

Step 4 — Verify with Reynolds number:
Re = (998 × 0.039 × 0.05) / 0.001002 ≈ 1944
Since Re ≈ 1944 < 2300, the flow is confirmed laminar and the Hagen-Poiseuille result is valid.

Step 5 — Mass flow rate:
ṁ = ρ × Q = 998 × 7.65 × 10⁻⁵ ≈ 0.0764 kg/s

Limitations & notes

The Hagen-Poiseuille equation is valid only for fully developed, steady, incompressible, Newtonian, laminar flow (Re < 2300) in a straight, rigid, circular pipe with no-slip boundary conditions. It does not account for turbulent flow — if the calculated Reynolds number exceeds 2300, use the Darcy-Weisbach equation combined with the Moody chart or Colebrook-White equation instead. The equation also ignores entrance length effects (the flow requires a development length of approximately 0.06 × Re × d to become fully developed), pipe wall roughness, bends, fittings, valves, and local losses. For non-Newtonian fluids such as polymer solutions, blood, or slurries, a different viscosity model (e.g., power-law or Bingham plastic) must be applied. Compressible gas flows require a separate approach accounting for density changes along the pipe. Temperature effects on viscosity should also be considered for accurate results over wide temperature ranges.

Frequently asked questions

What is the Hagen-Poiseuille equation used for?

The Hagen-Poiseuille equation is used to calculate the volumetric flow rate of a viscous, incompressible fluid through a straight circular pipe under laminar flow conditions (Reynolds number below 2300). It relates flow rate directly to pipe diameter, length, pressure drop, and fluid viscosity, and is foundational in hydraulic engineering, microfluidics, and biomedical device design.

Why does pipe diameter have such a large effect on flow rate?

Pipe flow rate scales with the fourth power of diameter (d⁴) in the Hagen-Poiseuille equation. This means doubling the pipe diameter increases the flow rate by 2⁴ = 16 times, while halving the diameter reduces flow to 1/16th. This strong dependence makes correct pipe diameter selection the single most impactful design decision in any piping system.

How do I know if the Hagen-Poiseuille equation applies to my pipe flow?

Calculate the Reynolds number Re = ρvd/μ using the mean velocity, pipe diameter, fluid density, and dynamic viscosity. If Re is below approximately 2300, the flow is laminar and the Hagen-Poiseuille equation is valid. For Re between 2300 and 4000 the flow is transitional, and above 4000 it is turbulent — in those cases, use the Darcy-Weisbach equation with an appropriate friction factor.

What is the difference between volumetric flow rate and mass flow rate?

Volumetric flow rate (Q) measures the volume of fluid passing a cross-section per unit time (m³/s or L/min), while mass flow rate (ṁ) measures the mass per unit time (kg/s). They are related by ṁ = ρ × Q, where ρ is the fluid density. Mass flow rate is preferred in thermodynamic and chemical engineering calculations, while volumetric flow rate is more common in hydraulics and water systems.

Can this calculator be used for gas flow in pipes?

This calculator assumes incompressible flow, which is a good approximation for liquids and for gases flowing at low Mach numbers (below about 0.3) with small pressure drops relative to the absolute pressure. For compressible gas flows with significant density changes along the pipe, a compressible flow model incorporating the ideal gas law or real gas equations of state must be used instead.

Last updated: 2025-01-15 · Formula verified against primary sources.