Nernst Equation Calculator – Potentials Away from Standard Conditions
Tabulated standard reduction potentials assume every dissolved species is at 1 M and every gas at 1 bar. Real solutions almost never are. The Nernst equation corrects E° for the actual concentrations, pressures and temperature. This calculator solves it for any one unknown, handles concentration cells, finds membrane equilibrium potentials such as E_K and E_Na, and shows how a couple involving H⁺ shifts with pH. If you first need E°cell from two half-reactions, use the Standard Cell Potential Calculator.
Where the equation comes from
The free-energy change of a reaction depends on how far it is from equilibrium through the reaction quotient Q. An electrochemical cell turns that free energy into electrical work, so ΔG and E are tied by the Faraday constant. Substituting one relation into the other gives the Nernst equation:
ΔG = ΔG° + RT·ln Q
ΔG = −nFE and ΔG° = −nFE°
−nFE = −nFE° + RT·ln Q
E = E° − (RT/nF)·ln Q = E° − (s/n)·log₁₀QQ is products over reactants, each raised to its stoichiometric coefficient. Pure solids and liquids count as 1. For a half-reaction written as a reduction, Q is the reduced side over the oxidised side, with the electrons left out.
Why 59.16 mV per decade
Converting the natural logarithm to base 10 pulls out a factor of ln 10. The constant in front, s = 2.303RT/F, is the Nernst slope:
s = RT·ln 10 / F
= 8.314462618 × 298.15 × 2.302585 / 96485.33212
= 0.05916 V = 59.16 mV per decade (25 °C)
= 61.54 mV per decade (37 °C)Divide s by n for the shift per tenfold change in Q. A two-electron couple moves 29.58 mV per decade at 25 °C, and a five-electron couple 11.83 mV. The calculator always shows s, RT/F and s/n at your temperature, and draws E against log₁₀Q as a straight line of slope −s/n through E° at Q = 1.
Worked example: copper at 0.010 M
For Cu²⁺(aq) + 2e⁻ → Cu(s), E° = +0.3419 V and Q = 1/[Cu²⁺] = 1/0.010 = 100, so log₁₀Q = 2. Then E = 0.3419 − (0.05916/2) × 2 = 0.2827 V. Diluting the copper ions a hundredfold lowers the electrode potential by 59 mV. Solve the same equation backwards and a measured voltage gives an unknown concentration. This is how ion-selective electrodes and pH meters work.
Concentration cells
Put the same couple on both sides and E° cancels. The only driving force left is the concentration difference: E = (s/n)·log₁₀(c_concentrated / c_dilute). Copper at 0.0010 M against 1.0 M gives 0.0887 V. The dilute side is the anode, where copper dissolves, until both sides are equal. A hydrogen cell at two pressures runs the opposite way: the high-pressure side is the anode.
Membrane potentials in biology
Cells hold K⁺ high inside and Na⁺ high outside. For each ion, the Nernst equation gives the voltage at which its concentration gradient is exactly balanced: E_ion = (RT/zF)·ln([out]/[in]), measured inside relative to outside. With typical neuron values at 37 °C, E_K is about −89 mV and E_Na about +67 mV. The resting membrane is far more permeable to K⁺ than to Na⁺, so the resting potential sits near E_K, at roughly −70 mV. The difference V_m − E_ion is the driving force that pushes each ion in or out when its channels open.
pH dependence and the water window
When H⁺ takes part in a half-reaction, its activity sits in Q, and E falls by (m/n) × 59.16 mV for every pH unit at 25 °C. O₂/H₂O drops 59.16 mV per pH, and MnO₄⁻/Mn²⁺ 94.65 mV. The O₂/H₂O and H⁺/H₂ lines bound the region where water itself is stable. Couples above the top line can oxidise water, and couples below the bottom line can reduce it. The E vs pH mode draws these lines and marks where two couples cross. It is not a full Pourbaix diagram, which would also need solubility and acid–base boundaries.