Gibbs free energy is a state function and it is a calculation of maximum work done or useful work done from a reversible reaction at constant temperature and pressure.
The free energy of a system is the enthalpy of the system minus the product of absolute temperature and entropy.i.e, Here G is Gibbs free energy, H is enthalpy, T is temperature and S is entropy.
The change in Gibbs free energy is expressed as. Hence, .
Generally, it is used to measure whether a reaction is spontaneous or not.
The spontaneity is related to free energy change as shown below.
The process is spontaneous only if it leads to a net following: a decrease in Gibb's free energy, i.e.,