Skip to main content

Hydrocarbon Gas Z-Factor Calculator (Hall-Yarborough & Acid Gas)

Real hydrocarbon gases deviate substantially from the ideal gas law at high reservoir pressures and temperatures.

Natural gas specific gravity relative to air (Air = 1.0, typically 0.55 to 0.85).

Operating pressure in pounds per square inch absolute.

Temperature in degrees Fahrenheit.

Molar concentration of non-hydrocarbon CO₂ acid gas.

Molar concentration of sour H₂S gas.

Calculated Result
0.8690

Gas Compressibility Factor (Z)

Pseudo-Reduced Temperature Tpr

1.739

Pseudo-Reduced Pressure Ppr

4.547

Gas Density

9.469 lb/ft³

Gas Formation Volume Factor (Bg)

0.00524 rcf/scf

Pseudo-Critical Temp / Pres

367.8 °R / 659.7 psia

Calculation Breakdown

  1. Pseudo-Critical ParametersTpc = 367.8 °R, Ppc = 659.7 psia
  2. Reduced State VariablesTpr = T / Tpc = 1.739, Ppr = P / Ppc = 4.547
  3. Real Gas Law PropertiesZ = 0.8690 -> Density = 9.469 lb/ft³, Bg = 0.00524 rcf/scf

What Is the Hydrocarbon Gas Z-Factor Calculator (Hall-Yarborough & Acid Gas)?

The gas compressibility factor (Z), also known as the gas deviation factor, corrects the ideal gas law for molecular attraction and repulsion at elevated pressures.

Accurate Z-factors are indispensable for gas reserves estimation (P/Z plots), pipeline hydraulics, and compressor sizing.

How Does the Hydrocarbon Gas Z-Factor Calculator (Hall-Yarborough & Acid Gas) Work?

The law of corresponding states posits that gases at identical pseudo-reduced temperature (Tpr) and pressure (Ppr) have approximately identical Z values.

Sutton’s correlation provides pseudo-critical constants, modified by the Wichert-Aziz correction to account for non-hydrocarbon acid gases (CO₂ and H₂S).

Hydrocarbon Gas Z-Factor Calculator (Hall-Yarborough & Acid Gas) Formula & Variables

The core mathematical equation utilized by this calculator is expressed as:

P V = Z n R T, T_pr = T / T_pc, P_pr = P / P_pc, B_g = 0.02827 · (Z · T / P)

Computes pseudo-critical properties, corrects for acid gases via Wichert-Aziz, and evaluates the non-ideal compressibility factor Z.

How to Use the Hydrocarbon Gas Z-Factor Calculator (Hall-Yarborough & Acid Gas)

  1. Input the gas specific gravity from gas chromatography or production tests.
  2. Enter downhole pressure and temperature alongside acid gas contaminant percentages.
  3. Read the output Z-factor, in-situ gas density, and formation volume factor Bg.

Step-by-Step Example Calculation

High-Pressure Gas Reservoir at 3000 psia

Input Values:

gasSpecificGravity:0.65
pressurePsia:3000
temperatureDegF:180
co2MolePercent:2
h2sMolePercent:1
Worked Steps: Computes compressibility Z-factor and gas density in reservoir conditions.

Understanding Your Result

Z < 1 indicates gas is more compressible than an ideal gas (molecular attraction dominates).

Z > 1 indicates gas is less compressible than an ideal gas (molecular repulsion at very high pressure).

Bg indicates how many reservoir cubic feet (rcf) one standard cubic foot (scf) occupies downhole.

Factors That Affect the Result

  • Acid gas presence: CO₂ and H₂S significantly shift pseudo-critical points, decreasing Z.
  • High pressure: At pressures above 4,000 psia, Z typically rises well above 1.0.

When Should You Use This Calculator?

  • Constructing material balance P/Z plots for gas reservoir depletion forecasting.
  • Transmission pipeline hydraulic pressure drop calculations.

Assumptions & Limitations

  • Valid for natural hydrocarbon gases with specific gravity between 0.55 and 1.0.

Frequently Asked Questions

Calculation Accuracy & Reference Note

Agrees with Standing-Katz chart within ±1.5%.

Explore more tools and calculators in Math Calculators