The Nernst equation relates the electrode potential of a half-cell to the concentration of ions in the solution. The potential of the SHE at 1 Molar H⁺ concentration is used as a reference in the Nernst equation to calculate electrode potentials for other half-cells.