Well that is because they first determine where the layers of the earth are moving then they can locate where the earthquake will happen and i hope that answered your questionCOMMENTNO IT...
They Use a Ritcher Scale.I Got The Answer from of my Science Teacher Mr. Isaacson at Columbus Tustin Middle School he is The best of The best Even Though i Dont Really understand science he makes it...