Frequently Asked Questions
Why does a siren seem to drop in pitch only as it passes?
Because the observed pitch depends on the part of the source's velocity directed towards you. Far away, almost all its motion is towards you and you hear close to the full 772.03 Hz on the default. Near the closest point that component falls quickly to zero and then reverses, so the pitch slides down towards 640.27 Hz in a short time.
Is the Doppler shift the same if I move instead of the source?
Not quite. With you moving at 32 m/s past a still 700 Hz source, the approaching rise is 65.31 Hz, against 72.03 Hz when the source moves and you stand still. Sound moves through air, so it matters which of the two is moving relative to it. At low speeds the two cases are nearly equal.
How much does the pitch change for a car at half the default speed?
At 16 m/s, half the default 32 m/s, the total pass-by drop for a 700 Hz tone is 65.45 Hz, a little less than half of the default 131.76 Hz. At low speeds the shift is close to proportional to speed. The proportion starts to break down as the speed becomes a significant fraction of the speed of sound. Your ear will still hear the change clearly.
Does a higher-pitched sound shift more?
In hertz, yes; as a musical interval, no. The page's 1050 Hz scenario drops by 197.64 Hz and the 420 Hz scenario by 79.06 Hz, while the default 700 Hz drops by 131.76 Hz. In every case the approaching pitch is about 10.3 percent above the source and the receding pitch about 8.5 percent below it. That is why a tune played from a moving vehicle stays in tune with itself.
Why is the receding pitch never less than half the original?
With a still listener, the receding frequency is f0 × c / (c + v_src). Even at a source speed equal to the speed of sound, that ratio is one half. So a source moving away from you below the speed of sound always sounds higher than half its emitted pitch. The approaching side has no such limit, which is why the two shifts are unequal.
What should I enter for the speed of sound?
Use 343 m/s for air near 20 °C, which is the default. For colder or warmer air, use the speed of sound for that temperature, since it changes noticeably over a normal outdoor range. For water or other media, enter the speed for that material. It must be above zero and above both the source and observer speeds. Humidity matters much less than temperature.
Can this calculator handle supersonic aircraft?
No. Once the source reaches the speed of sound, the approaching formula breaks down and a sonic boom replaces the steady tone. The calculator rejects any source speed at or above 343 m/s on the default and explains that the formula breaks down there. Use it only for source speeds clearly below the speed of sound. Subsonic aircraft are fine to model.
Does this apply to light or radar?
Not directly. The formula here is for sound, which travels through a medium, so source and observer motion count differently. Light needs the relativistic Doppler formula, which depends only on their relative speed. Police radar works on a reflected radio signal and uses a related but different relationship, roughly double the one-way shift for slow targets. Ultrasonic flow meters and medical Doppler scanners, on the other hand, do use sound and follow the same principle.
Why is the wavelength ahead of the source 0.44 m?
In front of a moving source, wave crests are spaced by the speed of sound minus the source speed, divided by the emitted frequency. On the default that is 343 minus 32, divided by 700, about 0.44 m, compared with 0.49 m from a still source. The line ignores the observer speed on purpose, because a moving listener changes how often crests arrive, not how far apart they are in the air.
How can I estimate a car's speed from a recording?
Measure the steady pitch before and after it passes. Then speed equals the speed of sound times the difference of the two pitches divided by their sum. With the default figures, 772.03 Hz and 640.27 Hz give back 32 m/s. Keep the car's speed and engine note steady during the recording for a fair result.
A 700 Hz horn passing at 32 m/s
Picture a siren or a car horn sounding a steady 700 Hz while it drives past you at 32 m/s, a fast road speed, on a day when sound travels at 343 m/s. You are standing still. As it comes towards you, you hear 772.03 Hz. Once it has passed and is moving away, you hear 640.27 Hz. The total drop in pitch as it goes by is 131.76 Hz.
Those are the four default inputs and the calculator's main lines. The approaching figure uses f0 × (c + v_obs) / (c − v_src), and the receding figure uses f0 × (c − v_obs) / (c + v_src). With the observer standing still, the first is 700 × 343 divided by (343 minus 32), and the second is 700 × 343 divided by (343 plus 32).
The drop of 131.76 Hz is a big change to the ear. The ratio of the two pitches is about 1.21, which is a little more than three semitones, slightly wider than a minor third. That is why a passing siren seems to change note rather than just fade.
Why the rise is bigger than the fall
Look at how far each pitch moves from the source. Approaching, the pitch goes up by 72.03 Hz. Receding, it goes down by 59.73 Hz. The shift is not symmetrical, and that is not a rounding issue.
When the source moves towards you, each new wave crest is emitted from a point closer to you than the last, so the crests bunch up. Their spacing becomes the speed of sound minus the source speed, divided by the emitted frequency: (343 minus 32) over 700, about 0.44 m, which matches the wavelength ahead of the source line. Behind the source the crests are stretched to (343 plus 32) over 700, about 0.54 m. Frequency is the speed of sound divided by that spacing, and dividing by a smaller number has a larger effect than dividing by a larger one.
The asymmetry grows as the source gets faster. At low speeds the rise and fall are almost equal. As the source speed gets closer to the speed of sound the approaching pitch climbs ever faster, while the receding pitch can never fall below half the emitted frequency.
A moving listener is not the same as a moving source
The calculator lets you move the observer too. Set the source speed to zero and the observer speed to 32 m/s, so you drive past a stationary 700 Hz alarm. The approaching pitch rises by 65.31 Hz, less than the 72.03 Hz rise when the alarm moves and you stand still. The pass-by drop is about 1.15 Hz smaller.
The two cases differ because sound travels through air, and air gives a fixed frame. A moving listener does not change the wave spacing in the air; they simply run into crests more often. A moving source actually squeezes the waves in the air. For speeds that are small compared with 343 m/s the two give similar numbers, but they are not identical, and the gap widens with speed.
If both move towards each other, the effects combine. With the source and the observer each at 32 m/s, the pass-by drop comes out at almost exactly twice the default 131.76 Hz. The observer speed field means speed towards the source while approaching; the formula then assumes the observer keeps the same velocity and is moving away once the two have passed.
Scaling with pitch and with speed
Every observed frequency is the emitted frequency times a ratio that depends only on the speeds. So the shift scales directly with the tone. The page's lower scenario uses 420 Hz and returns 463.22 Hz approaching, 384.16 Hz receding and a 79.06 Hz drop. The higher scenario uses 1050 Hz and returns 1158.04 Hz, 960.4 Hz and a 197.64 Hz drop. In percentage terms all three are the same: about 10.3 percent up and 8.5 percent down.
Speed matters much more than pitch. Halve the source speed to 16 m/s and the drop falls to 65.45 Hz, roughly half the default. Double it to 64 m/s and the drop becomes a little more than twice the default, because the asymmetry starts to grow.
This is why a pass-by sounds different for each vehicle. A slow lorry barely bends its engine note. A train at full speed sweeps down by several semitones. For a fixed speed, a high-pitched whistle moves by more hertz than a low horn, but by the same musical interval.
Changing the speed of sound for temperature or water
The 343 m/s default is sound in dry air at about 20 °C. Colder air carries sound more slowly, which makes the same vehicle speed a larger fraction of it and the shift slightly bigger. Warmer air does the reverse. The effect is small for everyday temperatures, but if you are matching a measurement you should enter the speed of sound for the actual air temperature.
The field also lets you leave air altogether. In water, sound travels more than four times faster than in air. A 10 m/s source sounding 700 Hz underwater shifts by less than 5 Hz approaching, against tens of hertz for the same source in air. Sonar systems therefore look for small frequency shifts and need precise speed-of-sound values for the water they work in.
The speed of sound has to be above zero, and both moving speeds have to stay below it. Lowering the speed of sound far enough therefore runs into the same error described in the next section, even with ordinary vehicle speeds.
Working out a vehicle's speed from the two pitches
The two observed frequencies are enough to recover the source speed without knowing the emitted frequency. With a stationary listener, divide the difference of the two pitches by their sum and multiply by the speed of sound. On the default, 131.76 divided by the sum of 772.03 and 640.27, times 343, gives back 32 m/s.
This is a nice experiment with a phone. Record a car going past at constant speed, read the steady pitch of its engine or tyre noise before and after it passes from a spectrum app, and use the formula. Pick a note that stays steady, and take readings well before and after the closest point, where the pitch has settled.
The calculator does not do this reverse step, but you can check your answer by entering the speed you found, together with an emitted frequency equal to twice the product of the two readings divided by their sum (on the default that gives back exactly 700 Hz), and seeing whether the approaching and receding lines match what you measured.
When the source reaches or passes 343 m/s
The approaching formula divides by the speed of sound minus the source speed. As the source speed nears 343 m/s that gap shrinks towards zero and the approaching pitch heads towards infinity. At exactly the speed of sound the source keeps pace with its own wave crests, which pile up into a single pressure front. Above it, the source outruns its sound. Nothing reaches a listener ahead of it until a shock wave arrives, heard as a sonic boom, and the approaching formula no longer has a physical meaning.
The calculator refuses any source speed at or above the speed of sound, with a message that the classic formula breaks down there because a shock wave forms. Just below the limit the numbers are still allowed but grow wild: a source just 3 m/s short of the speed of sound produces an approaching pitch more than a hundred times the emitted 700 Hz. Results that close to the limit describe the mathematics more than anything you would hear.
The same limit applies to the observer. A listener moving away from a source at or above the speed of sound would outrun the sound and hear nothing from behind, which the receding formula would show as a negative frequency. Rather than print that, the calculator rejects observer speeds at or above the speed of sound as well.
The wavelength line and a few other inputs to watch
The wavelength line gives the spacing of crests in the air ahead of the source, the speed of sound minus the source speed, divided by the emitted frequency: 0.44 m on the default. It depends only on the source. Set the source speed to 0 and the observer speed to 32 m/s and the heard approaching pitch rises by 65.31 Hz, yet the line stays at 0.49 m, the spacing from a still source. A moving listener changes how often crests arrive, not how far apart they are.
Speeds are entered as sizes, from zero upwards, and negative values are rejected. Direction is built into the two answers instead: the approaching line is the pitch before the pass and the receding line is the pitch after it.
The formula also assumes motion straight along the line between source and listener, and still air. A car passing at some distance from you shows a smooth glide from the high pitch to the low one rather than a sudden switch, and wind along the path shifts the effective speed of sound. The two figures on this page are the limits that glide starts and ends at.