Gas Line Pressure Drop (General / Fundamental Flow Equation)
Isothermal compressible-flow pressure drop for a gas pipeline, solving for flow rate or outlet pressure.
Overview
What it calculates
This is the fundamental isothermal gas flow equation with friction handled explicitly. Each iteration computes density, viscosity (Lee-Gonzalez-Eakin), Reynolds number and then a Darcy friction factor from the correlation set on the Methods page, Colebrook-White by default, using the roughness of the pipe material. It solves for standard flow from both pressures, or for outlet pressure from a flow. It also reports Re, f, the transmission factor 1/sqrt(f), average Z, velocities and the erosional ratio.
When to use it
Choose this equation when you do not know which friction regime the line is in. It is the only one of the family that follows the actual Re and roughness, so it holds for smooth-pipe partially turbulent flow, transition and fully rough flow alike. That makes it the default for plant piping, fuel gas and small gathering lines whose Re falls outside the Panhandle bands. It is also the only gas-line calculator here with an elevation correction, so use it for hilly routes. Weymouth and the Panhandle forms build one fitted friction assumption into their exponents, and AGA Fully Turbulent Equation assumes fully rough flow.
Inputs that matter most
At a fixed friction factor, flow scales with D^2.5 / sqrt(f). Roughness changes f, so internally coated pipe carries noticeably more than commercial steel at high Re. Elevation enters as P1^2 - e^s P2^2 with an effective length, and uphill is positive. Z can be entered or computed (Standing pseudocriticals with Dranchuk-Abou-Kassem).
Reading the results
The worked case, 12 in. (305 mm) ID, 10 mi (16.1 km), 750 to 675 psia (5.17 to 4.65 MPa), SG 0.65, 80°F (27°C), Z 0.85, gives about 71 MMscfd (2.0 million Sm³/d). AGA fully turbulent lands within 1% of that, and Weymouth at E = 0.92 about 11% lower. There is no efficiency factor E. Pipe condition enters through roughness.
Limits and common mistakes
The model is one isothermal segment, with no kinetic energy term, so it loses accuracy near sonic velocity. The Standing pseudocriticals assume sweet gas. For sour gas, enter Z from Compressibility Factor Z. No published worked example exists for this exact form, so spot-check before final sizing.
Equations
Source: General Flow Equation
| Symbol | Meaning | Units (US / SI) |
|---|---|---|
| Standard flow rate | MMSCFD / 10³ Sm³/d | |
| Inlet pressure | psia / kPaa | |
| Outlet pressure | psia / kPaa | |
| Inside diameter | in / mm | |
| Gas specific gravity | - | |
| Average flowing temperature | °F / °C | |
| Average compressibility factor | - | |
| Effective length for the elevation change (equals L when the line is level) | ft / m | |
| Darcy friction factor | - | |
| Elevation factor (1 when the line is level) | - |
Source: General Flow Equation
| Symbol | Meaning | Units (US / SI) |
|---|---|---|
| Elevation adjustment parameter | - | |
| Gas specific gravity | - | |
| Elevation change (outlet − inlet) | ft / m | |
| Average flowing temperature | °F / °C | |
| Average compressibility factor | - | |
| Line length | ft / m | |
| Effective length | ft / m |
Source: Standard Gas Processing Engineering Practice
| Symbol | Meaning | Units (US / SI) |
|---|---|---|
| Average pressure | psia / kPaa | |
| Inlet pressure | psia / kPaa | |
| Outlet pressure | psia / kPaa |
Inputs
| Input | Symbol | Default | Typical range or options |
|---|---|---|---|
| Gas specific gravity | 0.65 | ||
| Average flowing temperature | 80.33 °F (26.85 °C) | ||
| Z-factor basis | Compute (Dranchuk-Abou-Kassem) | Compute (Dranchuk-Abou-Kassem) Enter directly | |
| Average Z | 0.9 | ||
| Inside diameter | 10 in (254 mm) | ||
| Line length | 52,800 ft (16,090 m) | ||
| Elevation change (outlet − inlet) | 0 ft (0 m) | ||
| Pipe material | Commercial steel / welded steel | Commercial steel / welded steel Drawn tubing Cast iron Concrete PVC Internally coated steel | |
| Solve for | Flow rate (given both pressures) | Flow rate (given both pressures) Outlet pressure (given flow) | |
| Inlet pressure | 750 psia (5,171 kPaa) | ||
| Outlet pressure | 674.9 psia (4,653 kPaa) | ||
| Standard flow rate | 1.526 MMSCFD (43.2 10³ Sm³/d) |
Outputs
- Standard flow rate ()
- Outlet pressure ()
- Pressure drop
- Average pressure
- Average Z used
- Velocity at inlet
- Velocity at outlet
- Reynolds number
- Darcy friction factor
- Transmission factor (1/√f)
- Outlet velocity / erosional velocity
Assumptions and limitations
Assumptions
- Isothermal, steady, fully-developed compressible flow; friction factor computed from Colebrook-White at average conditions.
- Elevation change enters as P1² − e^s·P2² with the effective length L_e = L(e^s − 1)/s (published gas-pipeline single-slope form, Menon), s = 0.0684 G Δz/(T_avg Z_avg) in SI.
- When solving for flow rate, the friction factor is resolved by fixed-point iteration (it depends on velocity, which depends on the flow rate being solved for) — this converges in a handful of iterations since f is a weak function of Re.
- Erosional velocity ratio uses the outlet condition (highest velocity, lowest density point) and API RP 14E continuous service (C = 100).
Limitations
- The leading constant in the rendered equation is the widely-published "practical metric" form (kPa, mm, km, Sm³/day); this app solves internally with an equivalent constant re-derived for true SI base units.
- No published worked example exists for this specific equation (the source's gas-line examples use a different, chart-based correlation) — this implementation is cross-validated against Weymouth/Panhandle A/Panhandle B/AGA (S17-09.S17-12) for the same case rather than matched to a published numeric answer. Recommend an independent spot-check before relying on this for final pipeline sizing.
Worked example
12 in, 10 mi, SG 0.65 gas, T_avg 80°F, Z 0.85, P1=750 psia -> P2=675 psia (flow rate)
Inputs
| Gas specific gravity | 0.65 |
|---|---|
| Average flowing temperature | 80.33 °F (26.85 °C) |
| Z-factor basis | Enter directly |
| Average Z | 0.85 |
| Inside diameter | 12 in (304.8 mm) |
| Line length | 52,800 ft (16,090 m) |
| Elevation change (outlet − inlet) | 0 ft (0 m) |
| Pipe material | Commercial steel / welded steel |
| Solve for | Flow rate (given both pressures) |
| Inlet pressure | 750 psia (5,171 kPaa) |
| Outlet pressure | 674.9 psia (4,653 kPaa) |
Expected results
| Standard flow rate | 71.41 MMSCFD (2,022 10³ Sm³/d) |
|---|
Cross-validated against Weymouth/Panhandle A/Panhandle B/AGA for the same geometry.
The calculator's test suite checks that the solver reproduces these results.
References
- Standard Gas Processing Engineering Practice
- AGA Gas Pipeline Hydraulics
Guides that use this calculator
Rules of thumb
- The Velocity Sweet Spot: Liquid 3 to 7 ft/s. Gas 50 to 100 ft/s. (US units). Liquid 1 to 2 m/s. Gas 15 to 30 m/s. (SI units).
Related calculators
- Weymouth Equation: Weymouth gas-line flow equation — short, high-ΔP, large-diameter transmission lines.
- Panhandle A Equation: Panhandle A gas-line flow equation — long-distance transmission lines at moderate Reynolds numbers.
- Panhandle B Equation: Panhandle B gas-line flow equation — large-diameter, high Reynolds number transmission lines.
- AGA Fully Turbulent Equation: AGA gas-line flow equation for fully-turbulent (rough-pipe) flow, using a roughness-based transmission factor.
- Spitzglass (Low Pressure) Equation: Spitzglass gas-flow equation for low-pressure distribution mains (inlet pressure near atmospheric).
- Gas Line Equation Comparison: One gas-line case evaluated by all six flow equations side by side, with a validity-band recommendation.
- Compressibility Factor Z: Real-gas compressibility factor Z from pseudoreduced properties, via Dranchuk-Abou-Kassem, Hall-Yarborough or the ideal-gas limit.
- Adiabatic (Isentropic) Compression: Adiabatic head, gas/brake power, and discharge temperature for a single compression stage.
Page last updated 2026-10-28.