The secretiveness of sonar operation can be achieved by using continuous frequency-modulated sounding signals with reduced power and significantly prolonged repeat time. The application of matched filtration in the sonar receiver provides optimal conditions for detection against the background of white noise and reverberation, and a very good resolution of distance measurements of motionless targets. The article shows that target movement causes large range measurement errors when linear and hyperbolic frequency modulations are used. The formulas for the calculation of these errors are given. It is shown that for signals with linear frequency modulation the range resolution and detection conditions deteriorate. The use of hyperbolic frequency modulation largely eliminates these adverse effects.