Entropy is calculated as a departure function from the ideal gas as: Residual + ideal gas

The equation used is:

Where P0 is 1 Atm and T0 is 25C