Physics & Chemistry
Doppler Effect Calculator (Sound Frequency Shift)
Calculate how motion changes the pitch of a sound. When a sound source moves towards you, each successive wave crest is emitted a little closer to you than the last, so the crests arrive more often and the sound is heard at a higher frequency. When the source moves away, the crests are spread out and the pitch drops. The same happens, in a slightly different way, when you move towards or away from a stationary source. This is the Doppler effect, described by the Austrian physicist Christian Doppler in 1842, and it explains the familiar drop in pitch as an ambulance siren or a racing car passes. Beyond everyday life, it is used in medical ultrasound to measure blood flow, in police and weather radar, in sonar and, for light, in astronomy to measure how fast stars and galaxies move. Enter the frequency emitted by the source, the speeds of the source and the listener, positive when they move towards each other, and the speed of sound, which is about 343 metres per second in air at 20 degrees Celsius. A 440-hertz tone from a source approaching at 20 metres per second, about 72 kilometres per hour, is heard at about 467 hertz, and at about 416 hertz once it has passed.
How to use this calculator
- Enter the frequency emitted by the source.
- Enter the source speed, positive towards the listener.
- Enter the listener speed, positive towards the source.
- Keep 343 m/s or enter the speed of sound for your conditions.
- Read the observed frequency and the shift.
Source moving versus listener moving
For sound, a moving source and a moving listener give slightly different shifts at the same speed, because sound travels through air, which acts as a reference. At low speeds the difference is small.
When a source reaches the speed of sound, the wave crests pile up into a shock wave, heard as a sonic boom.
Doppler in science and medicine
Doppler ultrasound detects the tiny frequency shift of sound echoing off moving blood cells, showing the speed and direction of blood flow.
Astronomers measure the redshift of light from galaxies, a Doppler-like effect that revealed the expansion of the universe.
Formula & method
Observed frequency f′ = f × (c + v_o) ÷ (c − v_s)v_s positive when the source moves towards the listener; v_o positive when the listener moves towards the sourceWavelength reaching the listener λ′ = (c − v_s) ÷ fSpeed of sound in dry air ≈ 331.3 + 0.606 × T(°C) m/s, about 343 m/s at 20 °CObserved frequency f′ = f × (c + v_o) ÷ (c − v_s), where c is the speed of sound, v_o the listener’s speed towards the source and v_s the source’s speed towards the listener; use negative values for motion apart. Wavelength in front of the source λ′ = (c − v_s) ÷ f. Shift in semitones = 12 × log₂(f′ ÷ f). The speed of sound in dry air is about 331.3 + 0.606 × T m/s, with T in °C, giving 343 m/s at 20 °C. The formula applies to speeds below the speed of sound along the line joining source and listener; for light, a relativistic formula is needed.
Worked example
A 440 Hz siren approaching at 20 m/s
- f′ = 440 × 343 ÷ (343 − 20) = 440 × 1.0619 ≈ 467.2 Hz.
- After it passes and moves away: 440 × 343 ÷ 363 ≈ 415.8 Hz.
- The pitch drops by about 51 Hz, nearly two semitones.
Answer: Heard at about 467 Hz approaching and 416 Hz receding.
Frequently asked questions
What is the Doppler effect?
The change in observed frequency caused by relative motion of source and listener.
Why does a siren drop in pitch as it passes?
The waves are compressed as it approaches and stretched as it recedes.
What sign should I use for speeds?
Positive when moving towards each other, negative when moving apart.
What is the speed of sound in air?
About 343 m/s at 20 °C.
Does this work for light?
Not exactly; light needs the relativistic Doppler formula.
What happens at the speed of sound?
The formula breaks down and a shock wave forms.