Compute observed frequency, wavelength shift, and Δf/f for sound (classical) or light (relativistic) waves. Understand redshift, blueshift, and the physics behind moving sources and observers.
The Doppler effect (or Doppler shift) is the change in frequency of a wave (sound, light, or other radiation) for an observer moving relative to the source. First proposed by Christian Doppler in 1842, this phenomenon governs everything from the pitch change of a passing siren to the redshift of distant galaxies confirming the expansion of the universe.
This calculator implements both formulations with rigorous sign conventions. For sound waves, the medium (air) defines the reference frame; for light, the relativistic formula accounts for time dilation and Lorentz invariance — essential for high velocities near the speed of light.
Classical derivation: When source moves toward stationary observer, each wavefront is emitted from a closer position → wavelength shortened. Observed frequency: f' = f₀ · v / (v - vₛ). When observer moves toward stationary source, relative speed increases: f' = f₀ · (v + vₒ)/v. Our calculator combines both moving source & observer with direction (approaching/receding) to give the full classical formula.
Relativistic correction: For electromagnetic waves (light), no medium is required. The relativistic Doppler shift arises from the Lorentz transformation: f' = f₀ √((1±β)/(1∓β)). This explains astronomical redshift (z = Δλ/λ₀) used to measure galactic recession velocities (Hubble's law).
Classical Doppler (Sound) Derivation:
For a source moving toward a stationary observer:
λ' = λ₀ - v_s·T = (v - v_s)/f₀
f' = v/λ' = f₀·v/(v - v_s)
General case with moving observer and source:
f' = f₀·(v ± v_o)/(v ∓ v_s)
Relativistic Doppler (Light) Derivation:
From Lorentz transformation of wave phase:
φ = k·x - ω·t (invariant)
Using Lorentz transformation x' = γ(x - βct), t' = γ(t - βx/c)
Derive: f' = f₀·√[(1+β)/(1-β)] for approach
where γ = 1/√(1-β²), β = v/c
The Doppler effect was first proposed by Austrian physicist Christian Doppler in 1842 in his paper "Über das farbige Licht der Doppelsterne" (On the colored light of double stars). The first experimental confirmation came in 1845 when Dutch meteorologist Christoph Buys Ballot demonstrated the frequency shift using a train carrying trumpet players. The relativistic Doppler effect was confirmed through:
Doppler ultrasound measures blood flow velocity by detecting frequency shifts of reflected sound waves from red blood cells. The fundamental equation is: v = (Δf · c) / (2·f₀·cosθ), where θ is the angle between the ultrasound beam and blood flow direction. Clinicians use this to diagnose valve defects, stenosis, and assess cardiac output. Modern systems use both Continuous Wave (CW) and Pulsed Wave (PW) Doppler modes.
Police radar guns emit radio waves at a known frequency; waves bounce off a moving vehicle and return shifted in frequency. The factor of 2 arises because the wave experiences the Doppler effect twice (to and from the target): Δf = 2·f₀·v/c (for normal incidence). Weather radar uses the same principle (Doppler weather radar) to measure the radial velocity of precipitation particles, enabling the detection of rotation in supercell thunderstorms and wind shear.
Edwin Hubble observed that spectral lines from distant galaxies are redshifted (shifted to longer wavelengths) proportionally to distance. Using the relativistic Doppler formula (v/c), astronomers infer recessional velocities. For very distant galaxies, the redshift is primarily cosmological redshift due to the expansion of spacetime itself, described by the scale factor a(t) in the Friedmann equations, not merely a Doppler shift. This calculator's light mode provides the exact relativistic observed frequency for any v/c.
The Doppler effect is critical for satellite communication and GPS positioning. GPS satellites move at approximately 14,000 km/h (3.87 km/s), causing frequency shifts up to 4.5 kHz at L1 frequency (1575.42 MHz). GPS receivers must compensate for this relativistic Doppler shift to achieve meter-level accuracy. The total correction includes both the first-order Doppler shift (Δf/f ≈ v/c) and the second-order gravitational redshift (Δf/f ≈ GM/rc² ≈ 5×10⁻¹⁰).
In atomic spectroscopy, Doppler broadening occurs due to the thermal motion of atoms or molecules. The observed spectral line has a Gaussian profile with width Δν = ν₀·√(8kT ln2 / mc²). This fundamental broadening mechanism limits spectroscopic resolution and must be accounted for in precision measurements. For example, the sodium D line (589.3 nm) at 500K has Δν ≈ 1.7 GHz due to Doppler broadening.
Numerical Precision: This calculator uses double-precision floating point (IEEE 754) with relative error ~10⁻¹⁶. For astrophysical applications, consider:
Measurement Uncertainties: Real-world Doppler measurements are limited by:
| Scenario | f₀ (Hz) | vₛ / v (m/s) | Direction | Observed f' (Hz) | Type |
|---|---|---|---|---|---|
| Ambulance approaching | 700 | 30 (src) | Approaching | 766.8 | Sound |
| Train receding | 500 | 25 (src) | Receding | 466.1 | Sound |
| Galaxy redshift (v=0.3c) | 5.0e14 (Hz) | 0.3c | Receding | 3.669e14 Hz | Light (Relativistic) |
| Radar (vehicle, 40 m/s, receding) | 24.15e9 | 40 | Receding | 24.1500e9 Hz | EM (relativistic) |
This tool's implementation has been cross-checked against standard physics references and peer-reviewed sources. For deeper exploration, refer to: