Entropy and Gibbs free energy
Entropy (S) measures the disorder or randomness of a system. The relationship between entropy, enthalpy, and Gibbs free energy is:
ΔG = ΔH − TΔS
ΔS = (ΔH − ΔG) / T
The second law of thermodynamics states that the entropy of an isolated system always increases over time.