The article presents tests on the possibility of using ultrasonic transducers for accurate distance measurement in hard coal mines. In order to check the impact of selected disturbing factors on the measurement results, test stands were built, and then a full cycle of measurements with the use of different transducers (AR30 and AR41), which were selected and pre-tested in previous research projects, was realized. The impact of such disturbing factors as airborne dust (coal, stone, lime and mixed dust), changes in temperature and humidity on the propagation of ultrasonic waves, amplitude and measurement accuracy was investigated. The tests were preceded by theoretical analysis. It was found that the transducers selected for the tests had a sufficient accuracy and range, so they can be used in the devices planned to be designed, allowing for the determining of the location of a roadheader in hard coal mine roadways, taking into account technical and legal restrictions. It was also specified which disturbing factors should be compensated and what methods and parameters of this compensation should be used.