Physics · Classical Mechanics · Oscillations & Waves
Doppler Effect Calculator
Calculates the observed frequency of a wave when the source and/or observer are in relative motion using the classical Doppler effect formula.
Calculator
Formula
f_{obs} is the observed (received) frequency; f_s is the emitted frequency of the source; v_w is the speed of the wave in the medium (e.g., speed of sound in air); v_o is the velocity of the observer — positive when moving toward the source, negative when moving away; v_s is the velocity of the source — positive when moving away from the observer, negative when moving toward the observer. All velocities must be in consistent units.
Source: Halliday, Resnick & Krane, Physics (5th ed.), Chapter 20: Sound Waves.
How it works
The Doppler effect describes how the perceived frequency of a wave changes when the source of the wave and the observer are in relative motion. When a source moves toward an observer, successive wave crests are compressed together, reaching the observer more frequently and producing a higher pitch. Conversely, when the source moves away, the crests spread out and the observer perceives a lower frequency. The same logic applies when the observer is the one in motion.
The classical Doppler formula for mechanical waves (such as sound) is fobs = fs × (vw + vo) / (vw + vs). Here, fs is the true source frequency, vw is the propagation speed of the wave in the medium, vo is the observer's velocity (positive toward the source), and vs is the source's velocity (positive away from the observer). It is critical to apply the sign convention correctly: a source approaching the observer has a negative vs, which increases the denominator's effective reduction and thus raises the observed frequency.
Practical applications of the Doppler effect are remarkably broad. In medicine, Doppler ultrasound measures blood-flow velocities non-invasively by tracking the frequency shift of reflected sound from red blood cells. In meteorology, Doppler radar detects wind speeds inside storms by analyzing the shift in reflected microwave signals. Astronomers use redshift (the optical Doppler effect) to measure how fast distant galaxies are receding from Earth, underpinning our understanding of the expanding universe. Law enforcement uses the acoustic and electromagnetic Doppler effect in speed radar and LiDAR guns.
Worked example
Suppose a stationary observer hears a fire engine siren. The siren emits a tone at fs = 880 Hz. The speed of sound in air is vw = 343 m/s. The fire engine is approaching the observer at 30 m/s. Since the source is moving toward the observer, vs = −30 m/s (negative by convention). The observer is stationary, so vo = 0.
Applying the formula: fobs = 880 × (343 + 0) / (343 + (−30)) = 880 × 343 / 313 = 880 × 1.0959 ≈ 964.4 Hz. The observer hears a pitch about 84 Hz higher than the true frequency.
Now the engine has passed and is receding at 30 m/s. Now vs = +30 m/s: fobs = 880 × 343 / (343 + 30) = 880 × 343 / 373 = 880 × 0.9195 ≈ 809.2 Hz. The pitch drops by about 71 Hz below the true tone. The total perceptible shift from approach to recession is approximately 155 Hz — a very noticeable change corresponding to the classic siren sound everyone recognizes.
Limitations & notes
This calculator applies the classical (non-relativistic) Doppler formula valid for mechanical waves such as sound. It requires that all velocities be significantly less than the wave speed in the medium; if the source velocity approaches or exceeds the wave speed, the formula breaks down and shock waves (sonic booms) form — the classical formula predicts unphysical results (zero or negative denominator) in the supersonic regime. For electromagnetic waves (light, radio), the relativistic Doppler formula must be used instead, which includes the Lorentz factor and does not depend on a medium. The calculator assumes a one-dimensional geometry (source and observer moving along the same line); for angles between the velocity vectors and the line of sight, a more general formula incorporating the cosine of the angle is required. Medium properties (temperature, humidity, altitude) affect the wave speed and should be accounted for in precise engineering applications.
Frequently asked questions
What is the sign convention for source and observer velocities in the Doppler formula?
Observer velocity is positive when moving toward the source and negative when moving away. Source velocity is positive when moving away from the observer and negative when moving toward the observer. Applying this convention consistently ensures the formula gives a higher frequency for approach and a lower frequency for recession.
Does the Doppler effect apply to light as well as sound?
Yes, but light requires the relativistic Doppler formula because it travels at a fixed speed in vacuum regardless of the observer's motion. The relativistic version incorporates the Lorentz factor. Astronomers observe redshift (recession) and blueshift (approach) of starlight using this principle to measure the velocities of celestial objects.
What happens when a source exceeds the wave speed (supersonic)?
When the source velocity equals or exceeds the wave speed, the classical formula produces a zero or negative denominator and is no longer valid. In this regime, the source outruns its own wave fronts, creating a conical shock wave known as a Mach cone or sonic boom. The Mach number (ratio of source speed to wave speed) is used to characterize supersonic flow.
How is the Doppler effect used in medical ultrasound?
In Doppler ultrasound, a transducer emits high-frequency sound pulses that reflect off moving blood cells. The frequency of the returning echo is shifted relative to the transmitted frequency in proportion to the blood-flow velocity. Analyzing this shift allows clinicians to map blood flow speed and direction non-invasively, helping diagnose conditions like valve stenosis or deep-vein thrombosis.
What is the difference between the Doppler effect and the Doppler shift?
The Doppler effect is the physical phenomenon — the change in perceived frequency due to relative motion between source and observer. The Doppler shift refers specifically to the quantitative difference between the observed frequency and the emitted frequency (Δf = f<sub>obs</sub> − f<sub>s</sub>). Both terms are often used interchangeably in casual usage, but the distinction is useful in technical contexts.
Last updated: 2025-01-15 · Formula verified against primary sources.