A flow rate calculator using pressure and diameter works out the volumetric flow of a fluid through a pipe based on the pressure difference across it and the pipe’s internal diameter. You enter the pressure drop, pipe diameter, fluid properties, and pipe length, and the calculator returns the flow rate in liters per second, gallons per minute, or similar units. The core relationship comes from the Darcy–Weisbach equation and the continuity equation, which together link pressure loss to velocity and then to flow.
Formula
The calculator above uses a simplified form of the Bernoulli equation for incompressible flow through a pipe, ignoring friction losses for the first estimate. The key formula is:
Q = A × v
where:
- Q = volumetric flow rate (m³/s)
- A = cross-sectional area of the pipe (m²) = π × (d/2)², with d the inner diameter in meters
- v = average flow velocity (m/s), given by v = √(2 × ΔP / ρ) for an ideal frictionless nozzle
Here, ΔP is the pressure drop (Pa), and ρ is the fluid density (kg/m³). The calculator converts diameter from mm to m (divide by 1000) and pressure from kPa to Pa (multiply by 1000). The result is shown in L/min by multiplying m³/s by 60000.
For real pipes, the Darcy–Weisbach equation is more accurate:
ΔP = f × (L / d) × (ρ × v² / 2)
where f is the Darcy friction factor (dimensionless), L is pipe length (m), and other symbols as above. Solving for v gives v = √(2 × ΔP × d / (f × L × ρ)), which the calculator approximates by setting f = 0 for a perfect, frictionless pipe. In practice, f depends on the Reynolds number and pipe roughness.
Worked Example
Using the default values from the calculator:
- Diameter (d) = 25 mm = 0.025 m
- Pressure drop (ΔP) = 100 kPa = 100,000 Pa
- Density (ρ) = 1000 kg/m³ (water)
Step 1: Calculate the cross-sectional area:
A = π × (0.025/2)² = π × 0.0125² = π × 0.00015625 ≈ 0.00049087 m²
Step 2: Calculate the ideal velocity:
v = √(2 × 100,000 / 1000) = √200 = 14.142 m/s
Step 3: Calculate the flow rate in m³/s:
Q = A × v = 0.00049087 × 14.142 ≈ 0.006942 m³/s
Step 4: Convert to L/min:
Q = 0.006942 × 60000 ≈ 416.5 L/min
The calculator shows 416.52 L/min. This is the theoretical maximum for a frictionless pipe; real pipes with friction will give lower flow.
Assumptions
- Incompressible fluid (valid for liquids, and for gases only at low pressure drops).
- Steady, uniform flow.
- No friction losses (idealized). For real pipes, use the Darcy–Weisbach or Hazen–Williams equation.
- No fittings, bends, or valves (adds extra pressure loss).
- Fluid density and viscosity are constant (temperature-dependent).
How Pressure, Diameter, and Flow Interact
The relationship is not linear. Doubling the pressure drop increases the flow by only √2 (about 1.41 times) in the ideal case, because velocity is proportional to the square root of pressure. Doubling the diameter, however, increases the cross-sectional area by a factor of 4, and since flow = area × velocity, the flow also increases by 4 times (if velocity stays constant). In real pipes, the effect is even stronger because friction losses decrease with larger diameter, so flow can increase roughly 5–6 times when diameter doubles (depending on the friction factor).
This is why pipe size is often the most effective lever for increasing flow: a small increase in diameter yields a large increase in capacity. For example, going from a 25 mm to a 50 mm pipe (same pressure drop) gives about 4× the ideal flow, but in practice with friction, it can be 5–6×.
Common Mistakes and Unit Mix-ups
The most frequent error is mixing units. Pressure might be given in bar, psi, or mmHg; diameter in inches; flow in gallons per minute. Always convert everything to a consistent unit system (SI recommended) before calculating.
- 1 bar = 100 kPa
- 1 psi = 6.89476 kPa
- 1 inch = 25.4 mm
- 1 gallon (US) = 3.78541 L
- 1 L/min = 0.001 m³/min = 0.0000166667 m³/s
Another mistake is using the outer diameter instead of the inner diameter. Pipe sizes are often labeled by nominal diameter (e.g., “1-inch pipe”), but the actual inner diameter is smaller due to wall thickness. Check the pipe schedule (e.g., Schedule 40, Schedule 80) to get the true inner diameter.
Also, the pressure drop must be the difference between inlet and outlet pressure, not the absolute pressure at one point. If you have a pump, the pressure drop is the pressure the pump adds minus downstream pressure.
Real Pipes: Friction and the Darcy–Weisbach Equation
The ideal calculator gives an upper bound. In a real pipe, friction converts pressure energy into heat, reducing flow. The Darcy–Weisbach equation accounts for this:
ΔP = f × (L/d) × (ρ v² / 2)
To use it, you need the friction factor f, which you get from the Moody chart or the Colebrook equation. For laminar flow (Reynolds number < 2300), f = 64/Re. For turbulent flow, f depends on the pipe roughness and Re. The calculator above gives the Reynolds number as an output, so you can determine the flow regime.
For a rough estimate in water pipes, the Hazen–Williams equation is popular:
Q = 0.849 × C × A × R^0.63 × S^0.54
where C is the Hazen–Williams coefficient (about 140 for new PVC, 100 for steel), R is the hydraulic radius (for full pipe, R = d/4), and S is the hydraulic slope (pressure loss per length). This is empirical but widely used in civil engineering.
Choosing the Right Pipe Diameter
When designing a system, you often know the required flow rate and available pressure, and you need to find the minimum pipe diameter. The process is iterative:
- Assume a diameter.
- Calculate velocity (Q/A).
- Calculate Reynolds number and friction factor.
- Compute pressure drop using Darcy–Weisbach.
- If the pressure drop exceeds your available pressure, increase the diameter and repeat.
Keep velocity reasonable: for water in typical plumbing, 1–3 m/s is common; higher velocities cause noise and erosion. For gases, velocities can be higher, but compressibility effects become significant above about 0.3 Mach.
Limitations of the Ideal Formula
The ideal formula (no friction) is only accurate for very short pipes or when the pressure drop is dominated by a nozzle or orifice. In most real systems, friction is the main loss, so the ideal result can overestimate flow by 50% or more. For example, a 25 mm pipe, 10 m long, with 100 kPa pressure drop, actually delivers about 150–200 L/min of water (depending on roughness), not 416 L/min. The calculator is best used as a quick upper-bound estimate or for sizing when friction is negligible (e.g., a short tube from a tank).
Also, the formula assumes a horizontal pipe. If the pipe goes uphill, you lose pressure to gravity (ΔP_gravity = ρ g h), and if it goes downhill, you gain pressure. The net pressure available for flow is the supplied pressure minus the elevation change.
Frequently Asked Questions
How do I calculate flow rate from pressure and diameter?
Use the ideal formula Q = A × √(2ΔP/ρ), where A is the pipe cross-sectional area. For a more accurate result, include friction using the Darcy–Weisbach equation, which requires pipe length and roughness.
Does increasing pipe diameter increase flow rate?
Yes, significantly. Flow is proportional to the area (diameter squared) times velocity. With the same pressure drop, a larger diameter reduces friction, so flow increases more than the area ratio alone suggests.
What is the difference between pressure and flow rate?
Pressure is the force per unit area that drives flow; flow rate is the volume of fluid passing a point per unit time. Pressure is the “push,” flow is the “result.” A high pressure with a small opening gives low flow; a low pressure with a large opening can give high flow.
Why does my real flow rate differ from the calculator?
Real systems have friction, fittings, bends, valves, and elevation changes that add pressure losses. The ideal calculator ignores these, so it overestimates. Use a friction-based equation or measure the actual flow.
Can I use this for gases?
Only for small pressure drops (<10% of absolute pressure) and low velocities, where compressibility is negligible. For higher pressure drops, use the isothermal or adiabatic flow equations for gases.
What is the Reynolds number, and why does it matter?
The Reynolds number (Re = ρ v d / μ) tells you whether flow is laminar or turbulent. Laminar flow is smooth and has a predictable friction factor; turbulent flow is chaotic and has higher friction. Re below 2300 is laminar, above 4000 is turbulent, and in between is transitional.
Related
Formula used
in d | Pipe inner diameter | mm | 25 | 0.1 in dp | Pressure drop | kPa | 100 | 0 in l | Pipe length | m | 10 | 0.01 in rho | Fluid density | kg/m³ | 1000 | 1 in mu | Dynamic viscosity | Pa·s | 0.001 | 0.000001 out q | Flow rate | L/min | (pi * (d/1000)^2 / 4) * sqrt(2 * dp * 1000 / rho) * 60000 | 2 out v | Flow velocity | m/s | sqrt(2 * dp * 1000 / rho) | 2 out re | Reynolds number | - | (rho * sqrt(2 * dp * 1000 / rho) * (d/1000)) / mu | 0
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.
More in this section
- Mean and Median Calculation Example
- Right Triangle Trigonometry Angle Calculation
- Simple Interest Rate Calculation Example$150.00
- Mean Absolute Deviation Calculation Example
- Ladder Height Calculation Problem?24.74 ft
- Average Speed Calculation Problem?100.00 km