Doppler Effect Calculator
Calculate observed frequency when source or observer is moving using f' = f(v±v_o)/(v∓v_s).
Sign convention: use + when observer moves toward source; − when moving away. For source: − when moving toward observer, + when moving away.
What Is Doppler Effect?
The Doppler effect describes the change in observed frequency of a wave when the source or observer (or both) are moving relative to the medium. The formula is f' = f × (v + v_o)/(v − v_s), where f is the emitted frequency, v is the wave speed, v_o is the observer's speed (+ if moving toward source), and v_s is the source speed (+ if moving away from observer). When source approaches: f' > f (blueshift). When receding: f' < f (redshift).
The Doppler effect applies to all waves: sound (ambulance siren pitch changes), light (redshift of galaxies), radar (speed guns), ultrasound (blood flow measurement), and sonar. For sound in air (v ≈ 343 m/s), the effect is easily audible. For light, the fractional shift Δf/f = v_r/c where v_r is radial velocity, so massive speeds are needed for measurable light Doppler shifts.
When a source moves faster than the wave speed (supersonic for sound), a shock wave (Mach cone) forms — the Doppler equation breaks down and a sonic boom occurs. The Mach number M = v_source/v_wave quantifies this. At M = 1 (source speed = wave speed), f' → ∞ as the formula denominator approaches zero.
Edwin Hubble used the light Doppler effect in 1929 to show galaxies are receding — their spectra are redshifted. The recession speed is proportional to distance (Hubble's Law: v = H₀d), providing evidence for the expanding universe and the Big Bang. Cosmic microwave background radiation is an extreme redshift of the early universe's visible light.
Formula Reference Table
| Solve For | Formula | Notes |
|---|---|---|
| Observed frequency | f' = f(v + v_o)/(v − v_s) | v_o: + toward, v_s: + away |
| Source approaching, obs stationary | f' = f·v/(v − v_s) | f' > f — higher pitch |
| Source receding, obs stationary | f' = f·v/(v + v_s) | f' < f — lower pitch |
| Beat frequency | Δf = |f₁ − f₂| | Audible beats at low Δf |
| Light (radial velocity) | Δλ/λ = v_r/c | Redshift z = v_r/c |
| Mach number | M = v_source/v_wave | M > 1: supersonic; sonic boom |
3 Worked Examples
Ambulance siren at 800 Hz, v_s = 30 m/s toward observer, v = 343 m/s.
- f' = 800 × (343 + 0)/(343 − 30)
- f' = 800 × 343/313 = 876.7 Hz
- After passing: f' = 800 × 343/(343+30) = 735 Hz
Police radar gun (f = 24.15 GHz, v_sound → c) measures reflected signal from car at 30 m/s.
- Doppler shift: Δf = 2f·v_car/c (double — outgoing and return)
- Δf = 2 × 24.15e9 × 30/(3e8) = 4,830 Hz
- Beat frequency of 4,830 Hz → car speed calculated
A galaxy emits Hα at 656.3 nm but we observe 672 nm. Find recession speed.
- z = (λ_obs − λ_emit)/λ_emit = (672 − 656.3)/656.3 = 0.0239
- v_r = z×c = 0.0239 × 3×10⁸ = 7.17×10⁶ m/s = 7,170 km/s
- Distance: v = H₀d → d = 7170/70 = 102 Mpc ≈ 333 million light-years
Real-World Applications
Common Mistakes to Avoid
The formula signs depend on direction. Check your convention carefully. This calculator uses: v_o positive = toward source (increases f'); v_s positive = away from observer (also decreases f').
v in the formula is the wave speed in the medium (not relative to source). For sound at 20°C: 343 m/s. Use the actual medium speed, not c unless calculating light Doppler.
When v_s > v (supersonic), the denominator becomes negative, giving negative frequency — the formula is invalid. A shock wave (Mach cone) forms instead.
Radar measures reflected waves. The frequency shift doubles because it's Doppler-shifted twice: once when the wave reaches the moving target, and once when the reflected wave returns. Δf_total = 2f·v_target/c.
f is the frequency the source actually emits. f' is what the observer measures. They differ when there is relative motion.
Frequently Asked Questions
Related Physics Calculators
Formula Explorer connections
Interpretation: This relationship connects frequency, wavelength, speed, phase, intensity or resonance in an oscillating system. Assumption: Identify the medium, boundary conditions and reference frame. Linear waves, small amplitudes, nondispersive media or ideal resonance may be assumed.