The compressibility factor is a correction factor that must be considered when the ideal gas equation of state is applied to the actual gas. It is used to express the deviation of the volume of the actual gas after being compressed with the same pressure as the ideal gas.
