SimuveliqLearnEspañolOpen the simulators
Learn › Chemistry

Electrochemistry: cells, Nernst and electrolysis

A battery turns a chemical reaction into electric current, and an electrolytic cell uses current to force a reaction that would not happen on its own: that is how batteries are charged, parts are copper-plated and aluminum and chlorine are produced. This topic explains oxidation and reduction, balancing by the half-reaction (ion–electron) method, how a cell works (anode, cathode, salt bridge and its notation), standard potentials, the link between E°, ΔG° and K, the Nernst equation and Faraday's laws of electrolysis, and shows how to solve each case in the Electrochemistry tool.

Oxidation, reduction and half-reactions

If a zinc strip is dipped into a blue copper(II) sulfate solution, within minutes the strip is covered with a reddish copper powder and the blue fades. Each zinc atom that goes into solution hands two electrons to a Cu²⁺ ion, which becomes metallic copper:

It is a redox reaction (reduction and oxidation): a transfer of electrons. It is easier to understand split into two half-reactions, each with its electrons written explicitly:

  • Oxidation: a species loses electrons and its oxidation number goes up (Zn goes from 0 to +2).
  • Reduction: a species gains electrons and its oxidation number goes down (copper goes from +2 to 0).
  • The reducing agent is the one that is oxidized (it gives up the electrons: here Zn) and the oxidizing agent is the one that is reduced (it accepts them: Cu²⁺). There is no oxidation without reduction: the electrons one loses, the other gains.
ZnZn²⁺Cu²⁺Cu2 e⁻reducing agentoxidizing agentoxidation: loses 2 e⁻oxidation number 0 → +2reduction: gains 2 e⁻oxidation number +2 → 0
Zinc gives up two electrons (it is oxidized, it is the reducing agent) and the copper(II) ion receives them (it is reduced, it is the oxidizing agent). In the direct reaction the electrons pass at the contact between the strip and the solution, and the energy is released as heat.

Oxidation numbers

With polyatomic ions, which species is oxidized and which is reduced is found with oxidation numbers:

  • A free element (Zn, Cu, H₂, O₂) has oxidation number 0, and a single-atom ion, its charge (Zn²⁺: +2; Cl⁻: −1).
  • Oxygen is usually −2 (−1 in peroxides) and hydrogen +1 (−1 in metal hydrides).
  • The sum of the oxidation numbers is the charge of the species. In MnO₄⁻: x + 4(−2) = −1, so manganese is +7; in Mn²⁺ it is +2. Going from MnO₄⁻ to Mn²⁺, each manganese gains 5 electrons: permanganate is a strong oxidizing agent.
Tables of potentials write every half-reaction as a reduction (the electrons on the left), and the tool asks for them that way too. The oxidation is the same equation read backwards: there is no need to type it.

Balancing by the half-reaction (ion–electron) method

A redox equation has to satisfy two balances: atoms (the same number of each element on both sides) and charge (the same total charge on both sides). Reactions with oxoanions such as MnO₄⁻, Cr₂O₇²⁻ or NO₃⁻ are hard to balance by inspection, because water and the H⁺ or OH⁻ ions of the medium take part. The half-reaction method does it in steps, one half-reaction at a time. This is how the oxidation of iron(II) by permanganate in acid is balanced:

StepWhat is donePermanganate half-reaction
1Split into two half-reactions and balance the element whose oxidation number changesMnO₄⁻ → Mn²⁺
2Balance oxygen with H₂OMnO₄⁻ → Mn²⁺ + 4H₂O
3Balance hydrogen with H⁺MnO₄⁻ + 8H⁺ → Mn²⁺ + 4H₂O
4Balance the charge with electrons (+7 on the left, +2 on the right: 5 e⁻ are missing on the left)MnO₄⁻ + 8H⁺ + 5e⁻ → Mn²⁺ + 4H₂O
5Multiply each half-reaction so that the electrons gained equal those lost× 1, and the iron one (Fe²⁺ → Fe³⁺ + e⁻) × 5
6Add, cancel the electrons and repeated species, and checkMnO₄⁻ + 8H⁺ + 5Fe²⁺ → Mn²⁺ + 4H₂O + 5Fe³⁺

Check: Mn 1 = 1, O 4 = 4, H 8 = 8, Fe 5 = 5; charge on the left −1 + 8 + 10 = +17 and on the right +2 + 15 = +17. The 5 electrons manganese gains are the 5 that the five Fe²⁺ lose. The number of electrons that cancel in the sum is called n and appears again in ΔG° = −nFE° and in the Nernst equation: here n = 5.

Basic solution

In a basic solution there is almost no H⁺, so none may remain in the equation. It is balanced as if it were acidic and then as many OH⁻ as there are H⁺ are added to both sides; each H⁺ + OH⁻ forms a water molecule, and the repeated waters are simplified. For the hydrogen electrode:

And for oxygen, which in acid is O₂ + 4H⁺ + 4e⁻ → 2H₂O: adding 4 OH⁻ gives O₂ + 4H₂O + 4e⁻ → 2H₂O + 4OH⁻, and removing two waters from each side, O₂ + 2H₂O + 4e⁻ → 4OH⁻. Likewise permanganate, which in basic solution is reduced to MnO₂ (not to Mn²⁺): MnO₄⁻ + 4H⁺ + 3e⁻ → MnO₂ + 2H₂O becomes MnO₄⁻ + 2H₂O + 3e⁻ → MnO₂ + 4OH⁻. The product depends on the medium, which is why the problem must say whether it is acidic or basic.

The tool does not balance for you: it checks what you type. Under each «Half-reaction (reduction)» box it says «✓ balanced» with the number of electrons n, or explains what is wrong: «It is not balanced in atoms», with the atoms on each side, or «The charge does not match», and if only electrons are missing, how many. It is useful for checking each step of the method; then the «Galvanic cell» view multiplies and adds the two half-reactions and writes the overall reaction.

The galvanic cell

In the direct reaction of zinc with Cu²⁺ the electrons pass at the contact and the energy comes out as heat. If the two half-reactions take place in separate vessels, joined by a wire and a salt bridge, the electrons can only go from zinc to copper through the wire, and that current does electrical work: lighting a lamp, turning a motor. It is a galvanic (or voltaic) cell: it turns chemical energy into electrical energy, and the zinc–copper one is known as the Daniell cell.

salt bridge (KNO₃)NO₃⁻K⁺ZnCu1.10 Ve⁻e⁻−+Zn²⁺(aq)SO₄²⁻(aq)Cu²⁺(aq)SO₄²⁻(aq)Anode (−): oxidationCathode (+): reductionZn → Zn²⁺ + 2e⁻Cu²⁺ + 2e⁻ → Cu
Daniell cell under standard conditions. The electrons leave the zinc anode (− pole), where Zn is oxidized, and reach the copper cathode (+ pole) through the wire, where Cu²⁺ is reduced. Through the salt bridge the anions (NO₃⁻) move toward the anode and the cations (K⁺) toward the cathode: they close the circuit and keep each solution neutral. The voltmeter reads E° = 0.34 − (−0.76) = 1.10 V, with the E° values of the exercise.
  • Anode: the electrode where oxidation takes place. In a galvanic cell it is the negative pole: the electrons leave it toward the circuit.
  • Cathode: the electrode where reduction takes place. In a galvanic cell it is the positive pole: the electrons arrive at it.
  • The electrons travel through the wire, from the anode to the cathode; they never cross the solution. Ions move through the solution and the bridge.
  • The salt bridge (a tube with a KNO₃ or KCl gel) closes the circuit. Without it, the anode compartment would become positively charged (Zn²⁺ appears) and the cathode one negatively charged (Cu²⁺ disappears), and the current would stop at once. Its anions migrate toward the anode and its cations toward the cathode.
  • A rule to remember it: «an ox» (anode, oxidation) and «red cat» (reduction, cathode).

The voltmeter measures the potential difference between the electrodes while almost no current flows. With every dissolved species at 1 mol/L, gases at 1 atm (or 1 bar) and 25 °C, that difference is the standard cell potential, E°. With other concentrations a different value, E, is measured, given by the Nernst equation.

Cell notation

A cell is described in one line, with the anode on the left: a single bar «|» separates two phases (the metal from its solution), a double bar «‖» stands for the salt bridge, and species in the same phase are separated by commas. When no species of the half-reaction is a conducting metal (Fe³⁺/Fe²⁺, MnO₄⁻/Mn²⁺, H⁺/H₂), the electrode is made of an inert material, usually platinum:

The tool writes the notation with the state of each species: dissolved ions (aq), liquid water (l), the usual gases (g) and solid metals and salts (s).

Standard electrode potentials

The potential of a single electrode cannot be measured: a voltmeter always compares two. That is why a reference is chosen, the standard hydrogen electrode (platinum in 1 mol/L H⁺ with H₂ at 1 bar), and it is assigned E° = 0 V by definition for 2H⁺ + 2e⁻ → H₂. The standard reduction potential of any other half-reaction is the E° of the cell it forms as the cathode against that electrode, under standard conditions. It is positive if its oxidized form is reduced more easily than H⁺, and negative if not.

Both half-reactions are written as reductions, each with its E°. The one with the higher E° is the one reduced: it is the cathode. The other is reversed, oxidized and is the anode. That way E°cell comes out positive, which is what corresponds to the spontaneous reaction. A high E° means a strong oxidizing agent (MnO₄⁻, O₂) and a very negative E°, a strong reducing agent (Al, Zn). What counts is which is higher, not the sign: with nickel (−0.25 V) and aluminum (−1.66 V), both negative, nickel is the cathode and E° = 1.41 V.

MnO₄⁻/Mn²⁺ 1.51O₂/H₂O 1.23Ag⁺/Ag 0.80Fe³⁺/Fe²⁺ 0.77Cu²⁺/Cu 0.34AgCl/Ag 0.22H⁺/H₂ 0.00Ni²⁺/Ni −0.25Zn²⁺/Zn −0.76Al³⁺/Al −1.661.10 V0.74 V↑ stronger oxidizing agents↓ stronger reducing agents
The E° values of this topic's exercises on one scale (they are data from the problem statements, the same as the tool's examples; this is not a reference table). E°cell is the distance between the two couples: 1.10 V for zinc and copper (Daniell cell) and 0.74 V for permanganate and iron. The upper couple is always the cathode.

E° is not multiplied by the coefficients. If a half-reaction is multiplied by 2 to match the electrons, its E° stays the same: potential is energy per unit charge, and doubling the reaction doubles both the energy and the charge. That is why in the silver–copper cell E° = 0.80 − 0.34 = 0.46 V even though the silver one is multiplied by 2. What does change with the coefficients is ΔG°, which is energy per mole of reaction as written.

Simuveliq does not include a table of standard potentials: each E° is typed into the «E° (from your table or the exercise)» box, taken from the problem or from your course's table. The values in this topic are exercise data. If your table gives another figure, use yours: the tool computes with what you type, and warns you if an E° is outside the usual range (about −3 V to +3 V).

Electrical work, ΔG° and K

Moving a charge q through a potential difference E costs (or yields) work w = qE: one volt is one joule per coulomb. In the reaction as written, n moles of electrons are transferred, and each mole carries the charge of one mole of electrons, the Faraday constant:

The maximum electrical work a cell can deliver (when it runs reversibly, with a very small current) equals the decrease in its Gibbs energy. Since the charge that passes is nF:

And equilibrium thermodynamics gives ΔG° = −RT ln K. Equating the two expressions of ΔG° gives the equilibrium constant of the reaction from its standard potential:

At 25 °C, with R = 8.314462 J/(mol·K) (also exact in the SI) and T = 298.15 K, the factor 2.303RT/F equals 0.05916 V, and the relations become:

E°ΔG°KUnder standard conditions
positivenegativegreater than 1the reaction is spontaneous; products predominate at equilibrium
001at equilibrium: no net reaction
negativepositiveless than 1not spontaneous as written (the reverse is); reactants predominate

An E° of a few tenths of a volt already gives huge constants. With n = 1, every 59.16 mV of E° multiplies K by 10; with n = 2, every 29.58 mV. The Daniell cell (1.10 V, n = 2) has log K = 37.19: in practice the reaction goes to completion.

−0.6−0.30.00.30.60.91.2−20−10010203040506070Cell E° (V)log₁₀ Kn = 1n = 2n = 3AB
log K against E° at 25 °C: straight lines through the origin with slope n/0.05916 V. A: dissolving AgCl, E° = −0.5765 V with n = 1, log K = −9.745 (K is the Ksp, example 7). B: the Daniell cell, E° = 1.10 V with n = 2, log K = 37.19.

ΔG° depends on how the reaction is written: doubling it doubles n and ΔG°, squares K and leaves E° unchanged. And when two half-reactions are combined to give another half-reaction (the electrons do not cancel), what adds up are the ΔG° values, not the E°: E°₃ = (n₁E°₁ + n₂E°₂)/n₃. In a cell the E° values are subtracted because the electrons cancel and n is the same in both halves.

The Nernst equation

Away from standard conditions, the Gibbs energy of the reaction depends on the concentrations through the reaction quotient Q: ΔG = ΔG° + RT ln Q. Substituting ΔG = −nFE and ΔG° = −nFE° and dividing by −nF:

This is the Nernst equation. Every factor of 10 in Q lowers the potential by 59.16/n mV at 25 °C. If Q = 1 (everything at standard conditions), E = E°; if there are more reactants than in the standard state (Q < 1), the cell gives more than E°; with more products, less. When the reaction reaches equilibrium, Q = K and E = 0: the cell is dead. The same equation holds for a single electrode, written as a reduction, with its own Q (products of the reduction on top, reactants below).

−4−3−2−101234560.70.80.91.01.11.21.31.4log₁₀ QE (V)n = 2n = 1AB
The Nernst equation for the Daniell cell (n = 2): a straight line with a slope of −29.58 mV per unit of log Q. A: Q = 1, E = E° = 1.10 V. B: [Cu²⁺] = 0.010 M and [Zn²⁺] = 1.0 M, Q = 100, E = 1.0408 V (example 4). The dashed line, with the same E° and n = 1, falls twice as fast. The cell runs down at Q = K = 1.54×10³⁷ (log Q = 37.19), far to the right.

What goes into Q

  • Dissolved species, with their concentration in mol/L (divided by 1 mol/L: Q has no units), raised to their coefficient.
  • Gases, with their partial pressure divided by the standard pressure P° (1 atm or 1 bar: the difference in E is under 1 mV).
  • Pure solids and liquids and the solvent water do not enter (their activity is 1): in the Daniell cell, Q = [Zn²⁺]/[Cu²⁺].
  • H⁺ does enter when it appears in the half-reaction, with its coefficient. Permanganate carries [H⁺]⁸: with [MnO₄⁻] = 0.10 M, [Mn²⁺] = 0.010 M and pH 2, Q = 0.010/(0.10 × (10⁻²)⁸) = 10¹⁵ and E = 1.51 − (0.05916/5) × 15 = 1.3325 V. At pH 2 permanganate already oxidizes 0.18 V less than in 1 M H⁺.

How a cell runs down

While the Daniell cell works, Cu²⁺ is used up and Zn²⁺ builds up, so Q grows and E falls. But since E depends on the logarithm of Q, the voltage stays almost constant during nearly the whole life of the cell and only drops at the end:

0204060801000.951.001.051.101.15Cu²⁺ used up (%)E (V)ABC
A Daniell cell starting with 1.0 M of each ion in equal volumes: with half the Cu²⁺ used up it reads 1.0859 V (A), with 90 %, 1.0622 V (B), and with 99 %, still 1.0320 V (C). It is the Nernst equation with Q = (1 + x)/(1 − x), where x is the fraction of Cu²⁺ used up.

Temperature. The factor RT/nF is proportional to the absolute temperature: at 37 °C, 2.303RT/F is 0.06154 V instead of 0.05916 V. The tool accepts any temperature in the «Nernst equation» view and uses the E° at 25 °C (the usual textbook approximation: temperature only changes RT/nF), and says so in a notice. The Daniell cell with [Cu²⁺] = 0.010 M reads 1.0408 V at 25 °C and 1.0385 V at 37 °C.

Concentration cells

With the same half-reaction in both compartments and different concentrations there is a voltage too: E° cancels and only the Nernst term remains. The more concentrated compartment has the higher potential and is the cathode (its Cu²⁺ deposits and becomes more dilute); the dilute one is the anode (its copper dissolves and makes it more concentrated). The cell works until both concentrations are equal:

salt bridge (KNO₃)NO₃⁻K⁺CuCu0.0887 Ve⁻e⁻−+Cu²⁺ 0.0010 MCu²⁺ 1.0 MAnode (−): oxidationCathode (+): reductionCu → Cu²⁺ + 2e⁻Cu²⁺ + 2e⁻ → Cu
Copper concentration cell: 0.0010 M Cu²⁺ at the anode and 1.0 M at the cathode. E = (0.05916/2) × log 1000 = 0.0887 V (example 6).

pH with a hydrogen electrode

A hydrogen electrode dipped in a solution of unknown pH, connected to a reference electrode, gives a voltage that depends linearly on pH. Against a Zn electrode in 1 M Zn²⁺ and with H₂ at 1 atm, Q = 1/[H⁺]² and the Nernst equation with n = 2 becomes E = 0.76 − 0.05916·pH: every pH unit lowers the voltage by 59.16 mV. pH meters use a glass electrode rather than a hydrogen one, but their response follows the same Nernst slope.

0246810120.00.20.40.60.8pHCell E (V)P
E of the H⁺/H₂ ‖ Zn²⁺/Zn cell against pH (H₂ at 1 atm, 1 M Zn²⁺, E° from the data of example 5): a straight line with a slope of −59.16 mV per pH unit. P: the cell reads 0.54 V, so the pH is (0.76 − 0.54)/0.05916 = 3.719.

Electrolytic cells

If a cell is fed from outside with a voltage greater than its own and in the opposite direction, the electrons flow backwards and the non-spontaneous reaction is forced to happen: it is electrolysis, and the vessel is an electrolytic cell.

−+2.00 A · 1.00 he⁻e⁻−+2.371 g Cu0.4564 L O₂Cu²⁺SO₄²⁻Cathode (−): reductionAnode (+): oxidationCu²⁺ + 2e⁻ → Cu2H₂O → O₂ + 4H⁺ + 4e⁻
Electrolysis of CuSO₄ with inert electrodes. The source pushes electrons into the cathode (− pole), where Cu²⁺ is reduced and copper is deposited; at the anode (+ pole) water is oxidized and oxygen is given off. With 2.00 A for 1.00 h, 2.371 g of copper are deposited and 0.4564 L of O₂ come out at 25 °C and 1 atm (example 8). The cations move toward the cathode and the anions toward the anode.
Galvanic cellElectrolytic cell
Reactionspontaneous: ΔG < 0, E > 0non-spontaneous: ΔG > 0, forced by a source
Energychemical → electricalelectrical → chemical
Anodeoxidation, − poleoxidation, + pole
Cathodereduction, + polereduction, − pole
ExampleDaniell cell, fuel cellcopper plating, electrolysis of water, charging a battery

In both, the anode is where oxidation happens and the cathode where reduction happens; what changes is the sign of the poles. The minimum voltage for an electrolysis is, in theory, the E of the reverse cell (1.23 V to split water under standard conditions), but in practice more is needed because of the resistance of the solution and the overpotential of the electrodes, above all when gases are formed.

What forms at each electrode. At the cathode cations are reduced: the metal is deposited (Cu, Ag, Ni) or, if the metal is very active (Na, K, Al in aqueous solution), water is reduced and H₂ comes off. At the anode anions or water are oxidized: O₂, Cl₂, Br₂ or I₂ come off. The tool decides it in «Formed at» with the «automatic» option: O₂, Cl₂, Br₂, I₂ and F₂ at the anode and everything else at the cathode, and it can be changed by hand.

Faraday's laws of electrolysis

The amount of product of an electrolysis is found by counting electrons. A constant current I for a time t carries a charge Q = I·t (one coulomb is one ampere times one second). Each mole of electrons carries F = 96485 C, so Q/F moles of electrons pass. If each formula unit of the product needs z electrons (Cu²⁺ + 2e⁻ → Cu: z = 2; Ag⁺ + e⁻ → Ag: z = 1; 2H₂O → O₂ + 4H⁺ + 4e⁻: z = 4 per O₂), n = Q/(zF) moles are formed, with a mass m = n·M:

  • First law: the mass formed at an electrode is proportional to the charge passed (twice the current or the time, twice the product).
  • Second law: with the same charge, the masses of different substances are proportional to M/z (their equivalent mass). Two cells in series, one of copper and one of silver, deposit masses in the ratio 107.87/(63.546/2) = 3.395.
  • The current efficiency η (0 to 100 %) is the share of the charge that goes into the wanted reaction; the rest is lost in side reactions (for example, H₂ at the cathode). If the product is a gas, its volume is V = nRT/P.
0.00.51.01.52.00369121518t (h) with I = 2.00 Am (g)Ag (z = 1)Cu (z = 2)Al (z = 3)ABC
Mass deposited with 2.00 A against time: straight lines (first law) whose slope is M/(zF) (second law). In 1.00 h (7200 C): A, 8.049 g of silver; B, 2.371 g of copper; C, 0.6711 g of aluminum. Aluminum, with z = 3 and a small M, needs twelve times more charge than silver per gram.
Unit of chargeIn coulombsWhere it appears
C1A·s: the SI unit
A·h3600capacity of large batteries and electrolysis tanks
mA·h3.6capacity of small batteries (a phone, a few thousand mA·h)
mol e⁻96485one faraday: 26.80 A·h per mole of electrons

How to use the simulator

The tool is in Chemistry → Electrochemistry. At the top of the «Data» panel, under «What do you want to compute?», there are four views; each has its own «Examples» list and its numbered boxes, and the result appears on the right (below on a phone) in a card named after the view, with a figure and the «Step by step» card, whose «Detailed solution (PDF)» button opens the full solution with its formulas.

ViewWhat you typeWhat it gives
«Galvanic cell»two reduction half-reactions with their E°cathode and anode, E°, n, overall reaction, notation, ΔG° and K at 25 °C, and the drawing of the cell
«Nernst equation»one electrode, a cell or a concentration cell, the temperature and the concentrations; one empty boxE, E°, a concentration, a pressure or the pH; Q, ΔG and the line E against log Q
«E°, ΔG° and K»n, the temperature and one of E°, ΔG° or Kthe other two (or n or T if there are extra data)
«Electrolysis (Faraday)»the substance, z, and whatever you know of current, time, charge, efficiency and masswhatever is missing: mass, moles, gas volume, time, current, charge, efficiency or molar mass

Galvanic cell

  • In «The two half-reactions» there are two boxes, «Half-reaction 1» and «Half-reaction 2». In each, type the «Half-reaction (reduction)» as text, with « + » between species and an arrow: Cu2+ + 2e- -> Cu, MnO4- + 8H+ + 5e- -> Mn2+ + 4H2O. Charges go attached or with ^ (Fe^3+), and the state is optional: Cu(s), H2(g).
  • In «E° (from your table or the exercise)» type the reduction potential in volts. The order does not matter: the tool picks the one with the higher E° as the cathode.
  • Under each half-reaction you see how it was read: «balanced» with n, or the error. If you type the electrons on the right it warns: «The electrons are on the right: that is an oxidation.»
  • The result gives «Standard potential E°cell», «Electrons transferred», «ΔG° = −nFE°» and «K at 25 °C», and below «Cathode (+), reduction», «Anode (−), oxidation», «Overall reaction» and «Cell notation», with the drawing of the cell (anode on the left, electrons through the wire, ions through the bridge).
  • The «With other concentrations (Nernst) →» button copies both half-reactions to the «Nernst equation» view with everything at 1 mol/L, ready for changing the concentrations.

Nernst equation

  • In «Which system?» choose «One electrode», «A cell» or «Concentration cell». For one electrode there is a single «Electrode half-reaction»; for a concentration cell, «The same half-reaction in both compartments», without E° (it cancels).
  • In «Concentrations and pressures» type the «Temperature» and, for every species that enters Q, its value: dissolved ones in «mol/L» or «mmol/L», gases in atm, bar, kPa or mmHg, and H⁺ also as «pH» (choose it as its unit). Solids and water appear under «Not in Q (activity 1)». With gases the «Standard pressure P°» can be chosen.
  • In «Potential», the «Cell E» box (or «Electrode E»). Leave a single box empty, the one you are looking for. If you leave two, it says «Missing data: leave empty only what you are looking for.»; if you type everything, it checks whether it agrees («There are extra data and they agree» or «The data do not agree»).
  • The result gives «Cell potential E» (or «Electrode potential E»), E°, the «Reaction quotient Q» with log Q, and for a cell «ΔG = −nFE»; the figure is the Nernst line with the present point, Q = 1 (E = E°) and Q = K (E = 0). If E comes out negative, it warns that the cell runs backwards.

E°, ΔG° and K

  • In «The reaction», «Electrons transferred n» and the «Temperature»; in «What you know (one is enough)», one of «E° of the cell», «ΔG°» (in kJ/mol or J/mol) and «K (equilibrium constant)», which can also be typed as «log K».
  • With two of the three and n empty it computes n (or T if the temperature is empty). It checks the signs: E° and ΔG° must have opposite signs, and E° and ln K the same one. The figure joins the three values, with the given ones in one color and the computed ones in another.

Electrolysis (Faraday)

  • In «The substance formed», the «Formula or molar mass» (Cu, Ag, H2, O2, or a number in g/mol), the «e⁻ per formula unit z» and «Formed at» («automatic», «the cathode (reduction)» or «the anode (oxidation)»).
  • In «Current and time», «Current I», «Time t», «Charge Q» (in C, «A·h», «mA·h» or «mol e⁻») and «Efficiency η»; in «Amount of product», «Mass m» and «Moles n», and if the product is a gas, «Gas volume V» with its temperature and pressure.
  • Type what the problem gives and leave empty what you are looking for: any of them can be the unknown, also the efficiency, z or the molar mass (without a formula, it names the elements with a similar molar mass). The cards mark each value as «computed» or «given».
The tool uses F = 96485.33 C/mol and R = 8.314462 J/(mol·K), exact in the SI, and the site's standard atomic masses. The steps write 96485 and 8.314 to read better, but compute with every digit; that is why a hand calculation with rounded values may differ in the last digit.

Common mistakes

  • Multiplying E° by the coefficients. The half-reactions are multiplied to match the electrons, but not their potentials: E° is intensive.
  • Changing the sign of E° and also subtracting. With E°cell = E°cathode − E°anode and both reduction E° values, the subtraction already «reverses» the anode. Changing its sign as well counts it twice.
  • Mixing up the signs of the poles. The anode is always where oxidation happens, but in a galvanic cell it is the − pole and in electrolysis the + pole.
  • Using the wrong n. n is the number of electrons that cancel in the overall reaction (the lcm of those of the two half-reactions), not that of one of them: in the nickel–aluminum cell, n = 6.
  • Putting solids or water into Q. Solids, pure liquids and the solvent water have activity 1 and do not enter the Nernst equation.
  • Forgetting the exponent of H⁺. In MnO₄⁻ + 8H⁺ + 5e⁻, H⁺ is raised to the 8th power: pH weighs heavily on the potential.
  • Writing Q upside down. In the Nernst equation, Q has products on top and reactants below, like K, for the reaction as written (the overall one for a cell, or the reduction for one electrode).
  • Using 0.05916 at another temperature. That number is 2.303RT/F at 25 °C; at 37 °C it is 0.06154.
  • Forgetting z or the time in seconds. In Faraday's laws the charge goes in coulombs (hours × 3600), and z is the number of electrons per formula unit of the product: 4 for O₂, not 2.

Worked examples

Each example opens in the tool with its button. The E°, ΔG° and Ksp values in the statements are exercise data.

Example 1The Daniell cell

A zinc strip in 1 M ZnSO₄ and a copper strip in 1 M CuSO₄ are joined by a wire and a salt bridge. Data: E°(Cu²⁺/Cu) = +0.34 V and E°(Zn²⁺/Zn) = −0.76 V. Find the cathode and the anode, E°, the overall reaction, the cell notation, ΔG° and K at 25 °C.

Solution

  1. The higher E° is copper's (+0.34 > −0.76): cathode, Cu²⁺ + 2e⁻ → Cu. Zinc is oxidized at the anode: Zn → Zn²⁺ + 2e⁻.
  2. V.
  3. Both carry 2 electrons: n = 2 and they add as they are: Cu²⁺ + Zn → Cu + Zn²⁺. Notation: Zn(s) | Zn²⁺(aq) ‖ Cu²⁺(aq) | Cu(s).
  4. J/mol kJ/mol.
  5. , → : the Cu²⁺ is used up completely.
Cathode Cu, anode Zn; E° = 1.10 V; n = 2; ΔG° = −212.3 kJ/mol; K = 1.54×10³⁷.

Solve it in Simuveliq

  1. In «Galvanic cell», the example «Daniell cell: zinc and copper» (the button opens it). The cards give «Standard potential E°cell» 1.10 V, «Electrons transferred» n = 2, «ΔG° = −nFE°» −212.3 kJ/mol and «K at 25 °C» 1.54×10³⁷ with log K = 37.19.
  2. Below, «Overall reaction» and «Cell notation» with the same as above, and the drawing with the zinc anode (−) on the left. Swap the order of the half-reactions: the result does not change.

Example 2Permanganate and iron(II): balancing and potential

In acid solution, permanganate oxidizes Fe²⁺. Balance the reaction by the half-reaction method and find E°, n, ΔG° and K. Data: E°(MnO₄⁻/Mn²⁺) = 1.51 V and E°(Fe³⁺/Fe²⁺) = 0.77 V.

Solution

  1. Permanganate half-reaction (table of the method): MnO₄⁻ + 8H⁺ + 5e⁻ → Mn²⁺ + 4H₂O; the iron one: Fe³⁺ + e⁻ → Fe²⁺.
  2. Cathode: MnO₄⁻ (1.51 > 0.77). Anode: iron, reversed and multiplied by 5 to match the electrons: 5Fe²⁺ → 5Fe³⁺ + 5e⁻. n = lcm(5, 1) = 5.
  3. Sum: MnO₄⁻ + 8H⁺ + 5Fe²⁺ → Mn²⁺ + 4H₂O + 5Fe³⁺. V (not multiplied by 5).
  4. J/mol kJ/mol; → .
  5. No species is a conducting metal: both electrodes are platinum. Notation: Pt(s) | Fe³⁺(aq), Fe²⁺(aq) ‖ MnO₄⁻(aq), H⁺(aq), Mn²⁺(aq) | Pt(s).
MnO₄⁻ + 8H⁺ + 5Fe²⁺ → Mn²⁺ + 4H₂O + 5Fe³⁺; E° = 0.74 V; n = 5; ΔG° = −357 kJ/mol; K = 3.49×10⁶².

Solve it in Simuveliq

  1. Example «Permanganate and iron(II) in acid (Pt electrodes)»: «Electrons transferred» n = 5, «ΔG° = −nFE°» −357 kJ/mol and «K at 25 °C» 3.49×10⁶² with log K = 62.54. In «Step by step», the «Overall reaction» step shows the multiplication by 5 and the sum.
  2. Try a mistake of step 4: in «Half-reaction 1» type MnO4- + 8H+ + 4e- -> Mn2+ + 4H2O. Below it appears «The charge does not match: +3 on the left (counting the e⁻) and +2 on the right. With 5 e⁻ on the left it would balance.»

Example 3A fuel cell in basic solution

An alkaline fuel cell (KOH electrolyte) consumes H₂ and O₂. Write its half-reactions in basic solution from the acidic ones, and find E°, n and the overall reaction. Data: O₂ + 2H₂O + 4e⁻ → 4OH⁻, E° = 0.40 V; 2H₂O + 2e⁻ → H₂ + 2OH⁻, E° = −0.83 V. Compare it with the acidic cell (O₂/H₂O 1.23 V and H⁺/H₂ 0.00 V).

Solution

  1. To basic solution: O₂ + 4H⁺ + 4e⁻ → 2H₂O, plus 4OH⁻ on each side and removing two waters, gives O₂ + 2H₂O + 4e⁻ → 4OH⁻; and 2H⁺ + 2e⁻ → H₂ becomes 2H₂O + 2e⁻ → H₂ + 2OH⁻.
  2. Cathode: oxygen (0.40 > −0.83). V. n = lcm(4, 2) = 4: the anode is reversed and multiplied by 2: 2H₂ + 4OH⁻ → 4H₂O + 4e⁻.
  3. Sum: O₂ + 2H₂O + 2H₂ + 4OH⁻ → 4OH⁻ + 4H₂O; the 4OH⁻ and two waters cancel: O₂ + 2H₂ → 2H₂O, the same reaction as in acid.
  4. That is why E° is the same, 1.23 V: going from pH 0 to pH 14 each half-reaction drops by 0.05916 × 14 = 0.83 V (1.23 → 0.40 and 0.00 → −0.83), but the difference does not change. kJ per 2 mol of water, and .
O₂ + 2H₂ → 2H₂O with n = 4 and E° = 1.23 V, the same as in acid; ΔG° = −474.7 kJ/mol; K = 1.46×10⁸³.

Solve it in Simuveliq

  1. The button opens these two half-reactions in «Galvanic cell» (it is a case prepared for this topic; it is not in the examples list). Both say «balanced»; «Overall reaction» gives (n = 4) O₂ + 2H₂ → 2H₂O, and the notation uses platinum: Pt(s) | H₂(g) | OH⁻(aq) ‖ OH⁻(aq) | O₂(g) | Pt(s).
  2. Then choose «Hydrogen fuel cell (acidic)» in «Examples»: the same 1.23 V, the same overall reaction and «ΔG° = −nFE°» −474.7 kJ/mol. In «E°, ΔG° and K», the example «From ΔG°: H₂ + ½O₂ → H₂O(l), ΔG° = −237.1 kJ/mol, n = 2» gives E° = 1.2287 V: the same cell written per mole of water.

Example 4Nernst: the Daniell cell with less Cu²⁺

The Daniell cell (E° = 1.10 V) runs with [Cu²⁺] = 0.010 M and [Zn²⁺] = 1.0 M at 25 °C. What voltage does it read? What is ΔG? And at 37 °C?

Solution

  1. Overall reaction: Cu²⁺ + Zn → Cu + Zn²⁺, n = 2. The metals do not enter Q: .
  2. V. With V: V, the same.
  3. kJ/mol: still spontaneous, but it gives 59 mV less because there is less reactant (Q > 1).
  4. At 37 °C (310.15 K): V and V, with the same E° at 25 °C.
E = 1.0408 V at 25 °C (1.0385 V at 37 °C); Q = 100; ΔG = −200.9 kJ/mol.

Solve it in Simuveliq

  1. In «Nernst equation», the example «Daniell with [Cu²⁺] = 0.010 M and [Zn²⁺] = 1.0 M»: «A cell» is chosen in «Which system?» and the «Cell E» box is empty. The cards give «Cell potential E» 1.0408 V, «Reaction quotient Q» 100 (log Q = 2) and «ΔG = −nFE» −200.9 kJ/mol; the figure marks the present point to the right of Q = 1.
  2. Type 37 in «Temperature»: E becomes 1.0385 V and the notice «E° is at 25 °C; at 37 °C the same E° is used» appears.

Example 5Measuring pH with a hydrogen electrode

A hydrogen electrode (H₂ at 1.0 atm) in an acid solution is connected to a zinc electrode in 1.0 M Zn²⁺. The cell reads 0.54 V at 25 °C. What is the pH? Data: E°(H⁺/H₂) = 0.00 V and E°(Zn²⁺/Zn) = −0.76 V.

Solution

  1. Cathode: hydrogen (0.00 > −0.76); E° = 0.76 V. Overall reaction: 2H⁺ + Zn → H₂ + Zn²⁺, n = 2.
  2. , so and .
  3. , and mol/L.
pH = 3.719 ([H⁺] = 1.911×10⁻⁴ mol/L).

Solve it in Simuveliq

  1. Example «pH with a hydrogen electrode: E = 0.54 V against Zn»: the H⁺ box has the unit «pH» and is empty, and «Cell E» is 0.54. The «pH» card gives 3.719, with [H⁺] below it; P(H₂) = 1.0 atm and [Zn²⁺] = 1.0 M.
  2. Type another voltage in «Cell E», for example 0.4: the pH comes out (0.76 − 0.40)/0.05916 = 6.085. Every 59.16 mV less is one pH unit more.

Example 6A concentration cell

Two copper electrodes, one in 0.0010 M Cu²⁺ and the other in 1.0 M Cu²⁺, are joined by a wire and a salt bridge. What voltage does it give at 25 °C and which is the cathode?

Solution

  1. The same half-reaction on both sides, Cu²⁺ + 2e⁻ → Cu (n = 2): E° cancels and its value is not needed.
  2. The concentrated side (1.0 M) has the higher potential: it is the cathode, where copper is deposited. The dilute side (0.0010 M) is the anode, where copper dissolves.
  3. V. It runs down when both concentrations become equal.
E = 0.0887 V; cathode, the 1.0 M compartment.

Solve it in Simuveliq

  1. Example «Copper concentration cell: 0.0010 M and 1.0 M»: «Concentration cell» is chosen in «Which system?», with «The same half-reaction in both compartments» and compartments A (0.0010 M) and B (1.0 M). The cards give «Cell potential E» 0.0887 V and «Cathode» compartment B, with «E° cancels: E° = 0».
  2. Leave the concentration of A empty and type 0.0887 in «Cell E»: it gives both possible answers, A as the cathode (997 mol/L, impossible in a solution) or as the anode (0.001003 mol/L, the original value within the rounding of E).

Example 7The solubility product from potentials

Dissolving silver chloride, AgCl(s) → Ag⁺ + Cl⁻, is the sum of AgCl + e⁻ → Ag + Cl⁻ (as the cathode) and Ag → Ag⁺ + e⁻ (as the anode). With Ksp = 1.8×10⁻¹⁰ (given), find the E° of that «cell» and ΔG°, and compare with the data E°(AgCl/Ag) = 0.22 V and E°(Ag⁺/Ag) = 0.80 V.

Solution

  1. One electron is transferred: n = 1. and .
  2. V.
  3. kJ/mol: positive, AgCl barely dissolves.
  4. With the potentials: V, the same within the two decimal places of the data. The other way round, the two E° values give the Ksp: that is how very small constants are measured.
E° = −0.5765 V; ΔG° = +55.62 kJ/mol; log K = −9.745.

Solve it in Simuveliq

  1. In «E°, ΔG° and K», the example «From K: Ksp of AgCl = 1.8×10⁻¹⁰ with n = 1»: the cards give E° −0.5765 V and ΔG° 55.62 kJ/mol marked «computed», and K 1.8×10⁻¹⁰ (log K = −9.745) as «given». The figure shows the triangle of the three relations in red: not spontaneous.
  2. Clear K and type −0.58 in «E° of the cell»: K becomes 1.57×10⁻¹⁰, the same constant within the rounding of the data.

Example 8Copper by electrolysis and the second law

A CuSO₄ solution is electrolyzed with 2.00 A for 1.00 h. What mass of copper is deposited? What mass of silver would the same charge deposit in an Ag⁺ cell in series? What volume of O₂ comes out at the anode at 25 °C and 1 atm?

Solution

  1. C; mol.
  2. Copper (z = 2): mol and g.
  3. Silver (z = 1): mol and g, 3.395 times more, the ratio of the equivalent masses (second law).
  4. Oxygen (2H₂O → O₂ + 4H⁺ + 4e⁻, z = 4): mol and m³ L.
2.371 g of copper; 8.049 g of silver with the same charge; 0.4564 L of O₂.

Solve it in Simuveliq

  1. In «Electrolysis (Faraday)», the example «Copper: 2.00 A for 1.00 h, what mass?»: «Mass» 2.371 g, «Moles of product» 0.03731 mol and «Charge» 7200 C (2 A·h and 0.07462 mol e⁻), all «computed».
  2. Change the «Formula or molar mass» to Ag and the «e⁻ per formula unit z» to 1: the mass becomes 8.049 g. For oxygen, the example «Oxygen at the anode: 2.00 A for 1.00 h» gives «Gas volume» 0.4564 L, with the product «at the anode (oxidation)».

Example 9Current efficiency

In a silver-plating bath 0.500 A are passed for 2.00 h and 3.80 g of silver are deposited. What is the current efficiency?

Solution

  1. C and mol.
  2. At 100 %, g of silver would be deposited (z = 1).
  3. : 94.42 % of the charge deposited silver and the rest went into other reactions.
η = 94.42 %.

Solve it in Simuveliq

  1. Example «Efficiency: 3.80 g of silver with 0.500 A in 2.00 h»: the «Efficiency η» box is empty and the «Efficiency η» card gives 94.42 %, «computed».
  2. Type 100 in «Efficiency η»: with the mass also typed there are extra data, and it warns «There are extra data and they do not agree with each other.» with the mass the others would give.

Example 10Which metal was deposited?

A solution of an M²⁺ ion is electrolyzed with 1.50 A for 45.0 min, and 1.23 g of the metal are deposited at the cathode. What is its molar mass? Which metal could it be?

Solution

  1. C; mol; with z = 2, mol.
  2. g/mol.
  3. It is close to nickel (58.693 g/mol, within 0.15 %) and cobalt (58.933 g/mol, within 0.56 %), and both form 2+ ions. With a three-digit mass nickel is the most likely, but telling them apart for sure needs another clue (the color of the solution, for example: green for Ni²⁺, pink for Co²⁺).
M = 58.61 g/mol: nickel (or cobalt).

Solve it in Simuveliq

  1. Example «Which metal? 1.23 g from an M²⁺ ion with 1.50 A in 45.0 min»: the «Formula or molar mass» is empty, and the «Molar mass» card gives 58.61 g/mol with ≈ Ni (58.693), Co (58.933). «Step by step» ends with «Which element is it?».

Related topics