"To generate a tsunami, the fault where the earthquake occurs must be underneath or near the ocean, and cause vertical movement of the seafloor (up to several meters) over a large ara (up to a hundred thousand square kilometers). Shallow focus earthquakes (depth less 70km or 42 mi) slong subduction zones are responsible for most destructive tsunamis. The amount of vericla and horizontal motion of the sea floor, the area over which it occurs, the simultaneous occurrence of slumping of underwater sediments due to the shaking, and the efficiency with which energy is transferred from the earth's crust to the ocean water are all part of the tsunami generation mechanism." (unesco.org)
-LIFE OF A TSUNAMI (usgs.gov)
Measuring earthquakes
Richter scale: logarithmic scale of the amount of energy released