As well as accident avoidance (most larger vessels will have at least a simple depth sounder), echo sounding is commonly used for fishing. Variations in elevation often represent places where fish congregate.
Most charted ocean depths use an average or standard sound speed. Where greater accuracy is required average and even seasonal standards may be applied to ocean regions. For high accuracy depths, usually restricted to special purpose or scientific surveys, a sensor may be lowered to observe the factors (temperature, pressure and salinity) used to calculate sound speed and thus determine the actual sound speed in the local water column.
External Link