Skip to main content
Chemistry LibreTexts

6.4: The Nernst Equation

  • Page ID
    191414
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    Learning Objectives

    • Relate cell potentials to free energy changes
    • Use the Nernst equation to determine cell potentials at nonstandard conditions
    • Perform calculations that involve converting between cell potentials, free energy changes, and equilibrium constants

    We will now extend electrochemistry by determining the relationship between \(E^\circ_\ce{cell}\) and the thermodynamics quantities such as ΔG° (Gibbs free energy) and K (the equilibrium constant). In galvanic cells, chemical energy is converted into electrical energy, which can do work. The electrical work is the product of the charge transferred multiplied by the potential difference (voltage):

    \[\mathrm{electrical\: work=volts \times (charge\: in\: coulombs)=J}\]

    The charge on 1 mole of electrons is given by Faraday’s constant (F)

    \[ \begin{align*} F &=\dfrac{6.022 \times 10^{23}\:e^-}{mol} \times \dfrac{1.602 \times 10^{−19}\:C}{e^-} \\[4pt] &=9.648 \times 10^4\:\dfrac{C}{mol} \\[4pt] &=9.648 \times 10^4\:\dfrac{J}{V⋅mol} \end{align*}\]

    Therefore

    \[\mathrm{total\: charge=(number\: of\: moles\: of\: e^-)} \times F=nF\]

    In this equation, \(n\) is the number of moles of electrons for the balanced oxidation-reduction reaction. The measured cell potential is the maximum potential the cell can produce and is related to the electrical work (wele) by

    \[E_\ce{cell}=\dfrac{−w_\ce{ele}}{nF}\hspace{40px}\ce{or}\hspace{40px}w_\ce{ele}=−nFE_\ce{cell}\]

    The negative sign for the work indicates that the electrical work is done by the system (the galvanic cell) on the surroundings. In an earlier chapter, the free energy was defined as the energy that was available to do work. In particular, the change in free energy was defined in terms of the maximum work (\(w_{max}\)), which, for electrochemical systems, is \(w_{ele}\).

    \[\begin{align*} ΔG&=w_\ce{max}=w_\ce{ele} \\[4pt] &=−nFE_\ce{cell} \end{align*}\]

    We can verify the signs are correct when we realize that \(n\) and \(F\) are positive constants and that galvanic cells, which have positive cell potentials, involve spontaneous reactions. Thus, spontaneous reactions, which have \(ΔG < 0\), must have \(E_{cell} > 0\). If all the reactants and products are in their standard states, this becomes

    \[ΔG°=−nFE^\circ_\ce{cell}\]

    This provides a way to relate standard cell potentials to equilibrium constants, since

    \[ΔG°=−RT\ln K\]

    \[−nFE^\circ_\ce{cell}=−RT\ln K\]

    or

    \[ E^\circ_\ce{cell}=\dfrac{RT}{nF}\ln K\]

    Most of the time, the electrochemical reactions are run at standard temperature (298.15 K). Collecting terms at this temperature yields

    \[\begin{align*} E^\circ_\ce{cell}&=\dfrac{RT}{nF}\:\ln K \\[4pt] &=\dfrac{\left(8.314\:\dfrac{\ce{J}}{\textrm{K⋅mol}}\right)(298.15\:K)}{n \times 96,485\: \textrm{C/V⋅mol}}\:\ln K \\[4pt] &=\dfrac{\mathrm{0.0257\: V}}{n}\:\ln K \end{align*} \]

    where \(n\) is the number of moles of electrons. The logarithm in equations involving cell potentials is often expressed using base 10 logarithms (i.e., \(\log_{10}\) or just \(\log\)), which changes the constant by a factor of 2.303:

    \[E^\circ_\ce{cell}=\dfrac{\mathrm{0.0592\: V}}{n}\:\log K\]

    Thus, if ΔG°, K, or \(E^\circ_\ce{cell}\) is known or can be calculated, the other two quantities can be readily determined. The relationships are shown graphically in Figure \(\PageIndex{1}\).

    <A diagram is shown that involves three double headed arrows positioned in the shape of an equilateral triangle. The vertices are labeled in red. The top vertex is labeled “K.“ The vertex at the lower left is labeled “delta G superscript degree symbol.” The vertex at the lower right is labeled “E superscript degree symbol subscript cell.” The right side of the triangle is labeled “E superscript degree symbol subscript cell equals ( R T divided by n  F ) l n K.” The lower side of the triangle is labeled “delta G superscript degree symbol equals negative n F E superscript degree symbol subscript cell.” The left side of the triangle is labeled “delta G superscript degree symbol equals negative R T l n K.”

    Figure \(\PageIndex{1}\): The relationships between ΔG°, K, and \(E^\circ_\ce{cell}\). Given any one of the three quantities, the other two can be calculated, so any of the quantities could be used to determine whether a process was spontaneous.

    Given any one of the quantities, the other two can be calculated.

    Example \(\PageIndex{1}\): Equilibrium Constants, Potentials, & Free Energy Changes

    What is the standard Gibbs free energy change and equilibrium constant for the following reaction at 25 °C?

    \[\ce{2Ag+}(aq)+\ce{Fe}(s)⇌\ce{2Ag}(s)+\ce{Fe^2+}(aq) \nonumber\]

    Solution

    The reaction involves an oxidation-reduction reaction, so the standard cell potential can be calculated using the data in Table P1.

    \[\begin{align*}
    &\textrm{anode (oxidation): }\ce{Fe}(s)⟶\ce{Fe^2+}(aq)+\ce{2e-} \hspace{40px} E^\circ_{\ce{Fe^2+/Fe}}=\mathrm{−0.447\: V} \nonumber\\
    &\textrm{cathode (reduction): }2 \times (\ce{Ag+}(aq)+\ce{e-}⟶\ce{Ag}(s)) \hspace{40px} E^\circ_{\ce{Ag+/Ag}}=\mathrm{0.7996\: V} \nonumber\\
    &E^\circ_\ce{cell}=E^\circ_\ce{cathode}−E^\circ_\ce{anode}=E^\circ_{\ce{Ag+/Ag}}−E^\circ_{\ce{Fe^2+/Fe}}=\mathrm{+1.247\: V} \nonumber
    \end{align*} \nonumber\]

    Remember that the cell potential for the cathode is not multiplied by two when determining the standard cell potential. With n = 2, the equilibrium constant is then

    \[E^\circ_\ce{cell}=\dfrac{\mathrm{0.0592\: V}}{n}\:\log K \nonumber\]

    \[\begin{align*} K&=10^{n \times E^\circ_\ce{cell}/\mathrm{0.0592\: V}} \\[4pt] &=10^{2 \times \mathrm{1.247\: V/0.0592\: V}} \\[4pt] &=10^{42.128} \\[4pt] &=1.3 \times 10^{42}\end{align*}\]

    The standard free energy is then

    \[ΔG°=−nFE^\circ_\ce{cell} \nonumber\]

    \[ΔG°=\mathrm{−2 \times 96,485\:\dfrac{J}{\textrm{V⋅mol}} \times 1.247\: V=−240.6\:\dfrac{kJ}{mol}} \nonumber\]

    Check your answer: A positive standard cell potential means a spontaneous reaction, so the standard free energy change should be negative, and an equilibrium constant should be >1.

    Exercise \(\PageIndex{1}\)

    What is the standard Gibbs free energy change and the equilibrium constant for the following reaction at room temperature? Is the reaction spontaneous?

    \[\ce{Sn}(s)+\ce{2Cu^2+}(aq)⇌\ce{Sn^2+}(aq)+\ce{2Cu+}(aq) \nonumber\]

    Answer

    Spontaneous; n = 2; \(E^\circ_\ce{cell}=\mathrm{+0.291\: V}\); \(ΔG°=\mathrm{−56.2\:\dfrac{kJ}{mol}}\); \(K = 6.8 \times 10^9\).

    Now that the connection has been made between the free energy and cell potentials, nonstandard concentrations follow. Recall that

    \[ΔG=ΔG°+RT\ln Q\]

    where \(Q\) is the reaction quotient (see the chapter on equilibrium fundamentals). Converting to cell potentials:

    \[−nFE_\ce{cell}=−nFE^\circ_\ce{cell}+RT\ln Q \label{nernst1A}\]

    or

    \[E_\ce{cell}=E^\circ_\ce{cell}−\dfrac{RT}{nF}\:\ln Q \label{nernst1B}\]

    Equation \ref{nernst1B} is the generalized Nernst equation that is applicable at any temperature. However, is can be simplified for reactions occuring at 25 °C (298.15 K) by rewriting it as

    \[E_\ce{cell}=E^\circ_\ce{cell}−\dfrac{\mathrm{0.0257\: V}}{n}\:\ln Q \label{nernst2A}\]

    or

    \[ E_\ce{cell}=E^\circ_\ce{cell}−\dfrac{\mathrm{0.0592\: V}}{n}\log_{10} Q \label{nernst2B}\]

    If the temperature is not 298.15 K, it is necessary to recalculate the potential with Equation\ref{nernst1B}. With the Nernst equation, it is possible to calculate the cell potential at nonstandard conditions. This adjustment is necessary because potentials determined under different conditions will have different values.

    Example \(\PageIndex{2}\): Cell Potentials at Nonstandard Conditions

    Consider the following reaction at room temperature:

    \[\ce{Co}(s)+\ce{Fe^2+}(aq,\:1.94\:M)⟶\ce{Co^2+}(aq,\: 0.15\:M)+\ce{Fe}(s) \nonumber\]

    Is the process spontaneous?

    Solution

    There are two ways to solve the problem. If the thermodynamic information in Table T1 were available, you could calculate the free energy change. If the free energy change is negative, the process is spontaneous. The other approach, which we will use, requires information like that given in Table P1. Using those data, the cell potential can be determined. If the cell potential is positive, the process is spontaneous. Collecting information from Table P1 and the problem,

    \[\begin{align*}
    &\textrm{Anode (oxidation): }\ce{Co}(s)⟶\ce{Co^2+}(aq)+\ce{2e-} \hspace{40px} E^\circ_{\ce{Co^2+/Co}}=\mathrm{−0.28\: V}\\
    &\textrm{Cathode (reduction): }\ce{Fe^2+}(aq)+\ce{2e-}⟶\ce{Fe}(s) \hspace{40px} E^\circ_{\ce{Fe^2+/Fe}}=\mathrm{−0.447\: V}\\
    &E^\circ_\ce{cell}=E^\circ_\ce{cathode}−E^\circ_\ce{anode}=\mathrm{−0.447\: V−(−0.28\: V)=−0.17\: V}
    \end{align*} \nonumber\]

    The process is not spontaneous under standard conditions. Using the Nernst equation and the concentrations stated in the problem and \(n = 2\),

    \[Q=\ce{\dfrac{[Co^2+]}{[Fe^2+]}}=\dfrac{0.15\:M}{1.94\:M}=0.077 \nonumber\]

    Now we can insert these into the Nernst Equation at room temperature (Equation \ref{nernst2B})

    \[\begin{align*} E_\ce{cell} &=E^\circ_\ce{cell}−\dfrac{\mathrm{0.0592\: V}}{n}\:\log Q \\[4pt] &=\mathrm{−0.17\: V−\dfrac{0.0592\: V}{2}\:\log 0.077} \\[4pt] &=\mathrm{−0.17\: V+0.033\: V=−0.014\: V} \end{align*}\]

    The process is (still) nonspontaneous.

    Exercise \(\PageIndex{2}\)

    What is the cell potential for the following reaction at room temperature?

    \[\ce{Al}(s)│\ce{Al^3+}(aq,\:0.15\:M)║\ce{Cu^2+}(aq,\:0.025\:M)│\ce{Cu}(s) \nonumber\]

    What are the values of n and Q for the overall reaction? Is the reaction spontaneous under these conditions?

    Answer

    n = 6; Q = 1440; Ecell = +1.97 V, spontaneous.

    Finally, we will take a brief look at a special type of cell called a concentration cell. In a concentration cell, the electrodes are the same material and the half-cells differ only in concentration. Since one or both compartments is not standard, the cell potentials will be unequal; therefore, there will be a potential difference, which can be determined with the aid of the Nernst equation.

    Example \(\PageIndex{3}\): Concentration Cells

    What is the cell potential of the concentration cell described by

    \[\ce{Zn}(s)│\ce{Zn^2+}(aq,\: 0.10\:M)║\ce{Zn^2+}(aq,\: 0.50\:M)│\ce{Zn}(s) \nonumber\]

    Solution

    From the information given:

    \[\begin{align*}
    &\textrm{Anode: }\ce{Zn}(s)⟶\ce{Zn^2+}(aq,\: 0.10\:M)+\ce{2e-} \hspace{40px} E^\circ_\ce{anode}=\mathrm{−0.7618\: V}\\
    &\textrm{Cathode: }\ce{Zn^2+}(aq,\: 0.50\:M)+\ce{2e-}⟶\ce{Zn}(s) \hspace{40px} E^\circ_\ce{cathode}=\mathrm{−0.7618\: V}\\
    &\overline{\textrm{Overall: }\ce{Zn^2+}(aq,\: 0.50\:M)⟶\ce{Zn^2+}(aq,\: 0.10\:M) \hspace{40px} E^\circ_\ce{cell}=\mathrm{0.000\: V}}
    \end{align*} \nonumber\]

    The standard cell potential is zero because the anode and cathode involve the same reaction; only the concentration of Zn2+ changes. Substituting into the Nernst equation,

    \[E_\ce{cell}=\mathrm{0.000\: V−\dfrac{0.0592\: V}{2}\:\log\dfrac{0.10}{0.50}=+0.021\: V} \nonumber\]

    and the process is spontaneous at these conditions.

    Check your answer: In a concentration cell, the standard cell potential will always be zero. To get a positive cell potential (spontaneous process) the reaction quotient Q must be <1. Q < 1 in this case, so the process is spontaneous.

    Exercise \(\PageIndex{3}\)

    What value of Q for the previous concentration cell would result in a voltage of 0.10 V? If the concentration of zinc ion at the cathode was 0.50 M, what was the concentration at the anode?

    Answer

    Q = 0.00042; [Zn2+]cat = 2.1 \times 10−4 M.

    Summary

    Electrical work (wele) is the negative of the product of the total charge (Q) and the cell potential (Ecell). The total charge can be calculated as the number of moles of electrons (n) times the Faraday constant (F = 96,485 C/mol e). Electrical work is the maximum work that the system can produce and so is equal to the change in free energy. Thus, anything that can be done with or to a free energy change can also be done to or with a cell potential. The Nernst equation relates the cell potential at nonstandard conditions to the logarithm of the reaction quotient. Concentration cells exploit this relationship and produce a positive cell potential using half-cells that differ only in the concentration of their solutes.

    Key Equations

    • \(E^\circ_\ce{cell}=\dfrac{RT}{nF}\:\ln K\)
    • \(E^\circ_\ce{cell}=\dfrac{\mathrm{0.0257\: V}}{n}\:\ln K=\dfrac{\mathrm{0.0592\: V}}{n}\:\log K \hspace{40px} \mathrm{(at\: 298.15\:\mathit{K})}\)
    • \(E_\ce{cell}=E^\circ_\ce{cell}−\dfrac{RT}{nF}\:\ln Q \hspace{40px} \textrm{(Nernst equation)}\)
    • \(E_\ce{cell}=E^\circ_\ce{cell}−\dfrac{\mathit{0.0257\: V}}{n}\:\ln Q=E^\circ_\ce{cell}−\dfrac{\mathrm{0.0592\: V}}{n}\:\log Q \hspace{40px} \mathrm{(at\: 298.15\:\mathit{K})}\)
    • ΔG = −nFEcell
    • \(ΔG^∘=−nFE^\circ_\ce{cell}\)
    • \(w_\ce{ele}=w_\ce{max}=−nFE_\ce{cell}\)

    Glossary

    concentration cell
    galvanic cell in which the two half-cells are the same except for the concentration of the solutes; spontaneous when the overall reaction is the dilution of the solute
    electrical work (wele)
    negative of total charge times the cell potential; equal to wmax for the system, and so equals the free energy change (ΔG)
    Faraday’s constant (F)
    charge on 1 mol of electrons; F = 96,485 C/mol e
    Nernst equation
    equation that relates the logarithm of the reaction quotient (Q) to nonstandard cell potentials; can be used to relate equilibrium constants to standard cell potentials

    Contributors and Attributions


    This page titled 6.4: The Nernst Equation is shared under a CC BY license and was authored, remixed, and/or curated by OpenStax.