About the Doppler Effect Calculator
This calculator finds the frequency a stationary listener actually hears when a sound source is moving toward or away from them, such as an approaching siren or passing train horn. It applies the acoustic Doppler shift formula to show both the observed frequency and how much it has shifted from the source's true frequency.
How It Works
You enter the source's true frequency, its speed (positive for approaching, negative for moving away), and the speed of sound in the medium. The calculator divides the speed of sound by the difference between the speed of sound and the source's speed, then multiplies that ratio by the source frequency to get the frequency the observer hears.
Formula & Methodology
By hand, first subtract the source speed from the speed of sound (using a negative source speed for a receding source). Divide the speed of sound by that result, then multiply by the source's original frequency. For a source at rest (speed = 0), the ratio equals 1 and the observed frequency exactly equals the source frequency, as expected.
Examples
An ambulance siren approaching at 30 m/s
With a 500 Hz siren, sound speed 343 m/s, and source speed 30 m/s, observed frequency = 500 x (343 / (343 - 30)) = 500 x (343/313), about 547.9 Hz, a shift of roughly +47.9 Hz.
The same siren moving away at 30 m/s
Entering -30 m/s for source speed gives observed frequency = 500 x (343 / (343 + 30)) = 500 x (343/373), about 459.8 Hz, a drop of about 40.2 Hz, illustrating the classic pitch drop as a vehicle passes.
Advantages
- Lets you compare the pitch shift for both approaching and receding sources just by flipping the sign of the speed input.
- Shows the numeric frequency shift alongside the observed frequency, making the size of the Doppler effect immediately clear.
- Uses an adjustable speed of sound, so the same tool can model conditions other than standard sea-level air (343 m/s).
Common Mistakes
- Entering a source speed at or above the speed of sound, which the calculator rejects since the underlying subsonic formula no longer applies.
- Forgetting the sign convention and entering a positive speed for a source that is actually moving away, which produces the opposite pitch shift from what was expected.
- Assuming the formula also handles a moving observer or a source moving off-axis, when it specifically models a stationary observer and straight-line source motion.
Edge Cases to Watch For
- The calculator requires the source speed to be strictly less than the speed of sound; if speed of sound minus source speed is zero or negative, it returns an error since the standard subsonic formula breaks down at and beyond the sound barrier.
- A negative source speed correctly models a source moving away, producing an observed frequency lower than the source frequency (a pitch drop).
- This formula assumes a stationary observer and a source moving directly along the line connecting source and observer; it does not account for an observer that is also moving, or for motion at an angle.
Common Use Cases
- Physics students verifying textbook Doppler effect problems involving sirens, horns, or other moving sound sources.
- Audio and acoustics hobbyists exploring how vehicle speed translates into a perceptible pitch change.
- Educators building demonstrations that connect the everyday experience of a passing siren to the underlying wave physics.