Comparison of real and ideal gases