Doppler effect calculator (sound)
Perceived frequency when the source and the observer move, with a single sign convention, the source/observer asymmetry and the sound-barrier limit.
Wave
the fronts and the comb of arrivalsAnimation slowed sevenfold; the slider and the dimensions give real times and lengths.
- Perceived frequency
- f′ = f·(v + vobs)/(v − vsrc) = 440 × (343 + 0) ÷ (343 − 30) = 482.17 Hz
- Spacings
- λ = v/f = 0.77955 m; along the motion (v − vsrc)/f = 0.71136 m, against it (v + vsrc)/f = 0.84773 m
- Cadences
- emission 1/f = 2.2727 ms; arrival 1/f′ = 2.0739 ms
the fronts and the geometry of the mediumthe result: λ′ and the received cadence
Result
continuous computation- ShiftΔf
- 42.173 Hz
- Ratiof′/f
- 1.0958
- Emitted wavelengthλ
- 0.77955 m
- Perceived wavelengthλ′
- 0.71136 m
At the same speed: 482.17 Hz if the source moves, 478.48 Hz if the observer moves.
Calculation, assumptions and sources
OverviewPerceived frequency f′ = f·(v + v_obs)/(v − v_src) when the source, the observer or both move, with a single sign convention (positive = approaching).
Perceived frequency f′ = f·(v + v_obs)/(v − v_src) when the source, the observer or both move, with a single sign convention (positive = approaching). Cases outside the formula are flagged: source at the sound barrier, observer receding faster than sound.
Method & formulasf′ = f · (v + v_obs) / (v − v_src)
An approaching source compresses the waves in the medium (the denominator shrinks). An approaching observer crosses unchanged waves more often (the numerator grows). The two cases differ: at 30 m/s on an A440, a moving source gives 482.2 Hz, a moving observer 478.5 Hz. At low speeds both tend to f·(1 + u/v).
- The sign convention
- positive = approaching, negative = receding, for the source and the observer alike.
- Speed of sound (v)
- ≈ 343 m/s in air at 20 °C, about +0.6 m/s per degree; ≈ 1,480 m/s in water. The speeds in the formula are measured relative to the medium.
- Sound barrier
- source speed equal to v. The forward-emitted waves pile up on it (Mach cone, sonic boom) and the Doppler formula diverges.
Validity domainOne-dimensional acoustic model: motions along the source-observer line.
One-dimensional acoustic model: motions along the source-observer line. For a pass at a distance, only the radial component counts, and it varies continuously. The medium is assumed still; a constant wind is handled by adding its speed to both actors. The Doppler effect for light follows a different formula, relativistic, symmetric and medium-free; it is not covered.
Perceived frequency while approaching and recedingAt constant speed, the perceived frequency stays fixed during the whole approach (higher than f), then during the whole recession (lower); it changes at the moment of passing.
At constant speed, the perceived frequency stays fixed during the whole approach (higher than f), then during the whole recession (lower); it changes at the moment of passing. The impression of a pitch rising during the approach comes from the growing loudness.