Doppler Effect Calculator
Calculate observed frequency shift for moving sound sources and observers. Step-by-step acoustic Doppler effect with standard speed of sound.
Doppler Effect Calculator
Background.
The Doppler effect calculator computes the observed frequency of a wave when either the source, the observer, or both are moving relative to the propagation medium. While most commonly associated with the rising pitch of an approaching ambulance and the falling pitch as it recedes, the Doppler effect governs wave frequency shifts in acoustics, optics, radar, medical ultrasound, and astrophysics. Police speed guns, weather radar, echocardiography, and the measurement of cosmic expansion through redshift all rely on quantitative applications of the same underlying kinematics. Because the effect appears in virtually every wave physics curriculum, from high school conceptual physics to graduate electrodynamics, calculators that handle the algebraic rearrangement attract sustained search traffic across educational and professional domains.
The acoustic Doppler effect is the most intuitive version and the one most students encounter first. A stationary observer hears a higher frequency when a sound source approaches because each successive wave crest is emitted from a position closer to the observer, compressing the wavelength in the direction of motion. Conversely, the wavelength stretches behind the source, lowering the perceived frequency. If the observer moves toward a stationary source, the effect is similar but mechanistically distinct: the observer encounters wave crests more frequently because their own velocity adds to the wave's propagation speed relative to them. When both source and observer move, the two contributions combine linearly in the classical non-relativistic limit. The calculator handles each of these cases by allowing the user to specify which velocities are nonzero and in which direction.
The relativistic Doppler effect for light in vacuum is fundamentally different because there is no preferred medium; the shift depends only on the relative velocity between source and observer and is governed by special relativity rather than Galilean velocity addition. Astrophysicists use the optical Doppler shift to measure the recession velocities of galaxies, confirming Hubble's law and the expansion of the universe. In medical imaging, pulsed-wave Doppler ultrasound measures blood velocity by comparing the frequency of emitted sound pulses with the frequency of echoes returned from moving red blood cells. The precision required is remarkable: clinical ultrasound systems resolve frequency shifts of a few hertz out of carrier frequencies of several megahertz, corresponding to velocity resolutions of less than one centimeter per second.
Historically, Christian Doppler proposed the principle in 1842 for both sound and light, though he lacked experimental verification. Hippolyte Fizeau independently derived the optical version in 1848. The first direct confirmation came in 1845 from Christoph Buys Ballot, who placed musicians on a moving train and asked observers on the platform to judge pitch changes. Today, the effect is so thoroughly embedded in technology that it is rarely named in product specifications, yet it remains essential to the calibration of speed sensors, the design of radar systems, and the interpretation of astronomical spectra. Industrial process control employs Doppler flow meters that clamp ultrasonic transducers to the exterior of pipes, measuring slurry and wastewater velocity without mechanical intrusion. Aviation navigation systems exploit Doppler phase shifts during approach to determine aircraft ground speed with centimeter-per-second accuracy.
What is doppler effect calculator?
The Doppler effect is the change in observed frequency of a wave due to relative motion between the wave source, the observer, and the propagation medium. For sound waves in a stationary medium, the observed frequency f is given by f = f₀ (v ± v_o)/(v ∓ v_s), where f₀ is the emitted frequency, v is the speed of sound in the medium, v_o is the observer's speed relative to the medium, and v_s is the source's speed relative to the medium. The upper signs apply when motion is toward the other party; the lower signs apply when motion is away. All velocities must be measured in the same units, typically meters per second.
For electromagnetic waves in vacuum, the relativistic Doppler formula applies: f = f₀ √[(1 + β)/(1 - β)] for source and observer receding, where β = v/c and v is the relative velocity. The acoustic formula assumes v_s and v_o are much less than v, and that the medium is stationary and homogeneous. The speed of sound in dry air at 20 degrees Celsius is approximately 343 meters per second, though it varies with temperature according to v = 331.3 + 0.606 T m/s, where T is the temperature in Celsius. The effect is not limited to mechanical and electromagnetic waves; it applies to any wave phenomenon where source and observer are in relative motion.
How to use this calculator.
- Select the wave type: sound in air, or enter a custom wave speed.
- Enter the emitted frequency f₀ in hertz.
- Enter the speed of the source relative to the medium in meters per second.
- Enter the speed of the observer relative to the medium in meters per second.
- Specify the direction of motion for both source and observer: toward or away from each other.
- The calculator applies the appropriate sign convention and computes the observed frequency.
- Review the frequency shift Δf = f - f₀ and the percentage change.
The formula.
The classical Doppler formula for sound is derived by counting how many wave crests arrive at the observer per unit time when both source and medium are in motion. Consider a source emitting waves of period T₀ = 1/f₀. In one period, the source moves a distance v_s T₀ toward the observer, compressing the spatial separation between crests in that direction to λ' = (v - v_s)T₀ = (v - v_s)/f₀. The observer encounters these crests at a relative speed of v + v_o if moving toward the source. The observed frequency is therefore f = (v + v_o)/λ' = f₀ (v + v_o)/(v - v_s). Reversing the direction of either velocity changes the sign in the corresponding numerator or denominator.
The sign convention is critical. In the numerator, v_o is positive when the observer moves toward the source because this increases the rate at which crests are intercepted. In the denominator, v_s is positive when the source moves toward the observer because this decreases the wavelength. If the source moves away, v_s enters with a negative sign, increasing the wavelength and lowering the frequency. When the source speed equals the wave speed, the denominator vanishes and the observed frequency diverges; physically, this corresponds to a sonic boom or shock wave, where wave crests pile up at the Mach angle.
For light in vacuum, the classical formula fails because there is no medium to define a preferred rest frame. Special relativity requires time dilation of the source's emission period and the relativistic velocity addition formula. The result is f = f₀ √[(1 - β)/(1 + β)] for recession and f = f₀ √[(1 + β)/(1 - β)] for approach, where β = v/c. These expressions reduce to the classical result when β << 1, but differ significantly at relativistic speeds. The transverse Doppler effect, a pure consequence of time dilation with no classical analogue, causes a redshift even when the relative motion is perpendicular to the line of sight.
A worked example.
An ambulance siren emits a tone at 500 hertz while traveling at 30.0 meters per second through still air where the speed of sound is 343 meters per second. As the ambulance approaches a stationary pedestrian, the observed frequency is calculated using f = f₀ v / (v - v_s) because the observer is at rest. Substituting the values gives f = 500 × 343 / (343 - 30.0) = 500 × 343 / 313. Evaluating 343 divided by 313 yields 1.0958, and multiplying by 500 gives 547.9 hertz, which rounds to 548 hertz. After the ambulance passes and moves away, the denominator becomes v + v_s = 373 m/s. The observed frequency is then 500 × 343 / 373 = 500 × 0.9196 = 459.8 hertz, rounding to 460 hertz. The total drop in perceived pitch is 88 hertz, roughly 16 percent of the emitted frequency, a shift easily detected by the human ear and sufficient to identify the direction of motion.
Frequently asked questions.
What is the difference between the acoustic and relativistic Doppler effects?
Why does the frequency change when the source moves but the observer stays still?
What is a sonic boom and how does it relate to the Doppler effect?
Can the Doppler effect be used to measure the speed of blood flow?
Why do astronomers use the Doppler effect to study galaxies?
Does temperature affect the Doppler shift of sound?
What is the transverse Doppler effect?
Can the Doppler effect be used to measure wind speed?
Why is there a factor of two in the medical ultrasound Doppler equation?
What happens if both the source and observer move at the same speed in the same direction?
References& sources.
- [1]Doppler, C. (1842). "Über das farbige Licht der Doppelsterne und einiger anderer Gestirne des Himmels." Abhandlungen der Königlich Böhmischen Gesellschaft der Wissenschaften, 2, 465-482.
- [2]Halliday, D., Resnick, R., & Walker, J. (2013). Fundamentals of Physics, 10th ed. Wiley. Ch. 17.
- [3]CODATA (2018). "CODATA Recommended Values of the Fundamental Physical Constants: 2018." Journal of Physical and Chemical Reference Data, 50(3), 033105.
- [4]BIPM (2019). The International System of Units (SI Brochure), 9th ed.
- [5]Hubble, E. (1929). "A Relation Between Distance and Radial Velocity Among Extra-Galactic Nebulae." Proceedings of the National Academy of Sciences, 15(3), 168-173. doi:10.1073/pnas.15.3.168
In this category
Embed
Quanta Pro
Paid features are coming later.
- All 313 calculators remain free
- No billing is enabled