Nernst equation calculator
Calculate the potential of a redox half-cell away from standard conditions, including proton-coupled couples at any pH, and the equilibrium potential of an ion across a cell membrane. Runs in your browser, no account needed.
One temperature for both calculations. Use 37 °C for physiology.
Half-cell potential
E = E° − (RT/nF)·ln([Red]/[Ox]) − (m/n)·(RT ln10/F)·pH
E = 0.7118 V · Slope 59.16 mV per decade
Concentrations stand in for activities. Use the same unit for [Ox] and [Red].
Ion equilibrium (membrane) potential
E_ion = (RT/zF)·ln([out]/[in])
E_ion = -85.61 mV
Example loaded: K⁺ with 5 mM outside and 140 mM inside. Use the same unit for both concentrations.
What the calculator does
Two forms of the same equation: one for electrochemistry, one for membrane physiology.
Half-cell potential
- Standard potential E°, electrons n and the concentrations of the oxidised and reduced forms
- Proton-coupled couples: number of protons m and the pH
- Any temperature, with the Nernst slope in mV per decade
- Use 1 for a pure solid or liquid, such as metallic copper
Membrane potential
- Equilibrium potential of any ion from its charge and the concentrations inside and outside
- K⁺, Na⁺, Cl⁻, Ca²⁺ or any other ion, at 37 °C or another temperature
- Result in mV, with the sign convention inside relative to outside
- Nothing is sent anywhere: the maths runs on your device
How the Nernst equation works
The equation follows from ΔG = ΔG° + RT·ln Q and ΔG = −nFE: the potential shifts with the logarithm of the concentration ratio.
Write the half-reaction as a reduction
Ox + n e⁻ → Red. Q is [Red]/[Ox]; pure solids, pure liquids and the solvent count as 1.
Apply the logarithmic correction
E = E° − (RT/nF)·ln Q. At 25 °C, RT·ln10/F is 59.16 mV, so a tenfold change in Q moves E by 59.16/n mV.
For a membrane, use the ion's charge
An ion is at equilibrium when the voltage balances its concentration gradient: E = (RT/zF)·ln([out]/[in]). At 37 °C, RT·ln10/F is 61.5 mV.
The equation uses activities. Concentrations are a good approximation in dilute solution; at high ionic strength, measured potentials drift from the calculated ones.
Worked examples
Load these numbers into the calculator to check them.
Cu²⁺/Cu at 0.01 M Cu²⁺
E = E° − (0.05916/n)·log₁₀([Red]/[Ox])
E° = +0.337 V, n = 2, [Red] = 1 for solid copper, [Ox] = 0.01 M. E = 0.337 − (0.05916/2)·log(1/0.01) = +0.278 V at 25 °C.
Potassium equilibrium potential
E_K = (RT/F)·ln([K⁺]out/[K⁺]in)
With 5 mM K⁺ outside and 140 mM inside a neuron at 37 °C, E_K = 61.5·log(5/140) = −89 mV, close to the resting potential of many cells.
Proton-coupled couples
E = E° − (RT/nF)·ln([Red]/[Ox]) − (m/n)·0.05916·pH
When m protons join n electrons, E falls by 59.16·m/n mV per pH unit at 25 °C: 59 mV per pH for a 2e⁻/2H⁺ couple such as a quinone.
Questions researchers ask
The Nernst equation gives the potential of an electrochemical half-cell, or the equilibrium potential of an ion across a membrane, from the standard potential and the concentrations involved: E = E° − (RT/nF)·ln Q.
0.05916 V is RT·ln(10)/F at 25 °C. It lets you write the equation with base-10 logarithms: E = E° − (0.05916/n)·log Q. It grows with temperature: 61.5 mV at 37 °C.
Enter the ion's charge and its concentrations outside and inside the cell. For K⁺ at 5 mM outside and 140 mM inside at 37 °C, E_K is about −89 mV. For several permeant ions at once, the Goldman–Hodgkin–Katz equation weights each by its permeability.
For a couple that takes up m protons with n electrons, E shifts by −59.16·m/n mV per pH unit at 25 °C. Enter m and the pH in the half-cell calculator to include it.
Calculate each half-cell potential as a reduction with this calculator, then subtract: E(cell) = E(cathode) − E(anode). Equivalently, E(cell) = E°(cell) − (RT/nF)·ln Q for the overall reaction.
Yes. It runs entirely in your browser and needs no account.
References
- A. J. Bard, L. R. Faulkner, Electrochemical Methods: Fundamentals and Applications, 2nd ed., Wiley, 2001 (Nernst equation, Chapter 2; standard potentials, Appendix C).
- B. Hille, Ion Channels of Excitable Membranes, 3rd ed., Sinauer, 2001 (equilibrium potentials and typical ion concentrations).
- E. Tiesinga et al., CODATA recommended values of the fundamental physical constants: 2018, Rev. Mod. Phys. 93, 025010 (2021).
From equations to molecules.
Estimate how easily a new molecule is oxidised or reduced with xTB, run DFT in Psi4 and keep every result in one project. Vee, the AI co-scientist, can set up the jobs for you.