At fixed temperature and pressure, thermochemical equilibrium minimizes the Gibbs free energy subject to elemental conservation. For every independent reaction with stoichiometric coefficients ,
Equivalently, forward and reverse rates satisfy detailed balance. For ideal gases,
For , the forward and reverse rates are
At thermochemical equilibrium, by detailed balance, while
after the appropriate standard-concentration factors are included. The standard reaction Gibbs free energy is
Consequently
For other stoichiometries, the same argument uses the corresponding activity product and its standard-state factors.