Skip to main content

Chemical Equilibrium

Chemical equilibrium is a thermodynamic condition, not a statement that reactions have stopped. Forward and reverse elementary events may continue, but the macroscopic composition has no further tendency to change because the Gibbs energy is at a minimum under the imposed conditions.

Atkins frames equilibrium through the reaction Gibbs energy and the extent of reaction. This approach unifies gas-phase equilibria, solution equilibria, biological coupling, and electrochemical cells: the same ΔrG\Delta_rG decides direction, and ΔrG=0\Delta_rG=0 defines equilibrium.

A Gibbs energy curve shows a reaction mixture relaxing toward an equilibrium composition.

Figure: Gibbs energy minimum as the thermodynamic definition of equilibrium. Image: Wikimedia Commons, Johannes Schneider, CC BY-SA 4.0.

Definitions

For a reaction

νAA+νBBνCC+νDD\mathrm{\nu_A A+\nu_B B \rightleftharpoons \nu_C C+\nu_D D}

it is convenient to use stoichiometric numbers νJ\nu_J that are negative for reactants and positive for products. The extent of reaction ξ\xi relates changes in amount to stoichiometry:

dnJ=νJdξdn_J=\nu_J\,d\xi

The reaction Gibbs energy is

ΔrG=(Gξ)T,p=JνJμJ\Delta_rG =\left(\frac{\partial G}{\partial \xi}\right)_{T,p} =\sum_J \nu_J\mu_J

At equilibrium,

ΔrG=0\Delta_rG=0

For ideal gases or ideal solutes written in terms of activities,

ΔrG=ΔrG+RTlnQ\Delta_rG=\Delta_rG^\circ+RT\ln Q

where the reaction quotient is

Q=JaJνJQ=\prod_J a_J^{\nu_J}

At equilibrium, Q=KQ=K, so

ΔrG=RTlnK\Delta_rG^\circ=-RT\ln K

The standard reaction Gibbs energy is computed from formation Gibbs energies:

ΔrG=JνJΔfG(J)\Delta_rG^\circ=\sum_J \nu_J\Delta_fG^\circ(J)

Key results

The sign of ΔrG\Delta_rG gives direction at the current composition:

ΔrG<0forward spontaneous\Delta_rG<0\quad \mathrm{forward\ spontaneous} ΔrG>0reverse spontaneous\Delta_rG>0\quad \mathrm{reverse\ spontaneous} ΔrG=0equilibrium\Delta_rG=0\quad \mathrm{equilibrium}

The equilibrium constant is controlled by standard Gibbs energy:

K=eΔrG/RTK=e^{-\Delta_rG^\circ/RT}

If ΔrG<0\Delta_rG^\circ\lt 0, then K>1K\gt 1 and products are favored under standard-state comparison. If ΔrG>0\Delta_rG^\circ\gt 0, then K<1K\lt 1 and reactants are favored.

Temperature dependence follows from the van't Hoff equation:

dlnKdT=ΔrHRT2\frac{d\ln K}{dT} =\frac{\Delta_rH^\circ}{RT^2}

If ΔrH\Delta_rH^\circ is approximately constant,

lnK2K1=ΔrHR(1T21T1)\ln\frac{K_2}{K_1} =-\frac{\Delta_rH^\circ}{R} \left(\frac{1}{T_2}-\frac{1}{T_1}\right)

This shows that endothermic reactions have increasing KK with increasing TT, while exothermic reactions have decreasing KK with increasing TT.

Pressure effects enter through activities or partial pressures. For a perfect-gas reaction, increasing pressure favors the side with fewer moles of gas when the reaction changes total gas amount:

Δνgas=gasνJ\Delta\nu_{\mathrm{gas}}=\sum_{\mathrm{gas}}\nu_J

The thermodynamic statement is not "pressure shifts equilibrium" by itself; it is that pressure changes the reaction quotient QQ and therefore changes ΔrG\Delta_rG until Q=KQ=K again.

Coupled reactions add Gibbs energies. If reaction 1 is unfavorable but reaction 2 is strongly favorable, their sum can proceed when

ΔrGnet=ΔrG1+ΔrG2<0\Delta_rG_{\mathrm{net}} =\Delta_rG_1+\Delta_rG_2<0

This is the thermodynamic basis of metabolic coupling.

The reaction Gibbs energy is best visualized as the slope of GG with respect to extent of reaction. If the slope is negative, advancing the reaction lowers GG; if positive, reversing it lowers GG. Equilibrium is the minimum where the slope is zero. This picture is more general than any particular expression for QQ because it only requires that the system be at fixed temperature and pressure and that composition changes be described by stoichiometry.

Activities make the equilibrium expression dimensionless. For a gas, aJa_J may be approximated by pJ/pp_J/p^\circ at low pressure. For a solute, it may be approximated by cJ/cc_J/c^\circ or bJ/bb_J/b^\circ in ideal dilute solution. These ratios are dimensionless even if chemists casually write concentrations or pressures inside KK. A rigorous equilibrium constant is dimensionless and depends on the chosen standard states.

The standard Gibbs energy does not tell the whole story of direction unless the system is in its standard state. A reaction with positive ΔrG\Delta_rG^\circ can proceed forward if QQ is sufficiently small. Conversely, a reaction with negative ΔrG\Delta_rG^\circ can be forced backward if products are accumulated enough to make QQ large. This is why removing a product can drive a reaction forward and why biological systems can use concentration ratios to control pathways.

Le Chatelier's principle is a qualitative summary of the quantitative condition Q=KQ=K. If pressure, temperature, or composition changes, the reaction quotient or equilibrium constant changes. The system then responds in the direction that restores ΔrG=0\Delta_rG=0. Composition and pressure changes usually change QQ immediately. Temperature changes change KK itself through the van't Hoff relation because the relative standard chemical potentials of reactants and products change with temperature.

For gas reactions, total pressure effects depend on Δνgas\Delta\nu_{\mathrm{gas}}. If the total pressure is increased by compression at fixed composition, the reaction quotient changes by a factor involving pressure raised to Δνgas\Delta\nu_{\mathrm{gas}}. Reactions that reduce gas mole number are favored by higher pressure, but only when gases participate and the assumptions behind the pressure expression are valid. Adding an inert gas at constant volume does not change partial pressures of reacting ideal gases, so it need not shift equilibrium, whereas adding it at constant pressure changes volumes and partial pressures.

Temperature effects are governed by reaction enthalpy, not by mole count. The van't Hoff equation shows that an endothermic reaction has dlnK/dT>0d\ln K/dT\gt 0 and an exothermic reaction has dlnK/dT<0d\ln K/dT\lt 0, assuming the sign convention that ΔrH\Delta_rH^\circ is positive for heat absorption. This result gives the thermodynamic basis for treating heat as if it were a reactant or product in elementary Le Chatelier language, but the equation is the safer guide.

Equilibrium and kinetics must be separated. A large equilibrium constant says products are favored at equilibrium, not that equilibrium is reached quickly. Diamond is thermodynamically metastable relative to graphite under ordinary conditions but persists because the kinetic barrier is large. Ammonia synthesis is thermodynamically favored by low temperature and high pressure, but low temperature slows the rate; industrial conditions compromise equilibrium yield, rate, and catalyst performance.

Coupled reactions are central in biochemistry and electrochemistry. If an unfavorable reaction is mechanistically linked to a favorable one, the combined stoichiometric equation has a total ΔrG\Delta_rG equal to the sum. ATP hydrolysis, ion gradients, and redox chains all exploit this additivity. The coupling must be physical or mechanistic; merely writing two equations on paper does not make one drive the other.

Visual

This chemical-equilibrium diagram shows the thermodynamic decision pipeline, not just the final condition. Stoichiometric numbers define the activity quotient, the quotient enters ΔrG\Delta_rG, and the sign of that driving force routes the system toward products, reactants, or equilibrium. The perturbation loop explains Le Chatelier behavior quantitatively through recalculating QQ or changing KK with temperature.

QuantityMeaningDepends on current composition?At equilibrium
QQreaction quotientyesQ=KQ=K
KKequilibrium constantno, fixed by TT for a specified standard stateequals QQ
ΔrG\Delta_rGslope of GG vs extentyes00
ΔrG\Delta_rG^\circstandard-state reaction Gibbs energyno, at fixed TTRTlnK-RT\ln K
ΔrH\Delta_rH^\circstandard reaction enthalpyweakly, through TTcontrols dlnK/dTd\ln K/dT

Worked example 1: Equilibrium constant from standard Gibbs energy

Problem. For a reaction at 298.15 K298.15\ \mathrm{K}, ΔrG=+12.0 kJ mol1\Delta_rG^\circ=+12.0\ \mathrm{kJ\ mol^{-1}}. Calculate KK.

Method. Use K=eΔrG/RTK=e^{-\Delta_rG^\circ/RT}.

  1. Convert:
ΔrG=12000 J mol1\Delta_rG^\circ=12000\ \mathrm{J\ mol^{-1}}
  1. Compute exponent:
ΔrGRT=12000(8.314)(298.15)=120002478.8=4.841-\frac{\Delta_rG^\circ}{RT} =-\frac{12000}{(8.314)(298.15)} =-\frac{12000}{2478.8} =-4.841
  1. Exponentiate:
K=e4.841=7.90×103K=e^{-4.841}=7.90\times10^{-3}

Checked answer. Since ΔrG>0\Delta_rG^\circ\gt 0, K<1K\lt 1. The reaction is reactant-favored under standard conditions.

Worked example 2: Direction from reaction quotient

Problem. Consider

N2(g)+3H2(g)2NH3(g)\mathrm{N_2(g)+3H_2(g)\rightleftharpoons 2NH_3(g)}

At a certain temperature, K=0.500K=0.500. A mixture has pN2=2.00 barp_{\mathrm{N_2}}=2.00\ \mathrm{bar}, pH2=3.00 barp_{\mathrm{H_2}}=3.00\ \mathrm{bar}, and pNH3=1.00 barp_{\mathrm{NH_3}}=1.00\ \mathrm{bar}. Determine the direction of spontaneous change assuming ideal gases and standard pressure 1 bar1\ \mathrm{bar}.

Method. Compute

Q=(pNH3/p)2(pN2/p)(pH2/p)3Q=\frac{(p_{\mathrm{NH_3}}/p^\circ)^2} {(p_{\mathrm{N_2}}/p^\circ)(p_{\mathrm{H_2}}/p^\circ)^3}
  1. Since pressures are in bar relative to 1 bar1\ \mathrm{bar}:
Q=(1.00)2(2.00)(3.00)3Q=\frac{(1.00)^2}{(2.00)(3.00)^3}
  1. Denominator:
(2.00)(27.0)=54.0(2.00)(27.0)=54.0
  1. Quotient:
Q=1.0054.0=0.0185Q=\frac{1.00}{54.0}=0.0185
  1. Compare:
Q<KQ<K
  1. Therefore:
ΔrG=RTln(Q/K)<0\Delta_rG=RT\ln(Q/K)<0

Checked answer. The forward reaction is spontaneous because the mixture has too little ammonia relative to the equilibrium composition.

Code

import math

R = 8.314462618

def K_from_delta_g(delta_g_kj, T=298.15):
return math.exp(-delta_g_kj * 1000.0 / (R * T))

def delta_g_from_QK(Q, K, T=298.15):
return R * T * math.log(Q / K) / 1000.0

K = K_from_delta_g(12.0)
print("K =", K)

Q = 1.0**2 / (2.0 * 3.0**3)
print("Q =", Q)
print("Delta_r G at mixture (kJ/mol) =", delta_g_from_QK(Q, 0.500))

Common pitfalls

  • Confusing QQ and KK. QQ is calculated from the current mixture; KK is the equilibrium value at that temperature.
  • Including pure solids or pure liquids in QQ as concentration terms. Their activities are normally 1 in their standard states.
  • Forgetting stoichiometric exponents in QQ.
  • Treating KK as changing when pressure changes at fixed temperature. Pressure changes QQ; KK changes with temperature.
  • Using ΔrG\Delta_rG^\circ to decide direction for a nonstandard mixture. Use ΔrG=ΔrG+RTlnQ\Delta_rG=\Delta_rG^\circ+RT\ln Q.

For any equilibrium calculation, write the balanced reaction first and keep that exact stoichiometric convention throughout. If the reaction is doubled, ΔrG\Delta_rG^\circ doubles and the powers in QQ double, so the numerical equilibrium constant becomes K2K^2. The physical equilibrium composition is unchanged, but the reported KK depends on the written reaction. This is not a contradiction; it is a consequence of defining KK for a specific stoichiometric equation.

Next, decide which activities can be approximated. Pure solids and pure liquids usually have activity 1, gases may use p/pp/p^\circ at low pressure, and dilute solutes may use c/cc/c^\circ or b/bb/b^\circ. Concentrated electrolytes, high-pressure gases, and nonideal mixtures require activity or fugacity corrections. Many classroom errors come from putting dimensional concentrations into logarithms; the rigorous object is always dimensionless.

Finally, distinguish a shift in equilibrium composition from a change in equilibrium constant. Adding reactant changes QQ immediately, so the reaction proceeds until QQ again equals the same KK. Heating changes KK because it changes the standard chemical potentials. A catalyst changes neither QQ nor KK directly; it changes the rate at which the system approaches equilibrium.

For numerical equilibrium problems, do not round intermediate composition variables too early. Equilibrium constants can be very sensitive when small differences of large amounts determine a residual concentration. Keep extra digits through the ICE-table or extent calculation, then round the final physically meaningful quantity.

Connections