Back to Serious Calculations

Physics · Wave Motion

Doppler Effect Calculator & Homework Solver

The Doppler effect describes the change in observed frequency caused by relative motion between a wave source and an observer. Use this free Doppler Effect Calculator and Homework Solver to solve sound problems involving moving sources and observers, calculate observed or emitted frequency, estimate the speed of sound, and work through solutions step by step. For astronomy and light, use the redshift, blueshift, radial velocity, and relativistic Doppler tools. The calculator automatically helps determine whether frequency should increase or decrease and explains the physics behind each answer.

Speed of sound in dry air at 20°C
≈ 343 m/s
Speed of sound in air at 15°C
≈ 340 m/s
Speed of light in vacuum
= 299,792,458 m/s
343 m/s ≈
1,235 km/h · 767 mph
c ≈
299,792 km/s · 3.00 × 10⁸ m/s
The speed of sound is not a universal constant. It changes with temperature and the material through which the wave travels. 343 m/s is a common classroom approximation for dry air at about 20°C near sea level.
Physics Constants & Common Values
QuantityValue
Speed of light in vacuum (exact SI)c = 299,792,458 m/s
Speed of light (approximate)299,792 km/s · 3.00 × 10⁸ m/s
Dry air at 20°C≈ 343 m/s
Air at 15°C≈ 340.39 m/s
Air-temperature formula (approx.)v ≈ 331.3 + 0.606T (T in °C)
Water near room temperature≈ 1480 m/s
Steel (typical longitudinal wave)≈ 5960 m/s

Values for materials other than vacuum light speed are approximate and depend on physical conditions.

Sound Doppler Effect Calculator

Use this calculator when sound travels through a medium such as air. Enter the values your problem gives you and leave the quantity you want to find blank. The interface chooses the signs automatically.

fₒ = fₛ × (v + vₒ) / (v − vₛ)
Solve for
Source frequency fₛHz
Observed frequency fₒHz
Calculating
Speed of sound vm/s
Source speed vₛm/s
Observer speed vₒm/s

Leave the quantity you want to calculate blank.

Source direction
Observer direction
Expected resultHigher observed frequency · Higher perceived pitch

Speed of Sound Reference

What speed of sound should I use?

Temperature mode (air approximation)

Approximate relationship: v ≈ 331.3 + 0.606T where T is in °C. Labeled as an approximation for air near ordinary atmospheric conditions.

Temperature: 20.0°C → Approximate sound speed: 343.42 m/s

Currently using: 343 m/s

Doppler Wave Visualization

Wave Visualization

SourceWavefronts compress ahead of the source → shorter wavelength, higher frequency, higher pitchObserver

Redshift & Blueshift Calculator

Light does not use the ordinary sound Doppler equation. Use this redshift calculator and blueshift calculator to determine whether a spectral line has shifted toward longer or shorter wavelengths. For astronomical objects moving much slower than the speed of light, a nonrelativistic approximation is often sufficient. For large fractions of the speed of light, use Relativistic Mode.

Speed of light (exact SI)
c = 299,792,458 m/s
c ≈
299,792 km/s · 3.00 × 10⁸ m/s

The value 299,792,458 m/s is exact in SI units.

Input mode
Rest wavelength λ₀nm
Observed wavelength λnm
Important: Not every astronomical redshift should be interpreted as an ordinary local Doppler velocity. Cosmological redshift caused by the expansion of the universe requires cosmological models, especially for distant galaxies and large redshifts. The relation v = cz is only a low-speed approximation, not a universal law.

Radial Velocity Calculator

The radial velocity calculator uses the nonrelativistic approximation vᵣ ≈ cz to estimate how fast an astronomical object moves toward or away from the observer based on its redshift or blueshift.

What is radial velocity?

Radial velocity is the component of an object's velocity directly toward or away from the observer.

  • Motion directly toward the observer → maximum blueshift
  • Motion directly away from the observer → maximum redshift
  • Purely transverse motion → ordinary nonrelativistic radial Doppler shift is zero

Special relativity also predicts a transverse Doppler effect even when motion is perpendicular to the line of sight, arising from time dilation. See Relativistic Mode for more.

Relativistic Doppler Effect

Use this mode when the source and observer have significant relative velocity compared with the speed of light. Convention: v > 0 = receding, v < 0 = approaching.

β = v/c
f_obs/f_source = √((1 − β)/(1 + β))
λ_obs/λ_source = √((1 + β)/(1 − β))
Solve for
Relative velocity v% of c
% c
Positive = receding, negative = approaching
Rest frequency f₀Hz

Classical vs. Relativistic Comparison

At low speeds both agree. At high speeds the classical approximation breaks down.

VelocityClassical zRelativistic z% diff
10% c0.10.10555.25%
30% c0.30.362817.3%
50% c0.50.732131.7%
70% c0.71.3849.3%
90% c0.93.35973.2%

At 50% c: classical z = 0.5, relativistic z = 0.7321, difference = 31.7%.

Transverse Doppler Effect (advanced)
Special relativity predicts a transverse Doppler effect even when the source's instantaneous motion is perpendicular to the observer's line of sight. This arises from relativistic time dilation and is not predicted by the ordinary classical Doppler formula. The observed frequency is reduced by a factor of γ = 1/√(1 − β²) regardless of direction — a purely relativistic result.

Doppler Effect Practice Problems

Attempted: 0Correct: 0Streak: 0Best: 0
Category
Difficulty

Progress is stored locally in your browser only. No account required.

How the Doppler Effect Works

Moving Source Doppler Effect

For a stationary source, the wavelength in the medium is:

λ = v / fₛ

If the source moves toward the observer, during one period T the source advances by vₛT. The wavefront spacing ahead becomes:

λ' = vT − vₛT

Since T = 1/fₛ:

λ' = (v − vₛ) / fₛ

A stationary observer receives wavefronts at rate fₒ = v/λ', so:

fₒ = fₛ · v / (v − vₛ)

Moving Observer Doppler Effect

An observer moving toward the source encounters wavefronts at an effective rate of (v + vₒ):

fₒ = fₛ · (v + vₒ) / (v − vₛ)

Combining both effects gives the full classical Doppler equation for sound.

Limitations of the Doppler Effect Equations

  • Assumes propagation through a medium (air, water, steel).
  • Source and observer velocities are defined relative to that medium.
  • The simple formula is usually one-dimensional / radial.
  • Sound speed must be appropriate to the medium and temperature.
  • Changing wind can alter the effective propagation speed.
  • Rapidly changing velocities may require a time-dependent treatment.
  • Supersonic motion (Mach ≥ 1) creates shock-wave behavior the simple formula cannot describe.
  • The ordinary sound formula must not be applied to light in vacuum.
  • High-speed electromagnetic problems require the relativistic Doppler equation.

Doppler Effect Equations

Sound (general)
fₒ = fₛ(v + vₒ)/(v − vₛ)Full classical sound Doppler equation
Moving source only
fₒ = fₛv/(v − vₛ)Observer stationary, source moving
Moving observer only
fₒ = fₛ(v + vₒ)/vSource stationary, observer moving
Redshift (wavelength)
z = (λ − λ₀)/λ₀ = λ/λ₀ − 1Astronomical redshift from wavelength
Redshift (frequency)
z = f₀/f − 1Astronomical redshift from frequency
Low-speed radial velocity
vᵣ ≈ czNonrelativistic approximation (|v| ≪ c)
Relativistic frequency (recession)
f/f₀ = √((1 − β)/(1 + β))Longitudinal relativistic Doppler
Relativistic wavelength (recession)
λ/λ₀ = √((1 + β)/(1 − β))Wavelength form, β > 0 = receding
Relativistic β from z
β = [(1+z)² − 1] / [(1+z)² + 1]Solve velocity from redshift

Common Doppler Effect Mistakes

1. Memorizing plus and minus signs without thinking
First decide whether the motions increase or decrease the wavefront arrival rate. If the source and observer are getting closer, the observed frequency should rise. If they separate, it should fall. Let the direction tell you the sign.
2. Confusing source and observer motion
Source motion changes the wave spacing in the medium. Observer motion changes how quickly the observer encounters the waves. Both appear in the equation, but they act on different parts: source speed in the denominator, observer speed in the numerator.
3. Using 343 m/s as a universal constant
343 m/s is an approximation for sound in dry air at about 20°C. Sound speed depends on the medium and its temperature. Use the temperature formula or a material preset when conditions differ.
4. Using the sound formula for light
The classical sound formula depends on velocities relative to a propagation medium. Light in vacuum has no medium and requires the relativistic Doppler treatment.
5. Forgetting radial velocity
Only the line-of-sight component of motion produces the ordinary astronomical Doppler shift. Purely transverse motion gives zero nonrelativistic radial shift (though relativity adds a small transverse effect).
6. Assuming all redshift means simple local motion
Cosmological redshift caused by the expansion of the universe requires cosmological models. The relation v = cz is only a low-speed approximation for local Doppler motion, not a universal law for distant galaxies.
7. Forgetting the sanity check
Approaching → frequency increases, wavelength decreases (blueshift). Receding → frequency decreases, wavelength increases (redshift). If your result contradicts the selected direction, recheck the signs or the problem statement.
base44
Edit with Base44