Dirac's equation gives the electron a g-factor of exactly 2. The anomalous magnetic moment measures the departure from that value, 𝑎𝑒 =(𝑔 −2)/2. It arises because the electron is never alone: it continually emits and reabsorbs virtual photons, and these loop diagrams slightly strengthen its magnetism.
In 1947 Polykarp Kusch and Henry Foley measured a small excess, and in 1948 Julian Schwinger calculated the first correction, 𝛼/2𝜋 ≈0.00116. That single term already matches the measured value, about 0.001 159 65, to within a fraction of a per cent. Theorists have since carried the calculation to five loops, and theory and experiment for 𝑔 agree to better than one part in a billion, making this the most precisely confirmed prediction in science.
The muon's anomaly, measured at Brookhaven and at Fermilab, is a sensitive probe for unknown heavy particles, because the muon is about 207 times heavier than the electron.