Doppler effect calculator
Why does a siren drop in pitch as it passes? Enter the frequency of the sound and how fast the source and listener are moving to hear the Doppler shift in numbers.
See it for real: play Paint the Sky or play Make Sand Sing.
The formula
When a source of sound moves towards you, its waves are squashed together and you hear a higher pitch; as it moves away, they are stretched out and the pitch falls. For sound in still air:
f′ = f × (c + vo) / (c − vs) approaching
f′ = f × (c − vo) / (c + vs) moving apart
f is the frequency the source actually gives out, f′ the frequency you hear, c the speed of sound (343 m/s in air at 20 °C), vs the speed of the source and vo the speed of the observer (the listener), each measured along the line between them. The drop in pitch as it passes is given in semitones, the steps on a piano keyboard.
Why it works
A siren at 700 Hz sends out a crest every 1/700 of a second. If it is moving towards you at 30 m/s, in that time it chases its own last crest and closes 30/700 = 4.3 cm of the gap. Each wave is 4.3 cm shorter than the 49 cm it would be from a parked ambulance, so more crests reach you each second: a higher pitch. Behind it, each wave is 4.3 cm longer. A moving listener is slightly different: the waves are not squashed, but you run into them faster, which is why the source and listener speeds appear in different places in the formula. At everyday speeds the two give almost the same answer.
How big is the shift?
| Source passing a still listener | Speed | Pitch drop |
|---|---|---|
| Cyclist’s bell | 5 m/s (18 km/h) | 0.5 semitones |
| Car in town | 13 m/s (30 mph) | 1.3 semitones |
| Motorway traffic | 31 m/s (70 mph) | 3.1 semitones |
| Formula 1 car on a straight | 90 m/s (324 km/h) | 9.3 semitones |
| High-speed train | 83 m/s (300 km/h) | 8.5 semitones |
That classic “neeeee-owww” of a racing car really does fall by most of an octave as it passes.
A brass band on a train
The Austrian physicist Christian Doppler predicted the effect in 1842. In 1845 the Dutch scientist Christophorus Buys Ballot tested it on the railway near Utrecht: horn players stood on an open wagon pulled past musicians with perfect pitch, who wrote down the notes they heard. The shift matched Doppler’s formula.
Doppler shifts of light
Light shows the same effect, although the formula is different because light needs no medium: for speeds much less than light, the fractional shift is simply v/c. Galaxies moving away from us look redder (redshift), which is how Edwin Hubble discovered in 1929 that the universe is expanding. Police speed guns and weather radar measure the tiny Doppler shift of microwaves bounced off cars or raindrops, and doctors use Doppler ultrasound to measure blood flow through arteries.
Assumptions and limits
- The motion is straight along the line to the listener. When a car passes a few metres to one side, the pitch slides smoothly between the two values rather than jumping, and right at the closest point you hear the true frequency.
- The air is still. A steady wind changes both speeds slightly but has little effect on the pitch for a listener who is standing still.
- At or above the speed of sound the formula breaks down: the source outruns its own waves, which pile up into a shock wave heard as a sonic boom.
Everyday uses
- Estimating speed by ear: about one semitone of drop for every 10 m/s (22 mph). A drop of a major second (two semitones) means roughly 20 m/s.
- Bats and dolphins: echolocating bats listen for the Doppler shift of echoes to tell whether a moth is flying towards or away from them.
- Astronomy: the tiny back-and-forth Doppler wobble of starlight, a few metres per second, revealed the first planet around a Sun-like star in 1995.
Hear how sound travels in Paint the Sky, where every firework’s boom arrives late because sound covers only 343 m each second, and play with pitch and resonance in Make Sand Sing.
Worked example
An ambulance siren sounds at 700 Hz and drives past you at 30 m/s (108 km/h, 67 mph). What pitch do you hear before and after it passes?
| Frequency the source gives out | 700 Hz |
|---|---|
| Speed of the source | 30 m/s |
| Speed of the listener | 0 m/s |
| Speed of sound | 343 m/s |
| Pitch heard while approaching | 767.1 Hz |
| Pitch heard while moving apart | 643.7 Hz |
| Drop in pitch as it passes | 3.036 semitones |
About 767 Hz coming towards you and 644 Hz going away: a drop of three semitones, a minor third, which is easy to hear. Turn it round and you can estimate a car’s speed from the drop in its engine note: each semitone is roughly 10 m/s.
Frequently asked questions
- What is the Doppler effect formula for sound?
- f′ = f (c + vₒ) / (c − vₛ) for a source and observer approaching each other, with c the speed of sound. A 500 Hz horn approaching at 20 m/s: 500 × 343 / 323 = 531 Hz.
- Why does a siren change pitch as it goes past?
- As it approaches, each wave is sent out a little closer to you than the last, so the crests arrive bunched up and the pitch is higher. As it moves away the crests are spread out and the pitch is lower. The siren itself never changes.
- How much does the pitch of a passing car drop?
- About one semitone for every 10 m/s of speed. A car at 30 mph (13.4 m/s) drops about 1.3 semitones; at 70 mph (31.3 m/s) about 3.1 semitones, a minor third.
- Does it matter whether the source or the listener moves?
- Slightly. A source moving towards you at 30 m/s raises a 700 Hz tone to 767 Hz; you moving towards a still source at 30 m/s hear 761 Hz. The difference grows as speeds approach the speed of sound.
- What is redshift?
- The Doppler effect for light from something moving away: its wavelength is stretched towards the red end of the spectrum. A galaxy receding at 3,000 km/s (1% of light speed) has its light stretched by about 1%.
- What happens when the source moves faster than sound?
- It overtakes its own sound waves, which pile up into a cone-shaped shock wave. You hear nothing until the cone sweeps over you as a sonic boom. That boom is why Concorde, cruising at about Mach 2, was only allowed to fly supersonic over the sea.
Sources
- Doppler effect, Wikipedia
- Doppler effect for sound, HyperPhysics
- Redshift, Wikipedia
- Christophorus Buys Ballot, Wikipedia
Related calculators
- Speed of Sound Calculator: How fast does sound travel, and how far away was that thunder? Enter the air temperature and the delay you heard to get the speed of sound and the distance.
- Musical Interval Calculator: How far apart are two notes? Enter two frequencies to get the interval in cents and semitones, its name, and how it compares with a piano’s equal temperament.
- Wave Speed Calculator: How fast is a wave travelling? Enter its frequency and wavelength to get its speed, along with the period between one crest and the next.
- Frequency to Wavelength Calculator: How long is a radio wave, a Wi-Fi signal or a musical note? Enter a frequency and the wave speed (light by default) to get the wavelength.
Checked against the sources above. Last reviewed 2026-11-11. Calculators give estimates from standard formulas; see our disclaimer.

