"Since the energy of an earthquake is proportional to the square root of the cube of the amplitude, each step of the Richter scale has an energy 103/2 (~ 31.6) times that of the previous step. So while a magnitude 9 has 10,000 times the amplitude of a magnitude 5 earthquake, it has a million times more energy."