🔊
✓ Editorially reviewed by Derek Giordano, Founder & Editor · BA Business Marketing

Doppler Effect Calculator

The frequency you hear when a sound source, the listener or both are moving, for any speed of sound, checked against OpenStax University Physics Volume 1

Updated October 2026

🧮
700+ calculators, no signup required
Finance · Health · Math · Science · Business
nnng.com
Doppler effect for sound: f₀ = fₛ (v ± v₀) ÷ (v ∓ vₛ), using the top signs (+ for the observer, − for the source) when they move toward each other, where v is the speed of sound in the medium. In OpenStax University Physics Example 17.8, a 150 Hz train horn approaching at 35.0 m/s with v = 340 m/s gives f₀ = 167.2 Hz (+17.2 Hz, higher pitch); receding, it drops to 136 Hz.

How the Doppler Formula Works

A moving source crowds the sound waves ahead of it and stretches them behind, so a listener in front hears a higher frequency and one behind hears a lower one. A moving listener runs into wave crests faster or slower. OpenStax combines both in one formula, with speeds measured relative to the air (or other medium):

f₀ = fₛ × (v ± v₀) ÷ (v ∓ vₛ)

  1. Pick signs. Observer moving toward the source: + in the numerator; away: −. Source moving toward the observer: − in the denominator; away: +.
  2. Example 17.8, train approaching: 150 × 340 ÷ (340 − 35.0) = 150 × 1.115 = 167 Hz.
  3. Train receding: 150 × 340 ÷ (340 + 35.0) = 136 Hz.
  4. The engineer riding the train moves with the horn: 150 × (340 − 35.0) ÷ (340 − 35.0) = 150 Hz, no shift.

The shift up (17 Hz) is larger than the shift down (14 Hz): approaching and receding are not symmetric because the source speed sits in the denominator.

Worked Values

SituationHeard frequencyShift
Train horn approaching (Example 17.8)167.2 Hz+17.2 Hz
Train horn receding (Example 17.8)136.0 Hz-14.0 Hz
Engineer on the train (Example 17.8)150.0 Hz+0.0 Hz
Observer walking toward a 440 Hz speaker at 1.5 m/s441.9 Hz+1.9 Hz
Ambulance siren 700 Hz at 25 m/s, approaching755.0 Hz+55.0 Hz
Ambulance siren 700 Hz at 25 m/s, receding652.4 Hz-47.6 Hz
Two cars closing, 20 m/s each, 400 Hz horn449.5 Hz+49.5 Hz

The rows after the textbook example use 343 m/s for the speed of sound and illustrative speeds. Change the speed of sound for other media or temperatures: OpenStax section 17.2 gives 331 m/s for air at 0°C, 343 m/s at 20°C and 1,480 m/s for fresh water, so the same motion gives a much smaller shift under water.

Common Mistakes

What This Calculator Does Not Cover

It assumes motion along the line between source and observer in still air. Wind, motion at an angle (use the speed component along the line) and light waves need adjustments the calculator does not make.

Frequently Asked Questions

What is the Doppler effect formula for sound?
f₀ = fₛ (v ± v₀) ÷ (v ∓ vₛ), with the top signs when the observer and source move toward each other and v the speed of sound.
Why does a siren sound higher as it approaches?
The moving source compresses the sound waves in front of it, so more crests reach you each second and the frequency rises.
What frequency does a 150 Hz train horn have at 35 m/s?
About 167 Hz approaching and 136 Hz receding with a 340 m/s speed of sound, per OpenStax University Physics Example 17.8.
Is the Doppler shift the same for a moving source and a moving observer?
No. At the same speed, a moving source gives a larger shift than a moving observer, because its speed is in the denominator.
Does the person riding with the source hear a change?
No. Source and listener move together, so the effects cancel and the frequency is unchanged.
What happens when the source reaches the speed of sound?
The waves pile up into a shock wave, a sonic boom, and the ordinary Doppler formula no longer applies.

How to Use This Calculator

  1. Enter the source frequency — the pitch the source actually emits, in Hz.
  2. Set the speed of sound — 340 m/s as in OpenStax, about 343 m/s in room-temperature air, or a value for another medium.
  3. Enter the source and observer speeds and directions — toward or away from each other, in m/s, km/h or mph.
  4. Read the heard frequency — with the shift, the percent change and the wavelength.
📚 Sources & References
  1. [1] OpenStax. University Physics Volume 1, 17.7 The Doppler Effect (2016; accessed October 2026). openstax.org
  2. [2] OpenStax. University Physics Volume 1, 17.2 Speed of Sound (2016; accessed October 2026). openstax.org
✅ Editorial Standards — Every calculator is built from peer-reviewed formulas and official data sources, editorially reviewed for accuracy, and updated regularly. Read our full methodology · About the author