Chemistry & Chemical Engineering Kinetics, Electrochemistry & Analytical Chemistry Nernst equation, E = E° − (RT/nF)·ln Q; F = 96485.33 C/mol

Nernst Equation Calculator

Standard reduction potentials assume every species is at unit activity, which a real cell almost never is. The Nernst equation corrects for that: E = E° − (RT/nF)·ln Q. Enter the standard potential, the number of electrons transferred, the reaction quotient (directly or as a pair of concentrations) and the temperature, and this calculator returns the actual cell potential, the millivolts-per-decade slope that governs ion-selective and pH electrodes, the free energy change ΔG = −nFE, and the equilibrium constant that E° implies.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
Standard cell potential E°Cathode minus anode standard reduction potential; 1.10 V is the zinc-copper Daniell cell. Use 0 for a concentration cell.1.1 V
Electrons transferred nMoles of electrons in the balanced cell reaction as written; 2 for Zn + Cu²⁺ → Zn²⁺ + Cu.2
How to supply QUse the two-concentration mode for a simple cell; enter Q directly when the expression has exponents.From two concentrations
Reaction quotient QProduct activities over reactant activities, each raised to its stoichiometric coefficient; pure solids and liquids are omitted.0.001
Concentration on the product sideThe dissolved species produced by the cell reaction — the numerator of Q, such as [Zn²⁺] in a Daniell cell.0.001 M
Concentration on the reactant sideThe dissolved species consumed by the cell reaction — the denominator of Q, such as [Cu²⁺] in a Daniell cell.1 M
Temperature scaleThe scale you type the temperature in; the equation uses kelvin.Celsius (°C)
TemperatureCell temperature; the Nernst slope is directly proportional to absolute temperature.25

It returns

  • Cell potential E — Positive means the reaction as written runs spontaneously and the cell delivers current.
  • Nernst slope — Millivolts per tenfold change in Q — 59.16 mV at 25 °C for a one-electron process.
  • log₁₀ Q
  • Free energy change ΔG — ΔG = −nFE, the maximum electrical work the cell can deliver at these concentrations.
  • Equilibrium constant K — From E° via ln K = nFE°/RT; the value of Q at which the cell potential falls to zero.

The formula

E=E°RTnFlnQ
ΔG=nFE
lnK=nFE°RT

In plain text: E = E° − (R·T / (n·F)) · ln Q = E° − (0.059159/n)·log₁₀Q at 25 °C

  • EActual cell potential at the stated concentrations (V)
  • Standard cell potential, cathode minus anode reduction potential (V)
  • RGas constant, 8.314463 J/(mol·K) (J/(mol·K))
  • TAbsolute temperature (K)
  • nMoles of electrons transferred in the balanced cell reaction (mol e⁻)
  • FFaraday constant, 96485.33 C/mol (C/mol)
  • QReaction quotient — products over reactants, pure solids and liquids omitted (—)

The factor 2.303RT/F equals 0.059159 V per decade at 298.15 K, which is where the familiar 59.16 mV comes from. It is proportional to absolute temperature, so it is 54.20 mV at 0 °C and 61.54 mV at body temperature.

Updated Category Kinetics, Electrochemistry & Analytical Chemistry Verified against published test cases Reading time 12 min

Why a cell's voltage depends on concentration

A table of standard reduction potentials gives you one number per half-reaction, measured with every dissolved species at unit activity — roughly 1 M — and every gas at 1 bar. Combine two of them and you get E°, the standard cell potential. Your actual cell is almost certainly not at those concentrations, and its voltage is not E°.

The Nernst equation supplies the correction. It says the potential falls below E° in proportion to the logarithm of the reaction quotient Q, which measures how far the mixture has already moved towards products. A cell rich in products has less driving force left and a lower voltage; a cell starved of products has more.

This is not a small effect. At 25 °C a one-electron reaction loses 59.16 mV for every tenfold rise in Q. Six orders of magnitude — entirely realistic in a trace analysis — is 355 mV, a third of a volt, which would swamp any attempt to identify a species from its standard potential alone.

The same logarithmic response is what makes potentiometric sensors work. A pH electrode, a fluoride electrode, a calcium electrode and a dissolved-oxygen probe all report a voltage that varies linearly with the logarithm of the analyte activity, at 59.16 mV per decade divided by the ion's charge. That is why pH is defined logarithmically in the first place, and why an electrode reading is calibrated with two standard buffers to establish a slope and an intercept.

The Nernst equation also explains why a battery's voltage sags as it discharges. Consuming reactants and building up products raises Q, and the terminal voltage falls with it. When Q finally reaches K, E is zero and the battery is flat.

The four inputs, and where each one bites

E° is a difference, not a property of the cell. Compute it as the standard reduction potential of the cathode minus that of the anode, both taken from a table as written for reduction. For the Daniell cell, Cu²⁺/Cu is +0.34 V and Zn²⁺/Zn is −0.76 V, giving E° = 0.34 − (−0.76) = +1.10 V. Do not reverse the sign of the anode entry and then subtract; that double-counts the reversal.

n is the electron count in the balanced cell reaction as written. Getting it wrong scales the whole correction term. For Zn + Cu²⁺ → Zn²⁺ + Cu, two electrons move, so n = 2 and the slope is 29.58 mV per decade rather than 59.16. A crucial subtlety: E° itself does not scale with n. Doubling every coefficient doubles n and doubles ΔG, but leaves E° unchanged, because potential is energy per unit charge and both numerator and denominator double.

Q follows the same rules as any reaction quotient. Products over reactants, each raised to its coefficient, with pure solids and pure liquids omitted because their activity is 1. In the Daniell cell the metals drop out and Q = [Zn²⁺]/[Cu²⁺]. The two-concentration mode above assumes exactly this form — one species on top, one underneath, both to the first power. When your expression has exponents, or gas partial pressures, compute Q separately with the reaction quotient calculator and enter it directly.

T sets the slope. The factor 2.303RT/F is 59.16 mV per decade at 25 °C, 54.20 mV at 0 °C and 61.54 mV at 37 °C — a 4% change over the range a benchtop measurement might span. A pH meter's automatic temperature compensation is doing precisely this correction, and a meter calibrated at one temperature and used at another without it will be wrong by a predictable amount that grows with distance from pH 7.

Two constants tie the electrochemistry to the thermodynamics. ΔG = −nFE converts a voltage into a free energy, which is why a fuel cell's theoretical efficiency is calculable from a table of potentials. And setting E to zero — the condition for equilibrium — gives ln K = nFE°/RT, the bridge between a measured voltage and an equilibrium constant. That relation is how many otherwise inaccessible constants, including solubility products, are determined; see the solubility product calculator for what is done with them.

Worked example: a Daniell cell with 0.0010 M Zn²⁺ and 1.00 M Cu²⁺

The cell reaction is Zn(s) + Cu²⁺(aq) → Zn²⁺(aq) + Cu(s), with E° = +1.100 V and n = 2. The zinc half-cell is at 0.0010 M and the copper half-cell at 1.00 M, both at 25 °C.

  1. Write Q. The two metals are pure solids, so they drop out: Q = [Zn²⁺] ÷ [Cu²⁺] = 0.0010 ÷ 1.00 = 1.0 × 10⁻³.
  2. Take the logarithm. log₁₀(1.0 × 10⁻³) = −3.000.
  3. Find the slope. 2.303RT/(nF) = (2.303 × 8.3145 × 298.15) ÷ (2 × 96485.33) = 0.05916 ÷ 2 = 0.029580 V per decade, or 29.58 mV.
  4. Apply the correction. E = E° − slope × log Q = 1.100 − 0.029580 × (−3.000) = 1.100 + 0.08874 = 1.1887 V.
  5. Sanity-check the direction. Products are scarce relative to the standard state, so the reaction has further to run and the voltage should exceed E°. It does, by 89 mV.
  6. Convert to free energy. ΔG = −nFE = −2 × 96485.33 × 1.1887 = −229 400 J/mol = −229.4 kJ/mol.

Now let the cell discharge. As zinc dissolves and copper plates out, [Zn²⁺] rises and [Cu²⁺] falls, so Q climbs and E falls. The cell dies when Q reaches K, which follows from ln K = nFE°/RT = (2 × 96485.33 × 1.100) ÷ (8.3145 × 298.15) = 85.63, giving K ≈ 1.5 × 10³⁷. The copper ion concentration at that point is unmeasurably small: the reaction is effectively complete, which is why zinc-copper cells discharge fully rather than reaching a visible equilibrium.

A second case shows the extreme. Build a cell with copper electrodes in both compartments — identical chemistry, so E° = 0 — but with 0.0010 M Cu²⁺ on one side and 1.00 M on the other. With n = 2, E = 0 − 0.029580 × (−3.000) = +0.0887 V. A concentration cell generates a voltage from nothing but a concentration difference, and the same principle drives the electrical potential across a nerve cell membrane.

Reading the sign, the slope and the limits

The sign of E gives the direction. Positive means the reaction as written runs spontaneously and the cell delivers current; negative means the reverse reaction is the spontaneous one and driving the written reaction requires an external supply exceeding |E|. That is exactly the calculation behind electroplating and electrolysis voltages, before overpotential is added.

The magnitude of E is a free energy in disguise. One volt at n = 1 is 96.5 kJ/mol. Ordinary cells span roughly 0.5 to 2 V per cell for this reason: chemical reactions release energies of tens to hundreds of kilojoules per mole, and dividing by nF lands in that range.

The slope tells you what a measurement can resolve. At 59.16 mV per decade for a monovalent ion, a millivolt of measurement error corresponds to about 4% in concentration. For a divalent ion the slope is halved to 29.58 mV per decade, so the same millivolt is nearly 8%. This is the fundamental reason potentiometric methods are more precise for monovalent species, and why they are best for order-of-magnitude work rather than for high-accuracy assay.

Three limitations matter in practice. Concentration is not activity. The Nernst equation is exact in activities; substituting molar concentrations is accurate only in dilute solution, and by 0.1 M the activity coefficient of a divalent ion can be well below 0.5. Practical electrode work handles this by calibrating with standards at the same ionic strength as the samples, often with an added ionic-strength adjustment buffer.

Nernst says nothing about rate. A thermodynamically favourable cell can deliver negligible current if the electrode kinetics are slow. The gap between the calculated potential and the working potential under current is the overpotential, described by the Butler-Volmer and Tafel relations, and it is the reason a water electrolyser needs well above the 1.23 V that thermodynamics demands.

Junction potentials add an offset. A real cell contains a salt bridge or a porous frit, and the unequal mobilities of ions across it generate a small extra voltage, typically a few millivolts, which the equation does not include. It is one reason electrode calibration is empirical rather than computed.

Standard reduction potentials at 25 °C, against the standard hydrogen electrode

Subtract the anode value from the cathode value to get E°. The more positive the entry, the stronger the oxidising agent on the left.
Half-reaction (reduction)E° (V)
F₂ + 2e⁻ → 2F⁻+2.87
MnO₄⁻ + 8H⁺ + 5e⁻ → Mn²⁺ + 4H₂O+1.51
Cl₂ + 2e⁻ → 2Cl⁻+1.36
Cr₂O₇²⁻ + 14H⁺ + 6e⁻ → 2Cr³⁺ + 7H₂O+1.33
O₂ + 4H⁺ + 4e⁻ → 2H₂O+1.23
Br₂ + 2e⁻ → 2Br⁻+1.07
Ag⁺ + e⁻ → Ag+0.80
Fe³⁺ + e⁻ → Fe²⁺+0.77
I₂ + 2e⁻ → 2I⁻+0.54
Cu²⁺ + 2e⁻ → Cu+0.34
2H⁺ + 2e⁻ → H₂ (reference)0.00
Pb²⁺ + 2e⁻ → Pb−0.13
Ni²⁺ + 2e⁻ → Ni−0.26
Fe²⁺ + 2e⁻ → Fe−0.44
Zn²⁺ + 2e⁻ → Zn−0.76
Al³⁺ + 3e⁻ → Al−1.66
Mg²⁺ + 2e⁻ → Mg−2.37
Na⁺ + e⁻ → Na−2.71
Li⁺ + e⁻ → Li−3.04

Values are for unit activity of every dissolved species and 1 bar for gases; the copper and zinc rows give the Daniell cell's 1.10 V directly.

The Nernst slope 2.303RT/F against temperature

Millivolts per decade for a one-electron process, computed as 2.303R/F = 0.1984193 mV/K times T(K). Divide by n for a multi-electron reaction.
TemperatureT (K)Slope (mV/decade)
0 °C273.1554.20
20 °C293.1558.17
25 °C298.1559.16
30 °C303.1560.15
37 °C310.1561.54
50 °C323.1564.12
100 °C373.1574.04

A pH meter's temperature compensation applies exactly this scaling. Uncompensated, a meter calibrated at 25 °C and used at 50 °C errs by about 8% of the deviation from the isopotential point.

Mistakes that give the wrong potential

  • Reversing the anode potential and then subtracting it. E° = E°(cathode) − E°(anode), both taken as reduction potentials straight from the table. Flipping the sign first and then subtracting double-counts.
  • Multiplying E° by a stoichiometric factor. Potential is energy per unit charge, so it does not scale when you double the equation. ΔG does; E° does not.
  • Including pure solids or liquids in Q. Their activity is 1 by definition. In the Daniell cell only the two ion concentrations appear.
  • Using the wrong n. It is the electron count in the balanced cell reaction, and it sets the slope. A factor-of-two error here is a factor-of-two error in the entire correction.
  • Substituting concentration for activity above about 0.1 M. Activity coefficients drop well below 1 in concentrated or high-ionic-strength solutions. Calibrate against standards of matching ionic strength.
  • Assuming the calculated potential is what you will measure under load. The Nernst value is the open-circuit, zero-current potential. Drawing current adds overpotential and IR drop, both of which reduce the terminal voltage.
  • Ignoring temperature. The slope is proportional to absolute temperature, so a 25 °C calibration used at 5 °C is 7% off in slope.
  • Forgetting the junction potential. A salt bridge or frit contributes a few millivolts that no calculation predicts; empirical calibration absorbs it.

How the Nernst equation connects to the rest of the chemistry

Electrochemistry is thermodynamics measured with a voltmeter. The bridge is ΔG = −nFE, which means everything the Gibbs free energy calculator tells you has an electrochemical equivalent. A spontaneous reaction has negative ΔG and positive E; the crossover where ΔG changes sign is the same crossover where the cell voltage changes sign. And ΔG = ΔG° + RT ln Q, divided through by −nF, is the Nernst equation — the two are the same statement in different units.

Setting E to zero gives the equilibrium condition and hence ln K = nFE°/RT. This is one of the most precise routes to an equilibrium constant, because voltages are easy to measure to a fraction of a millivolt while concentrations of a trace species are not. Solubility products of sparingly soluble salts, formation constants of complexes and acid dissociation constants have all been determined this way; the resulting constants feed the equilibrium constant calculator and the solubility product calculator.

The most familiar application is the pH electrode, whose glass membrane responds to hydrogen ion activity with a near-ideal 59.16 mV per pH unit at 25 °C. Because pH is itself −log₁₀ of an activity, the Nernst response is linear in pH by construction. The pH calculator covers the solution chemistry side, and the buffer calculator the standards you calibrate with.

What the Nernst equation deliberately excludes is kinetics. It gives the potential at zero current, the thermodynamic ceiling. Real electrodes need extra voltage to drive a useful current, and how much extra depends on the exchange current density and the electrode material — which is why platinum catalyses hydrogen evolution far better than lead does at the same thermodynamic potential. That temperature-dependent rate behaviour is described by the Arrhenius equation and its electrochemical analogues.

Frequently asked questions

Why is the Nernst constant 0.0592 at 25 °C?

It is 2.303RT/F evaluated at 298.15 K: (2.303 × 8.3145 × 298.15) ÷ 96485.33 = 0.05916 V. The factor 2.303 converts the natural logarithm in the underlying equation into a base-10 logarithm, which is what makes the number a “per decade” slope. Because it is proportional to absolute temperature, it becomes 54.20 mV at 0 °C and 61.54 mV at 37 °C.

What is n in the Nernst equation?

The number of moles of electrons transferred in the balanced cell reaction as written. For Zn + Cu²⁺ → Zn²⁺ + Cu it is 2. It divides the slope, so a two-electron reaction responds at 29.58 mV per decade instead of 59.16. Note that E° itself does not change when you scale the equation — only n and ΔG do.

How do I write the reaction quotient for a cell?

Products over reactants, each raised to its stoichiometric coefficient, omitting pure solids and pure liquids because their activity is 1. Gases enter as partial pressures in bar. For the Daniell cell both metals drop out and Q = [Zn²⁺]/[Cu²⁺]. When Q has exponents or gas terms, compute it separately and enter it directly in the calculator's direct mode.

What is a concentration cell?

A cell with the same chemistry in both half-cells but different concentrations, so E° = 0 and the entire voltage comes from the logarithmic term. A copper cell with 1.00 M on one side and 0.0010 M on the other gives E = (0.05916/2) × 3 = 0.0887 V. The same principle underlies the membrane potentials of nerve and muscle cells.

How does a pH meter use the Nernst equation?

A glass electrode develops a potential that varies linearly with the logarithm of hydrogen ion activity, which is exactly −pH. The theoretical slope is 59.16 mV per pH unit at 25 °C, and calibration with two buffers establishes the actual slope and intercept of a given electrode. Automatic temperature compensation rescales the slope for the sample temperature, since it is proportional to absolute temperature.

How do I get the equilibrium constant from a cell potential?

Set E to zero — the condition for equilibrium — which gives ln K = nFE°/(RT). At 25 °C this is log₁₀K = nE°/0.05916, so a one-electron reaction with E° = 0.0592 V has K = 10, and the Daniell cell's E° = 1.10 V with n = 2 gives K ≈ 1.5 × 10³⁷. This is often the most accurate way to measure a large constant.

Why is my measured potential different from the calculated value?

Three usual causes. Activity coefficients below 1 mean concentrations overstate the effective activity, particularly above 0.1 M or for multiply-charged ions. A liquid-junction potential at the salt bridge adds a few millivolts that no calculation predicts. And drawing any current introduces overpotential and IR drop, so a working cell always delivers less than the open-circuit value. Empirical calibration against standards absorbs the first two.

Does a positive cell potential mean the reaction is fast?

No. A positive E means the reaction is thermodynamically spontaneous, nothing more. Electrode kinetics decide the current a cell can actually deliver, and slow kinetics show up as overpotential — extra voltage needed above the Nernst value. Water electrolysis is the standard example: thermodynamics asks for 1.23 V, and a real cell needs well over 1.5 V because the oxygen evolution reaction is sluggish.

References