AP CHEMISTRY • THERMODYNAMICS AND ELECTROCHEMISTRY

Free Energy and Equilibrium

How Gibbs free energy determines whether a reaction proceeds spontaneously and where equilibrium lies.

Historical Context & Motivation

The quest to understand why some reactions proceed vigorously while others stall at partial completion drove nineteenth-century scientists to develop the most powerful framework in chemical thermodynamics. Before the concept of free energy was formalized, chemists could measure heat changes and observe equilibrium positions, but they lacked a single criterion that unified spontaneity, equilibrium, and the energetic driving force of a reaction. The development of free energy required contributions from thermodynamics, statistical mechanics, and classical chemistry—fields that converged over roughly seven decades of intense intellectual effort.

1824
Carnot's Engine Analysis
Sadi Carnot published his analysis of ideal heat engines, establishing that the maximum efficiency depends on the temperature difference between source and sink. This work seeded the concept that not all energy in a system is available for useful work.
1865
Clausius Defines Entropy
Rudolf Clausius introduced the term entropy (S) and articulated the Second Law of Thermodynamics: the entropy of the universe tends toward a maximum. This gave scientists a quantitative measure of dispersal and irreversibility.
1876
Gibbs Free Energy
Josiah Willard Gibbs published 'On the Equilibrium of Heterogeneous Substances,' defining the free energy function G = H − TS. This single function became the master criterion for spontaneity at constant temperature and pressure.
1884
Van't Hoff and Equilibrium
Jacobus Henricus van 't Hoff derived the relationship between the equilibrium constant and temperature, linking thermodynamic quantities to observable concentrations and earning the first Nobel Prize in Chemistry (1901).
1923
Lewis and Randall's Textbook
Gilbert N. Lewis and Merle Randall published 'Thermodynamics and the Free Energy of Chemical Substances,' systematizing standard free energies of formation and making free-energy calculations routine for practicing chemists.

The central question these scientists tackled was deceptively simple: Given a chemical reaction at a specified temperature and pressure, will it proceed in the forward direction, the reverse direction, or sit at equilibrium? Gibbs free energy provides the definitive answer by combining enthalpy (the heat content at constant pressure) and entropy (the dispersal of energy and matter) into a single state function. Even more remarkably, the magnitude of the standard free energy change is quantitatively linked to the equilibrium constant, creating a bridge between thermodynamic theory and experimentally measurable concentrations.

Core Principles & Definitions

Understanding the relationship between free energy and equilibrium requires mastery of several interconnected ideas. The Gibbs free energy (G) is a thermodynamic potential that measures the maximum amount of non-expansion work obtainable from a process occurring at constant temperature and pressure. When a reaction lowers the total Gibbs free energy of the system, it proceeds spontaneously; when it raises the free energy, the reverse reaction is favored. At equilibrium, the free energy reaches its minimum value, and no net change occurs in either direction.

1

Gibbs Free Energy (G)

Defined as G = H − TS, where H is enthalpy, T is absolute temperature in Kelvin, and S is entropy. A state function whose change (ΔG) determines spontaneity at constant T and P.
2

Standard Free Energy Change (ΔG°)

The free energy change when all reactants and products are in their standard states (1 atm for gases, 1 M for solutes, pure liquids and solids). Calculated from standard enthalpies and entropies or from standard free energies of formation.
3

Reaction Quotient (Q)

The ratio of product activities to reactant activities at any given moment, expressed the same way as K but not necessarily at equilibrium. Comparing Q to K tells us the direction the reaction must shift.
4

Equilibrium Constant (K)

The value of Q when the system has reached equilibrium. A large K (≫ 1) means products are heavily favored; a small K (≪ 1) means reactants dominate. K is temperature-dependent and directly related to ΔG°.
5

Spontaneity Criterion

A reaction is spontaneous (thermodynamically favorable) when ΔG < 0, at equilibrium when ΔG = 0, and non-spontaneous when ΔG > 0. Spontaneity says nothing about rate—only about thermodynamic favorability.
KEY TAKEAWAY
Think of Gibbs free energy as the 'chemical budget' for a reaction. Just as a ball rolls downhill to minimize gravitational potential energy, a chemical system evolves in the direction that lowers G. The bottom of the 'free-energy valley' is equilibrium—neither reactants nor products have a thermodynamic incentive to convert further. The steeper the valley (more negative ΔG°), the more product-dominated the equilibrium mixture, corresponding to a larger K.

Visualizing Free Energy and Equilibrium

The relationship between ΔG and the extent of reaction is best understood through a free-energy diagram that plots G as a function of the reaction's progress from pure reactants to pure products. The curve is always concave upward (due to the entropy of mixing), and its minimum defines the equilibrium composition. The following diagram illustrates how the position of this minimum shifts depending on whether ΔG° is negative, zero, or positive.

Each curve represents G as a function of the extent of reaction for a different sign of ΔG°. The cyan curve (ΔG° < 0) has its minimum shifted toward products, corresponding to K ≫ 1. The amber curve (ΔG° = 0) is symmetric, with K = 1. The pink curve (ΔG° > 0) has its minimum shifted toward reactants, with K ≪ 1. At every minimum, ΔG = 0 and the system is at equilibrium.

A critical insight from this diagram is that every reaction has an equilibrium position—even those with extremely negative ΔG° values. The minimum in the curve never reaches the axis of pure products because the entropy of mixing always contributes a stabilizing effect that prevents complete conversion. For a highly favorable reaction (ΔG° = −100 kJ/mol, for instance), K is astronomically large and the equilibrium position lies so far to the right that for all practical purposes the reaction goes to completion—but thermodynamically, a trace of reactant always remains.

Mathematical Framework

The quantitative relationship between Gibbs free energy and equilibrium rests on three key equations. Together they allow you to calculate ΔG° from tabulated thermodynamic data, relate ΔG° to the equilibrium constant K, and determine ΔG under non-standard conditions using the reaction quotient Q.

GIBBS FREE ENERGY EQUATION
ΔG° = ΔH° − TΔS°
ΔG° = standard free energy change (J/mol), ΔH° = standard enthalpy change (J/mol), T = absolute temperature (K), ΔS° = standard entropy change (J/(mol·K)). This equation reveals that spontaneity depends on the competition between enthalpy and entropy.
FREE ENERGY AND EQUILIBRIUM CONSTANT
ΔG° = −RT ln K
R = 8.314 J/(mol·K), T = absolute temperature (K), K = thermodynamic equilibrium constant (dimensionless). When ΔG° < 0, ln K > 0, so K > 1 (products favored). When ΔG° > 0, ln K < 0, so K < 1 (reactants favored). When ΔG° = 0, K = 1.
FREE ENERGY UNDER NON-STANDARD CONDITIONS
ΔG = ΔG° + RT ln Q
Q = reaction quotient under current conditions. At equilibrium, Q = K, so ΔG = ΔG° + RT ln K = 0, which is consistent with the equation ΔG° = −RT ln K. This equation tells you the instantaneous driving force of a reaction at any composition.
STANDARD FREE ENERGY FROM FORMATION DATA
ΔG°rxn = Σ ΔG°f(products) − Σ ΔG°f(reactants)
ΔG°f = standard free energy of formation for each substance, weighted by its stoichiometric coefficient. By convention, ΔG°f for any element in its standard state is zero.
UNIT CONSISTENCY
A common source of error on the AP exam is mixing units. ΔH° is often given in kJ/mol while ΔS° is in J/(mol·K). Always convert to the same unit (typically J) before computing ΔG° = ΔH° − TΔS°. Similarly, R = 8.314 J/(mol·K) demands that ΔG° be in joules when solving ΔG° = −RT ln K.

Sign Analysis of ΔG° and Temperature Dependence

Because ΔG° = ΔH° − TΔS°, the signs of ΔH° and ΔS° together determine how spontaneity changes with temperature. There are four possible combinations, and each has distinct implications for the equilibrium constant's temperature behavior. The table below summarizes these cases, and the diagram that follows provides a visual representation of how ΔG° varies with T for each scenario.

Four combinations of ΔH° and ΔS° and their effect on spontaneity
ΔH°ΔS°ΔG° SignSpontaneityExample
− (exothermic)+ (increase)Always negativeSpontaneous at all T2 H₂O₂(l) → 2 H₂O(l) + O₂(g)
− (exothermic)− (decrease)Negative at low T, positive at high TSpontaneous at low T onlyN₂(g) + 3 H₂(g) → 2 NH₃(g)
+ (endothermic)+ (increase)Positive at low T, negative at high TSpontaneous at high T onlyCaCO₃(s) → CaO(s) + CO₂(g)
+ (endothermic)− (decrease)Always positiveNon-spontaneous at all T3 O₂(g) → 2 O₃(g)
Each line represents ΔG° = ΔH° − TΔS° as a linear function of temperature. Lines with negative slopes have positive ΔS° (the −TΔS° term becomes increasingly negative). Where a line crosses the ΔG° = 0 axis, the crossover temperature T = ΔH°/ΔS° marks the boundary between spontaneous and non-spontaneous behavior. The green line (ΔH° < 0, ΔS° > 0) is always below zero; the red line (ΔH° > 0, ΔS° < 0) is always above zero.

For the two temperature-dependent cases (ΔH° and ΔS° with the same sign), the crossover temperature is found by setting ΔG° = 0 and solving: Tcrossover = ΔH°/ΔS°. Above this temperature the TΔS° term dominates, and below it the ΔH° term dominates. This result is directly exploitable on the AP exam—if you know the signs of ΔH° and ΔS° and are given a temperature, you can immediately determine the sign of ΔG° and thereby whether K is greater or less than 1.

Worked Example: Connecting ΔG° to K

Consider the synthesis of ammonia at 298 K: N₂(g) + 3 H₂(g) ⇌ 2 NH₃(g). Given that ΔH° = −92.2 kJ/mol and ΔS° = −198.7 J/(mol·K), calculate ΔG° at 298 K, determine K, and predict the direction of the reaction when Q = 1.0 × 10⁸.

Calculating ΔG°, K, and Predicting Reaction Direction
1
Step 1 — Calculate ΔG° from ΔH° and ΔS°Convert units so that ΔH° and TΔS° are in the same unit. ΔH° = −92.2 kJ/mol = −92,200 J/mol. Now compute: ΔG° = ΔH° − TΔS° = −92,200 J/mol − (298 K)(−198.7 J/(mol·K)) = −92,200 + 59,213 = −32,987 J/mol.
ΔG° ≈ −33.0 kJ/mol
2
Step 2 — Interpret the sign of ΔG°Because ΔG° is negative, the reaction is thermodynamically favorable under standard conditions at 298 K. We expect K > 1, meaning that at equilibrium, products (NH₃) are favored over reactants.
3
Step 3 — Calculate K from ΔG° = −RT ln KRearrange: ln K = −ΔG° / (RT) = −(−32,987 J/mol) / (8.314 J/(mol·K) × 298 K) = 32,987 / 2,477.6 = 13.31. Therefore K = e13.31.
K ≈ 6.0 × 10⁵
4
Step 4 — Determine reaction direction when Q = 1.0 × 10⁸Compare Q to K: Q = 1.0 × 10⁸ while K ≈ 6.0 × 10⁵. Since Q > K, the system has too much product relative to equilibrium. We can verify using ΔG = ΔG° + RT ln Q = −32,987 + (8.314)(298) ln(1.0 × 10⁸) = −32,987 + (2,477.6)(18.42) = −32,987 + 45,640 = +12,653 J/mol.
ΔG = +12.7 kJ/mol → reaction shifts in reverse (toward reactants)
5
Step 5 — Summary of ResultsAt 298 K the ammonia synthesis is spontaneous under standard conditions (ΔG° = −33.0 kJ/mol) with K ≈ 6.0 × 10⁵, strongly favoring products. However, when the current reaction quotient Q = 1.0 × 10⁸ exceeds K, the system must shift toward reactants to re-establish equilibrium, and ΔG is positive, confirming this conclusion.

Comparing ΔG, ΔG°, and ΔG°f

Students frequently confuse three closely related but distinct quantities: the instantaneous free energy change (ΔG), the standard free energy change (ΔG°), and the standard free energy of formation (ΔG°f). Clarifying these distinctions is essential for correctly applying the equations on the AP exam.

Comparison of three free energy quantities commonly tested on the AP exam
QuantityDefinitionWhen It Equals ZeroKey Equation
ΔGFree energy change at the current composition (non-standard conditions)At equilibrium (Q = K)ΔG = ΔG° + RT ln Q
ΔG°Free energy change when all species are in standard states (Q = 1)When K = 1 (products and reactants equally favored)ΔG° = −RT ln K
ΔG°fFree energy change for forming 1 mol of a compound from its elements in their standard statesFor any element in its standard state (by definition)ΔG°rxn = Σ ΔG°f(prod) − Σ ΔG°f(react)
KEY TAKEAWAY
Think of ΔG° as the 'blueprint' prediction—it tells you where the equilibrium constant lies on the number line. In contrast, ΔG is the 'GPS reading'—it tells you which direction the reaction is headed right now, given the current concentrations. A reaction can have a negative ΔG° (favorable blueprint) but a positive ΔG (moving in reverse) if too much product has already accumulated, exactly as we saw in the worked example with Q > K.

Connections to Electrochemistry and van 't Hoff

The free energy framework extends naturally into electrochemistry and temperature-dependent equilibrium analysis. In electrochemistry, the standard cell potential (E°cell) is directly related to ΔG° through the equation ΔG° = −nFE°cell, where n is the number of moles of electrons transferred and F is Faraday's constant (96,485 C/mol). This means a positive E°cell corresponds to a negative ΔG° and a large K—all three quantities encode the same thermodynamic information.

Thermodynamic triangle: ΔG°, K, and E°cell are interconvertible
EquationConnectsAP Context
ΔG° = −RT ln KFree energy ↔ EquilibriumCalculate K from thermodynamic data or predict spontaneity from K
ΔG° = −nFE°cellFree energy ↔ ElectrochemistryDetermine cell voltage from ΔG° or find K from E°cell
ln(K₂/K₁) = −(ΔH°/R)(1/T₂ − 1/T₁)Equilibrium ↔ Temperaturevan 't Hoff equation: predict how K shifts with temperature
E = E° − (RT/nF) ln QCell voltage ↔ Non-standard conditionsNernst equation: the electrochemical analog of ΔG = ΔG° + RT ln Q

The van 't Hoff equation deserves special attention because it directly emerges from combining ΔG° = −RT ln K with ΔG° = ΔH° − TΔS°. For an exothermic reaction (ΔH° < 0), increasing T decreases K—exactly as Le Chatelier's principle predicts. The free-energy framework thus provides the quantitative backbone for Le Chatelier's qualitative reasoning: if you raise the temperature, the TΔS° term grows, and for reactions where ΔS° is negative, ΔG° becomes more positive, making K smaller.

🔭 LOOKING AHEAD
In a college-level physical chemistry course, you will encounter the Gibbs–Helmholtz equation, activity coefficients, and the concept of chemical potential (μ), which generalizes free energy to individual components in a mixture. The AP framework provides the essential foundation for all of these developments.

Practice Problems

1
A reaction has ΔH° < 0 and ΔS° < 0. Which statement correctly describes the relationship between ΔG° and K for this reaction?
2
For a certain reaction at 298 K, ΔG° = −17.1 kJ/mol. What is the equilibrium constant K at this temperature? (R = 8.314 J/(mol·K))
3
At 500 K, a gaseous reaction has ΔG° = +8.30 kJ/mol and the current reaction quotient is Q = 0.10. What is the sign of ΔG at this moment, and in which direction does the reaction proceed?
PROBLEM 4APPLIED
The decomposition of calcium carbonate is represented by: CaCO₃(s) → CaO(s) + CO₂(g). The standard enthalpy of reaction is ΔH° = +178.3 kJ/mol and the standard entropy of reaction is ΔS° = +160.5 J/(mol·K). (a) Calculate ΔG° at 298 K and determine whether the reaction is spontaneous under standard conditions. (b) Calculate the temperature at which the reaction becomes spontaneous. (c) Calculate the equilibrium partial pressure of CO₂(g) at 1000 K. (d) Explain, using thermodynamic reasoning, why limestone (CaCO₃) is stable at room temperature but decomposes when heated in a lime kiln.
PROBLEM 5CRITICAL THINKING
A chemist studies the reaction A(g) ⇌ 2 B(g) and measures the equilibrium constant at several temperatures: T (K): 300, 400, 500, 600 K: 0.020, 0.85, 8.5, 42 (a) Based on the trend in K with temperature, determine the signs of ΔH° and ΔS° for this reaction. Justify your answer. (b) Using the data at 300 K and 600 K, estimate ΔH° for the reaction using the van 't Hoff equation: ln(K₂/K₁) = −(ΔH°/R)(1/T₂ − 1/T₁). (c) Using your result from (b) and the value of K at 300 K, calculate ΔG° at 300 K and then estimate ΔS°. (d) A student claims that because K is very small at 300 K, the forward reaction cannot occur at all at this temperature. Critique this claim using the concept of ΔG vs. ΔG°.

Free Energy and Equilibrium — Key Concepts Review

The Gibbs free energy function G = H − TS provides a single criterion for spontaneity at constant T and P: a process is spontaneous when ΔG < 0 and at equilibrium when ΔG = 0. The standard free energy change ΔG° is calculated from ΔG° = ΔH° − TΔS° and is linked to the equilibrium constant K through ΔG° = −RT ln K. A negative ΔG° means K > 1 (products favored); a positive ΔG° means K < 1 (reactants favored).

Under non-standard conditions, the driving force is given by ΔG = ΔG° + RT ln Q, where Q is the reaction quotient. When Q < K, ΔG < 0 and the reaction moves forward; when Q > K, ΔG > 0 and the reaction reverses. The temperature dependence of K is governed by the signs of ΔH° and ΔS°, and for cases where both have the same sign, the crossover temperature T = ΔH°/ΔS° marks the boundary between spontaneous and non-spontaneous regimes. These relationships extend to electrochemistry through ΔG° = −nFE°cell and the Nernst equation, forming a unified thermodynamic framework.

Varsity Tutors • AP Chemistry • Free Energy and Equilibrium