FireCADCalc

Gas Pipeline Line Pack: Stored Gas Between Two Operating States

Gas held in a pipeline at a packed and a drawn-down state, from inlet and outlet pressures (average pressure), temperature and Z, and the usable line pack.

Thermal power plantSugar mill and cogenerationRefinery and petrochemicalChemical and fertiliserPulp and paperFood, dairy and textile

Inputs

Examples: 300 mm, 20 km natural gas150 mm, 5 km

Results

Average pressure of a flowing line, p̄ = ⅔(p₁ + p₂ − p₁p₂/(p₁ + p₂)), is the usual pipeline-engineering figure.

Average pressure, packed39.009bar
Average pressure, drawn down25.333bar
Gas held, packed43,066kg
Gas held, drawn down27,380kg
Usable line pack15,686kg
Usable line pack at 0 °C, 1 atm (Nm³)20,207m³

Download PDF CSV Link to this result Compare another case

Log in to save calculations to your dashboard.

Worked example

Example: 300 mm, 20 km natural gas. The inputs, in the units selected above:

InputValue
Pipe inside diameter300.00 mm
Pipeline length20.000 km
Inlet pressure, packed state (absolute)40.000 bar
Outlet pressure, packed state (absolute)38.000 bar
Inlet pressure, drawn-down state (absolute)30.000 bar
Outlet pressure, drawn-down state (absolute)20.000 bar
Gas temperature15.000 °C
Compressibility factor, packed0.93000 -
Compressibility factor, drawn down0.95000 -
Molar mass17.400 kg/kmol

Applying the formula below gives:

ResultValue
Average pressure, packed39.009 bar
Average pressure, drawn down25.333 bar
Gas held, packed43,066 kg
Gas held, drawn down27,380 kg
Usable line pack15,686 kg
Usable line pack at 0 °C, 1 atm (Nm³)20,207 m³

Open this example in the calculator and change any input.

Formula

\(\bar p = \frac23\left(p_1 + p_2 - \frac{p_1p_2}{p_1 + p_2}\right), \quad m = \frac{\bar pV}{ZRT}, \quad \Delta m = m_A - m_B\)

Variables

Symbol Meaning SI unit
\(D\) Pipe inside diameter m
\(L\) Pipeline length m
\(p_{1,A}\) Inlet pressure, packed state (absolute) Pa
\(p_{2,A}\) Outlet pressure, packed state (absolute) Pa
\(p_{1,B}\) Inlet pressure, drawn-down state (absolute) Pa
\(p_{2,B}\) Outlet pressure, drawn-down state (absolute) Pa
\(T\) Gas temperature K
\(Z_A\) Compressibility factor, packed -
\(Z_B\) Compressibility factor, drawn down -
\(M\) Molar mass kg/kmol
\(\bar p_A\) Average pressure, packed Pa
\(\bar p_B\) Average pressure, drawn down Pa
\(m_A\) Gas held, packed kg
\(m_B\) Gas held, drawn down kg
\(\Delta m\) Usable line pack kg
\(\Delta V_n\) Usable line pack at 0 °C, 1 atm (Nm³) m³

Method and standards

Gas inventory definitions.

Where it is used

  • Gas supply to boilers and engines during peaks.
  • Depressurising and venting estimates.

Common mistakes

  • Gauge pressures.
  • Using one Z for both states at very different pressures.

Assumptions and limits

  • Isothermal line; ideal gas with Z.
  • Normal volume at 0 °C and 1 atm (not the 15 °C standard).
  • A packed state not above the drawn-down state is flagged.

References

  • Ideal-gas inventory with Z and the flowing-line average pressure p̄ = ⅔(p₁ + p₂ − p₁p₂/(p₁ + p₂)) (pipeline engineering definitions)

Questions and answers

What is line pack?

Gas stored in the pipeline itself; raising the pressure packs more in, which can cover short peaks in demand.

Why not the arithmetic mean pressure?

Pressure falls faster towards the outlet of a flowing gas line; the ⅔ formula is the length-average.

What do the defaults give?

A 300 mm, 20 km line drawn from about 39 to 25 bar(a): roughly 20,000 Nm³ of usable gas.

Method and article reviewed by FireCAD engineering on 13 November 2026. Every result is checked against an independent calculation on each release: how we verify our calculators.

Related calculators

Free engineering calculators: every page computes in SI and converts to your units. Results are for engineering estimation; verify critical designs against the referenced standards.

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.