A little context. A clearer answer.
When this calculator is useful
Assign the direction of each velocity before comparing frequencies because approaching and separating change the sign of the shift. Change “Source speed (+ toward observer)” from 21 m/s to 42 m/s and keep the other inputs from the worked example. The value for “Observed frequency (Hz)” goes from 532.6087 to 569.7674. For a related calculation, try Wave frequency and wavelength calculator.
A microphone can record a different pitch from the frequency set on a moving loudspeaker. Each successive wave crest starts from a slightly different position, and the microphone may also move between the arrivals of two crests. This calculator handles both motions along the line joining source and listener. It reports the arrival frequency, the signed change in hertz, a dimensionless frequency ratio and the wavelength on the path toward the listener.
Use the medium as the velocity reference. For a loudspeaker in still air, a ground speed along the line is also an air-relative speed. For an experiment in moving air or flowing water, a velocity measured relative to the ground may require conversion. In each speed field, positive means moving toward the other participant. This means that source and listener traveling together in the same direction ordinarily have opposite signs in the two boxes. An observer at rest in the medium gets zero.
Consider the time between two emissions from the source. If it emits five hundred crests each second, two consecutive crests start one five-hundredth of a second apart. During that time a source moving toward the observer shortens the gap between the first crest and the launch point of the second. On the observer side the spacing becomes the wave speed minus the approaching source speed, divided by the emitted frequency. This spacing belongs to the traveling wave and is independent of the observer’s speed.
The observer crosses this sequence of crests faster when moving toward its source, because the speed of the crests and the observer’s own approach speed add. Divide this encounter speed by the crest spacing to obtain the frequency at the observer. This gives different roles to the source and observer speeds. One changes the spacing in the medium, and the other changes how quickly the observer passes through that spacing. Equal closing speeds need not give identical frequency changes.
Try a stationary microphone, a five hundred hertz tone and a source traveling at twenty-one metres per second. With a sound speed of 343 metres per second, the crest spacing toward the microphone is 0.644 metres. Dividing the sound speed by that spacing gives roughly 532.61 hertz. Reverse the source direction and the crest spacing grows to 0.728 metres. The observed pitch now falls to about 471.15 hertz. The upward change on approach is larger than the downward change at the same speed on departure.
Read the curve as a comparison among alternative source velocities at the observer speed you entered. Its horizontal direction goes from recession to approach. A listener who accelerates, turns a corner or stands beside a curved road does not generally follow this graph as a time history. The component along the sound path changes as the geometry changes. For a simple pass through a fixed point, the geometry also changes sides at the instant of passing.
Keep both speed magnitudes below the wave speed for this single-path model. Very near that speed an ideal calculation can give large changes, and the assumptions of constant radial motion deserve particular scrutiny. Reflections from a wall, flow gradients, several simultaneous paths and changing source pitch can all alter a measured sound. An astronomical redshift, a police radar reading and an echo from a moving scatterer each require a model specific to how the signal travels.
What to enter
| Input | What it means | Example value |
|---|---|---|
| Emitted frequency | Emitted frequency (Hz) | 500 Hz |
| Sound speed | Sound speed (m/s) | 343 m/s |
| Source speed (+ toward observer) | Source speed (+ toward observer) (m/s) | 21 m/s |
| Observer speed (+ toward source) | Observer speed (+ toward source) (m/s) | 0 m/s |
How the calculation works
- Calculate the frequency heard by a moving observer from a moving sound source, using signed velocities relative to the medium.
- fₒ = fₛ(c+vₒ)/(c−vₛ)
- A 500 Hz loudspeaker approaches a stationary microphone at 21 m/s in still air with sound speed 343 m/s. The microphone hears 500 × 343/322 ≈ 532.61 Hz. Reversing the source gives about 471.15 Hz.
fₒ = fₛ(c+vₒ)/(c−vₛ)A worked example
A 500 Hz loudspeaker approaches a stationary microphone at 21 m/s in still air with sound speed 343 m/s. The microphone hears 500 × 343/322 ≈ 532.61 Hz. Reversing the source gives about 471.15 Hz.
Example you can load
What to enterThis is a fixed example; changing the form above does not change these numbers.
Worked comparisons
Start with these reference inputs — Emitted frequency = 500 Hz, Sound speed = 343 m/s, Source speed (+ toward observer) = 21 m/s, Observer speed (+ toward source) = 0 m/s. The corresponding results, in the order shown on the form, are — Observed frequency (Hz) = 532.6087, Frequency shift (Hz) = 32.6087, Doppler factor = 1.065217, Wavelength toward observer (m) = 0.644. Each example starts again from the reference inputs. The arrows show exactly which entries to change. All other entries keep their original values.
Case 1. Change one setting or the indicated combination to reproduce this case — Source speed (+ toward observer) 21 m/s → -21 m/s, Observer speed (+ toward source) 0 m/s → 0 m/s. Read the following results — Observed frequency (Hz) = 471.1538, Frequency shift (Hz) = -28.84615, Doppler factor = 0.9423077, Wavelength toward observer (m) = 0.728.
Case 2. For the second comparison, restore the reference settings first, then enter — Source speed (+ toward observer) 21 m/s → 0 m/s, Observer speed (+ toward source) 0 m/s → 21 m/s. Compare the new answers with the reference result above — Observed frequency (Hz) = 530.6122, Frequency shift (Hz) = 30.61224, Doppler factor = 1.061224, Wavelength toward observer (m) = 0.686.
Case 3. For a third check use the following changes — Source speed (+ toward observer) 21 m/s → 21 m/s, Observer speed (+ toward source) 0 m/s → -21 m/s. The calculation now gives — Observed frequency (Hz) = 500, Frequency shift (Hz) = 0, Doppler factor = 1, Wavelength toward observer (m) = 0.644.
Case 4. For the last case enter — Emitted frequency 500 Hz → 1000 Hz, Sound speed 343 m/s → 1500 m/s, Source speed (+ toward observer) 21 m/s → 30 m/s, Observer speed (+ toward source) 0 m/s → 0 m/s. Read across the outputs to see which quantities changed and which stayed fixed — Observed frequency (Hz) = 1020.408, Frequency shift (Hz) = 20.40816, Doppler factor = 1.020408, Wavelength toward observer (m) = 1.47.
Assumptions & limits
Positive speeds mean approach. Use subsonic speeds relative to the medium.
Frequently asked questions
What does a negative velocity mean?
A negative source velocity means the source travels away from the observer. A negative observer velocity means the observer travels away from the source. Both values are relative to the medium.
Which sound speed should I use?
Use the propagation speed in the medium under the conditions of the example. A sound speed through water can differ greatly from the speed through air.
Does this predict the shift of reflected radar or ultrasound?
The formula covers one direct acoustic path. Reflections require a second change of reference frame; electromagnetic waves require a different model.