Doppler Effect Calculator

Solve Doppler shift problems for sound: find observed frequency, source frequency, source speed, or observer speed for approaching or receding motion.

Configuration

Choose what you want to solve for and whether the source and observer are moving toward each other or away from each other.

Inputs

Enter known values. For sound in air, wave speed defaults to 343 m/s.

Results Summary

The main result is shown below, with quick stats for wavelength and frequency shift.

Practical Guide

Doppler Effect Calculator

Use this Doppler Effect Calculator to find observed frequency, source frequency, or relative speeds for sound waves when a source and observer move toward or away from each other. This guide explains the equation, sign conventions, realistic inputs, and how to sanity-check results.

6–8 min read Updated 2025

Quick Start

  1. 1 In Solve For, pick what you need: observed frequency \(f_o\), source frequency \(f_s\), source speed \(v_s\), or observer speed \(v_o\).
  2. 2 Set Direction to Approaching if the source and observer move toward each other, or Receding if they move apart.
  3. 3 Enter the known frequencies. For sound problems these are typically in Hz or kHz; keep the units consistent.
  4. 4 Enter the wave speed in the medium \(v\). If you don’t know it, start with 343 m/s (air at ~20°C). Adjust for temperature if accuracy matters.
  5. 5 Enter the source speed \(v_s\) and/or observer speed \(v_o\) if they are known. If one of these is your unknown, the calculator hides that row automatically.
  6. 6 Read the Calculated result and compare with Quick Stats like frequency shift \(\Delta f\) and wavelengths.
  7. 7 If the result looks off, recheck the direction, sign convention, and that speeds are realistic (for sound, \(v_s\) and \(v_o\) should stay below \(v\)).

Tip: If only one object is moving, set the other speed to zero. The direction still matters for the moving object.

Common mistake: Using “Approaching” when the observer is chasing the source in the same direction. If the distance is increasing, it’s receding.

Choosing Your Method

Doppler problems usually fall into three analysis paths. The calculator supports all of them through the same core equation; your job is choosing the right “solve for” target and direction.

Method A — Solve for Observed Frequency

Most common for homework and field checks: you know what the source emits and how things move, and you want what an observer hears.

  • Matches typical scenarios (sirens, trains, drones, speakers).
  • Directly shows “pitch goes up/down” behavior.
  • Good for sensitivity checks: change speeds to see impact.
  • Requires decent estimates of speeds and medium wave speed.
  • Breaks down if \(v_s \ge v\) (shock/boom regime).
\(\displaystyle f_o = f_s\left(\frac{v \pm v_o}{\,v \mp v_s\,}\right)\)

Method B — Solve for a Speed

Used in radar/sonar experiments and lab setups: you measure a shift and back-out how fast something is moving.

  • Turns frequency data into motion quickly.
  • Works well for controlled tests (speaker cart, rotating fans, etc.).
  • Helpful for “unknown vehicle speed” problems.
  • Highly sensitive when \(f_o\approx f_s\) (small shifts).
  • Needs correct direction choice or the sign flips.
\(\displaystyle v_s \text{ or } v_o \text{ from } R=\frac{f_o}{f_s}\)

Method C — Solve for Source Frequency

Less common but practical: you know what is heard and how things move, and you want the emitted frequency.

  • Useful when the source is inaccessible (machinery inside an enclosure).
  • Good for calibration of sensors.
  • Depends on accurate speed measurements.
  • Same physical limits as Method A.
\(\displaystyle f_s = f_o\left(\frac{v \mp v_s}{\,v \pm v_o\,}\right)\)

In all cases the calculator assumes the classical Doppler effect for sound in a stationary medium. If you need relativistic Doppler for light (e.g., astronomy, high-speed particles), use a relativistic form instead.

What Moves the Number the Most

Doppler shift is a ratio effect. Small changes in relative speeds or medium wave speed can noticeably move the result.

Relative direction (Approaching vs Receding)

The sign convention is the biggest lever. Approaching makes the numerator larger and/or denominator smaller, increasing \(f_o\). Receding does the reverse.

Wave speed in medium \(v\)

For sound in air, \(v\) increases with temperature. If you assume 343 m/s but the air is cold (~273 K), the true \(v\) may be closer to 331 m/s, changing the shift.

Source speed \(v_s\)

A moving source changes spacing of wavefronts. As \(v_s\) approaches \(v\), the denominator \(v \mp v_s\) shrinks, magnifying the shift.

Observer speed \(v_o\)

A moving observer meets wavefronts faster or slower. Its effect is linear in the numerator \(v \pm v_o\) and usually smaller than \(v_s\) for the same speed.

Original frequency \(f_s\)

Shift scales with \(f_s\). A 5% ratio change produces a 50 Hz shift for a 1 kHz tone, but only 5 Hz for a 100 Hz tone.

Assumption: medium at rest

Wind or flowing water effectively adds a background medium velocity. If the medium moves, the classical formula needs adjustment.

Worked Examples

Example 1 — Siren Approaching a Stationary Observer

  • Scenario: An ambulance emits a 900 Hz tone while driving toward a person.
  • Source frequency: \(f_s = 900\ \text{Hz}\)
  • Source speed: \(v_s = 30\ \text{m/s}\) (~67 mph)
  • Observer speed: \(v_o = 0\ \text{m/s}\)
  • Wave speed: \(v = 343\ \text{m/s}\)
  • Direction: Approaching
1
Core equation:
\[ f_o = f_s\left(\frac{v + v_o}{v – v_s}\right) \]
2
Substitute:
\[ f_o = 900\left(\frac{343 + 0}{343 – 30}\right) \]
3
Compute ratio:
\[ \frac{343}{313} = 1.0958 \]
4
Observed frequency:
\[ f_o = 900(1.0958) \approx 986\ \text{Hz} \]

In the calculator, set Solve For = Observed frequency, Direction = Approaching, then enter the values above. You should see about 986 Hz. That’s a noticeable pitch increase (~one semitone).

Example 2 — Back-Calculate Observer Speed from a Measured Shift

  • Scenario: A lab cart moves toward a speaker. The speaker emits 500 Hz. The cart measures 520 Hz.
  • Source frequency: \(f_s = 500\ \text{Hz}\)
  • Observed frequency: \(f_o = 520\ \text{Hz}\)
  • Source speed: \(v_s = 0\ \text{m/s}\) (speaker fixed)
  • Wave speed: \(v = 343\ \text{m/s}\)
  • Direction: Approaching (cart toward speaker)
  • Unknown: Observer speed \(v_o\)
1
Form ratio:
\[ R=\frac{f_o}{f_s}=\frac{520}{500}=1.04 \]
2
For a fixed source \((v_s=0)\) and approaching observer:
\[ R=\frac{v+v_o}{v} \]
3
Solve for \(v_o\):
\[ v_o = v(R-1) \]
4
Substitute:
\[ v_o = 343(1.04-1)=13.72\ \text{m/s} \]

In the calculator, set Solve For = Observer speed, Direction = Approaching, enter \(f_s\), \(f_o\), \(v\), and set \(v_s=0\). The result should be about 13.7 m/s (~31 mph).

Common Layouts & Variations

The Doppler Effect Calculator is tuned for classical sound Doppler. Here are the most common configurations and what they imply.

ConfigurationHow to set the calculatorNotes / Pros & Cons
Moving source, stationary observerSet \(v_o=0\). Choose direction based on whether source closes or opens distance.Largest shift for a given speed because \(v_s\) is in denominator.
Stationary source, moving observerSet \(v_s=0\). Direction follows observer motion relative to source.Shift usually smaller than moving-source case for same speed.
Both moving toward each otherUse Approaching. Enter both \(v_s\) and \(v_o\).Shifts add. Useful for closing-speed experiments.
Both moving in same directionPick direction by distance change: if observer is catching up, Approaching; if falling behind, Receding.Common sign error. Think in terms of separation over time.
High speeds / Mach effectsKeep \(v_s < v\). If not, classical Doppler is invalid.Near sonic speeds, wavefront piling leads to shocks and sonic booms.
Electromagnetic (light) DopplerNot supported here. Use relativistic Doppler.Requires Lorentz factor; classical formula overpredicts shift.
  • Direction is about separation, not “who is moving.”
  • For sound, confirm medium is roughly still (low wind).
  • Use realistic speeds; cars are 10–40 m/s, trains 20–80 m/s.
  • Frequency shift should be modest unless speeds are high.

Specs, Logistics & Sanity Checks

Medium Wave Speed Choices

If you’re working in air and need better accuracy, estimate speed of sound with:

\[ v \approx 331 + 0.6T_{^\circ C}\ \text{(m/s)} \]

For example, at 0°C \(v\approx331\) m/s; at 30°C \(v\approx349\) m/s. Enter the value directly into the calculator.

Physical Limits

  • The classical formula assumes \(v_s < v\). If \(v_s\) approaches \(v\), shifts become extreme.
  • If \(v_s \ge v\), you’re in shock-wave territory; observed pitch is not described by Doppler alone.
  • Negative or zero frequencies are nonphysical—recheck inputs if you see them.

Sanity Checks

  • Approaching case should produce \(f_o > f_s\). Receding should produce \(f_o < f_s\).
  • If only observer moves, shift ratio is roughly \(1 \pm v_o/v\).
  • If only source moves, shift ratio is roughly \(1/(1 \mp v_s/v)\).
  • For small speeds (\(\ll v\)), \(\Delta f \approx f_s (v_o + v_s)/v\) in approaching.

For field measurements (sirens, rotating machinery, drones), noise and reflections can bias readings. If you measure \(f_o\) experimentally, average over several seconds and use the dominant peak frequency.

Frequently Asked Questions

What equation does the Doppler Effect Calculator use?
It uses the classical Doppler formula for sound in a stationary medium: \[ f_o = f_s\left(\frac{v \pm v_o}{v \mp v_s}\right) \] Choose “Approaching” for the plus/minus combo that increases frequency, and “Receding” for the opposite.
How do I know if it’s approaching or receding?
Think about distance over time. If the gap between source and observer is shrinking, it’s approaching; if the gap is growing, it’s receding—even if both move in the same direction.
Why must the speeds be less than the wave speed for sound?
The classical derivation assumes wavefronts propagate ahead of the source. If \(v_s \ge v\), the source outruns its own waves and forms shocks (sonic boom). The simple Doppler ratio is no longer valid.
Does wind affect Doppler shift?
Yes. Wind means the medium is moving, effectively changing the wave speed relative to source/observer. For mild wind, errors are small; for strong wind aligned with motion, you should correct \(v\) or use a moving-medium model.
Can I use this for light or radar Doppler?
Not directly. Light requires the relativistic Doppler equation with a Lorentz factor. This calculator is intended for sound (or other low-speed waves) where classical assumptions hold.
What’s a realistic Doppler shift for a car horn?
A typical horn is 400–600 Hz. At 30 m/s in air, shifts are usually on the order of 5–10%, so you might hear something like 430–650 Hz approaching and 360–550 Hz receding, depending on speed.
Why does a moving source cause a bigger shift than a moving observer?
Source motion changes the emitted wavelength (spacing of wavefronts), which shows up in the denominator. That denominator effect grows faster as speed increases, so the same speed produces a larger shift than observer motion alone.
Scroll to Top