The speed of sound in a medium is independent of its frequency. Ultrasonic waves and audible sound waves are both sound waves and travel at the same speed in the same medium.