The earthquake's distance beneath the Earth's surface, which I believe starts at 0km on the ocean floor for the purposes of these measurements -- meaning, the water has nothing to do with it and the word depth is a coincidence. That confused me at first.
http://earthquake.usgs.gov/learn/topics/seismology/determini...