An earthquake is the shaking of the ground due to the release of seismic energy due to slips along a fault line, volcanic activity or a plain old asteroid hitting the Earth.
The Richter Scale
The Richter Scale measures the magnitude of an earthquake using the logarithm of the amplitude of waves recorded by seismographs.