FireCADCalc

Natural Gas Compressibility Factor (Hall–Yarborough, Kay's Rule)

Compressibility factor and density of a natural gas from its composition (Kay's rule pseudo-critical properties) by the Hall–Yarborough equation of state.

Thermal power plantProcess steam and utilitiesSugar mill and cogenerationDistillery and ethanolRefinery and petrochemicalFuel oil and gas system

Inputs

Examples: Pipeline gas 50 barLean gas 20 bar

Results

Pseudo-critical temperature-80.118°C
Pseudo-critical pressure45.925bar
Compressibility factor0.95532
Gas density14.718kg/m³

Download PDF CSV Link to this result Compare another case

Log in to save calculations to your dashboard.

Worked example

Example: Pipeline gas 50 bar. The inputs, in the units selected above:

InputValue
Methane90.000 %
Ethane5.0000 %
Propane2.0000 %
Carbon dioxide1.0000 %
Nitrogen2.0000 %
Pressure (absolute)50.000 bar
Temperature20.000 °C

Applying the formula below gives:

ResultValue
Pseudo-critical temperature-73.418 °C
Pseudo-critical pressure46.093 bar
Compressibility factor0.88511
Gas density41.311 kg/m³

Open this example in the calculator and change any input.

Formula

\(T_{pc} = \sum y_i T_{c,i}, \quad p_{pc} = \sum y_i p_{c,i}, \quad t = \frac{T_{pc}}{T}, \quad p_{pr} = \frac{p}{p_{pc}}\)

\(A = 0.06125\,t\,e^{-1.2(1-t)^2}, \quad B = 14.76t - 9.76t^2 + 4.58t^3, \quad C = 90.7t - 242.2t^2 + 42.4t^3, \quad D = 2.18 + 2.82t\)

\(-A p_{pr} + \frac{y + y^2 + y^3 - y^4}{(1-y)^3} - B y^2 + C y^{D} = 0, \quad Z = \frac{A p_{pr}}{y}, \quad \rho = \frac{p M}{Z R T}\)

Variables

Symbol Meaning SI unit
\(y_{CH_4}\) Methane -
\(y_{C_2H_6}\) Ethane -
\(y_{C_3H_8}\) Propane -
\(y_{CO_2}\) Carbon dioxide -
\(y_{N_2}\) Nitrogen -
\(p\) Pressure (absolute) Pa
\(T\) Temperature K
\(T_{pc}\) Pseudo-critical temperature K
\(p_{pc}\) Pseudo-critical pressure Pa
\(Z\) Compressibility factor -
\(\rho\) Gas density kg/m³
\(y_i\) mole fraction of component i -
\(T_{c,i}\), \(p_{c,i}\) critical temperature and pressure of component i (NIST) K, Pa
\(t\) reciprocal pseudo-reduced temperature, T_pc/T -
\(p_{pr}\) pseudo-reduced pressure -
\(A\), \(B\), \(C\), \(D\) Hall–Yarborough coefficients -
\(y\) reduced density, the root of the equation -
\(M\) molar mass of the gas, Σ y_i M_i kg/kmol
\(R\) universal gas constant J/(kmol·K)

Method and standards

Kay's rule gives the pseudo-critical temperature and pressure as mole-fraction averages of the components' critical constants; the Hall–Yarborough equation (a fit to the Standing–Katz chart) is solved for the reduced density y, taking the smallest root (the gas root), and Z = A p_pr / y.

Where it is used

  • Gas metering and pipeline checks.
  • Gas train sizing.

Common mistakes

  • Mole fractions not adding to 100 %.

Assumptions and limits

  • Sweet natural gas; a warning is given above 2 % CO₂ (no Wichert–Aziz correction).
  • The Hall–Yarborough equation is solved by scanning upwards for the first sign change and bisecting it; the result is rejected if it does not converge.
  • Only methane, ethane, propane, CO₂ and N₂ are inputs. Butanes and heavier must be lumped into propane, a rough approximation; for a rich gas use a full equation of state such as AGA 8.
  • CO₂ above 2 % gives a warning; the fractions are not limited.

References

  • Hall and Yarborough (1973) equation of state on Standing–Katz Z; Kay's rule pseudo-critical properties; critical constants from the NIST Chemistry WebBook

Questions and answers

Why Z?

Real gas occupies less volume than ideal at pressure; meters and pipelines must correct for it.

Kay's rule?

Mole-fraction-weighted critical temperature and pressure of the mixture.

Range?

Hall–Yarborough fits the Standing–Katz chart for 1.05 ≤ T_pr ≤ 3 and p_pr up to about 20.

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.