Doppler Effect Calculator
Doppler Effect Calculator. Free online calculator with formula, examples and step-by-step guide.
Doppler Effect Calculator: Predict Frequency Shifts in Waves
The Doppler effect calculator determines how the observed frequency of a wave changes when the source and observer are in relative motion. Named after Austrian physicist Christian Doppler, this fundamental principle governs everything from the changing pitch of a passing siren to the redshift of distant galaxies. Whether you are a physics student studying wave mechanics, an educator preparing classroom demonstrations, or simply curious about why train horns change pitch as they pass, this calculator provides instant, accurate frequency shift calculations for sound waves in air.
Doppler Effect Formula
f' = f × (v ± vo) / (v − vs)
Where f' is the observed frequency in hertz (Hz), f is the source frequency emitted by the source, v is the speed of wave propagation in the medium (approximately 343 m/s for sound in air at 20°C), vo is the velocity of the observer relative to the medium (positive when moving toward the source), and vs is the velocity of the source relative to the medium (positive when moving toward the observer). The numerator and denominator signs are chosen so that relative approach increases frequency and relative recession decreases it.
The general principle is straightforward: when source and observer move toward each other, the observed frequency is higher than the emitted frequency. When they move apart, the observed frequency is lower. This happens because motion compresses or stretches the wavefronts. For example, if an ambulance siren emits a 700 Hz tone and approaches you at 30 m/s, the pitch you hear is higher than 700 Hz. After it passes and recedes, the pitch drops below 700 Hz — the classic “eee-ooo” effect.
Worked Examples
Example 1: Approaching Ambulance Siren
An ambulance siren emits a 750 Hz tone. The ambulance travels at 30 m/s toward a stationary observer. The speed of sound is 343 m/s.
Calculation: f' = 750 × (343 + 0) / (343 − 30) = 750 × 343 / 313 = 750 × 1.096 = 822 Hz
The observer hears a pitch of 822 Hz as the ambulance approaches — about a semitone higher than the emitted frequency. After the ambulance passes and moves away at the same speed, the observed frequency becomes f' = 750 × (343 − 0) / (343 + 30) = 750 × 343 / 373 = 690 Hz. The pitch drops by 132 Hz from approach to recession, creating the distinctive “wail” that alerts pedestrians to the approaching emergency vehicle.
Example 2: Moving Observer Toward a Stationary Source
A person walks at 1.5 m/s toward a stationary speaker emitting a 440 Hz tuning note (A4 concert pitch). The speed of sound is 343 m/s.
Calculation: f' = 440 × (343 + 1.5) / (343 − 0) = 440 × 344.5 / 343 = 440 × 1.00437 = 441.9 Hz
The observed frequency of approximately 442 Hz is only slightly higher than the emitted 440 Hz. This small shift (less than 2 Hz, or about 0.4%) is barely perceptible to the human ear, which can typically detect changes of about 5 Hz at this frequency range. Walking away from the source at the same speed gives f' = 440 × (343 − 1.5) / 343 = 438.1 Hz. This example illustrates why the Doppler effect with everyday walking speeds produces subtle pitch changes compared to the dramatic shifts from fast-moving vehicles.
Common Uses
- Calculating the frequency shift of emergency vehicle sirens for urban sound design and noise regulation compliance
- Understanding and predicting pitch changes in musical contexts, such as passing train horns and race car engines
- Teaching foundational wave physics concepts in secondary and undergraduate science education
- Estimating relative velocities in introductory physics labs using sound sources and frequency analysis software
- Analyzing Doppler radar data for weather forecasting, including tornado detection via rotational velocity signatures
- Modeling redshift and blueshift in astronomy to determine whether celestial objects are moving toward or away from Earth
Common Mistakes
- Using the wrong sign convention in the formula — relative approach always increases frequency (choose signs that make the denominator smaller and numerator larger when source and observer approach)
- Forgetting that velocities are measured relative to the medium (air for sound), not relative to each other, which matters because wind affects wave propagation speed
- Applying the classical Doppler formula to light or other electromagnetic waves, which require the relativistic Doppler equation that accounts for time dilation at significant fractions of light speed
- Confusing the Doppler effect with the sonic boom — the Doppler formula breaks down when the source speed equals or exceeds the wave speed, as a shock wave forms instead of a frequency shift
- Assuming the pitch change is instantaneous at the moment of passing, when in reality the transition from higher to lower pitch is continuous and follows the inverse-square law of intensity
Pro Tip
For the most accurate results, account for the actual speed of sound at your ambient temperature. The standard 343 m/s assumes 20°C (68°F), but sound travels at approximately 331 m/s at 0°C and increases by about 0.6 m/s per degree Celsius. At a chilly 5°C, the speed drops to roughly 334 m/s, which changes your calculated frequency by about 2%. In colder weather, the pitch shift from a passing vehicle is actually more pronounced because the same velocity represents a larger fraction of the wave speed, amplifying the Doppler effect.
Frequently Asked Questions
The Doppler effect is the change in frequency or wavelength of a wave as the source and observer move relative to each other. When the source approaches, waves compress and frequency increases (higher pitch). When it moves away, waves stretch and frequency decreases (lower pitch). This applies to sound, light, and all wave phenomena.
Yes. For light waves, the Doppler effect causes redshift (moving away) and blueshift (moving toward). Astronomers use this to measure the radial velocity of stars and galaxies. Unlike sound, light does not require a medium, so the relativistic Doppler formula is used, which also accounts for time dilation at high speeds.
A sonic boom is not the Doppler effect but a related phenomenon. When a source moves faster than the speed of sound (supersonic), it outruns its own waves, creating a shock wave cone. The Doppler effect only describes frequency shifts for sources moving at subsonic speeds. The sonic boom is the abrupt pressure change when that shock wave reaches an observer.
Doppler weather radar transmits radio waves and measures the frequency shift of the reflected signal from precipitation particles. The shift indicates whether rain or hail is moving toward or away from the radar and at what speed. This allows meteorologists to detect rotation in storm cells, which can indicate tornado formation.