ES EN FR PT DE IT

Doppler Effect Calculator

Calculate observed frequency due to relative motion.

The Doppler Effect Calculator is a free science calculator. Calculate observed frequency due to relative motion. Solve physics and science problems with exact formulas.
Inputs
Result
Enter values and press Calculate

What is the Doppler Effect?

The Doppler effect describes how wave frequency changes when the source and observer move relative to each other. When a sound source approaches, waves compress ahead of it, raising the pitch you hear. As it passes and recedes, waves stretch behind it, lowering the pitch. This is why an ambulance siren sounds high-pitched as it approaches, then suddenly drops to a lower note as it passes. The same principle applies to light from stars, radar speed guns, and medical ultrasound imaging.

Imagine a car honking its horn while driving toward you at 30 m/s (108 km/h). The horn emits sound at 440 Hz (concert A). Sound travels at 343 m/s in air. As the car approaches, you hear f' = f × v/(v - v_source) = 440 × 343/(343 - 30) = 440 × 343/313 = 482 Hz — about a minor third higher. After the car passes, you hear f' = 440 × 343/(343 + 30) = 440 × 343/373 = 405 Hz — nearly a minor third lower. The sudden shift from 482 Hz to 405 Hz is the classic Doppler signature.

Christian Doppler predicted this phenomenon in 1842 for light from binary stars. Three years later, Buys Ballot demonstrated it with sound — musicians playing a sustained note on a moving train while observers with perfect pitch listened from the embankment. Today, the Doppler effect enables police radar, weather forecasting with Doppler radar, measuring blood flow in arteries, and detecting exoplanets by stellar wobble.

How it Works: Formulas Explained

The general Doppler formula for sound is f' = f × (v ± v_observer)/(v ∓ v_source), where f is the emitted frequency, f' is the observed frequency, v is the wave speed in the medium (343 m/s for sound in air), v_observer is the observer's velocity, and v_source is the source's velocity. The sign convention: use + in numerator when observer moves toward source, - when moving away. Use - in denominator when source moves toward observer, + when moving away.

For a stationary observer and moving source: f' = f × v/(v ∓ v_source). When the source approaches (moving toward you), use the minus sign in the denominator, making it smaller and f' larger. When the source recedes, use plus, making the denominator larger and f' smaller. A source moving at half the wave speed (v_source = v/2) approaching gives f' = f × v/(v - v/2) = f × v/(v/2) = 2f — double the frequency.

For a moving observer and stationary source: f' = f × (v ± v_observer)/v. An observer moving toward the source encounters wave crests more frequently, increasing observed frequency. Moving at v_observer = v/2 toward the source: f' = f × (v + v/2)/v = f × 1.5 = 1.5f — 50% higher frequency. Note the asymmetry: source motion and observer motion at the same speed produce different Doppler shifts.

Working through a complete example: An ambulance (source) approaches at 25 m/s with siren at 800 Hz. You (observer) walk toward it at 2 m/s. Both moving toward each other: f' = 800 × (343 + 2)/(343 - 25) = 800 × 345/318 = 800 × 1.085 = 868 Hz. After passing, both moving apart: f' = 800 × (343 - 2)/(343 + 25) = 800 × 341/368 = 800 × 0.927 = 741 Hz. The pitch drops from 868 Hz to 741 Hz — a noticeable musical interval.

Step-by-Step Guide

  1. Identify who is moving and in what direction. Is the source moving, the observer moving, or both? Are they approaching each other or separating? Draw a diagram with arrows showing velocity directions. Label the source velocity v_source and observer velocity v_observer. Define the positive direction as from source to observer.
  2. Determine the wave speed in the medium. For sound in air at 20°C, use v = 343 m/s. Sound speed varies with temperature: v ≈ 331 + 0.6T where T is Celsius. At 0°C, v = 331 m/s; at 30°C, v = 349 m/s. For light or electromagnetic waves in vacuum, v = c = 3×10⁸ m/s (requires relativistic Doppler formula).
  3. Choose the correct sign convention. Observer moving toward source: + in numerator. Observer moving away: - in numerator. Source moving toward observer: - in denominator. Source moving away: + in denominator. Mnemonic: "Toward is negative" for the source (denominator), "Toward is positive" for observer (numerator).
  4. Plug values into the Doppler formula. f' = f × (v ± v_obs)/(v ∓ v_src). Example: Stationary source (v_src = 0), observer approaching at 15 m/s, f = 500 Hz: f' = 500 × (343 + 15)/343 = 500 × 358/343 = 500 × 1.044 = 522 Hz. The observer hears a 4.4% frequency increase.
  5. Calculate the frequency shift. Δf = f' - f tells you how much the frequency changed. In the example above, Δf = 522 - 500 = 22 Hz. For a receding observer: f' = 500 × (343 - 15)/343 = 500 × 328/343 = 478 Hz, so Δf = -22 Hz. The magnitude is the same, but the sign indicates direction.
  6. Check for sonic boom conditions. If the source moves at or faster than wave speed (v_source ≥ v), the denominator becomes zero or negative — the standard formula breaks down. At v_source = v, waves pile up into a shock wave (sonic boom for aircraft). For supersonic sources, use Mach cone analysis. The Mach number M = v_source/v; shock wave angle is sin(θ) = 1/M.

Real-World Examples

Example 1: Police radar gun. A radar gun emits microwaves at f = 24.15 GHz toward an approaching car. The waves reflect off the car (which acts as a moving observer, then a moving source), producing a double Doppler shift. For a car at 30 m/s (108 km/h): Δf/f = 2v/c = 2×30/(3×10⁸) = 2×10⁻⁷. Frequency shift Δf = 24.15×10⁹ × 2×10⁻⁷ = 4,830 Hz. The radar detects this 4.83 kHz beat frequency and calculates speed: v = c × Δf/(2f) = 30 m/s.

Example 2: Astronomical redshift. A distant galaxy emits light at a known spectral line (hydrogen alpha at 656.3 nm). We observe it at 720 nm — redshifted. The relativistic Doppler formula for light is λ_obs/λ_emit = √[(1+β)/(1-β)] where β = v/c. Here 720/656.3 = 1.097. Solving: (1+β)/(1-β) = 1.097² = 1.203. So 1+β = 1.203 - 1.203β, giving β = 0.203/2.203 = 0.092. The galaxy recedes at 9.2% light speed: v = 0.092c = 27,600 km/s.

Example 3: Medical ultrasound blood flow. An ultrasound probe emits 5 MHz sound into tissue. Blood cells moving at 0.5 m/s reflect the waves. Sound speed in tissue is about 1540 m/s. The double Doppler shift (to blood cell, then back to probe) gives Δf = 2f × v/cos(θ)/v_sound. At angle θ = 60°: Δf = 2×5×10⁶ × 0.5 × cos(60°)/1540 = 10⁷ × 0.5 × 0.5/1540 = 1,623 Hz. The probe detects this shift and displays blood velocity — crucial for diagnosing arterial blockages.

Example 4: Weather radar and tornado detection. Doppler weather radar emits pulses at 2.8 GHz. Raindrops moving toward the radar in a rotating storm return higher frequency; drops moving away return lower frequency. A velocity difference of 40 m/s across a 2 km diameter mesocyclone produces Δf = 2×2.8×10⁹ × 40/(3×10⁸) = 747 Hz. This velocity signature alerts meteorologists to possible tornadogenesis, providing crucial warning time.

Example 5: Train whistle at a crossing. A train approaches at 20 m/s (72 km/h) blowing a 300 Hz whistle. Stationary observer hears: f' = 300 × 343/(343 - 20) = 300 × 343/323 = 319 Hz as it approaches. After passing: f' = 300 × 343/(343 + 20) = 300 × 343/363 = 283 Hz. The drop is 319 - 283 = 36 Hz, about a semitone in musical terms. If you drive toward the train at 15 m/s, the approaching frequency becomes f' = 300 × (343 + 15)/(343 - 20) = 300 × 358/323 = 332 Hz — even higher.

Common Mistakes to Avoid

Using the wrong sign convention. The most frequent error is mixing up when to use plus or minus. Remember: source approaching makes denominator smaller (use minus), increasing frequency. Observer approaching makes numerator larger (use plus), also increasing frequency. If your calculated frequency decreases when source and observer approach, you've got the signs backwards. Always check: approaching should increase f', receding should decrease it.

Forgetting that sound requires a medium. The Doppler formula for sound uses wave speed relative to the medium (air). Wind affects the effective wave speed: add wind speed if blowing from source to observer, subtract if opposite. Light doesn't need a medium — use the relativistic Doppler formula for electromagnetic waves. At everyday speeds, classical and relativistic formulas give nearly identical results for light.

Confusing source motion with observer motion. They're not symmetric for sound. A source moving at 100 m/s toward you produces a different shift than you moving at 100 m/s toward the source. Source motion: f' = f × 343/(343-100) = 1.41f. Observer motion: f' = f × (343+100)/343 = 1.29f. The difference arises because source motion actually compresses the waves; observer motion just encounters them faster.

Applying the formula at supersonic speeds. When v_source ≥ v (Mach 1 or higher for sound), the denominator goes to zero or negative. The formula predicts infinite or negative frequency — nonsense. At Mach 1, waves stack into a shock front (sonic boom). Beyond Mach 1, the source outruns its own waves, creating a Mach cone. Use shock wave physics, not the standard Doppler formula, for supersonic sources.

Pro Tips

Use the small-velocity approximation for quick estimates. When v << wave speed, the fractional frequency shift is approximately Δf/f ≈ ±v/v_wave for observer motion or source motion. A car at 30 m/s with a 500 Hz horn: Δf/f ≈ 30/343 = 0.087, so Δf ≈ 44 Hz. Exact calculation gives 46 Hz — close enough for mental math. This approximation works well below 10% of wave speed.

Recognize the double Doppler shift for reflections. When waves bounce off a moving object (radar, ultrasound), the object acts first as observer, then as source. The total shift is approximately doubled: Δf/f ≈ 2v/v_wave. Police radar and medical Doppler ultrasound both exploit this. The factor of 2 improves sensitivity — a 1 m/s blood flow produces twice the frequency shift of a 1 m/s sound source.

p>Account for temperature effects on sound speed. Sound speed changes about 0.6 m/s per °C. At 0°C, v = 331 m/s; at 40°C, v = 355 m/s — a 7% difference. For precise Doppler calculations (acoustic measurements, musical applications), measure air temperature and use v = 331 + 0.6T. Humidity has a smaller effect (~0.1% increase at 100% RH). Pressure has negligible effect on sound speed at constant temperature.

Apply Doppler for distance rate in astronomy. Radial velocity of stars is measured via Doppler shift of spectral lines. A shift of 0.01 nm in a 500 nm line gives v/c = 0.01/500 = 2×10⁻⁵, so v = 6 km/s. This technique detects exoplanets: a star wobbling at ±10 m/s due to an orbiting planet produces a Doppler shift detectable with modern spectrographs. The method finds massive planets close to their stars.

FAQs

Sound requires a medium (air, water), so velocities are measured relative to that medium. Light travels through vacuum with no preferred reference frame. For light, only the relative velocity between source and observer matters, requiring Einstein's special relativity. The relativistic Doppler formula includes time dilation: f' = f × √[(1+β)/(1-β)] where β = v/c. At low speeds, this reduces to the classical formula.

When an aircraft reaches Mach 1, it catches up to its own sound waves. The waves compress into a single shock front — a sudden pressure jump. This cone-shaped shock wave trails behind the aircraft at an angle sin(θ) = 1/Mach number. Observers on the ground hear a loud boom when this shock passes. The boom isn't a one-time event at Mach 1; it continuously trails behind any supersonic aircraft.

For sound, extreme Doppler shift could move frequency outside human hearing (20 Hz to 20 kHz). A 1 kHz source receding at 0.9×sound speed would be heard at 1000×(1-0.9)/(1+0.9) = 53 Hz — barely audible. For visible light, relativistic speeds are needed. A red light (700 nm) would need to recede at 0.4c to shift to infrared (1000 nm), invisible to human eyes. Approaching at 0.4c would shift it to ultraviolet.

Bats emit ultrasonic calls (40-100 kHz) and listen for echoes. Moving prey (like a flying moth) creates a Doppler shift in the echo. Bats can detect frequency changes as small as 0.1%, letting them determine if prey is approaching or fleeing and at what speed. Some bats adjust their call frequency to keep the echo in their most sensitive hearing range — compensating for their own flight speed.

Written and reviewed by the CalcToWork editorial team. Last updated: 2026-04-29.

Frequently Asked Questions

Sound requires a medium (air, water), so velocities are measured relative to that medium. Light travels through vacuum with no preferred reference frame. For light, only the relative velocity between source and observer matters, requiring Einstein's special relativity. The relativistic Doppler formula includes time dilation: f' = f × √[(1+β)/(1-β)] where β = v/c. At low speeds, this reduces to the classical formula.
When an aircraft reaches Mach 1, it catches up to its own sound waves. The waves compress into a single shock front — a sudden pressure jump. This cone-shaped shock wave trails behind the aircraft at an angle sin(θ) = 1/Mach number. Observers on the ground hear a loud boom when this shock passes. The boom isn't a one-time event at Mach 1; it continuously trails behind any supersonic aircraft.
For sound, extreme Doppler shift could move frequency outside human hearing (20 Hz to 20 kHz). A 1 kHz source receding at 0.9×sound speed would be heard at 1000×(1-0.9)/(1+0.9) = 53 Hz — barely audible. For visible light, relativistic speeds are needed. A red light (700 nm) would need to recede at 0.4c to shift to infrared (1000 nm), invisible to human eyes. Approaching at 0.4c would shift it to ultraviolet.
Bats emit ultrasonic calls (40-100 kHz) and listen for echoes. Moving prey (like a flying moth) creates a Doppler shift in the echo. Bats can detect frequency changes as small as 0.1%, letting them determine if prey is approaching or fleeing and at what speed. Some bats adjust their call frequency to keep the echo in their most sensitive hearing range — compensating for their own flight speed.