Pipeline Flow Calculator
Calculate gas flow rate from pipe diameter and pressure differential.
About this calculator
This calculator estimates natural gas flow through a pipeline using the Panhandle A equation, a widely used empirical formula for high-pressure gas transmission lines. Flow Rate rises steeply with Pipe Diameter -- diameter enters the formula raised to roughly the 2.6 power, so a modest increase in pipe size produces a much larger increase in throughput -- and also rises with the square root of the pressure difference (Inlet Pressure squared minus Outlet Pressure squared), which is why gas pipelines rely on large pressure drops rather than small ones to move meaningful volumes.
If you set Outlet Pressure at or above Inlet Pressure, there is no positive pressure differential to drive flow, so Flow Rate and Gas Velocity both report zero rather than a negative or undefined result. Gas Velocity is derived from Flow Rate divided by the pipe's cross-sectional area, and because that area itself grows with the square of Pipe Diameter while Flow Rate only grows with about diameter to the 2.6 power, a larger pipe diameter still increases Gas Velocity somewhat even though it also carries more total gas -- larger pipes are not simply "the same speed, more volume."
Inputs
Results
Flow Rate
97,276 Mcf/day
Gas Velocity
26.3 ft/s
How to Use This Calculator
- Enter pipe diameter (inches), pipeline length (miles), inlet and outlet pressure (psi), and gas specific gravity.
- Enter flowing temperature (°F) and pipeline efficiency factor.
- Read the gas flow rate (Mcf/day), calculated using the Panhandle A equation.
- Review gas velocity (ft/s) and total pressure drop (psi) along the pipeline.
- Check pressure drop per mile to identify hydraulic bottlenecks.
How the result changes with Pipe Diameter
| Pipe Diameter | Flow Rate | Gas Velocity |
|---|---|---|
| 6 | 15,843 Mcf/day | 17.1 ft/s |
| 9 | 45,803 Mcf/day | 22 ft/s |
| 18 | 281,222 Mcf/day | 33.8 ft/s |
| 30 | 1,071,258 Mcf/day | 46.4 ft/s |
What each input means
- Pipe Diameter
- Internal diameter of the pipeline.
- Pipeline Length
- Total pipeline length.
- Inlet Pressure
- Gas pressure at pipeline inlet.
- Outlet Pressure
- Gas pressure at pipeline outlet.
- Gas Specific Gravity
- Gas specific gravity relative to air.
- Gas Temperature
- Average gas temperature in the pipeline.
- Pipeline Efficiency
- Pipeline flow efficiency factor.
How this is calculated
Worked example, using the default values
- Identify Input Parameters7 parametersPipe Diameter = 12, Pipeline Length = 50, Inlet Pressure = 1000, Outlet Pressure = 500, Gas Specific Gravity = 0.65, Gas Temperature = 80, Pipeline Efficiency = 92 = 7 input(s) provided
- Calculate Flow RateFlow Rate97276 = 97276
- Calculate Gas VelocityGas Velocity26.3 = 26.3
- Calculate Pressure DropPressure Drop500 = 500
- Calculate Pressure Drop/MilePressure Drop/Mile10 = 10
Engine last updated . Checked against 1 independently-derived test — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.
Frequently Asked Questions
What happens if I set the outlet pressure higher than the inlet pressure?
Flow Rate and Gas Velocity both report zero. Gas only flows from higher to lower pressure through a pipeline, so if Outlet Pressure is at or above Inlet Pressure there's no positive pressure differential to drive any flow -- this calculator treats that as zero flow rather than a negative or undefined result.
Why does increasing pipe diameter increase flow rate so dramatically?
In the Panhandle A equation this calculator uses, Pipe Diameter enters the formula raised to roughly the 2.6 power, meaning even a modest increase in diameter produces a much larger increase in Flow Rate. This nonlinear relationship is why pipeline capacity upgrades often focus on diameter rather than pushing for a bigger pressure differential, which only affects flow by a square-root relationship instead.
Does a bigger pipe mean slower gas velocity for the same flow?
Not necessarily in this calculator. Gas Velocity is Flow Rate divided by the pipe's cross-sectional area, and while cross-sectional area grows with the square of Pipe Diameter, Flow Rate itself grows with roughly diameter to the 2.6 power in the Panhandle A equation -- so increasing diameter alone (holding pressures fixed) actually increases Gas Velocity somewhat, not just total throughput.
How much does raising the inlet pressure increase flow rate?
The Panhandle A equation ties Flow Rate to the square root of (Inlet Pressure squared minus Outlet Pressure squared), not to Inlet Pressure directly, so it takes a proportionally larger increase in Inlet Pressure to produce a given percentage increase in flow, compared to the near-linear effect of Pipe Diameter. Raising Inlet Pressure does always increase Flow Rate, though, as long as it stays above Outlet Pressure.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Gas Compression Calculator
Calculate compressor horsepower from pressure and flow requirements.
Oil & GasNatural Gas BTU Calculator
Calculate energy content from gas composition.
WeldingGas Flow Rate Calculator
Determine the recommended shielding gas flow rate based on nozzle size, weld type, wind conditions, and material.
Hydrogen EnergyHydrogen Pipeline Calculator
Calculate pipeline diameter, flow velocity, pressure drop, and compression power for hydrogen gas transport.
Oil & GasDecline Curve Calculator
Forecast production decline using exponential or hyperbolic models.
More in Energy & Utilities.