PetroCalcHubFree
Phase Behavior and ThermodynamicsGas Properties

Real Gas Density Calculator

ρg=PMgzRT\rho_g=\frac{P M_g}{zRT}

Enter gas properties, pressure, temperature, and z-factor. The calculator returns real gas density.

Tabular solver

Inputs

Defaults provide a quick field-unit example for the equation.

5 variables

Calculation runs locally with the shared TypeScript engine.

Formula reference

Real gas density estimates gas density at pressure and temperature using gas molecular weight or gravity and the real-gas z-factor.

View formula, units, and source

Assumptions

  • The gas z-factor is representative at the stated pressure and temperature.
  • Pressure and temperature are absolute where required by the equation.
  • Gas composition or gas gravity is known.

Common mistakes

  • Using gauge pressure instead of absolute pressure.
  • Using Fahrenheit where Rankine is required.
  • Applying a dry-gas calculation to wet gas without checking assumptions.