Doppler Effect Calculator
A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call
Free Doppler effect calculator. Find the frequency you hear from a moving source or as a moving observer, with the shift in hertz and in musical cents.
- Shift (Hz)
- 0
- Shift (cents)
- 0
Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.
How to use the Doppler effect calculator
- Enter the source frequency in hertz: the pitch the source actually produces, such as a 440 Hz note or a siren's tone.
- Enter the source's speed towards you. Use a negative number if it's moving away.
- Enter your speed towards the source. Use a negative number if you're moving away, and 0 if you're standing still.
- Choose the speed units: m/s, km/h or mph.
- Optionally change the speed of sound, 343 m/s by default, which is its value in dry air at about 20 °C.
The Doppler effect calculator shows the frequency you hear, the change in hertz, and the change in musical cents.
What is the Doppler effect?
When a source of sound moves towards you, each sound wave is emitted from a little closer than the one before, so the waves bunch up. You hear a higher pitch. When it moves away, the waves spread out, and you hear a lower pitch. The same happens if you move towards or away from a stationary source. This is the Doppler effect, named after the Austrian physicist Christian Doppler, who described it in 1842.
You've heard it whenever an ambulance, a train horn or a racing car passes: the pitch drops suddenly as it goes by.
How the Doppler effect calculator works
For sound in still air, the frequency you hear is:
f' = f × (c + v_observer) ÷ (c − v_source)
where f is the source frequency, c the speed of sound, v_observer your speed towards the source, and v_source the source's speed towards you. Speeds are positive when moving towards each other, negative when moving apart.
With the default figures, a 440 Hz source moving towards you at 20 m/s:
f' = 440 × 343 ÷ (343 − 20) ≈ 467.2 Hz
That's about 27 Hz higher, or about 104 cents, slightly more than a semitone.
If the same source moves away at 20 m/s:
f' = 440 × 343 ÷ (343 + 20) ≈ 415.8 Hz
about 98 cents lower, so as it passes, the pitch drops by about two semitones.
Cents and semitones
Musicians measure small pitch differences in cents. There are 100 cents in an equal-tempered semitone and 1,200 in an octave:
Cents = 1,200 × log₂(f' ÷ f)
The Doppler effect calculator shows the shift in cents, so you can relate it to musical intervals. A shift of about 100 cents sounds like the note moving up or down one key on a piano.
A worked example: a passing siren
An ambulance siren sounds at 700 Hz and approaches you at 100 km/h.
- Speed in m/s: 100 ÷ 3.6 ≈ 27.8 m/s.
- Approaching: 700 × 343 ÷ (343 − 27.8) ≈ 761.7 Hz, about 146 cents higher.
- Moving away: 700 × 343 ÷ (343 + 27.8) ≈ 647.6 Hz, about 135 cents lower.
Choose km/h in the Doppler effect calculator and enter 700 and 100, then −100, to check. The total drop as it passes is nearly 300 cents, about a minor third.
A moving listener
If you drive at 30 m/s towards a stationary 1,000 Hz source, you hear 1,000 × (343 + 30) ÷ 343 ≈ 1,087 Hz. Notice that a moving listener and a moving source at the same speed don't give exactly the same shift, because the formula treats them differently: what matters is motion relative to the air.
Why the source can't outrun sound
If the source moves at or faster than the speed of sound, the formula breaks down: the waves pile up into a shock wave, heard on the ground as a sonic boom. The Doppler effect calculator only accepts source speeds below the speed of sound.
Temperature and the speed of sound
The speed of sound in air depends mainly on temperature, rising by about 0.6 m/s for each degree Celsius. It's about 331 m/s at 0 °C, 343 m/s at 20 °C, and 349 m/s at 30 °C. Change the speed of sound in the calculator for a different temperature. In water, sound travels about 1,480 m/s, so Doppler shifts underwater are smaller for the same speeds.
The Doppler effect beyond sound
The same principle applies to all waves:
- Radar guns measure vehicle speeds from the Doppler shift of reflected radio waves.
- Doppler ultrasound measures blood flow in the heart and blood vessels.
- Weather radar detects wind speeds inside storms.
- Astronomers measure the speeds of stars and galaxies from the redshift or blueshift of their light.
For light and radio waves, the calculation uses the speed of light, and at very high speeds, relativity changes the formula.
Who uses a Doppler effect calculator
Physics students use it to solve wave problems. Musicians and sound designers use it to create realistic movement in audio. Teachers use it to demonstrate wave behaviour. Engineers use Doppler principles in radar and sensors, and curious listeners use it to understand the pitch drop of a passing siren.
Need more customers from Google?
This tool is free and runs in your browser. If your business also needs more leads or sales, Google Ads is where people search with their wallet out. That is the whole job of DeepRit: a PPC-only agency that sets up and runs Google Ads accounts so every click is accounted for. You keep full ownership of your account, get a written report every week, and can stop at any time. See our pricing or ask for a free audit.
Common mistakes
- Using the wrong sign for speeds moving apart.
- Mixing km/h and m/s without converting.
- Treating a moving source and a moving listener as identical.
- Forgetting wind, which changes the effective speed of sound along the path.
Hearing the change as something passes
When a source passes you closely, its speed towards you doesn't jump instantly from positive to negative. As it gets close, more of its motion is sideways rather than directly towards you, so the component of its speed towards you falls, and the pitch slides down smoothly from the higher value to the lower one. The quickest part of the slide happens at the moment of closest approach. The Doppler effect calculator gives the two extreme pitches, far away on approach and far away after passing, when the source is heading almost straight towards and then away from you.
Estimating speed from pitch
You can turn the formula around to estimate how fast something passed. If you record a passing car and measure the approaching and departing pitches, f₁ and f₂, the speed of a source passing a stationary listener is:
v = c × (f₁ − f₂) ÷ (f₁ + f₂)
For the siren example, with 761.7 Hz approaching and 647.6 Hz departing, the speed is about 343 × 114.1 ÷ 1,409.3 ≈ 27.8 m/s, about 100 km/h, matching the speed we started with. Music apps and spectrum analysers make it possible to try this with a phone.
The Doppler effect in music and sound design
Sound designers use Doppler shifts to make moving objects in films and games sound realistic: a passing spaceship, a car chase or a whooshing projectile. Rotating speaker cabinets, such as those used with organs, create a rich vibrato partly through the Doppler effect, as the speaker moves towards and away from the listener many times a second. Recording engineers sometimes avoid moving microphones during recording for the same reason, since even small movements can slightly shift the pitch.
Medical ultrasound
Doppler ultrasound sends high-frequency sound into the body and listens to the echoes from moving blood cells. Blood moving towards the probe returns a slightly higher frequency, and blood moving away a slightly lower one. Because sound travels about 1,540 m/s in soft tissue and the frequencies are in the megahertz range, the shifts are only a few kilohertz, but they're enough to measure blood speed and direction in the heart and blood vessels. The Doppler effect calculator uses air by default, but you can change the speed of sound to explore other media.
Bats and dolphins
Some bats use the Doppler effect when hunting with echolocation. Their calls bounce off flying insects, and the returning echoes are shifted by the insects' movement and their wingbeats, helping bats detect and track prey. Dolphins and whales use echolocation underwater in similar ways.
Sources and further reading
- Doppler effect on Wikipedia: the physics, formulas and applications.
- Speed of sound on Wikipedia: how the speed of sound varies with temperature and medium.
- Cent (music) on Wikipedia: measuring pitch differences in cents.
Frequently asked questions
How do I calculate the Doppler effect?
f' = f × (c + v_observer) ÷ (c − v_source), with speeds positive towards each other.
What do I hear from a 440 Hz source approaching at 20 m/s?
About 467 Hz.
Why does a siren's pitch drop as it passes?
It changes from approaching, which raises the pitch, to moving away, which lowers it.
What speed of sound should I use?
343 m/s for air at about 20 °C; it rises about 0.6 m/s per °C.
Does it work for light?
The principle does, but light uses the speed of light and, at high speeds, relativity.
Is the Doppler effect calculator free?
Yes. It's free, needs no sign-up, and works in your browser.
Free PPC audit
See where your ad budget leaks.
We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.