In thermodynamics, the quantity Z = pVm/RT, in which
P is the gas pressure, Vm the molar volume,
R the gas constant, and T the temperature. The compression factor is a measure of the deviation of a real gas from an ideal gas.
For an ideal gas the compression factor is equal to 1.