JPB Process Calcs

Gas Line Pressure Drop (General / Fundamental Flow Equation)

Fluid Flow and Piping · Calculator S17-08 · Verified: the solver reproduces its worked example and is covered by tests.

Isothermal compressible-flow pressure drop for a gas pipeline, solving for flow rate or outlet pressure.

Open the calculator

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

Q=1.1494×10−3 TbPb[(P12−esP22) D5G Tavg Zavg Le f]0.5Q = 1.1494\times10^{-3}\,\frac{T_b}{P_b}\left[\frac{(P_1^2-e^{s}P_2^2)\,D^5}{G\,T_{avg}\,Z_{avg}\,L_e\,f}\right]^{0.5}
General (fundamental) isothermal flow equation, practical-metric form (P in kPa, D in mm, L in km, Q in Sm³/day).

Source: General Flow Equation

SymbolMeaningUnits (US / SI)
QQStandard flow rateMMSCFD / 10³ Sm³/d
P1P_1Inlet pressurepsia / kPaa
P2P_2Outlet pressurepsia / kPaa
DDInside diameterin / mm
GGGas specific gravity-
TavgT_{avg}Average flowing temperature°F / °C
ZavgZ_{avg}Average compressibility factor-
LeL_eEffective length for the elevation change (equals L when the line is level)ft / m
ffDarcy friction factor-
ese^{s}Elevation factor (1 when the line is level)-
s=0.0684 G ΔzTavg Zavg,Le=L es−1ss = 0.0684\,\frac{G\,\Delta z}{T_{avg}\,Z_{avg}},\qquad L_e = L\,\frac{e^{s}-1}{s}
Elevation correction (Δz in m, T in K; the US form is s = 0.0375 G ΔH/(T Z) with ΔH in ft and T in °R). Uphill Δz > 0 raises e^s and L_e; downhill lowers them.

Source: General Flow Equation

SymbolMeaningUnits (US / SI)
ssElevation adjustment parameter-
GGGas specific gravity-
Δz\Delta zElevation change (outlet − inlet)ft / m
TavgT_{avg}Average flowing temperature°F / °C
ZavgZ_{avg}Average compressibility factor-
LLLine lengthft / m
LeL_eEffective lengthft / m
Pavg=23(P1+P2−P1P2P1+P2)P_{avg} = \frac{2}{3}\left(P_1+P_2-\frac{P_1 P_2}{P_1+P_2}\right)
Average line pressure (used for density/velocity, not a simple arithmetic mean).

Source: Standard Gas Processing Engineering Practice

SymbolMeaningUnits (US / SI)
PavgP_{avg}Average pressurepsia / kPaa
P1P_1Inlet pressurepsia / kPaa
P2P_2Outlet pressurepsia / kPaa

Inputs

InputSymbolDefaultTypical range or options
Gas specific gravityGG0.65
Average flowing temperatureTavgT_{avg}80.33 °F (26.85 °C)
Z-factor basisCompute (Dranchuk-Abou-Kassem)Compute (Dranchuk-Abou-Kassem)
Enter directly
Average ZZavgZ_{avg}0.9
Inside diameterDD10 in (254 mm)
Line lengthLL52,800 ft (16,090 m)
Elevation change (outlet − inlet)Δz\Delta z0 ft (0 m)
Pipe materialCommercial steel / welded steelCommercial steel / welded steel
Drawn tubing
Cast iron
Concrete
PVC
Internally coated steel
Solve forFlow rate (given both pressures)Flow rate (given both pressures)
Outlet pressure (given flow)
Inlet pressureP1P_1750 psia (5,171 kPaa)
Outlet pressureP2P_2674.9 psia (4,653 kPaa)
Standard flow rateQQ1.526 MMSCFD (43.2 10³ Sm³/d)

Outputs

Assumptions and limitations

Assumptions

Limitations

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 gravity0.65
Average flowing temperature80.33 °F (26.85 °C)
Z-factor basisEnter directly
Average Z0.85
Inside diameter12 in (304.8 mm)
Line length52,800 ft (16,090 m)
Elevation change (outlet − inlet)0 ft (0 m)
Pipe materialCommercial steel / welded steel
Solve forFlow rate (given both pressures)
Inlet pressure750 psia (5,171 kPaa)
Outlet pressure674.9 psia (4,653 kPaa)

Expected results

Standard flow rate71.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

Guides that use this calculator

Rules of thumb

Open the calculator

Page last updated 2026-10-28.