Historical Context & Motivation
The relationship between electrical work and chemical change was one of the great unifying insights of nineteenth-century science. By the 1880s, thermodynamic theory had matured through the work of Clausius, Gibbs, and Helmholtz, while electrochemistry had amassed decades of empirical data on voltaic cells. Yet a single, rigorous equation connecting the electromotive force (EMF) of a galvanic cell to the concentrations of its reactants and products remained elusive. The gap was conceptual: researchers needed to express cell potential as a thermodynamic state function and then allow that function to vary with composition.
The central question that Nernst addressed can be stated simply: if we know the standard cell potential E° for a reaction, how does the actual cell potential change when the reactant and product concentrations deviate from their standard states? Answering this question required recognizing that the Gibbs energy change of a reaction is directly proportional to the electrical work a cell can perform, and that Gibbs energy itself depends logarithmically on the reaction quotient Q. The result—the Nernst equation—remains one of the most widely used equations in chemistry, biochemistry, neuroscience, and materials engineering.
Core Thermodynamic Principles
Before deriving the Nernst equation, we must establish several thermodynamic relationships that serve as its foundation. The concepts below link macroscopic thermodynamic quantities—Gibbs energy, enthalpy, entropy—to the measurable voltage of an electrochemical cell. Mastery of these connections is essential because the Nernst equation is not an empirical fit; it is a direct consequence of the second law of thermodynamics applied to an isothermal, isobaric electrochemical process.
Gibbs Energy & Electrical Work
Standard State Convention
Reaction Quotient Q
Chemical Potential & Activity
Equilibrium & Cell Potential
Visual Explanation — From ΔG to E
The diagram below illustrates the thermodynamic derivation pathway that leads to the Nernst equation. Starting from the fundamental relationship ΔG = ΔG° + RT ln Q and the electrochemical identity ΔG = −nFE, we substitute and rearrange to obtain the final form. The flowchart visually traces each algebraic step so that the logical chain is transparent.
Notice that the derivation requires only two inputs: the isothermal Gibbs energy expression for a reaction mixture and the identification of electrical work with −nFE. No additional postulates are needed. The entire concentration dependence of the cell potential is captured by the natural logarithm of the reaction quotient Q, which incorporates activities of all species raised to their stoichiometric powers. When Q = 1 (standard-state conditions), ln Q = 0 and E reduces to E°, confirming internal consistency.
Mathematical Framework
We now present the formal derivation in full, beginning from the chemical potential and building to the general Nernst equation. Throughout, we maintain rigor by distinguishing activities from concentrations and by tracking the sign conventions established by IUPAC.
Step 1 — Gibbs Energy of Reaction in Terms of Activities
For a general reaction Σ νᵢ Bᵢ = 0 (products positive, reactants negative), the Gibbs energy of reaction at arbitrary composition is ΔG = Σ νᵢ μᵢ. Substituting the expression for μᵢ yields the central thermodynamic result:
Step 2 — Connecting ΔG to Cell Potential
When a galvanic cell operates reversibly, the electrical work done by the cell equals the decrease in Gibbs energy. The charge transferred when n moles of electrons pass through the external circuit is nF, and the work per unit charge is E. Therefore, the reversible electrical work is w_elec = nFE, and since ΔG = −w_max for a constant-T, constant-P process:
Step 3 — Derivation of the Nernst Equation
Substituting ΔG = −nFE and ΔG° = −nFE° into the Gibbs energy expression:
Graphical Analysis — E versus ln Q
The Nernst equation predicts that a plot of cell potential E against ln Q is a straight line with slope −RT/(nF) and y-intercept E°. This linearity is a powerful diagnostic tool: deviations from linearity reveal non-ideal behavior, junction potentials, or side reactions. The plot also provides a visual method for determining the equilibrium constant, since E = 0 at Q = K.
Several important features emerge from the graph. First, the slope is always negative (since R, T, n, and F are all positive), confirming Le Chatelier's intuition: as products accumulate (Q increases), the driving force for the forward reaction (E) decreases. Second, the x-intercept equals ln K = nFE°/(RT), providing a direct electrochemical route to the equilibrium constant. For our example with E° = 0.40 V and n = 2, ln K ≈ 31.1, giving K ≈ 3.3 × 10¹³—an enormously product-favored reaction. Third, the magnitude of the slope decreases with increasing n, meaning that reactions transferring more electrons are less sensitive to concentration changes on a per-electron basis.
| Parameter | Location on Plot | Physical Meaning |
|---|---|---|
| E° | y-intercept (ln Q = 0) | Maximum driving force under standard conditions |
| −RT/(nF) | Slope of the line | Sensitivity of E to composition; steeper for fewer electrons transferred |
| ln K | x-intercept (E = 0) | Equilibrium composition; larger values indicate more product-favored reactions |
| E > 0 | Region left of x-intercept | Spontaneous forward reaction (ΔG < 0) |
| E < 0 | Region right of x-intercept | Non-spontaneous forward reaction (ΔG > 0); reverse reaction is spontaneous |
Worked Example — Zinc–Copper Daniell Cell
Consider a Daniell cell operating at 298 K with the following conditions: a zinc electrode immersed in 0.10 M ZnSO₄ and a copper electrode immersed in 2.0 M CuSO₄. The overall cell reaction is Zn(s) + Cu²⁺(aq) → Zn²⁺(aq) + Cu(s). Given E°(Cu²⁺/Cu) = +0.340 V and E°(Zn²⁺/Zn) = −0.763 V, calculate the cell potential E.
Strengths, Limitations & Practical Considerations
The Nernst equation is remarkably powerful, but like any thermodynamic result it has a well-defined domain of validity. Understanding when and why it breaks down is as important as knowing how to use it. The table below contrasts the equation's strengths with its limitations.
| Strengths | Limitations |
|---|---|
| Provides exact thermodynamic relationship between E, T, and composition at equilibrium or near-equilibrium. | Applies only to reversible (equilibrium) conditions; real cells with significant current draw exhibit overpotential losses not captured by the equation. |
| Directly connects electrochemistry to thermodynamic quantities (ΔG, K, ΔS via temperature derivative of E). | Uses activities, not concentrations. For concentrated or strongly interacting electrolytes, activity coefficients (γ) deviate substantially from unity. |
| Applies to any electrochemical system: galvanic cells, electrolytic cells, membrane potentials, corrosion. | Assumes isothermal operation; temperature gradients across the cell introduce thermoelectric effects not described by the simple Nernst form. |
| Predicts direction of spontaneous change: E > 0 ⟹ ΔG < 0 ⟹ forward reaction spontaneous. | Does not address kinetics: a thermodynamically favorable cell may have a negligibly slow rate due to high activation barriers. |
| Simple linear form (E vs. ln Q) facilitates graphical and statistical analysis of experimental data. | Liquid junction potentials in cells with salt bridges introduce a systematic error not included in the ideal Nernst treatment. |
Connection to Advanced Thermodynamic & Kinetic Theory
The Nernst equation is a gateway to several advanced topics in physical chemistry and materials science. By differentiating the Nernst equation with respect to temperature, one obtains the temperature coefficient of EMF, (∂E/∂T)_P = ΔS/(nF), which provides an elegant electrochemical method for measuring reaction entropies. Combining this with E itself yields ΔH = −nF[E − T(∂E/∂T)_P], completing the thermodynamic trifecta of ΔG, ΔH, and ΔS from purely electrical measurements.
| Nernst (Thermodynamic) | Butler–Volmer (Kinetic) |
|---|---|
| Describes equilibrium or open-circuit potential | Describes current–potential relationship under net current flow |
| No kinetic parameters needed | Requires exchange current density (i₀) and transfer coefficient (α) |
| E = E° − (RT/nF) ln Q | i = i₀{exp[αnFη/(RT)] − exp[−(1−α)nFη/(RT)]}, where η = E − E_eq |
| Derived from Gibbs energy; purely thermodynamic | Derived from transition-state theory; combines thermodynamics with activation barriers |
| Predicts whether reaction is spontaneous | Predicts how fast it proceeds at a given overpotential |
In biological systems, the Nernst equation takes on a specialized form known as the Goldman–Hodgkin–Katz equation, which extends the single-ion Nernst potential to membranes permeable to multiple ions. This extension is central to neuroscience and electrophysiology. In corrosion science, Pourbaix diagrams (E–pH diagrams) are constructed by applying the Nernst equation systematically to every relevant half-reaction as a function of pH, delineating regions of immunity, corrosion, and passivation for a metal in aqueous solution. In energy storage, the Nernst equation forms the starting point for understanding open-circuit voltage in batteries and fuel cells, with deviations from Nernstian behavior signaling internal resistance, mass-transport limitations, or degradation.
Practice Problems
Summary
The Nernst equation E = E° − (RT/nF) ln Q is derived by combining the isothermal Gibbs energy expression ΔG = ΔG° + RT ln Q with the electrical work identity ΔG = −nFE. The equation shows that cell potential varies logarithmically with the reaction quotient Q: when Q < 1 the cell produces a voltage exceeding E°, and when Q > 1 the voltage falls below E°. At equilibrium (Q = K), E = 0 and the cell is thermodynamically dead.
Key applications include calculating non-standard cell potentials, determining equilibrium constants from E° via ln K = nFE°/(RT), measuring pH with Nernstian electrodes, and extracting reaction entropy from the temperature coefficient (∂E/∂T)_P = ΔS/(nF). While the equation is exact under reversible, isothermal conditions, real cells require corrections for activity coefficients, overpotentials, and junction potentials—extensions addressed by the Butler–Volmer and Debye–Hückel frameworks.