The spin g -factor g s = 2 comes from the Dirac equation, a fundamental equation connecting the electron's spin with its electromagnetic properties. Reduction of the Dirac equation for an electron in a magnetic field to its non-relativistic limit yields the Schrödinger equation with a correction term, which takes account of the interaction of the electron's intrinsic magnetic moment with the magnetic field giving the correct energy.