Scientists describe the size of an earthquake with a number called its magnitude. Each step up of 1 on the magnitude scale means the waves on instrument recordings are about 10 times as large, once scientists adjust for distance. It also means the earthquake releases about 32 times as much energy. How hard the ground shakes at any one place also depends on how far away it is and on the kind of ground there.
Most earthquakes and volcanoes happen near plate boundaries. These are the edges where Earth's plates pull apart, push together or slide past each other. Where an ocean plate sinks under another plate, chains of volcanoes often form too. But not every earthquake or volcano is near a plate boundary. The Island of Hawaii is in the middle of the Pacific Plate, more than 3,200 kilometers away from any plate boundary. It sits over a hot spot, an unusually hot area deep below the plate. Hot rock rises there, partly melts and feeds the island's volcanoes. Earthquakes happen in Hawaii too. They happen as magma moves underground, as the sides of the volcanoes slide and as the heavy volcanoes press down on the plate.
No one can predict the day an earthquake will strike. Instead, scientists forecast the chances of a strong earthquake in an area over a span of years. Earthquake early warning systems do something different. Their instruments sense an earthquake soon after it begins. Then the system sends alerts ahead of the strong shaking, to places it has not reached yet.