Formula: Nernst Cell Potential Reference Equation
- standardPotentialVolts: Standard Potential Volts (V)
- electronsTransferredN: Electrons Transferred N (e⁻)
- reactionQuotientQ: Reaction Quotient Q (Q)
- temperatureKelvin: Temperature Kelvin (K)
Compute E_cell = E° − (RT / nF)·ln(Q) for batteries and redox electrodes.
A Q below 1 means products are scarce compared with reactants, relative to standard conditions, so the reaction has more tendency to proceed. In the equation, the log of a number below 1 is negative, and subtracting a negative term raises E. At the default Q of 0.05, that lifts the potential by 38.48 mV above the 1.1 V standard value.
Strictly, Q uses activities. For dilute solutions, concentration in mol per litre divided by 1 M is a common approximation. At higher ionic strength activity coefficients fall well below 1, and using bare concentrations can introduce errors of several millivolts or more. For precise work, multiply concentrations by activity coefficients before building Q.
Only at 25 °C, which is 298.15 K. That constant is RT over F multiplied by the natural log of 10 at that temperature. At any other temperature use the full form with T, which is what this page does internally. At body temperature, for instance, the slope for n of 2 rises to 13.36 mV per natural log unit.
It means the reaction as you wrote it is not spontaneous under those conditions, and ΔG comes out positive. Either the cell runs the other way or you need to apply a voltage to drive it, as in electrolysis. Check that you subtracted the anode potential from the cathode potential and did not flip Q before concluding the reaction is unfavourable.
Yes, if you enter the standard reduction potential of the half-reaction as E° and build Q from that half-reaction alone. The result is the electrode potential against the standard hydrogen electrode. For an ion-selective or reference electrode measured against another reference, you still need to account for that reference's own potential.
At equilibrium the cell potential is zero and Q equals K. Setting E to zero and rearranging gives the natural log of K equal to n F E° divided by R T. The page does not calculate K directly, but you can find it by trial: adjust Q until the cell potential reads zero, and that Q is K.
Because the Nernst term depends only on R, T, n, F and Q. The standard potential is added separately. That is why the 0.66 V, 1.1 V and 1.7 V comparisons all show the same 38.48 mV shift. Change Q, n or the temperature and the shift moves; change E° and only the headline and ΔG change.
The field expects kelvin, so typing 25 is read as 25 K. The slope term then becomes tiny and the cell potential stays almost exactly at E°, which looks plausible but is wrong. Convert any Celsius temperature to kelvin before entering it, which means adding a little over two hundred and seventy. Room temperature at 25 °C is the default 298.15 K.
It predicts the open-circuit voltage at a given state of the reactants, which is a useful start. Under load, a real battery's terminal voltage is lower because of internal resistance and electrode overpotential, and the page does not model either. You can step Q through increasing values to see how the open-circuit voltage falls as products build up.
The line uses the non-standard cell potential, so it reports ΔG under the conditions you entered, not ΔG°. To get the standard value, set Q to 1; the cell potential then equals E° and the ΔG line becomes minus n F E°. The difference between the two is the concentration effect expressed as energy.
Multiply the reaction through until every coefficient is a whole number, then use the electron count of that version. The page accepts only whole numbers of electrons, 1 or more. The cell potential comes out the same whichever whole-number version you choose, as long as Q is written with the same coefficients, but the ΔG line scales with the n you use.
The default inputs look a lot like the textbook zinc and copper cell. The standard potential is 1.1 V, two electrons move per reaction, the temperature is 298.15 K, and the reaction quotient is 0.05. The page returns a cell potential of 1.14 V, or 1.1385 V before rounding.
That is 38.48 mV above the standard value. The extra voltage comes from the concentrations. A Q of 0.05 means the products are much scarcer than the reactants relative to standard conditions, so the reaction has more push to go forward than it would at Q of 1, and the cell voltage rises.
The other two supporting lines are the slope term, RT over nF, at 12.85 mV, and the Gibbs free energy, minus 219.69 kJ/mol. The negative sign on ΔG says the reaction as written runs spontaneously under these conditions, which is what a positive cell potential means too.
The equation is E equals E° minus RT over nF, times the natural log of Q. With R at 8.314 J per mol K, T at 298.15 K, n at 2 and the Faraday constant at about 96.5 thousand coulombs per mole, RT over nF comes to 0.01285 V, the 12.85 mV slope shown.
The natural log of 0.05 is about minus 3.00. Multiply by 12.85 mV and you get about minus 38.5 mV. Subtracting a negative number adds it, so E is 1.1 V plus 38.48 mV, which is 1.1385 V.
At 25 °C there is a shortcut many textbooks use. Convert the natural log to base 10 and fold the constants together, and the equation becomes E equals E° minus 0.05916 over n, times log Q. For n of 2 the factor is 0.02958 V. The log of 0.05 is about minus 1.30, and 0.02958 times 1.30 is again about 38.5 mV. The two forms agree at 298.15 K; at other temperatures only the full form with T is correct.
Almost every wrong answer from a Nernst calculation comes from the reaction quotient, not the arithmetic. Q is built from the balanced overall cell reaction: the activities of the products, each raised to its stoichiometric coefficient, divided by the activities of the reactants raised to theirs.
For dilute solutions, molar concentration divided by 1 M is the usual stand-in for activity. Gases enter as partial pressures relative to standard pressure. Pure solids and pure liquids, such as a zinc electrode or water as solvent, have an activity of 1 and drop out.
For the zinc and copper cell the overall reaction is zinc metal plus copper ions going to zinc ions plus copper metal. Both metals drop out, so Q is simply the zinc ion concentration over the copper ion concentration. A Q of 0.05 corresponds to, for example, 0.05 M zinc ions against 1 M copper ions.
Two traps are common. One is writing Q upside down, reactants over products, which flips the sign of the concentration shift. The other is forgetting a coefficient. A species with a coefficient of 2 must be squared inside Q, and leaving that out can give a visibly wrong voltage.
Once Q is written correctly, keep a copy of the expression next to the numbers you entered. If the voltage later looks wrong, the expression is the first thing to recheck, and having it in writing makes a flipped ratio or a missing square obvious at a glance.
Each factor of ten in Q moves the cell potential by a fixed amount at constant temperature. With n of 2 at 298.15 K, that amount is 29.58 mV. Raise Q from 1 to 10 and E falls by 29.58 mV; raise it to 100 and E falls by 59.16 mV in total.
At Q of exactly 1, the log term is zero and the cell potential equals the standard potential, 1.1 V. That is a useful check of your inputs: setting Q to 1 should always return E°.
When Q is below 1, as in the default, E is higher than E°. When Q is above 1, E is lower. Large departures are needed for big changes, which is why electrochemical cells hold a fairly steady voltage for much of their discharge and fall off mainly as one reactant is nearly used up.
The page does not accept a Q of zero or below. A Q of zero would mean no products at all, where the log term is undefined, so the calculator returns a check-inputs message instead of a voltage. In practice, enter the small but real product concentration, even a trace, and the potential will come out large but finite.
The number of electrons transferred sits in the denominator of the slope. Halving n from 2 to 1 doubles the slope from 12.85 mV to 25.69 mV, and the concentration shift at Q of 0.05 doubles too, from 38.48 mV to 76.97 mV.
Use the number of electrons in the balanced overall reaction, after the two half-reactions have been scaled so that electrons cancel. For zinc and copper, both half-reactions involve two electrons and n is 2. For a cell combining a one-electron and a two-electron half-reaction, the balanced reaction usually involves two electrons, even though one of the half-reactions alone only had one.
n also appears in the Gibbs energy line. ΔG is minus n times F times E, so with n of 1 and a higher E of 1.177 V, ΔG is smaller in magnitude than in the default, because only one mole of electrons is moving for each mole of reaction.
A quick way to confirm n is to look at the units of the slope line. If you have chosen n correctly, the slope at room temperature should be 25.69 mV divided by your n. A value of 12.85 mV means the page is using two electrons, and that is the figure every other line is built on.
Temperature appears in the slope term only. Raising it to 37 °C lifts the slope from 12.85 mV to 13.36 mV and the default concentration shift from 38.48 mV to 40.03 mV. The headline barely changes, from 1.1385 V to 1.14 V, because the shift is small compared with E°.
Two cautions. First, the field takes kelvin, not degrees Celsius. Entering 25 would mean 25 K, a temperature at which the slope term almost vanishes. Convert a Celsius reading to kelvin before typing it in, or use the default for room temperature.
Second, the standard potential itself changes with temperature, and the page holds it fixed. Tabulated E° values are usually for 25 °C. For a calculation at a very different temperature, the result is only approximate unless you supply an E° measured or corrected for that temperature.
The page converts the cell potential to the Gibbs free energy change using ΔG equals minus n F E. For the default, two moles of electrons times about 96.5 thousand coulombs per mole times 1.1385 V gives the magnitude on the page, displayed with its sign as minus 219.69 kJ/mol.
Per mole here means per mole of the reaction as written with n electrons. If you double all the coefficients in the reaction, n doubles and ΔG doubles, while E stays the same. The voltage is an intensive quantity; the energy is not.
The sign tells you the direction. A positive E gives a negative ΔG and a spontaneous reaction. Enter a standard potential of minus 0.5 V with the other defaults and the cell potential becomes about minus 0.46 V, with ΔG at plus 89.06 kJ/mol. That reaction would run in reverse, or need an external voltage to drive it forward, as in electrolysis.
The ΔG figure is the maximum electrical work available, not what a real cell delivers. Internal resistance, overpotential at the electrodes and side reactions all reduce the useful work drawn from an actual battery.
Swap in 0.66 V or 1.7 V as the standard potential and leave everything else alone. At 0.66 V the cell potential is 0.6985 V and ΔG is minus 134.79 kJ/mol. At 1.7 V it is 1.7385 V and ΔG is minus 335.48 kJ/mol. The concentration shift stays at 38.48 mV in all three because Q, n and T have not changed.
That is worth understanding. The Nernst correction does not depend on E° at all. It adds the same amount to any cell with the same n, Q and temperature. So once you know the shift for your conditions, you can apply it to any pair of half-cells with the same electron count.
Where E° comes from matters as much as the calculation. Take it from a reliable table of standard reduction potentials and compute it as the cathode potential minus the anode potential, both written as reductions. A sign error at that stage carries straight through every line on the page.