Earthquakes, until recently, have been measured on the Richter scale. The Richter scale measures the magnitude of an earthquake (how powerful it is). It is measured using a machine called a seismometer which produces a seismograph.
The Richter scale is not very accurate in measuring these larger earthquakes and today scientists use the Moment Magnitude Scale which uses the same logarithmic scale but which more accurately measures the strength of larger earthquakes.