Electrochemistry calculator
Type two reduction half-reactions with their standard potentials and the calculator checks that they are balanced, decides which one is the cathode and which the anode, computes the cell potential, the overall reaction and the notation, and draws the cell with the electron flow and the salt bridge.
Theory and worked examples: Electrochemistry: cells, Nernst and electrolysis.
What you can do
- Galvanic cell: E°cell, number of electrons, balanced overall reaction, cell notation, ΔG° and K.
- The Nernst equation at any temperature, with concentrations, pressures or pH, and concentration cells; solves for E, a concentration or the pH.
- Conversion between E°, ΔG° and the equilibrium constant K.
- Electrolysis with Faraday's laws: mass deposited, charge, current, time, efficiency and gas volume.
Guide: electrochemistry
Electrochemistry studies redox reactions in which the electrons do not jump straight from one species to another but travel through a wire. In a galvanic cell the reaction runs by itself and delivers a current; in electrolysis a power source forces a non-spontaneous reaction to happen. This guide explains how a cell is built from two half-reactions, the Nernst equation, the link between E°, ΔG° and K, and Faraday's laws, with worked examples checked in the calculator.
Half-reactions and standard potentials
Each redox couple is written as a reduction, with the electrons on the left, and has a standard potential E° measured against the hydrogen electrode (1 M, 1 atm, 25 °C). For example Cu²⁺ + 2e⁻ → Cu and Zn²⁺ + 2e⁻ → Zn. A well-written half-reaction conserves the atoms of each element and the charge: each electron counts as −1. The E° values come from the table of reduction potentials in your textbook or from the exercise; the calculator has no built-in table, so you type them (the example values are exercise data).
The galvanic cell
- Cathode: the half-reaction with the higher E°; reduction happens there and it is the positive pole.
- Anode: the other one, written backwards (oxidation); it is the negative pole. Electrons travel through the wire from the anode to the cathode.
- Standard potential: E°cell = E°cathode − E°anode, without multiplying by coefficients (E° is an intensive property).
- Overall reaction: the half-reactions are multiplied so the electrons cancel; n, the electrons transferred, is the least common multiple of those of each one.
- Energy and equilibrium: ΔG° = −nFE° and ΔG° = −RT ln K, so K = enFE°/RT.
F = NA·e = 96,485.33 C/mol and R = NA·kB = 8.314 462 J/(mol·K) are exact in the SI since 2019.
Worked example: the Daniell cell
- Data: Cu²⁺ + 2e⁻ → Cu with E° = +0.34 V and Zn²⁺ + 2e⁻ → Zn with E° = −0.76 V.
- Cathode and anode: 0.34 V is higher, so copper is reduced (cathode) and zinc is oxidized (anode): Zn → Zn²⁺ + 2e⁻.
- Potential: E°cell = 0.34 − (−0.76) = 1.10 V.
- Overall reaction: both half-reactions exchange 2 electrons, n = 2: Cu²⁺ + Zn → Cu + Zn²⁺. In cell notation: Zn(s) | Zn²⁺(aq) ‖ Cu²⁺(aq) | Cu(s).
- Gibbs energy: ΔG° = −2 × 96,485 × 1.10 = −212.3 kJ/mol: the reaction is spontaneous.
- Equilibrium constant at 25 °C: ln K = 2 × 96,485 × 1.10 / (8.314 × 298.15) = 85.63, log K = 37.19 and K = 1.54×10³⁷.
The Nernst equation
Away from the standard state the potential changes with the concentrations:
E = E° − (RT/nF) · ln Q (at 25 °C: E = E° − (0.05916/n) · log Q)
Q is written like an equilibrium constant but with the concentrations at that moment; solids and liquid water count as 1, and gases enter as their pressure divided by the standard pressure. If the Daniell cell has [Cu²⁺] = 0.010 M and [Zn²⁺] = 1.0 M, Q = [Zn²⁺]/[Cu²⁺] = 100 and E = 1.10 − (0.025693/2) · ln 100 = 1.0408 V. When the cell is dead, E = 0 and Q = K. Since the equation is linear in the logarithm of each concentration, it also works backwards: from a measured voltage you can solve for a concentration or the pH (for example, the pH of a solution with a hydrogen electrode).
In a concentration cell both electrodes are the same and only the concentrations differ: E° cancels and the cell runs until they are equal. With 0.0010 M copper against 1.0 M, E = (RT/2F) · ln 1000 = 0.0887 V.
Electrolysis and Faraday's laws
The mass formed at an electrode depends on the charge passed: Q = I·t coulombs are Q/F moles of electrons, and each formula unit of product needs z of them (z = 2 for Cu²⁺ + 2e⁻ → Cu). In one formula, m = Q·η·M/(zF), where η is the current efficiency. For example, 2.00 A for 1.00 h is 7200 C = 0.07462 mol of electrons; 0.03731 mol of copper is deposited, that is 2.371 g. If the product is a gas, its volume follows from V = nRT/P.
How to use the calculator
- At the top of the panel choose what you want to compute: galvanic cell, Nernst equation, E°, ΔG° and K, or electrolysis.
- Type the half-reactions as text, with « + » between species and charges attached or with ^: Cu2+ + 2e- -> Cu, MnO4- + 8H+ + 5e- -> Mn2+ + 4H2O. Under each one you see how it was read and whether atoms and charge balance.
- Type each E° from your table or the exercise. In the other views type what you know and leave empty what you are looking for: the voltage, a concentration, the pH, ΔG°, K, the mass, the time, the current or the efficiency.
- Read the result, the drawing of the cell or the plot of E against log Q, and download the detailed PDF solution with every step.
Common mistakes
- Multiplying E° by the coefficients when matching the electrons: E° does not change; what changes is n in ΔG° = −nFE°.
- Subtracting the wrong way: E°cell is cathode minus anode, with both potentials as listed in the table (as reductions). If the difference is negative, you picked the wrong cathode.
- Putting solids or liquid water in Q: their activity is 1. H⁺, on the other hand, does enter, raised to its coefficient (to the 8th power for permanganate).
- Forgetting z in electrolysis: 1 mol of electrons deposits 1 mol of silver but only half a mole of copper and a third of a mole of aluminum.
- Leaving the time in minutes or hours in Q = I·t: with I in amperes, t must be in seconds to get coulombs.
Further reading
The electrochemistry chapter of any general chemistry textbook. On Simuveliq, the equation balancer balances complete redox reactions, chemical equilibrium works with K and Q, and the stoichiometry calculator converts moles to masses.
More tools
Versión en español
About Simuveliq · How we verify the calculations · Terms of use · Privacy policy · Contact