Physics & Chemistry
Nernst Equation Calculator (Electrode and Cell Potential)
Calculate the potential of an electrode or an electrochemical cell under real conditions. Tables of standard electrode potentials give the voltage of half-reactions when all species are at standard conditions, with concentrations of 1 mol/L, gases at 1 bar and usually 25 °C. In real batteries, corrosion processes, biological membranes, sensors and laboratory cells, concentrations differ from these values, and the potential shifts accordingly. The Nernst equation, derived by the German chemist Walther Nernst in 1889, describes this shift: the potential equals the standard potential minus RT/nF multiplied by the natural logarithm of the reaction quotient Q, where R is the gas constant, T the absolute temperature, n the number of electrons transferred and F the Faraday constant. At 25 °C this simplifies to the familiar form E = E° − (0.05916/n) log₁₀ Q. The equation explains why a battery’s voltage falls as it discharges, how pH electrodes and ion-selective sensors work, how concentration cells generate voltage, and how nerve cells maintain resting membrane potentials. Enter the standard potential, the number of electrons, the temperature and either the reaction quotient or the concentrations of the oxidised and reduced forms, and the calculator gives the potential, its shift from the standard value, the slope per tenfold change of Q and the corresponding Gibbs energy change. For copper with E° = +0.34 V, n = 2 and Q = 0.01, the potential is about 0.399 V.
How to use this calculator
- Enter the standard potential E° in volts.
- Enter the number of electrons transferred.
- Enter the temperature in °C.
- Enter the reaction quotient Q, or the oxidised and reduced concentrations.
- Read the potential E.
Concentration cells and sensors
Two identical electrodes in solutions of different concentration produce a voltage given by the Nernst equation, the principle behind many ion-selective electrodes.
A pH electrode responds by about 59 mV per pH unit at 25 °C, the Nernstian slope for one electron and one proton.
In biology
The resting potential of nerve and muscle cells arises from ion concentration differences across the membrane. The Nernst equation gives the equilibrium potential for each ion, such as about −90 mV for potassium in many cells.
The Goldman equation extends this idea to several ions at once.
Formula & method
E = E° − (R T ÷ (n F)) × ln QR = 8.314462618 J·mol⁻¹·K⁻¹; F = 96,485.33212 C·mol⁻¹ (CODATA 2018)At 25 °C: E = E° − (0.05916 ÷ n) × log₁₀ QFor a reduction Ox + n e⁻ → Red, Q = activity of Red ÷ activity of OxNernst equation: E = E° − (R T ÷ (n F)) ln Q, with R = 8.314462618 J·mol⁻¹·K⁻¹, F = 96,485.33212 C·mol⁻¹ (CODATA 2018 exact-based values) and T in kelvin. At 25 °C (298.15 K): RT/F × ln 10 ≈ 0.05916 V, so E = E° − (0.05916 ÷ n) log₁₀ Q. For a reduction half-reaction Ox + n e⁻ → Red, Q = a(Red) ÷ a(Ox), approximated by concentrations. Gibbs energy: ΔG = −n F E. Activities differ from concentrations in concentrated solutions; activity coefficients are not included here.
Worked example
Cu²⁺/Cu, E° = 0.34 V, Q = 0.01, 25 °C
- RT/nF = 8.3145 × 298.15 ÷ (2 × 96,485) ≈ 0.012846 V.
- ln 0.01 = −4.605.
- E = 0.34 + 0.012846 × 4.605 ≈ 0.3992 V.
Answer: E ≈ 0.399 V.
Frequently asked questions
What is the Nernst equation?
E = E° − (RT/nF) ln Q.
What is 0.05916?
RT ln 10 / F at 25 °C, in volts.
What is Q?
The reaction quotient, the ratio of product to reactant activities.
What is n?
The number of electrons transferred.
How is ΔG related to E?
ΔG = −nFE.
Does temperature matter?
Yes, the slope is proportional to absolute temperature.