Earthquake magnitude is measured with M = log(A/A₀), where A is the amplitude of the ground motion. Because the scale is logarithmic, a magnitude 6 earthquake does not shake the ground twice as much as a magnitude 3 — it shakes it about 1,000 times more, since each whole step multiplies the ground motion by 10.