Gas Pipeline Flow & Pressure Drop Calculator

Calculate standard gas throughput, downstream pressure, pressure drop, average pressure, and mean velocity using Weymouth, Panhandle A, and Panhandle B equations.

Inputs

SI
fraction
Typical range 0.85–0.95; upper bound 1.0.
fraction
Reference Conditions20 °C / 101.325 kPa / Z = 1
Fixed to Z_ref = 1.0 per standard empirical flow convention.

Hydraulic results

Default example
385.127
5
1
5.51515
3.8414

Level, steady, isothermal flow with unit reference compressibility.

Formula version 3.0.0 · 20 °C / 101.325 kPa / Z = 1Local atmosphere: 101.325 kPa 2026-11-26T11:14:16.168Z · For preliminary estimates and education only. Qualified engineering review required.

Equations & Engineering Basis

ASME / GPSA Engineering Data BookGB 50251
Weymouth Equation (Gathering & Smaller-Bore Lines)
Qd=3.7435×10−3⋅E⋅TbPb(P12−P22G⋅Tf⋅L⋅Z)0.5D2.667Q_d = 3.7435 \times 10^{-3} \cdot E \cdot \frac{T_b}{P_b} \left(\frac{P_1^2 - P_2^2}{G \cdot T_f \cdot L \cdot Z}\right)^{0.5} D^{2.667}
Panhandle A Equation (Partially Turbulent Medium/Large Lines)
Qd=4.5965×10−3⋅E(TbPb)1.0788(P12−P22G0.8539⋅Tf⋅L⋅Z)0.5394D2.6182Q_d = 4.5965 \times 10^{-3} \cdot E \left(\frac{T_b}{P_b}\right)^{1.0788} \left(\frac{P_1^2 - P_2^2}{G^{0.8539} \cdot T_f \cdot L \cdot Z}\right)^{0.5394} D^{2.6182}
Panhandle B Equation (Fully Turbulent High-Pressure Trunklines)
Qd=1.002×10−2⋅E(TbPb)1.02(P12−P22G0.961⋅Tf⋅L⋅Z)0.51D2.53Q_d = 1.002 \times 10^{-2} \cdot E \left(\frac{T_b}{P_b}\right)^{1.02} \left(\frac{P_1^2 - P_2^2}{G^{0.961} \cdot T_f \cdot L \cdot Z}\right)^{0.51} D^{2.53}
Average Segment Pressure
Pavg=23(P1+P2−P1P2P1+P2)P_{\text{avg}} = \frac{2}{3}\left(P_1 + P_2 - \frac{P_1 P_2}{P_1 + P_2}\right)

Nomenclature & Units

Symbol Parameter Units Engineering Notes
P1,P2P_1, P_2 Inlet & outlet absolute pressure kPa (方程内部) / MPa / psi Gauge inputs are converted to absolute using local atmospheric pressure.
DD Pipe inside diameter mm (方程内部) / in Use actual bore (OD minus 2× wall thickness).
LL Pipe length km (方程内部) / mi Level pipeline assumption without elevation correction.
G,Z,TfG, Z, T_f Specific gravity, Z-factor & temp -, -, K Evaluated at average pipeline pressure and temperature.
EE Pipeline efficiency 0 < E ≤ 1 Accounts for wall roughness, liquids, and minor losses.

Engineering Scope & Benchmark

Benchmark: P₁=6 MPa(a), P₂=5 MPa(a), D=500 mm, L=100 km, G=0.65, E=0.90, T_f=300 K, Z=0.90 at 20 °C / 101.325 kPa gives ~385.13 (Weymouth), ~473.00 (Panhandle A), and ~475.24 ×10⁴ m³/d (Panhandle B).

Level, steady-state, isothermal single-phase gas flow with unit reference compressibility (Z_ref = 1.0).

Frequently Asked Questions

How do I choose between Weymouth, Panhandle A, and Panhandle B?

Weymouth is conservative and suited for smaller-bore gathering/distribution lines. Panhandle A covers medium-to-large partially turbulent lines, while Panhandle B targets large-diameter, high-pressure, fully turbulent trunklines.

Why does solving for P₂ sometimes return a physical domain error?

When the requested flow rate is too high for the given inlet pressure and bore, the calculated P₂² drops to ≤ 0, meaning the line cannot physically pass that flow without higher inlet pressure or larger diameter.

Why is reference compressibility Z_ref fixed at 1.0 for this tool?

Classical Weymouth and Panhandle empirical constants assume Z_b ≈ 1 at standard conditions and carry no separate Z_b factor; locking Z_ref = 1 preserves consistency with published standards.