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
| Scenario | f | vs / vo | f′ |
|---|---|---|---|
| Siren approaching | 700 Hz | 30 / 0 | ≈ 767 Hz |
| After pass | 700 Hz | −30 / 0 | ≈ 644 Hz |
| Tuning fork + walk | 440 Hz | 0 / 2 | ≈ 442.6 Hz |
| At rest | 700 Hz | 0 / 0 | 700 Hz |
Classical sound in a still medium. It does not replace the relativistic light formula or dB.
Quick comparison
| Scenario | Input | f′ | Note |
|---|---|---|---|
| Approach 30 m/s | 700 · 343/313 | ≈ 767 Hz | higher |
| Recede 30 m/s | 700 · 343/373 | ≈ 644 Hz | lower |
| 1+v/c approx. | 700 · (1+30/343) | ≈ 761 Hz | worse at 30 m/s |
| Both still | 700 · 343/343 | 700 Hz | check |
Four worked examples
You can repeat each scenario in the Doppler effect calculator.
1. 700 Hz siren approaching → ≈ 767 Hz
The form’s baseline.
- Enter f = 700 Hz; air at 20 °C (c = 343).
- Source direction: approaching; vs = 30 m/s; observer still.
- f′ = 700 · 343 / 313 ≈ 767 Hz.
- Δf ≈ +67 Hz versus the source.
2. After pass → ≈ 644 Hz
The same motion, receding direction.
- Keep f = 700 and c = 343.
- Source direction: receding; vs = 30 m/s.
- f′ = 700 · 343 / 373 ≈ 644 Hz.
- The drop is not a mirror of +67 Hz.
3. 440 Hz tuning fork + 2 m/s walk
Source still; you walk toward it.
- Enter f = 440 Hz.
- Source still; observer toward source at vo = 2 m/s.
- f′ = 440 · (343+2) / 343 ≈ 442.6 Hz.
- A small change at walking speed.
4. Both still → 700 Hz
At-rest check.
- Enter f = 700 Hz.
- Source and observer: still.
- f′ = 700 Hz.
- 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.