The ——- is based on the total moment released by the earthquake.
MMS
is a product of the distance a fault moved, and the force required to move it.
MOMENT
It is derived from recorded patterns of earthquakes in many stations all over the world.
MOMENT