# 5.4: The Nernst Equation

- Last updated

- Save as PDF

- Page ID
- 210169

- Contributed by Paul Flowers, Klaus Theopold & Richard Langley et al.
- General Chemistry at OpenStax CNX

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 (*w*_{ele}) 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}\).

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

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}\).

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?

**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,

&\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.14\: 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;*E*_{cell}= +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

**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 Zn^{2+} 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; [Zn^{2+}]_{cat}= 2.1 \times 10^{−4}*M*.

## Contributors and Attributions

## Summary

Electrical work (*w*_{ele}) is the negative of the product of the total charge (*Q*) and the cell potential (*E*_{cell}). 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*= −*nFE*_{cell} - \(Δ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 (
*w*_{ele}) - negative of total charge times the cell potential; equal to
*w*_{max}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

Paul Flowers (University of North Carolina - Pembroke), Klaus Theopold (University of Delaware) and Richard Langley (Stephen F. Austin State University) with contributing authors. Textbook content produced by OpenStax College is licensed under a Creative Commons Attribution License 4.0 license. Download for free at http://cnx.org/contents/85abf193-2bd...a7ac8df6@9.110).