For a phase transition such as vaporization or fusion (melting), both phases may coexist in equilibrium at constant temperature and pressure, in which case the difference in Gibbs free energy is equal to zero: