Science

Doppler Effect Calculator

Calculate the observed frequency when a sound source and observer are moving relative to each other. Handles both approaching and receding scenarios.

Quick Answer

f_obs = f_src × (v ± v_obs) / (v v_src). A 440 Hz siren approaching at 30 m/s sounds like about 482.17 Hz.

Calculate

Enter source frequency, speeds, and select the motion scenario.

Observed Frequency
482.17 Hz
Frequency Shift
+42.1725 Hz
Percent Shift
+9.5847%
Source Wavelength
0.779545 m
Observed Wavelength
0.711364 m

About This Tool

The Doppler Effect Calculator computes the observed frequency of a sound wave when the source and observer are in relative motion. This phenomenon, first described by Austrian physicist Christian Doppler in 1842, explains why the pitch of an ambulance siren changes as it passes you, why a race car's engine sounds different approaching versus leaving, and why distant galaxies appear redshifted. This calculator implements the classical Doppler formula for sound waves in a medium such as air.

Understanding the Formula

The classical Doppler formula for sound is f_obs = f_src × (v ± v_obs) / (v v_src). When the source and observer approach each other, the observed frequency increases: use (v + v_obs) in the numerator and (v - v_src) in the denominator. When they move apart, reverse the signs: (v - v_obs) / (v + v_src). The variable v represents the speed of sound in the medium. The formula assumes that both the source and observer speeds are less than the speed of sound.

The Physics Behind Doppler Shift

Sound travels as pressure waves through a medium. When a source emits sound at frequency f, it produces f wave crests per second. If the source moves toward the observer, it "chases" its own wave crests, compressing them closer together. This means more crests arrive per second at the observer's position, resulting in a higher perceived frequency. Conversely, a receding source stretches the distance between crests, lowering the observed frequency. The observer's motion has a similar but mechanically distinct effect: a moving observer encounters wave crests at a faster or slower rate depending on their direction of travel.

Real-World Applications

The Doppler effect has transformative applications across science and technology. Police radar guns emit microwave radiation at a known frequency, measure the reflected frequency from a moving vehicle, and calculate speed from the shift. Doppler weather radar detects wind speeds and rotation in thunderstorms by measuring frequency shifts in reflected microwave pulses, making tornado detection possible. In medicine, Doppler ultrasound measures blood flow velocity through vessels, enabling diagnosis of blockages, heart valve problems, and fetal health monitoring. Astronomers use redshift and blueshift to measure the radial velocities of stars and galaxies, which led to the discovery that the universe is expanding.

Sonic Booms and Shock Waves

When a source exceeds the speed of sound (Mach 1), the classical Doppler formula breaks down because the denominator becomes zero or negative. At supersonic speeds, the source outruns its own sound waves, and the wavefronts pile up into a conical shock wave known as a sonic boom. The Mach number (source speed divided by speed of sound) determines the cone angle. Fighter jets, bullets, and whip tips all produce sonic booms. This calculator warns when the source speed approaches or exceeds the speed of sound, as the classical formula is no longer valid in that regime.

Doppler Effect for Light vs. Sound

While this calculator handles sound waves, the Doppler effect also applies to light. The key difference is that light does not require a medium. The relativistic Doppler formula accounts for time dilation and gives symmetric results regardless of whether the source or observer is considered "moving." For sound, the two cases produce slightly different results because the medium (air) provides an absolute reference frame. At everyday speeds, the difference between classical and relativistic formulas is negligible, but at a significant fraction of the speed of light, relativistic effects become dominant.

Frequently Asked Questions

What is the Doppler effect?
The Doppler effect is the change in frequency (or wavelength) of a wave as perceived by an observer moving relative to the wave source. When a source moves toward you, the waves compress and the frequency increases (higher pitch for sound, blueshift for light). When it moves away, the waves stretch and the frequency decreases (lower pitch, redshift). Named after Austrian physicist Christian Doppler who proposed it in 1842, the effect applies to all types of waves including sound, light, and water waves.
How does the Doppler formula work for sound?
For sound waves, the observed frequency is f_obs = f_src x (v + v_obs) / (v - v_src) when source and observer approach each other, and f_obs = f_src x (v - v_obs) / (v + v_src) when they move apart. Here, v is the speed of sound (about 343 m/s in air at 20C), v_obs is the observer's speed, and v_src is the source's speed. The formula breaks down when the source speed equals or exceeds the speed of sound, producing a sonic boom (shock wave) instead of normal Doppler shifting.
Why does an ambulance siren change pitch?
As an ambulance approaches, its siren's sound waves are compressed because each successive wave crest is emitted from a position closer to you. This compression raises the frequency and you hear a higher pitch. As it passes and moves away, each wave crest is emitted from farther away, stretching the wavelength and lowering the pitch. The speed of a typical ambulance (about 30 m/s or 108 km/h) causes a noticeable frequency shift of roughly 9% higher when approaching and 8% lower when receding.
Does the Doppler effect apply to light?
Yes, but the formula is different for electromagnetic waves. Since light doesn't require a medium, the relativistic Doppler formula is used: f_obs = f_src x sqrt((1 + beta) / (1 - beta)), where beta = v/c (relative velocity divided by speed of light). For everyday speeds this gives virtually the same result as the classical formula. Astronomers use the Doppler effect to measure the velocities of stars and galaxies. Redshift (frequency decrease) indicates objects moving away from us, which was key evidence for the expansion of the universe.
What is the speed of sound and what affects it?
The speed of sound in dry air at 20 degrees C is approximately 343 m/s (1,235 km/h or 767 mph). It varies with temperature: about 331 m/s at 0 degrees C and 354 m/s at 30 degrees C. The relationship is roughly v = 331.3 + 0.606 x T (where T is in Celsius). Sound travels faster in denser media: about 1,480 m/s in water and 5,960 m/s in steel. Humidity slightly increases the speed of sound because water vapor is lighter than the nitrogen and oxygen molecules it replaces.
What are practical applications of the Doppler effect?
The Doppler effect has numerous real-world applications. Police radar guns measure vehicle speed by bouncing microwaves off cars and measuring the frequency shift. Medical ultrasound uses Doppler to measure blood flow velocity and detect heart conditions. Weather radar uses it to measure wind speeds inside storms and detect tornadoes. Astronomers use Doppler spectroscopy to discover exoplanets by detecting the tiny wobble they cause in their host stars. Satellite navigation systems account for Doppler shifts to maintain accurate positioning.

Was this tool helpful?