How it’s calculated
When a sound source and a listener move relative to each other, the pitch the listener hears is shifted. Waves bunch up in front of an approaching source (higher frequency) and stretch out behind a receding one (lower frequency). The same happens if the listener moves toward or away from the source.
Example (OpenStax University Physics Vol. 1, Example 17.8): a train sounds a 150 Hz horn at 35.0 m/s on a day when the speed of sound is 340 m/s. A person standing by the track hears 150 × 340 ÷ (340 − 35.0) = 167 Hz as it approaches and 150 × 340 ÷ (340 + 35.0) = 136 Hz after it passes.
The formulas apply to sound and other waves in a medium, with speeds measured relative to that medium (the air). They need the source speed to stay below the wave speed; at or beyond it the waves pile into a shock wave (a sonic boom). Light needs a different, relativistic formula.
Frequently asked questions
Why does a siren sound higher as it approaches and lower as it leaves?
Each wave crest is emitted from a point closer to you than the last while the source approaches, so crests arrive more often (higher frequency). After it passes, each crest starts farther away, so they arrive less often.
What speed of sound should I use?
About 343 m/s for air at 20 °C, 331 m/s at 0 °C. In water it is roughly 1,480 m/s. Enter the speed for the medium you are working in.
Is there a change if the source and listener move together?
No. If the listener moves toward the source while the source moves away at the same speed (like an engineer riding the train with the horn), the factors cancel and the listener hears the emitted frequency, as in OpenStax Example 17.8(b).
What if the source is faster than sound?
The formula stops working. A supersonic source outruns its own sound waves and produces a cone-shaped shock wave, heard as a sonic boom, so the calculator returns an error.
Embed this calculator
Add this free calculator to your own website. Copy the code below into your page’s HTML:
Need this calculator branded, changed or built around your own prices?See custom business solutions →
Sources
- University Physics Volume 1, §17.7 The Doppler Effect — OpenStax
- University Physics Volume 1, §17.2 Speed of Sound — OpenStax
Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.
Added · Last updated · How we check our calculators
Spotted a mistake or missing option? Report a problem· Suggest a calculator