Home / Learn / Chemistry / Galvanic cell builderTool #L44 (formerly #1089)

Galvanic cell simulator: Daniell cell, E°cell, electron and ion flow, ΔG = −nFE and the Nernst equation

Pick two half-cells and see the cell work: which electrode is the anode, electrons moving through the wire, ions moving in the salt bridge and the voltmeter reading. E°cell, the cell reaction and notation, ΔG° = −nFE° and K, and sliders for the Nernst equation. Ends with fresh practice questions.

Keep it one tap away for everyday use.

Bookmark Galvanic cell builder?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Half-cells
  2. Electrons
  3. E° and ΔG
  4. Nernst
Nothing is uploadedWorks offline once open

Change the concentrations (Nernst)

25 °C. Concentration stands in for activity, which is close enough below about 0.1 M for this purpose. Standard potentials are rounded textbook values (25 °C, 1 bar, against the standard hydrogen electrode).

Try this

  • Build the Daniell cell (zinc and copper). Which way do the electrons go, and which way do the negative ions in the salt bridge go?
  • Swap the left and right half-cells. Does the voltage change?
  • Pair magnesium with silver. Why is the voltage so large?
  • In the Daniell cell, lower the copper ion concentration. Why does the voltage drop?
  • Find a pair where hydrogen is the cathode, and one where it is the anode.

Check yourself

    What it does

    A galvanic (voltaic) cell turns a redox reaction into electricity by keeping the two halves apart: oxidation in one beaker, reduction in the other, electrons travelling through a wire between them and ions moving through a salt bridge to keep each beaker neutral. This page builds one from two half-cells you choose.

    • The picture. Two beakers, each with an electrode in a solution of its ions (or the standard hydrogen electrode, platinum in acid with hydrogen gas). The page marks the anode (−, where oxidation happens) and the cathode (+, where reduction happens). Electrons move through the wire from the anode to the cathode; in the salt bridge, negative ions drift towards the anode and positive ions towards the cathode. The voltmeter shows the cell voltage.
    • The numbers. E°cell = E°cathode − E°anode, the balanced cell reaction, the cell notation (anode | anode ion ‖ cathode ion | cathode), the electrons transferred n, ΔG° = −nFE°cell and the equilibrium constant K.
    • Nernst. Sliders set each ion’s concentration from 0.001 M to 2 M. The cell voltage follows the Nernst equation, Ecell = E°cell − (0.0592 / n) log Q, with every number shown.

    It follows Class 12 Chemistry (electrochemistry: galvanic cells, the Daniell cell, standard electrode potentials, the Nernst equation, equilibrium constant from the Nernst equation, and the relation between Gibbs energy and cell voltage). The order of the metals matches the reactivity series lab; for any half-reaction, pH or temperature use the Nernst calculator; to see where the electrons come from, try the oxidation number finder finder.

    How to use it

    1. Choose the left and right half-cells. Each shows its standard reduction potential E°.
    2. The page works out which is the anode: always the one with the lower E°, whatever side you put it on.
    3. Read E°cell, the reaction and ΔG°.
    4. Move the concentration sliders and watch the voltage change.

    Worked example: the Daniell cell

    Pick zinc on the left and copper on the right. Zinc (E° = −0.76 V) is lower than copper (+0.34 V), so zinc is the anode and copper the cathode.

    • Anode: Zn → Zn²⁺ + 2e⁻. Cathode: Cu²⁺ + 2e⁻ → Cu.
    • Cell reaction: Zn(s) + Cu²⁺(aq) → Zn²⁺(aq) + Cu(s), with n = 2.
    • E°cell = 0.342 − (−0.762) = 1.104 V; the voltmeter reads 1.10.
    • ΔG° = −2 × 96 485 × 1.104 J/mol = −213.0 kJ/mol: the reaction is spontaneous.
    • K = 10^37.3, so the reaction goes essentially to completion.

    Now set [Cu²⁺] to 0.01 M with [Zn²⁺] at 1 M. Q = [Zn²⁺]/[Cu²⁺] = 100, so Ecell = 1.104 − (0.0592 / 2) × 2 = 1.045 V. Less copper ion to take electrons means a lower voltage.

    Tips

    • A positive E°cell means the cell works as drawn; the page always puts the anode where E° is lower, so E°cell is always positive here.
    • The zinc electrode gets thinner and the copper one thicker as the cell runs.
    • The salt bridge is usually a gel or paper soaked in KNO₃ or KCl. Without it, charge builds up and the current stops.

    FAQ

    Why are the potentials slightly different from my book? Books round them differently (for example −0.76 or −0.763 V for zinc). The page uses rounded handbook values.

    Is anything saved? No. Everything runs in your browser and nothing is stored or sent.

    Is this an official textbook tool? No. It is an independent practice page that follows the same school topics.

    Where the numbers come from

    • Standard reduction potentials (25 °C, 1 bar, against the standard hydrogen electrode): rounded values from the CRC Handbook electrochemical series and Bard, Parsons and Jordan, as in fibub's Nernst calculator.
    • Faraday constant and gas constant: CODATA recommended values (NIST).

    Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

    Last updated 2026-11-09.

    Change log for Galvanic cell builder

    1. Fix pictures in #1082, #1084, #1085, #1087, #1089, #1090 Details on GitHub
    2. Add #1089 Galvanic cell builder Details on GitHub

    Every change to fibub

    Related tools

    Nernst calculator #T96 Electrode potentials at any concentration, pH and temperature by the Nernst equation, and full galvanic cells: E°cell, Ecell, the balanced cell reaction, cell notation, ΔG, K and Q. Pick from 44 standard half-reactions or type your own, and convert potentials between SHE, SCE, Ag/AgCl and RHE. Reactivity series lab #L41 Drop a metal strip into a salt solution or dilute acid and see whether it displaces the other metal, with the balanced equation and what you would see. Your results fill a grid and build the series; tap any metal for its reactions with water and acid and how it is taken out of its ore. Ends with fresh practice questions. Oxidation number finder #L43 Type a formula such as K2Cr2O7 or SO4^2- and see the oxidation number of every element, which rule gave it and the sum that checks it. Then balance a redox reaction in acidic or basic solution by the half-reaction (ion-electron) method, step by step. Ends with fresh practice questions. Rusting lab #L173 Watch six iron nails over three weeks: in dry air, in boiled water under oil, in tap water, in salt water, painted and galvanised. Only nails with both air and water rust, salt speeds it up, and a scratch shows why zinc protects better than paint. Work out the mass of rust from the mass of iron. A teaching model with fresh practice questions. Chlor-alkali process #L177 Watch ions move in an animated membrane cell as brine is electrolysed: chlorine at the anode, hydrogen and sodium hydroxide at the cathode. Read the half equations and the uses of each product, and at Class 12 level work out the grams and litres a current makes. Gibbs explorer #L221 Slide ΔH, ΔS and the temperature and watch ΔG = ΔH − TΔS change as a straight line against temperature, with the spontaneous region shaded, the turn-over temperature T = ΔH/ΔS marked and the four sign cases sorted. A Class 12 level adds K = e^(−ΔG°/RT) and E° = −ΔG°/nF. Z-scheme stepper #L248 Follow one electron from water through photosystem II, plastoquinone, cytochrome b6f, plastocyanin and photosystem I to NADPH on the Z-shaped energy diagram. Compare cyclic and non-cyclic flow and count the photons, O₂, NADPH, H⁺ and ATP for any number of electrons. Kohlrausch's law #L282 Plot molar conductivity against √c for KCl, NaCl, HCl, NaOH, MgCl₂ and other strong electrolytes, extend the straight line to find Λ°m, and see why ethanoic acid's curve cannot be extended. Then build Λ°m from ion values with Kohlrausch's law, find Λ° of a weak acid from three strong electrolytes, and get α and κ.