In thermodynamics a residual property is defined as the difference between a real fluid property and an ideal gas property, both considered at the same density, temperature, and composition, typically expressed as