The ideal gas, and when to trust it

At low pressure or high temperature compared with its critical point a gas obeys $Pv = RT$ with its own gas constant $R$, but steam near saturation does not, and the compressibility factor $Z = \frac{Pv}{RT}$ says how far off it is.

From Thermodynamics.