Physics · Biology
June 2026 · 12 min read · Time of Flight · Chirps · Matched Filtering · Doppler · Last updated: 22 June 2026

Echolocation: How Bats and Dolphins See with Sound

Written by MySimulator Team · Reviewed by MySimulator Editorial Review

In total darkness, a bat can catch a mosquito in mid-flight. In murky water, a dolphin can tell a steel ball from a brass one of the same size. Both animals do it by emitting sound and listening to the echoes — building a detailed picture of their surroundings from time and frequency alone. The signal-processing tricks they use, refined over millions of years of evolution, were independently rediscovered by engineers building radar and SONAR. This article explains the physics of biosonar and how it parallels its engineered cousin.

1. Ranging by Time of Flight

The foundation of all echolocation is simple. Emit a pulse of sound, measure how long the echo takes to return, and convert that delay to distance. Because the sound travels to the target and back, the round trip is twice the range.

Distance to target: d = c · t / 2 where c = speed of sound, t = round-trip echo delay In air: c ≈ 343 m/s → a target 1 m away returns an echo in ~5.8 ms In water: c ≈ 1500 m/s → sound travels ~4× faster, so timing must be 4× finer

This factor of two — the d = ct/2 relation — is identical to the equation used by radar (where c is the speed of light) and by engineered SONAR. The bat and the submarine solve exactly the same geometry; only the wave and the medium differ.

2. Chirps and Why They Beat a Single Tone

Many echolocating bats do not emit a single pure tone. Instead they emit a chirp — a pulse whose frequency sweeps rapidly, often downward, across a wide band (for example from 100 kHz to 40 kHz in a few milliseconds). This frequency-modulated (FM) sweep is far more useful than a single tone, for a deep reason rooted in signal theory.

Range resolution depends on bandwidth B, not on pulse length: Δd ≈ c / (2 B) A wide-bandwidth chirp gives fine range resolution while still being long enough to carry plenty of energy. This decouples two goals that a single tone forces into conflict: long pulse (more energy, better detection) vs short pulse (better resolution).

A long, constant-frequency pulse contains a lot of energy (good for detecting faint targets) but blurs range (you cannot tell exactly when it returned). A short pulse pins down range but carries little energy. The chirp escapes this trade-off: it is long in time yet wide in bandwidth, so it can be both energetic and precise — once it is processed with the right filter.

3. Matched Filtering: Hearing the Echo in Noise

The echo coming back is faint and buried in noise and clutter. The optimal way to detect a known signal in noise is the matched filter: correlate the incoming sound with a stored copy of the transmitted chirp. Wherever the echo matches the template, the correlation spikes sharply, marking the precise arrival time.

Matched filter output (cross-correlation of echo r with template s): y(t) = ∫ r(τ) · s(τ − t) dτ A chirp's autocorrelation is a narrow peak (pulse compression): the long transmitted pulse collapses to a sharp spike at the true delay. This is why a chirp gives fine timing despite being long — the matched filter "compresses" it.

This technique — called pulse compression in radar engineering — is the mathematical reason the chirp works. Behavioural and neural evidence suggests bats perform something functionally equivalent: their auditory systems appear to cross-correlate the returning echo against the call they just made, extracting timing far finer than the pulse length alone would suggest.

4. Doppler Shift and Velocity

Motion changes the pitch of the echo. An echo from an approaching insect comes back at a higher frequency; one from a receding target comes back lower. This Doppler shift tells the animal not just where a target is but how fast it is closing — essential for intercepting prey.

Doppler shift for a round-trip echo (target speed v ≪ c): Δf ≈ 2 f₀ v / c The factor of 2 again arises from the round trip. Approaching target (v > 0) → echo frequency increases.

Some bats, notably horseshoe bats, take this further with Doppler-shift compensation. They lower the frequency of their outgoing call precisely so the returning echo always lands at the same "acoustic fovea" frequency their cochlea is most finely tuned to. They actively cancel their own flight Doppler to keep the echo in the sharpest part of their hearing — an elegant closed-loop control system.

5. Microsecond Timing and Jamming Avoidance

The temporal precision of biosonar is astonishing. Behavioural experiments show some bats can resolve changes in echo delay on the order of a microsecond or less — corresponding to sub-millimetre differences in target range. Achieving this requires neural circuits that compare the timing of the outgoing call and the returning echo with extraordinary accuracy, far finer than the duration of a single sound cycle.

A second challenge is interference. When many bats fly together, or when a bat's own sound could be confused with another's, they exhibit a jamming avoidance response: they shift the frequency, timing, or structure of their calls to keep their echoes distinguishable from the crowd. Some bats even fall silent or jam rivals to steal prey. These are the same problems radar engineers face in dense electromagnetic environments, solved with the same kinds of strategies — frequency agility and waveform diversity.

Dolphins and click trains: toothed whales emit broadband clicks rather than FM sweeps, produced in nasal structures and focused forward by a fatty "melon" that acts as an acoustic lens. They time the next click to the returning echo, naturally pacing their interrogation of the scene as range changes — a built-in feedback loop.

6. Biosonar vs Engineered SONAR

Engineered SONAR (Sound Navigation And Ranging), developed for naval use in the twentieth century, rests on the very same principles: emit a pulse, time the echo with d = ct/2, use chirps and pulse compression for resolution, and read velocity from Doppler. Where they differ is instructive.

The convergence is the real lesson: confronted with the same physics, evolution and engineering arrived at the same toolkit — time of flight, chirps, matched filtering, and Doppler. Studying how bats and dolphins out-perform our machines remains an active source of ideas for sonar, radar, and robotic sensing.

Related simulations

🦇
Echolocation Simulator
Emit chirps, time the echoes, and build a sound picture of hidden targets
📶
Doppler Radar Simulator
See how motion shifts the returning frequency to reveal target velocity
🔊
Acoustic Lens Simulator
Focus and steer sound beams the way a dolphin's melon shapes its clicks