Doppler Effect Calculator
Find the pitch of a siren, horn or any sound as it is heard by a moving observer, and see how the pitch slides as a vehicle drives past.
🚑 What is the Doppler Effect?
The Doppler effect is the change in the observed frequency of a wave when the source and the observer are moving relative to each other. A siren seems higher in pitch as an ambulance approaches and lower as it moves away. The cause is simple: a source moving through the air emits successive wavefronts from points that are closer together in the direction it is travelling, so the wavelength ahead of it is shorter and the waves arrive more often. Behind the source the wavefronts are stretched, so they arrive less often. An observer moving toward the source also meets the wavefronts more frequently, even though the wavelength is unchanged.
The effect has many uses. Police radar guns and weather radars use the Doppler shift of reflected microwaves to measure speed and wind. Medical Doppler ultrasound measures blood flow by the frequency shift of echoes from moving red cells. Sonar and acoustic current profilers measure water motion, and musicians experience the effect with rotating speakers. In everyday life it is the pitch drop of passing trains, cars and aircraft, and it is a standard test of wave physics in schools.
This page covers the classical Doppler effect for sound and other waves in a medium at rest, where the wave speed c is fixed relative to the medium. That is why a moving source and a moving observer give different formulas: the medium picks out a preferred frame. Light has no medium and obeys the relativistic formula, covered in the relativistic Doppler effect calculator, while astronomers use the low-speed shift of spectral lines in the Doppler shift and radial velocity calculator. If you only need the wave speed of sound itself, use the speed of sound calculator.
The calculator has two modes. Source and observer gives the observed frequency for any combination of source and observer speeds and directions, plus the Mach number and the cone angle for supersonic sources. Passing vehicle models a source driving along a straight road past a stationary listener and shows the whole pitch curve, including how fast the pitch slides as the vehicle goes by.
📐 Formula
📖 How to Use This Calculator
Steps
💡 Example Calculations
The siren frequencies and vehicle speeds are illustrative round values, not measurements of real vehicles.
Example 1 — Ambulance Approaching a Stationary Listener
960 Hz siren, source at 90 km/h (25 m/s) toward the observer, c = 343 m/s, observer at rest
Example 2 — The Same Ambulance Driving Away
960 Hz siren, source at 90 km/h (25 m/s) away from the observer, c = 343 m/s
Example 3 — Source and Observer Both Approaching
500 Hz tone, source 30 m/s toward the observer, observer 20 m/s toward the source, c = 343 m/s
Example 4 — Observer Walking Away from a Fixed Source
440 Hz source at rest, observer moving away at 10 m/s, c = 343 m/s
Example 5 — Supersonic Jet Moving Away
200 Hz source at Mach 1.2 (411.6 m/s) moving away from a stationary observer, c = 343 m/s
Example 6 — Ambulance Driving Past 10 m Away
960 Hz siren, 90 km/h (25 m/s) along a straight road, closest approach d = 10 m, c = 343 m/s
Example 7 — The Same Pass, Viewed from 50 m
960 Hz siren, 90 km/h (25 m/s), closest approach d = 50 m, c = 343 m/s
❓ Frequently Asked Questions
🔗 Related Calculators
What is the formula for the Doppler effect in sound?
The observed frequency is f' = f (c + vo)/(c - vs), where f is the source frequency, c the speed of sound in the medium, vo the observer speed toward the source and vs the source speed toward the observer. Use negative values for receding.
Why does a siren sound higher when it approaches?
The source follows its own waves, so successive wavefronts are emitted closer together in the direction of motion. A shorter wavelength at the same wave speed reaches the listener at a higher frequency. After it passes the effect reverses.
How much does the pitch of an ambulance change?
At 25 m/s (90 km/h) in air at 20 C a 960 Hz siren is heard at about 1035 Hz while approaching and 895 Hz while receding, a drop of about 141 Hz or about 2.5 semitones.
Is the Doppler effect different if the source or the observer moves?
Yes for sound. The wave speed is fixed relative to the air, so a moving source changes the wavelength while a moving observer changes only the rate of wavefronts met. The formulas differ slightly but agree for speeds much lower than the wave speed.
What happens when the source moves faster than sound?
The source outruns its own waves and the Doppler formula for approach no longer applies. The waves overlap into a Mach cone with half angle asin(1/M), where M is the Mach number, and a listener hears a sonic boom as the cone passes.
What is the Doppler effect when both source and observer move?
Use both terms: f' = f (c + vo)/(c - vs). A source approaching at 30 m/s and an observer approaching at 20 m/s in air at 343 m/s shift a 500 Hz tone to about 580 Hz.
Does the Doppler shift depend on the frequency?
The ratio f'/f does not, only the speeds and the wave speed matter. The shift in hertz is proportional to the source frequency, so a 2000 Hz tone shifts twice as many hertz as a 1000 Hz tone.
Does the Doppler effect work in water?
Yes, with the speed of sound in water, about 1482 m/s, in place of the air value. Because that speed is much higher, a given source speed produces a much smaller fractional shift than in air.
How is this different from the relativistic Doppler effect?
Classical sound Doppler needs a medium and treats source and observer motion separately. Light has no medium, so it uses the relativistic Doppler formula, which depends only on relative velocity. See the relativistic and astrophysical Doppler pages.
Why does the pitch of a passing car drop smoothly?
The component of the car's velocity along the line to the listener changes gradually as the car passes. The observed frequency is f / (1 + (v/c) cos of the angle), so it moves from the approaching value to the receding value over a time that scales with the distance of closest approach.
Are the vehicle presets exact?
No. The ambulance, police and train presets give illustrative siren frequencies and speeds for demonstration. Real sirens sweep between frequencies and real speeds vary, so enter your own values for accurate work.