Article

Doppler effect calculator

The Doppler effect in this guide means f′ = f · (c + vo) / (c − vs). A 700 Hz siren with a 30 m/s source toward you gives about 767 Hz; after it passes — about 644 Hz. The model is classical sound in a still medium. The same path powers the Doppler effect calculator.

Frequency from period: f = 1/T. Wave speed: v = f·λ.

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

The calculator uses the numbers you enter: source frequency f, wave speed c, and source and observer speeds vs and vo. You choose directions in the form; positive vs and vo mean approach. In air at 20 °C, c = 343 m/s. For a 700 Hz siren and vs = 30 m/s toward you: f′ = 700 · 343 / 313 ≈ 767 Hz. After the pass (receding) the result is ≈ 644 Hz. Approach and recession are not mirror images, because vs sits in the denominator. The calculator rejects |vs| ≥ c and does not compute loudness in decibels.

f′ = f · (c + vo) / (c − vs)
Δf = f′ − f
example: 700 Hz · 30 m/s → ≈ 767 Hz
example: after pass → ≈ 644 Hz

Scenariofvs / vof′
Siren approaching700 Hz30 / 0≈ 767 Hz
After pass700 Hz−30 / 0≈ 644 Hz
Tuning fork + walk440 Hz0 / 2≈ 442.6 Hz
At rest700 Hz0 / 0700 Hz

Classical sound in a still medium. It does not replace the relativistic light formula or dB.

Quick comparison

ScenarioInputf′Note
Approach 30 m/s700 · 343/313≈ 767 Hzhigher
Recede 30 m/s700 · 343/373≈ 644 Hzlower
1+v/c approx.700 · (1+30/343)≈ 761 Hzworse at 30 m/s
Both still700 · 343/343700 Hzcheck

Four worked examples

You can repeat each scenario in the Doppler effect calculator.

1. 700 Hz siren approaching → ≈ 767 Hz

The form’s baseline.

  1. Enter f = 700 Hz; air at 20 °C (c = 343).
  2. Source direction: approaching; vs = 30 m/s; observer still.
  3. f′ = 700 · 343 / 313 ≈ 767 Hz.
  4. Δf ≈ +67 Hz versus the source.

2. After pass → ≈ 644 Hz

The same motion, receding direction.

  1. Keep f = 700 and c = 343.
  2. Source direction: receding; vs = 30 m/s.
  3. f′ = 700 · 343 / 373 ≈ 644 Hz.
  4. The drop is not a mirror of +67 Hz.

3. 440 Hz tuning fork + 2 m/s walk

Source still; you walk toward it.

  1. Enter f = 440 Hz.
  2. Source still; observer toward source at vo = 2 m/s.
  3. f′ = 440 · (343+2) / 343 ≈ 442.6 Hz.
  4. A small change at walking speed.

4. Both still → 700 Hz

At-rest check.

  1. Enter f = 700 Hz.
  2. Source and observer: still.
  3. f′ = 700 Hz.
  4. With zero speeds the result must return to f.

Common mistakes with the Doppler effect

  • Expecting mirror ±Δf — vs in the denominator breaks the symmetry.
  • Putting |vs| ≥ c — the formula breaks; the calculator rejects it.
  • Mixing the result with loudness — here you get hertz, not decibels.
  • Using the 1+v/c approx. at 30 m/s — the full formula is closer (~767 vs ~761).
  • Forgetting direction signs — the form picks approach / recession separately.
  • Applying the light formula — this is classical sound in a medium.

Frequently asked questions

How is the Doppler effect calculated on this page?

f′ = f · (c + vo) / (c − vs). For a 700 Hz siren, c = 343 m/s and a 30 m/s source toward you, the result is about 767 Hz.

How much after that same siren passes?

When receding, the signed vs in the denominator flips: f′ ≈ 644 Hz. Approach and recession are not mirror images.

What c does air use?

At 20 °C the calculator sets c = 343 m/s. You can change temperature; water is a separate medium.

Is the result loudness in decibels?

No. The result is frequency in hertz. Loudness belongs on a separate page.

What if |vs| ≥ c?

The calculator rejects that case — the denominator c − vs would hit zero or go negative.

Is this the relativistic light formula?

No. This is the classical sound formula in a still medium. Light uses a different model.