We calculate free energy with the equation ∆G = ∆H - T∆S. Where ∆G is free energy, ∆H is the enthalpy change of the reaction, T is the given temperature and ∆S is the entropy change of the system.