AP CHEMISTRY • THERMODYNAMICS AND ELECTROCHEMISTRY

Galvanic (Voltaic) and Electrolytic Cells

How spontaneous and non-spontaneous redox reactions interconvert chemical and electrical energy.

Historical Context & Motivation

The study of electrochemistry traces its origins to a famous disagreement between two Italian scientists in the late eighteenth century. Luigi Galvani observed that dissected frog legs twitched when contacted by two different metals, attributing the phenomenon to inherent "animal electricity." Alessandro Volta challenged this interpretation, arguing that the electricity arose from the contact between dissimilar metals themselves rather than from the biological tissue. Volta's insight led him to construct the first true electrochemical cell — the voltaic pile — in 1800, inaugurating the modern field of electrochemistry. Within decades, scientists realized that the same principles governing spontaneous electricity generation could be reversed: electrical energy could drive otherwise non-spontaneous chemical reactions, establishing a duality between galvanic cells and electrolytic cells that remains central to chemistry, industry, and daily life.

1780
Galvani's Frog-Leg Experiments
Luigi Galvani discovers that frog legs twitch when contacted by bimetallic arcs, sparking debate over the origin of "animal electricity" and drawing attention to the link between chemistry and electricity.
1800
Volta's Pile
Alessandro Volta stacks alternating zinc and copper discs separated by brine-soaked cloth, producing a steady electric current — the first galvanic (voltaic) cell and proof that electricity can arise from chemical reactions.
1807
Electrolysis by Davy
Humphry Davy uses electrolysis to isolate potassium and sodium from their molten salts, demonstrating that electrical energy can force non-spontaneous decomposition reactions and opening the door to new element discoveries.
1834
Faraday's Laws of Electrolysis
Michael Faraday quantifies the relationship between the amount of substance deposited at an electrode and the charge passed, establishing the mathematical framework still used in modern electrochemistry.
1889
The Nernst Equation
Walther Nernst derives an equation connecting cell potential to concentration, linking thermodynamics and electrochemistry and enabling prediction of cell behavior under non-standard conditions.

These milestones reveal a unifying question at the heart of electrochemistry: How can oxidation–reduction reactions be harnessed to either generate or consume electrical energy, and what thermodynamic principles govern each direction? Understanding galvanic and electrolytic cells answers this question and connects redox chemistry to real-world applications from batteries to electroplating.

Core Principles & Definitions

Both galvanic and electrolytic cells are built on oxidation–reduction (redox) reactions in which electrons are transferred from one chemical species to another. In any electrochemical cell the oxidation half-reaction occurs at the anode and the reduction half-reaction occurs at the cathode — a mnemonic is "An Ox, Red Cat." The critical distinction between the two cell types lies in the sign of the Gibbs free energy change: galvanic cells exploit spontaneous reactions (ΔG < 0), while electrolytic cells force non-spontaneous reactions (ΔG > 0) by supplying external electrical work.

1

Anode & Cathode

Oxidation always occurs at the anode; reduction always occurs at the cathode. In a galvanic cell the anode is negative (−) and the cathode is positive (+); in an electrolytic cell the polarity is reversed because the external power supply flips the electrode charges.
2

Standard Cell Potential (E°cell)

cell = E°cathode − E°anode. A positive E°cell indicates a spontaneous (galvanic) process; a negative value requires an external voltage (electrolytic).
3

Salt Bridge / Ion Flow

In a galvanic cell, a salt bridge or porous membrane maintains electrical neutrality by allowing migration of spectator ions between half-cell compartments. Without it, charge buildup would halt electron flow almost immediately.
4

Electron Flow Direction

Electrons always flow through the external circuit from anode to cathode in both cell types. The difference is that galvanic cells drive this flow spontaneously, whereas electrolytic cells require an external power supply to push electrons in what would otherwise be the unfavorable direction.
5

ΔG and Spontaneity

The relationship ΔG° = −nFE° connects thermodynamics to electrochemistry. When E°cell > 0, ΔG° < 0 (spontaneous, galvanic). When E°cell < 0, ΔG° > 0 (non-spontaneous, electrolytic).
KEY TAKEAWAY
Think of a galvanic cell like a ball rolling downhill — the reaction proceeds spontaneously and releases energy you can capture as electricity. An electrolytic cell is like pushing that same ball back uphill: you must invest energy (an external voltage) to force the reverse, non-spontaneous reaction. The hill's slope is the cell potential E°, and the height difference corresponds to ΔG°.

Visual Explanation — Galvanic Cell Diagram

A standard Zn/Cu galvanic cell. The zinc anode (violet, left) is oxidized, releasing electrons that travel through the external wire to the copper cathode (cyan, right), where Cu2+ ions are reduced. The salt bridge (dashed) maintains electrical neutrality by allowing anions (NO3) to migrate toward the anode and cations (K+) toward the cathode.

In the diagram above, observe that the zinc electrode gradually dissolves as Zn atoms lose two electrons and enter solution as Zn2+ ions. Simultaneously, Cu2+ ions from the cathode solution accept those electrons and plate out as solid copper on the cathode surface. The voltmeter registers +1.10 V under standard conditions (all species at 1 M concentration, 25 °C, 1 atm). Without the salt bridge, excess positive charge would accumulate in the anode compartment and excess negative charge in the cathode compartment, quickly halting the reaction by creating an opposing electric field. The salt bridge resolves this by providing a conduit for spectator ions to balance the charge.

Mathematical Framework

Electrochemistry connects thermodynamic spontaneity to measurable electrical quantities through several key equations. Mastering these relationships is essential for the AP Chemistry exam, where you are expected to calculate cell potentials, relate them to free energy changes, and predict how concentration shifts affect voltage.

STANDARD CELL POTENTIAL
E°cell = E°cathode − E°anode
cathode and E°anode are standard reduction potentials from a reference table. Both values are looked up as reductions; the subtraction accounts for oxidation at the anode.
GIBBS FREE ENERGY & CELL POTENTIAL
ΔG° = −nFE°cell
n = moles of electrons transferred; F = Faraday's constant (96,485 C/mol e). When E°cell > 0, ΔG° is negative and the reaction is spontaneous (galvanic). When E°cell < 0, ΔG° is positive and external work is required (electrolytic).
NERNST EQUATION
Ecell = E°cell − (RT / nF) × ln Q
R = 8.314 J/(mol·K); T = temperature in K; Q = reaction quotient. At 25 °C this simplifies to Ecell = E°cell − (0.0592 V / n) × log Q. As Q increases (products accumulate), Ecell decreases.
RELATIONSHIP TO EQUILIBRIUM CONSTANT
E°cell = (RT / nF) × ln K → at 25 °C: E°cell = (0.0592 V / n) × log K
At equilibrium, Ecell = 0 and Q = K. A large positive E°cell corresponds to a very large K, meaning the reaction lies far to the right at equilibrium.
💡 AP Exam Tip
The AP Chemistry equation sheet provides the Nernst equation in the form E = E° − (RT/nF) ln Q. You are expected to convert to the log₁₀ form and evaluate at 25 °C. Remember that standard reduction potentials are intensive properties — they do not change when a half-reaction is multiplied by a coefficient.

Electrolytic Cells — Detailed Breakdown

An electrolytic cell uses an external power source — typically a battery or DC power supply — to drive a thermodynamically unfavorable redox reaction. Because the reaction is non-spontaneous, ΔG > 0 and the calculated E°cell under the given conditions is negative. The applied voltage must exceed the magnitude of E°cell (plus any overpotential) to force the reaction forward. Industrial applications of electrolysis include the refining of aluminum via the Hall–Héroult process, electroplating of metals, and the chlor-alkali process for producing Cl2 and NaOH from brine.

Electrolysis of molten NaCl. The external battery forces electrons from the anode (violet, left) to the cathode (cyan, right). Note the reversed polarity compared to a galvanic cell: the anode is now positive and the cathode is negative. Chloride ions migrate to the anode where they are oxidized to Cl2 gas, while Na+ ions migrate to the cathode and are reduced to liquid sodium.

A critical distinction highlighted in the diagram is electrode polarity. In a galvanic cell the anode is negative because it spontaneously releases electrons, while in an electrolytic cell the external battery forces the anode positive and the cathode negative. Despite this polarity flip, the fundamental definitions remain unchanged: oxidation still occurs at the anode and reduction at the cathode. Students frequently lose exam points by confusing polarity with reaction type; remember that the names anode and cathode are defined by the chemistry (oxidation vs. reduction), not by the sign of the electrode.

Comparison of galvanic and electrolytic cells
FeatureGalvanic CellElectrolytic Cell
ΔGNegative (spontaneous)Positive (non-spontaneous)
E°cell signPositiveNegative (must be overcome)
Anode polarityNegative (−)Positive (+)
Cathode polarityPositive (+)Negative (−)
Energy conversionChemical → ElectricalElectrical → Chemical
Salt bridge needed?Yes (separates half-cells)No (single container usually)
ExampleZn/Cu batteryElectrolysis of molten NaCl

Worked Example — Calculating E°cell and ΔG°

Consider a galvanic cell constructed from a standard Ni2+/Ni half-cell and a standard Ag+/Ag half-cell. Given standard reduction potentials: E°(Ag+/Ag) = +0.80 V and E°(Ni2+/Ni) = −0.26 V. Determine the standard cell potential, identify the anode and cathode, and calculate ΔG°.

Ni/Ag Galvanic Cell
1
Step 1 — Identify Cathode and AnodeThe half-cell with the more positive (or less negative) standard reduction potential is the cathode (reduction occurs there). E°(Ag+/Ag) = +0.80 V > E°(Ni2+/Ni) = −0.26 V, so the silver half-cell is the cathode and the nickel half-cell is the anode.
Cathode: Ag⁺/Ag | Anode: Ni/Ni²⁺
2
Step 2 — Write the Half-ReactionsCathode (reduction): Ag⁺(aq) + e⁻ → Ag(s). Anode (oxidation): Ni(s) → Ni²⁺(aq) + 2e⁻. To balance electrons, multiply the cathode reaction by 2: 2 Ag⁺(aq) + 2e⁻ → 2 Ag(s). Note: multiplying does NOT change E° values.
3
Step 3 — Calculate E°cellcell = E°cathode − E°anode = (+0.80 V) − (−0.26 V) = +1.06 V. The positive value confirms the cell is galvanic (spontaneous).
E°cell = +1.06 V
4
Step 4 — Calculate ΔG°ΔG° = −nFE°cell. Here n = 2 mol e⁻ (from the balanced equation). ΔG° = −(2)(96,485 C/mol)(1.06 V) = −204,548 J = −204.5 kJ. The large negative value indicates a strongly product-favored reaction.
ΔG° = −204.5 kJ (spontaneous)
5
Step 5 — Write the Overall Cell NotationCell notation convention places the anode on the left and the cathode on the right, with a double vertical line representing the salt bridge: Ni(s) | Ni²⁺(aq, 1 M) ‖ Ag⁺(aq, 1 M) | Ag(s). A single vertical bar denotes a phase boundary.
Ni(s) | Ni²⁺(aq) ‖ Ag⁺(aq) | Ag(s)

Strengths, Limitations & Real-World Context

Galvanic and electrolytic cells each have distinct practical advantages and limitations that make them suited to different applications. Understanding these trade-offs helps contextualize why certain technologies — from lithium-ion batteries to electroplating lines — are designed the way they are.

Practical comparison of galvanic vs. electrolytic cells
AspectGalvanic CellsElectrolytic Cells
AdvantagesPortable energy source; no external power needed; wide range of electrode materials availableCan produce elements/compounds not obtainable by other means; precise control over deposition
LimitationsFinite reactant supply; voltage decreases as Q increases; side reactions can reduce efficiencyRequires continuous energy input; overpotential increases energy cost; electrode degradation
Common applicationsBatteries (alkaline, lithium-ion), fuel cells, corrosion-driven processesElectroplating, aluminum refining, chlor-alkali process, water splitting
Rechargeable?Primary cells: no. Secondary cells (e.g., Li-ion): yes — they switch between galvanic (discharge) and electrolytic (charge) modesInherently requires external power, but the products may be stored and later used in a galvanic configuration
KEY TAKEAWAY
A rechargeable battery elegantly unifies both cell types: during discharge it operates as a galvanic cell, converting stored chemical energy to electrical energy; during charging it operates as an electrolytic cell, with an external charger reversing the redox reaction and restoring the original reactants. This reversibility is analogous to a hydroelectric dam: releasing water (galvanic mode) generates electricity, while pumping water back uphill during off-peak hours (electrolytic mode) stores energy for later use.

Connection to Advanced Theory

The electrochemistry you encounter on the AP Chemistry exam provides the foundation for several advanced topics in physical chemistry, materials science, and chemical engineering. The Nernst equation, for instance, is a special case of the more general thermodynamic relationship between chemical potential and activity. In advanced coursework, you will encounter concepts such as overpotential (the additional voltage required beyond the thermodynamic minimum to drive electrolysis at a practical rate), Butler–Volmer kinetics (which model how current depends on electrode potential), and concentration cells (galvanic cells where the same species appears in both half-cells at different concentrations, producing a voltage solely from the entropy of mixing).

From AP Chemistry to advanced electrochemistry
AP Chemistry LevelAdvanced / Physical Chemistry
E°cell = E°cathode − E°anodeExtended to multi-electron, multi-step reactions using formal potentials and activity coefficients
Nernst equation with concentrationsNernst equation with thermodynamic activities (a = γ × m); Debye–Hückel theory for activity coefficients
ΔG° = −nFE°cellNon-standard states; temperature dependence via Gibbs–Helmholtz equation; entropy of cells from dE°/dT
Faraday's law (mass = ItM/nF)Faradaic efficiency; competing side reactions; coulometric analysis
Qualitative understanding of batteriesSolid-state electrolytes, SEI layers, dendrite growth, cycle-life degradation modeling

For now, focus on mastering the standard-state calculations and conceptual distinctions. Once you are comfortable with E°, ΔG°, K, and the Nernst equation, you will have a robust platform for exploring the kinetic and materials-science dimensions of electrochemistry in future courses.

Practice Problems

1
In an operating galvanic cell, which statement correctly describes the roles of the electrodes and the direction of electron flow?
2
A galvanic cell is constructed using the half-reactions: Fe²⁺(aq) + 2e⁻ → Fe(s), E° = −0.44 V and Cu²⁺(aq) + 2e⁻ → Cu(s), E° = +0.34 V. What is the standard cell potential E°cell?
3
A Zn/Cu galvanic cell (E°cell = +1.10 V) operates at 25 °C with [Zn²⁺] = 0.010 M and [Cu²⁺] = 2.0 M. Using the Nernst equation in the form E = E° − (0.0592/n) × log Q, what is the cell potential under these conditions?
PROBLEM 4APPLIED
A student wishes to electroplate a copper spoon with silver using a solution of AgNO₃. (a) Draw and label a diagram of the electrolytic cell, identifying the anode, cathode, direction of electron flow, and direction of ion migration. (b) Write the balanced half-reactions and the overall cell reaction. (c) Calculate the mass of silver deposited if a current of 2.50 A is applied for 45.0 minutes. (Molar mass of Ag = 107.87 g/mol; F = 96,485 C/mol e⁻) (d) Explain why the student must use an external power supply rather than relying on a spontaneous reaction.
PROBLEM 5CRITICAL THINKING
A student measures the cell potential of a Zn/Cu galvanic cell at 25 °C while varying [Cu²⁺]. The standard cell potential is E° = 1.10 V, and the net ionic equation is Zn(s) + Cu²⁺(aq) → Zn²⁺(aq) + Cu(s). The data are shown below. | Trial | [Cu²⁺] (M) | [Zn²⁺] (M) | Ecell (V) | |-------|-------------|-------------|----------| | 1 | 1.00 | 1.00 | 1.10 | | 2 | 0.10 | 1.00 | 1.07 | | 3 | 0.010 | 1.00 | 1.04 | | 4 | 0.0010 | 1.00 | 1.01 | (a) Using the data, demonstrate that the cell obeys the Nernst equation by calculating the expected Ecell for Trial 3 and comparing it to the measured value. (b) Predict Ecell if [Cu²⁺] = 0.0010 M and [Zn²⁺] = 0.10 M. Explain your reasoning. (c) Explain in thermodynamic terms why Ecell decreases as [Cu²⁺] decreases. (d) If the cell is allowed to run until equilibrium is reached, what will Ecell equal, and what does this imply about the value of Q at that point?

Lesson Summary

Galvanic (voltaic) cells convert the energy of spontaneous redox reactions (ΔG < 0, E°cell > 0) into electrical work, with the anode (−) undergoing oxidation and the cathode (+) undergoing reduction. Electrolytic cells reverse this process, using an external power source to drive non-spontaneous reactions (ΔG > 0), with the anode becoming positive and the cathode negative.

The standard cell potential is calculated as E°cell = E°cathode − E°anode and is linked to thermodynamics through ΔG° = −nFE°cell. The Nernst equation adjusts E for non-standard concentrations via the reaction quotient Q, and at equilibrium Ecell = 0 and Q = K, connecting electrochemistry to the equilibrium constant. Master these relationships and the distinction between the two cell types, and you will be well prepared for any electrochemistry question on the AP Chemistry exam.

Varsity Tutors • AP Chemistry • Galvanic (Voltaic) and Electrolytic Cells