Ultrasound Distance Calculator – Distance from Echo Time (Sonar & Sensors)

Use this free Ultrasound Distance Calculator to find how far away an object is from the time its echo takes to return. This is exactly how sonar, parking sensors, medical ultrasound scanners and bats measure distance.

distance d sensor object

Formula

Distance d = v × t / 2  •  the pulse travels out and back, so the round trip is 2d — that is why we divide by 2

How to use

Worked example

A ship's sonar sends a pulse into water (v = 1,480 m/s) and the echo from the seabed returns after 0.1 s.
d = 1,480 × 0.1 / 2 = 148 / 2 = 74 m.
The water is 74 metres deep at that point.

FAQ

Why is sound so much faster in water and steel?
Sound is a vibration passed from particle to particle. Water and steel particles are packed far more tightly and stiffly than air molecules, so the vibration is handed on much faster.

How does a medical ultrasound make a picture?
It sends many pulses in different directions and times every echo. Boundaries between tissues reflect part of the pulse, and the machine builds an image from the echo times and strengths.

What is the smallest time my sensor can use?
That depends on its electronics, but the idea is the same: a parking sensor measuring 0.001 s in air is detecting an object about 17 cm away.