The Nernst equation relates a cell's potential to the actual concentrations of the species taking part in its electrochemical reaction, rather than assuming they sit fixed at their standard 1 M states. For a general electrochemical cell reaction xA+yB→lC+mD, the reaction quotient Q is
Q=[A]x[B]y[C]l[D]m
Recall from thermodynamics that the actual Gibbs free energy change relates to the standard one and the reaction quotient as ΔG=ΔGo+RTlnQ. Substituting the electrochemical relationships ΔG=−nFEcell and ΔGo=−nFEcello from the previous section turns this into
−nFEcell=−nFEcello+RTlnQ
Dividing throughout by −nF gives the Nernst equation in its natural-log form, and converting to base-10 logarithms gives the more commonly used form:
Ecell=Ecello−nFRTlnQor equivalentlyEcell=Ecello−nF2.303RTlogQ
At 25°C (298 K), substituting R=8.314 J K−1mol−1, T=298 K and F=96500 C mol−1 collapses the constant 2.303RT/F down to a single practical number, giving the equation its most-used form:
Ecell=Ecello−n0.0591logQ …