PHYSICAL CHEMISTRY 1 • ELECTROCHEMISTRY

Nernst Equation — Derive and use the Nernst equation in thermodynamic terms

Connecting Gibbs energy to cell potential reveals how concentration governs electrochemical equilibrium.

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.

1836
Daniell Cell Standardized
John Frederic Daniell designs a reliable two-compartment cell using Zn and Cu electrodes, providing a stable reference voltage and motivating quantitative study of EMF dependence on solution composition.
1876
Gibbs Free Energy Formalized
Josiah Willard Gibbs publishes his monumental treatise linking chemical potential, temperature, and composition through the function G = H − TS, establishing the thermodynamic foundation on which the Nernst equation would rest.
1889
Nernst Equation Published
Walther Nernst, then only 25 years old, derives the relationship E = E° − (RT/nF) ln Q while working under Wilhelm Ostwald in Leipzig. The equation elegantly merges thermodynamics with electrochemistry.
1920
Debye–Hückel Theory
Peter Debye and Erich Hückel introduce activity coefficients for strong electrolytes, refining the Nernst equation for real (non-ideal) solutions and extending its quantitative accuracy.
1949
Modern Electrode Conventions
The IUPAC Stockholm convention standardizes electrode potential signs and half-reaction notation, ensuring unambiguous application of the Nernst equation in research and education worldwide.

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.

1

Gibbs Energy & Electrical Work

For a reversible process at constant T and P, the maximum non-expansion work equals ΔG. In an electrochemical cell, this work is electrical: ΔG = −nFE, where n is the number of moles of electrons transferred and F is the Faraday constant (96 485 C mol⁻¹).
2

Standard State Convention

Standard conditions define all solutes at unit activity (≈1 mol L⁻¹ for dilute solutions), gases at 1 bar, and pure solids/liquids in their most stable form. Under these conditions, ΔG° = −nFE° and E° is the standard cell potential.
3

Reaction Quotient Q

The reaction quotient Q = Π(aᵢ^νᵢ) encodes the instantaneous ratio of product activities to reactant activities raised to their stoichiometric powers. At equilibrium, Q = K.
4

Chemical Potential & Activity

Each species i has chemical potential μᵢ = μᵢ° + RT ln aᵢ. Summing over all species weighted by stoichiometric coefficients gives ΔG = ΔG° + RT ln Q, the key isothermal expression connecting standard and non-standard states.
5

Equilibrium & Cell Potential

At equilibrium E = 0 and Q = K, so ΔG° = −RT ln K. This links the equilibrium constant directly to E°: E° = (RT/nF) ln K, a powerful bridge between thermodynamics and electrochemistry.
KEY TAKEAWAY
Think of a galvanic cell as a thermodynamic engine that converts chemical Gibbs energy into electrical work. Just as a dam converts gravitational potential energy into kinetic energy of water—and produces less power when the reservoir level drops—an electrochemical cell produces less voltage as reactants are consumed and products accumulate. The Nernst equation quantifies exactly how much the 'reservoir level' (Q) shifts the available 'driving force' (E) from its standard-state maximum (E°).

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.

The derivation begins with two independent expressions for ΔG (purple and pink boxes at top). Substituting the electrochemical identity into the thermodynamic expression and dividing by −nF yields the Nernst equation in the green box. The 298 K numerical form is shown below for convenience.

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

CHEMICAL POTENTIAL
μᵢ = μᵢ° + RT ln aᵢ
μᵢ = chemical potential of species i; μᵢ° = standard chemical potential; R = 8.314 J mol⁻¹ K⁻¹; T = absolute temperature (K); aᵢ = thermodynamic activity of species i.

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:

GIBBS ENERGY — GENERAL
ΔG = ΔG° + RT ln Q where Q = Π aᵢ^νᵢ
ΔG° = Σ νᵢ μᵢ° = standard Gibbs energy of reaction; Q = reaction quotient expressed in activities; νᵢ > 0 for products, νᵢ < 0 for reactants.

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:

GIBBS–EMF RELATIONSHIP
ΔG = −nFE ΔG° = −nFE°
n = moles of electrons transferred per mole of reaction as written; F = Faraday constant = 96 485 C mol⁻¹; E = cell EMF under actual conditions; E° = standard cell EMF (all activities = 1).

Step 3 — Derivation of the Nernst Equation

Substituting ΔG = −nFE and ΔG° = −nFE° into the Gibbs energy expression:

SUBSTITUTION
−nFE = −nFE° + RT ln Q
Dividing every term by −nF isolates E.
NERNST EQUATION — GENERAL FORM
E = E° − (RT / nF) ln Q
This is the Nernst equation in its most general thermodynamic form. At T = 298.15 K, RT/F = 0.025693 V. Converting from natural log to log₁₀ (ln Q = 2.3026 log Q) gives the common form: E = E° − (0.05916 V / n) log Q.
⚠️ Sign Convention Reminder
Under the IUPAC convention, E_cell = E_cathode − E_anode. The Nernst equation applies to a complete cell reaction or to a single half-reaction. For a reduction half-reaction, Q contains only the species appearing in that half-reaction with the oxidized form in the numerator of Q (for the reduction as written).

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.

A plot of E versus ln Q for a hypothetical cell with E° = 0.40 V and n = 2 at 298 K. The purple dot marks standard conditions (ln Q = 0), and the green dot marks equilibrium (E = 0). The slope in amber equals −RT/(nF).

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.

Summary of key features on the E vs. ln Q plot
ParameterLocation on PlotPhysical Meaning
y-intercept (ln Q = 0)Maximum driving force under standard conditions
−RT/(nF)Slope of the lineSensitivity of E to composition; steeper for fewer electrons transferred
ln Kx-intercept (E = 0)Equilibrium composition; larger values indicate more product-favored reactions
E > 0Region left of x-interceptSpontaneous forward reaction (ΔG < 0)
E < 0Region right of x-interceptNon-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.

Daniell Cell at Non-Standard Concentrations
1
Step 1 — Determine E° for the CellUsing the IUPAC convention, E°_cell = E°_cathode − E°_anode. Copper is reduced (cathode) and zinc is oxidized (anode). Therefore E°_cell = (+0.340 V) − (−0.763 V).
E°_cell = +1.103 V
2
Step 2 — Identify n and Write QThe balanced reaction Zn(s) + Cu²⁺(aq) → Zn²⁺(aq) + Cu(s) transfers n = 2 electrons. The reaction quotient is Q = [Zn²⁺]/[Cu²⁺] because the activities of pure solids are unity. Substituting the given concentrations (approximating activities by molar concentrations in this dilute regime): Q = (0.10)/(2.0).
Q = 0.050
3
Step 3 — Apply the Nernst EquationUsing the 298 K form: E = E° − (0.05916 V / n) log Q. Substituting: E = 1.103 V − (0.05916 / 2) log(0.050). We compute log(0.050) = −1.301.
E = 1.103 − (0.02958)(−1.301) = 1.103 + 0.0385
4
Step 4 — Calculate and InterpretAdding the correction term to the standard potential gives the non-standard cell potential. Since Q < 1 (more reactants than products relative to standard state), the cell potential is larger than E°. This is consistent with Le Chatelier's principle: excess reactant (Cu²⁺) and diminished product (Zn²⁺) drive the reaction more strongly forward.
E = +1.142 V
Quick Check
Whenever Q < 1, the logarithmic term is negative, making −(RT/nF) ln Q positive, so E > E°. When Q > 1, the opposite holds and E < E°. At Q = K, E = 0 and the cell is at equilibrium—a dead battery.

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 and limitations of the Nernst equation
StrengthsLimitations
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.
KEY TAKEAWAY
The Nernst equation is the electrochemical equivalent of the ideal gas law: it gives the correct functional form and is quantitatively accurate under 'ideal' conditions (dilute solutions, no current, isothermal). Just as real gases require van der Waals corrections, real electrochemical cells require activity coefficients, overpotential models (Butler–Volmer), and junction potential corrections to match experimental precision.

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 equation vs. Butler–Volmer equation
Nernst (Thermodynamic)Butler–Volmer (Kinetic)
Describes equilibrium or open-circuit potentialDescribes current–potential relationship under net current flow
No kinetic parameters neededRequires exchange current density (i₀) and transfer coefficient (α)
E = E° − (RT/nF) ln Qi = i₀{exp[αnFη/(RT)] − exp[−(1−α)nFη/(RT)]}, where η = E − E_eq
Derived from Gibbs energy; purely thermodynamicDerived from transition-state theory; combines thermodynamics with activation barriers
Predicts whether reaction is spontaneousPredicts 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

PROBLEM 1CONCEPTUAL
Explain, using the Nernst equation, why a galvanic cell's voltage decreases as the cell discharges. What happens to Q, and how does this affect E? At what value of Q does the cell reach equilibrium?
PROBLEM 2BASIC CALCULATION
A silver–silver ion half-cell (Ag⁺/Ag, E° = +0.799 V) is constructed with [Ag⁺] = 0.0010 M at 298 K. Calculate the reduction potential of this half-cell using the Nernst equation.
PROBLEM 3INTERMEDIATE
For the cell Pt | H₂(1 bar) | H⁺(a = 1) || Fe³⁺(0.050 M), Fe²⁺(0.50 M) | Pt, calculate the cell potential at 298 K. Standard reduction potentials: E°(H⁺/H₂) = 0.000 V; E°(Fe³⁺/Fe²⁺) = +0.771 V.
PROBLEM 4APPLIED
A pH electrode operates on Nernstian principles. If a glass electrode–reference electrode assembly measures E = +0.237 V at 298 K for a solution, and the system obeys E = constant − (0.05916 V) × pH, with the constant calibrated as +0.651 V, what is the pH of the solution? If the temperature rises to 310 K, how does the slope change and what error would result if the instrument is not recalibrated?
PROBLEM 5CRITICAL THINKING
Starting from the Nernst equation, derive an expression for the temperature coefficient (∂E°/∂T)_P in terms of the standard reaction entropy ΔS°. Then, for a cell where E° = 1.100 V at 298 K and ΔS° = −21.0 J mol⁻¹ K⁻¹ with n = 2, calculate ΔG°, ΔH°, and predict whether E° increases or decreases with temperature.

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.

Varsity Tutors • Physical Chemistry 1 • Nernst Equation — Derive and use the Nernst equation in thermodynamic terms