Simuveliq

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

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

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

  1. Data: Cu²⁺ + 2e⁻ → Cu with E° = +0.34 V and Zn²⁺ + 2e⁻ → Zn with E° = −0.76 V.
  2. Cathode and anode: 0.34 V is higher, so copper is reduced (cathode) and zinc is oxidized (anode): Zn → Zn²⁺ + 2e⁻.
  3. Potential: E°cell = 0.34 − (−0.76) = 1.10 V.
  4. 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).
  5. Gibbs energy: ΔG° = −2 × 96,485 × 1.10 = −212.3 kJ/mol: the reaction is spontaneous.
  6. 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

  1. At the top of the panel choose what you want to compute: galvanic cell, Nernst equation, E°, ΔG° and K, or electrolysis.
  2. 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.
  3. 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.
  4. 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

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

© 2026 Simuveliq. All rights reserved.