Audited ·Last updated 27 Jul 2026·5 citations·Tier 1·0 uses

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

Solve for
Observed frequency (f)
547.9233
Frequency shift (Δf = f − f₀)
47.9233

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.

  1. Select the wave type: sound in air, or enter a custom wave speed.
  2. Enter the emitted frequency f₀ in hertz.
  3. Enter the speed of the source relative to the medium in meters per second.
  4. Enter the speed of the observer relative to the medium in meters per second.
  5. Specify the direction of motion for both source and observer: toward or away from each other.
  6. The calculator applies the appropriate sign convention and computes the observed frequency.
  7. Review the frequency shift Δf = f - f₀ and the percentage change.

The formula.

f = f₀ × (v ± vₒ) ⁄ (v ∓ vₛ)

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.

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.

v343
vo0
f0500
vs30

Frequently asked questions.

What is the difference between the acoustic and relativistic Doppler effects?
The acoustic Doppler effect depends on the velocities of the source and observer relative to the propagation medium, such as air or water, because sound requires a material medium. The formula f = f₀ (v ± v_o)/(v ∓ v_s) explicitly includes the medium's wave speed v. The relativistic Doppler effect applies to electromagnetic waves in vacuum, where there is no medium and only the relative velocity between source and observer matters. The relativistic formula includes time dilation and the invariance of the speed of light, yielding f = f₀ √[(1 ± β)/(1 ∓ β)]. At low speeds, the relativistic result approximates the classical one, but for astronomical redshifts or particle-accelerator beams, the full relativistic expression is required. The acoustic formula can also describe light propagating through a medium with refractive index n, but this is distinct from the vacuum relativistic effect.
Why does the frequency change when the source moves but the observer stays still?
When the source moves toward the observer, each successive wave crest is emitted from a position closer to the observer than the previous one. This compresses the wavelength in the direction of motion to λ' = (v - v_s)/f₀, where v_s is the source speed. Because the wave speed v is determined by the medium and is unchanged, the observer encounters these compressed crests at a higher rate, increasing the perceived frequency. Conversely, when the source moves away, the wavelength stretches to λ' = (v + v_s)/f₀, and the observer encounters crests less frequently. This is fundamentally a wavelength-modification mechanism. It differs from the observer-motion case, where the wavelength remains unchanged but the observer's velocity changes the effective speed at which crests are intercepted.
What is a sonic boom and how does it relate to the Doppler effect?
A sonic boom occurs when a sound source travels at or faster than the speed of sound in the medium, making the denominator v - v_s in the Doppler formula zero or negative. At exactly the speed of sound, wave crests emitted at successive times pile up at the source's location, creating a shock front of infinite theoretical pressure. Above Mach 1, the source outruns its own sound waves, and the crests form a conical Mach wave with angle μ = arcsin(v/v_s). The sonic boom is the audible signature of this shock front passing an observer. Although the classical Doppler formula breaks down at v_s = v, the underlying wave kinematics remain valid and are described by supersonic aerodynamics rather than linear acoustics.
Can the Doppler effect be used to measure the speed of blood flow?
Yes. Doppler ultrasound is a standard clinical technique for measuring blood velocity non-invasively. A transducer emits high-frequency sound pulses, typically 2 to 10 megahertz, into the body. Red blood cells moving toward or away from the transducer reflect these pulses with a frequency shift proportional to their velocity component along the ultrasound beam. The Doppler equation is rearranged to solve for velocity: v_blood = (Δf × v_sound) / (2 f₀ cos θ), where θ is the angle between the beam and the flow direction. Cardiologists use this to detect stenotic valves, measure cardiac output, and identify deep-vein thrombosis. The precision is high enough to detect velocities of a few centimeters per second.
Why do astronomers use the Doppler effect to study galaxies?
Light from distant galaxies is redshifted because the galaxies are receding from the Milky Way due to the expansion of the universe. The relativistic Doppler formula relates the observed wavelength shift to the recession velocity. For non-relativistic cosmological distances, the approximation z ≈ v/c holds, where z is the redshift defined as (λ_observed - λ_emitted)/λ_emitted. Edwin Hubble discovered in 1929 that recession velocity is proportional to distance, establishing the expansion law v = H₀ d. Modern surveys measure redshifts of millions of galaxies to map large-scale structure and constrain dark energy. The Doppler interpretation of cosmological redshift is exact in the local universe; at very large distances, the shift includes contributions from the expansion of space itself and requires general relativistic cosmology.
Does temperature affect the Doppler shift of sound?
Temperature affects the Doppler shift indirectly by changing the speed of sound in air. The speed of sound increases with temperature according to v = 331.3 + 0.606 T m/s, where T is in degrees Celsius. At 0 degrees Celsius, v is 331 m/s; at 30 degrees Celsius, it is approximately 349 m/s. Because the Doppler formula contains v in both numerator and denominator, a higher sound speed alters the observed frequency for the same source and observer velocities. For example, an ambulance moving at 30 m/s toward a stationary observer produces a larger frequency shift on a hot day than on a cold day because the ratio v/(v - v_s) increases with v. However, the dominant perceptual change is usually the source velocity rather than the temperature.
What is the transverse Doppler effect?
The transverse Doppler effect is a redshift that occurs when a source moves perpendicular to the line of sight to the observer. It has no classical acoustic analogue because, in the classical formula, motion perpendicular to the line of sight contributes no frequency shift. In special relativity, however, the source experiences time dilation: its internal clock runs slow by the Lorentz factor γ = 1/√(1 - β²). Because the emission frequency is tied to the source's proper time, the observed frequency is reduced by the same factor. This effect was confirmed experimentally by Herbert Ives and G.R. Stilwell in 1938 using fast-moving hydrogen ions. The transverse Doppler effect is a pure test of special relativity and is routinely observed in particle accelerator beams and satellite navigation systems.
Can the Doppler effect be used to measure wind speed?
Yes. Doppler radar and lidar systems measure wind speed by transmitting electromagnetic or acoustic waves into the atmosphere and analyzing the frequency shift of backscattered energy from aerosols, raindrops, or air density fluctuations. Weather radar, such as the NEXRAD network operated by the U.S. National Weather Service, uses pulsed Doppler shifts to map radial wind velocities within storms, detecting tornado vortices and microbursts. The measured Doppler velocity is the component of wind motion along the radar beam; multiple beams or dual-Doppler configurations are required to reconstruct the full three-dimensional wind field. The accuracy depends on the radar wavelength, pulse repetition frequency, and the reflectivity of atmospheric targets.
Why is there a factor of two in the medical ultrasound Doppler equation?
Medical ultrasound measures the Doppler shift after the sound has traveled to the blood cell and reflected back to the transducer. The blood cell acts first as a moving observer receiving the incident wave, experiencing a Doppler shift proportional to its velocity. It then re-radiates the sound as a moving source, imposing a second Doppler shift on the return path. For small velocities compared with the speed of sound, the two shifts add linearly, producing a total frequency shift approximately twice that of a single one-way Doppler shift. The exact formula for the round-trip shift is Δf = 2 f₀ v cos θ / v_sound, where θ is the angle between the ultrasound beam and the blood flow direction. This factor of two is absent in one-way atmospheric or astronomical Doppler measurements.
What happens if both the source and observer move at the same speed in the same direction?
If the source and observer move through the medium at identical velocities in the same direction, the relative motion between them is zero, and the observed frequency equals the emitted frequency. Algebraically, if v_s = v_o = u, the formula becomes f = f₀ (v - u)/(v - u) = f₀ when both move in the same direction, or f = f₀ (v + u)/(v + u) = f₀ when both move opposite. This result makes physical sense: the wavelength is compressed or stretched by the moving source, but the observer moves with the same compression, encountering crests at the original rate. In contrast, if the source and observer move at the same speed toward each other, the shift is maximized because both motions contribute constructively to increasing the frequency.

References& sources.

  1. [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. [2]Halliday, D., Resnick, R., & Walker, J. (2013). Fundamentals of Physics, 10th ed. Wiley. Ch. 17.
  3. [3]CODATA (2018). "CODATA Recommended Values of the Fundamental Physical Constants: 2018." Journal of Physical and Chemical Reference Data, 50(3), 033105.
  4. [4]BIPM (2019). The International System of Units (SI Brochure), 9th ed.
  5. [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
Coming soon