Skip to main content
Calcimator

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

in
miles
psi
psi
°F
%

Results

Flow Rate

97,276 Mcf/day

Gas Velocity

26.3 ft/s

Pressure Drop500 psi
Pressure Drop/Mile10 psi/mile
How to Use This Calculator
  1. Enter pipe diameter (inches), pipeline length (miles), inlet and outlet pressure (psi), and gas specific gravity.
  2. Enter flowing temperature (°F) and pipeline efficiency factor.
  3. Read the gas flow rate (Mcf/day), calculated using the Panhandle A equation.
  4. Review gas velocity (ft/s) and total pressure drop (psi) along the pipeline.
  5. Check pressure drop per mile to identify hydraulic bottlenecks.

How the result changes with Pipe Diameter

Pipe DiameterFlow RateGas Velocity
615,843 Mcf/day17.1 ft/s
945,803 Mcf/day22 ft/s
18281,222 Mcf/day33.8 ft/s
301,071,258 Mcf/day46.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

  1. Identify Input Parameters
    7 parameters
    Pipe 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
  2. Calculate Flow Rate
    Flow Rate
    97276 = 97276
  3. Calculate Gas Velocity
    Gas Velocity
    26.3 = 26.3
  4. Calculate Pressure Drop
    Pressure Drop
    500 = 500
  5. Calculate Pressure Drop/Mile
    Pressure Drop/Mile
    10 = 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.

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Energy & Utilities.