How to use it
- Pick the situation (a source passing by / both moving).
- Enter the original frequency and the air temperature.
- Enter the speed (or the velocities of the source and the listener).
What this calculates
An ambulance siren sounds higher as it approaches and lower as it moves away; this is the Doppler effect. A source moving toward you crowds the sound waves ahead of it, raising the frequency, and a receding source spreads them out, lowering it. A listener moving toward the source meets the waves more often and hears a higher pitch too. The size of the change depends on the ratio of the motion to the speed of sound, which rises with air temperature to about 343 m/s at 20 °C. The calculator assumes motion along the line to the source and only speeds below the speed of sound.
The formulas
- Speed of sound c = √(γ × R × T) (γ = 1.4, R = 287.05 J/(kg·K), T: absolute temperature)
- Approaching f = f₀ × c ÷ (c − u), receding f = f₀ × c ÷ (c + u)
- General form f = f₀ × (c + vₒ) ÷ (c − vₛ) (vₛ: speed of the source toward the listener, vₒ: speed of the listener toward the source)
Reference table
| Source speed (m/s) | Approaching (Hz) | Receding (Hz) |
|---|---|---|
| 10 | 453.2 | 427.54 |
| 20 | 467.22 | 415.77 |
| 30 | 482.14 | 404.63 |
| 50 | 515.03 | 384.05 |
| 100 | 620.9 | 340.73 |
Worked examples
- A 440 Hz siren passing at 30 m/s (20 °C) → about 482.1 Hz approaching and 404.6 Hz receding
- Moving at 20 m/s toward a still 440 Hz sound → about 465.6 Hz
- Speed of sound at 20 °C → about 343.2 m/s
Frequently asked questions
Why does the pitch drop as a siren passes?
Approaching, the waves are crowded and the pitch is high; receding, they are spread out and the pitch is low. The change is sudden as it passes.
Why does the speed of sound depend on temperature?
Warmer air molecules move faster, so waves travel faster: about 331 m/s at 0 °C and 343 m/s at 20 °C.
What about wind?
Wind changes how fast sound travels, so the result would be off. This calculator assumes still air.
Does it work for light?
Light follows a different (relativistic) formula. This calculator is for sound only.
What if the source is faster than sound?
A shock wave (sonic boom) forms and this formula no longer holds; only subsonic speeds are calculated.
Are my numbers stored?
No. Everything is calculated in your browser and nothing is sent to a server or saved.
Good to know
- To find wavelength and speed from frequency, use the Wave Calculator.
- For velocity and acceleration, check the Velocity and Acceleration Calculator.
Sources
- OpenStax University Physics Vol. 1, 17.7 — The Doppler Effect
- OpenStax University Physics Vol. 1, 17.2 — Speed of Sound (ideal gas v = √(γRT/M); air at a given temperature)
Last updated 2026-12-02 · For reference only; not investment, tax or legal advice.