For an ideal gas, fugacity and pressure are equal and so φ = 1. Taken at the same temperature and pressure, the difference between the molar Gibbs free energies of a real gas and the corresponding ideal gas is equal to RT ln φ.