Home / Physics / Waves / Doppler Effect (Sound, Moving Source)

Formula & Calculator

Doppler Effect (Sound, Moving Source)

When a sound source moves towards you, the sound waves bunch up and the pitch you hear is higher than the actual pitch. When it moves away, the waves stretch out and you hear a lower pitch. This formula gives the observed frequency when the source is approaching. For example, an ambulance siren sounds higher as it comes towards you and lower as it passes. It is used in radar, medical ultrasound, and astronomy to measure motion.

Physics Waves Daily Life
VORZEP · WAVE PHYSICS TOOLS

Doppler Effect Calculator

Solve the moving-source Doppler relation fobs = fsrc · vsound / (vsound − vsource) for any of its four unknowns — observed frequency, source frequency, sound speed, or source speed — with step-by-step math, a live wavefront schematic, and companion acoustics metrics.

fobs = fsrc · vs / ( vs − vsrc )
Solve for
Observed Frequency (fobs) The frequency heard by the observer when the source is moving toward (positive vsrc) or away from (negative vsrc) them. Higher than fsrc when approaching, lower when receding.
Hz
Observed frequency must be greater than zero.
= 605.0 Hz · shift = +105.0 Hz · musical note ≈ D5
Source Frequency (fsrc) The frequency emitted by the moving source in its own rest frame. Typical: 100–500 Hz for sirens and horns, 20–20,000 Hz for audible sound, 20–100 kHz for medical ultrasound, 1–10 MHz for sonar.
Hz
Source frequency must be greater than zero.
= 500.0 Hz · wavelength in air = 0.686 m · note ≈ B4
Sound Speed (vs) Speed of sound in the medium. In air at 20 °C: 343 m/s. In water: ~1480 m/s. In steel: ~5960 m/s. In helium: ~965 m/s. Depends strongly on temperature and medium.
m/s
Sound speed must be greater than zero.
= 343.0 m/s = 1,235 km/h · Mach 1 at 20°C
Source Speed (vsrc) Speed of the source relative to the medium. Positive when moving toward the observer (frequency increases), negative when receding (frequency decreases). Must be less than vs for the subsonic formula; at vsrc = vs a shock wave (sonic boom) forms.
m/s
Source speed must be less than the speed of sound for this formula.
= 60.0 m/s = 216.0 km/h · Mach 0.175 · approaching
OBSERVED FREQUENCY (f_obs)
605.0 Hz
605.0 Hz · shift +105.0 Hz · ratio 1.210
APPROACHING — FREQUENCY SHIFTED UP 21%
f_obs = f_src · v_s / ( v_s − v_src )
Step-by-step solution
Observed frequency vs. source speed
Current f_src f_src × 0.5 f_src × 2.0
Observed frequency vs. source frequency
Current v_src v_src = 0 v_src × 2.0
Sensitivity
Companion acoustics metrics
Doppler effect with a moving source — live schematic
DOPPLER EFFECT · MOVING SOURCE · f_obs = f_src · v_s / (v_s − v_src) S source v_src = 60 m/s O observer f_obs = 605 Hz f_src = 500 Hz DOPPLER STATE f_src = 500 Hz f_obs = 605 Hz Δf = +105 Hz f_obs = 500 × 343 / (343 − 60) = 605 Hz
Moving source & velocity Wavefronts & observer Frequency shift
What the Doppler relation really measures
fobsobserved freq
=
fsrcsource freq
×
vs / (vs − vsrc)Doppler factor

Wavefronts bunch up as the source moves

When a source moves through a medium, each wavefront is emitted from a slightly different position. In the direction of motion, the wavefronts are closer together than they would be for a stationary source, so the wavelength is shorter and the observed frequency is higher. Behind the source, the wavefronts are stretched, so the wavelength is longer and the frequency is lower. The Doppler formula is the quantitative statement of this geometric compression and rarefaction of the wavefront pattern.

Approaching raises the pitch

When the source moves toward the observer (positive vsrc), the denominator (vs − vsrc) is smaller than vs, so the Doppler factor is greater than one and fobs > fsrc. The pitch sounds higher. The faster the source, the greater the rise — as vsrc approaches vs, the denominator approaches zero and the observed frequency diverges toward infinity. This is the mathematical signature of the sonic boom: at vsrc = vs, all wavefronts pile up on top of each other at the shock front.

Receding lowers the pitch

When the source moves away from the observer, vsrc is negative in the formula (or equivalently, the denominator becomes vs + |vsrc|). The Doppler factor is less than one, and fobs < fsrc. The pitch sounds lower. A familiar example is a passing ambulance siren: as it approaches, the pitch is high; as it passes, the pitch drops abruptly; as it recedes, the pitch is low. The frequency ratio from approach to recession is (vs + |v|)/(vs − |v|), which becomes very large as v approaches vs.

Mach number and shock waves

The ratio M = vsrc / vs is the Mach number. For M < 1 (subsonic), the moving-source Doppler formula applies directly and the source stays behind its wavefronts. At M = 1 (sonic), the source travels with its wavefronts and a shock wave forms — the sonic boom. For M > 1 (supersonic), the source outruns its own wavefronts, and the wavefronts pile up along a cone (the Mach cone) trailing behind the source. The half-angle of the cone is θ = arcsin(1/M). Inside the cone, no sound reaches the observer before the shock arrives; outside, the observer hears the sonic boom and then silence from that direction.

How to Use This Calculator

The moving-source Doppler relation links four quantities: fobs, fsrc, vs, and vsrc. Pick which one you want the tool to solve, then fill in the other three.

1. Choose what to solve for

Pick fobs, fsrc, vs, or vsrc from the toggle. The calculator rearranges the formula automatically for whichever you choose.

2. Use realistic presets

Presets cover typical values: frequencies from 100 Hz to 40 kHz, sound speeds from 331 m/s (cold air) to 5,960 m/s (steel), and source speeds from −50 m/s (receding) to 300 m/s (near Mach).

3. Match units and sign conventions

Use SI units: f in Hz, v in m/s. The sign of vsrc matters: positive when the source moves toward the observer (frequency increases), negative when receding (frequency decreases). The formula requires |vsrc| < vs; at or above the speed of sound, the shock-wave regime begins.

4. Read the result and verdict

The result card shows the solved value plus the frequency shift and ratio. A colour-coded verdict classifies the effect from receding (lower pitch) through static to approaching (higher pitch) to near-Mach (extreme).

5. Check the schematic and charts

The schematic shows the moving source, its wavefronts, the observer, and the velocity arrow. The chart plots observed frequency against source speed for three source frequencies, clearly showing the divergence as vsrc approaches vs.

6. Switch to Advanced for depth

Advanced mode adds a chart of fobs vs. fsrc, a sensitivity check on a +1% input change, and companion metrics including Mach number, wavelength shift, beat frequency, and the frequency ratio between approach and recession.

What This Tool Offers

Built around the moving-source Doppler relation fobs = fsrc · vs / (vs − vsrc), the fundamental link between source speed, sound speed, and observed pitch.

Four-way solving

Solve for observed frequency, source frequency, sound speed, or source speed. The calculator rearranges the formula for whichever variable you choose.

Clean wavefront schematic

A moving source with compressed wavefronts ahead and stretched wavefronts behind, an observer, and the velocity arrow, all to scale.

Doppler-class verdict

Each result is classified from receding (lower pitch) through static to approaching (higher pitch) to near-Mach (extreme), with a coloured badge.

Multi-unit hints

Each field shows the value in related forms — musical note name for frequency, km/h and Mach number for speed, and frequency shift for the result.

Dual comparison charts

fobs vs. vsrc for three source frequencies, plus an advanced fobs vs. fsrc chart for three source speeds.

Reference tables

Sound speed in common media, typical source speeds and Mach numbers, and a full variable reference table.

Reference Tables & Conversions

A frequency unit converter, a Doppler shift lookup grid, and typical values.

Frequency unit converter

Hz
kHz
MHz
ms
= 500.0 Hz = 0.5000 kHz = 0.000500 MHz · period = 2.000 ms

Observed Frequency Lookup at fsrc = 500 Hz, vs = 343 m/s

Computed from fobs = fsrc · vs / (vs − vsrc). Values in Hz.

v_src (m/s)f_src = 100 Hzf_src = 500 Hzf_src = 1000 Hzf_src = 2000 Hzf_src = 40000 Hz

Speed of Sound in Common Media

MediumTemperatureSound speed (m/s)Notes
Air−20 °C319Cold winter air
Air0 °C331Standard reference
Air20 °C343Typical room temperature
Air40 °C355Hot summer day
Helium0 °C965High-pitched voice effect
Carbon dioxide0 °C259Low-pitched voice effect
Fresh water20 °C1,482Sonar in lakes
Seawater20 °C1,522Sonar in oceans
Ethanol20 °C1,162Organic liquid
Soft tissue37 °C~1,540Medical ultrasound
Plexiglass20 °C2,750Polymer
Aluminium20 °C6,420Metal
Steel20 °C5,960Structural metal
Diamond20 °C12,000Highest known

Variable Reference

SymbolMeaningTypical rangeUnits
fobsObserved frequency1 – 10⁸Hz
fsrcSource frequency1 – 10⁸Hz
vsSpeed of sound in medium200 – 12,000m/s
vsrcSource speed (positive toward observer)−vs – +vsm/s
MMach number = vsrc / vs0 – 5+—
ΔfFrequency shift = fobs − fsrc—Hz
λWavelength = vs / f—m

What Does fobs = fsrc · vs / (vs − vsrc) Measure?

The Doppler effect is the change in observed frequency when a source of waves moves relative to an observer (or vice versa). The formula in this calculator describes the moving-source case in a stationary medium — the classic situation of an ambulance siren or a race car engine — and expresses the observed frequency in terms of the source frequency, the sound speed in the medium, and the source speed.

Doppler Effect Formula (Moving Source)

The defining relationship is:

fobs = fsrc · vs / ( vs − vsrc )

where vsrc is positive when the source moves toward the observer and negative when it recedes. Rearranged to solve for the other unknowns:

fsrc = fobs · ( vs − vsrc ) / vs
vs = fsrc · vsrc / ( fsrc − fobs )
vsrc = vs · ( 1 − fsrc / fobs )

For a source moving away, the denominator becomes vs + |vsrc|, and the frequency falls. For both source and observer in motion, the general formula is:

fobs = fsrc · ( vs ± vobs ) / ( vs ∓ vsrc )

with the top sign for approach and the bottom sign for recession. The Mach number and shock-wave angle are:

M = vsrc / vs
sin( θ ) = 1 / M (Mach cone half-angle)

For electromagnetic waves (light, radio), the formula is different because there is no medium and relativity applies:

fobs = fsrc · √( ( 1 − β ) / ( 1 + β ) ) ( β = v / c )

Doppler Variables

SymbolMeaningNotes
fobsObserved frequencyFrequency detected by the observer
fsrcSource frequencyFrequency emitted in the source's rest frame
vsSound speedSpeed of wave in the medium; depends on temperature and medium
vsrcSource speedPositive toward observer, negative away
MMach numberRatio vsrc / vs
ΔfFrequency shiftfobs − fsrc

How Each Variable Affects the Observed Frequency

The observed frequency is directly proportional to the source frequency: doubling fsrc doubles fobs. It depends on the source speed through the Doppler factor vs / (vs − vsrc), which is greater than one for approach, equal to one for a stationary source, and less than one for recession. As vsrc approaches vs, the Doppler factor grows without bound — the observed frequency diverges, which is the mathematical signature of the shock front. Beyond vsrc = vs, the formula no longer applies in its simple form and the physics is that of a supersonic source with a Mach cone.

The sound speed vs plays a subtler role. For a fixed source speed, a larger sound speed means the Doppler factor is closer to one — a smaller shift. In a medium like helium (vs ≈ 965 m/s), a car moving at 30 m/s produces a much smaller Doppler shift than in air, because the wavefronts have more time to spread out before the source catches up. Conversely, in a slow medium like CO₂ (vs ≈ 259 m/s), the same 30 m/s produces a larger shift. The key dimensionless parameter is the Mach number M = vsrc/vs, and all the physics of the subsonic regime is contained in this single number.

Doppler Effect Calculation Examples

Given: fsrc = 500 Hz, vs = 343 m/s, vsrc = 60 m/s (approaching)
fobs = 500 × 343 / (343 − 60) = 171,500 / 283 = 606.0 Hz
Given: fsrc = 500 Hz, vs = 343 m/s, vsrc = −60 m/s (receding)
fobs = 500 × 343 / (343 + 60) = 171,500 / 403 = 425.6 Hz
Given: fobs = 606 Hz, fsrc = 500 Hz, vs = 343 m/s
vsrc = 343 × (1 − 500/606) = 343 × 0.175 = 60.0 m/s
Given: M = 0.5 (source at half the speed of sound)
Doppler factor toward observer = 1/(1−0.5) = 2.000
Doppler factor away from observer = 1/(1+0.5) = 0.667
Given: M = 2 (supersonic), Mach cone half-angle
θ = arcsin(1/2) = 30°
Given: ambulance siren at 700 Hz, vsrc = 30 m/s, vs = 343 m/s
Approaching: fobs = 700 × 343 / (343−30) = 767 Hz
Receding: fobs = 700 × 343 / (343+30) = 644 Hz
Pitch drop: 123 Hz

Frequently Asked Questions

Because the sign of the Doppler shift changes as the source passes. While the source approaches, each successive wavefront is emitted from a position closer to you, so the wavefronts arrive compressed and the observed frequency is higher than the source frequency. The instant the source passes, the geometry reverses: each successive wavefront is emitted from a position farther away, so the wavefronts arrive stretched and the observed frequency is lower. The transition is abrupt — there is no gradual change through the source frequency — because the shift depends on the component of the source velocity toward you, which flips sign at the pass. In practice, the drop is smoothed only by the finite size of the source and by the change in distance during the pass.

As the source speed approaches the speed of sound, the denominator (vs − vsrc) approaches zero, and the Doppler factor diverges — the observed frequency tends to infinity. Physically, this means all the wavefronts emitted by the source pile up at the same position, creating a shock front of enormous pressure and density. When the source reaches vs, this shock front reaches the observer as a sonic boom — a sudden, sharp pressure pulse. The moving-source Doppler formula does not apply at or above the speed of sound; instead, the source outruns its own wavefronts and creates a Mach cone trailing behind it, with half-angle θ = arcsin(1/M) where M is the Mach number. Behind the cone, the observer hears nothing until the shock arrives; inside the cone, they hear the sonic boom.

No. The Doppler frequency shift depends only on the relative velocity between source and observer along the line of sight, not on the distance between them. A source moving at 60 m/s toward you produces the same frequency shift whether it is 10 m or 10 km away. What does change with distance is the intensity of the sound (the inverse-square law) and the time delay for the sound to arrive. The Doppler shift is a kinematic effect, not a propagation effect. In real situations, the source is usually not moving exactly toward or away from the observer, but at some angle; only the component of velocity along the line of sight matters, and the shift goes to zero when the source moves perpendicular to the line of sight.

No. For sound, the medium (air, water) provides a preferred reference frame, and the formulas for a moving source and a moving observer are different. For light, there is no medium, and the special theory of relativity requires that the formulas for source motion and observer motion be identical — only the relative velocity matters. The relativistic Doppler formula is fobs = fsrc · √((1 − β)/(1 + β)) for a source receding along the line of sight, where β = v/c. For β ≪ 1, this reduces to the classical formula fobs ≈ fsrc(1 − β), but for large β the relativistic correction becomes important. The expanding-universe redshift of distant galaxies is a relativistic Doppler effect, as is the transverse Doppler shift observed in fast atomic beams.

For sound in a medium, the two formulas have a different mathematical structure. For a moving source at speed vsrc toward a stationary observer: fobs = fsrc · vs/(vs − vsrc). For a stationary source with an observer moving toward it at speed vobs: fobs = fsrc · (vs + vobs)/vs. The two formulas are not identical: moving the source changes the wavelength of the emitted wavefronts, while moving the observer changes how frequently the observer encounters those wavefronts. For small speeds compared to vs, both formulas reduce to the same first-order approximation, but at high speeds the asymmetry becomes important. For light, relativity requires the two formulas to be the same.

The Doppler effect has a remarkable range of applications. Doppler radar measures the speed of cars (police radar), weather systems (Doppler weather radar detects precipitation motion), and baseball pitches. Medical ultrasound uses Doppler to measure blood flow velocity and detect blockages. Sonar uses Doppler to track submarines and measure ocean currents. Astronomy uses the Doppler shift of spectral lines to measure the velocities of stars, galaxies, and gas clouds, and to detect exoplanets by the wobble of their host stars. In everyday life, the passing siren and the race-car engine are familiar examples. The Doppler effect is also used in laser cooling of atoms, in GPS (relativistic corrections), in flow measurement (laser Doppler velocimetry), and in the search for gravitational waves (where the Doppler shift of pulsar signals provides a test of general relativity).

Yes. The audible range for humans is roughly 20 Hz to 20,000 Hz. A source with a frequency near the edge of this range can be shifted out of it by the Doppler effect. For example, a 15,000 Hz whistle approaching at 100 m/s in air (vs = 343 m/s) produces an observed frequency of 15,000 × 343/(343 − 100) = 21,200 Hz — above the upper limit of hearing, so it becomes inaudible. Similarly, a 25 Hz rumble receding at 100 m/s drops to 25 × 343/(343 + 100) = 19.4 Hz — below the lower limit. Bat echolocation (20–100 kHz) and dolphin sonar (up to 150 kHz) operate above the human range, and Doppler shifts in these signals are used by the animals to judge the speed of their prey. Medical Doppler ultrasound also operates above 1 MHz, well above human hearing.

Calculating...

Variables

Symbol Quantity Unit
f_observed Frequency heard by the observer Hz
f_source Frequency emitted by the source Hz
v_sound Speed of sound in the medium m/s
v_source Speed of the source toward the observer m/s

What it means

The Doppler effect describes the change in frequency of a wave when the source or observer is moving relative to the medium. For sound, when the source moves towards a stationary observer, the observed frequency is higher; when moving away, lower. The formula for a moving source (observer stationary) is f_obs = f_source (v_sound / (v_sound ∓ v_source)), with minus for approaching and plus for receding. This effect is used in radar and sonar to measure speed, in astronomy to measure radial velocities of stars (redshift/blueshift), and in medical ultrasound to detect blood flow. Understanding the Doppler effect is essential in acoustics, astrophysics, and many practical measurement techniques.

Worked example

Doppler Effect – Two Examples

Real‑World
Scenario: A car horn (500 Hz) moves toward you at 20 m/s. Speed of sound = 343 m/s. Find observed frequency.
ParameterValue
f_source500 Hz
v_sound343 m/s
v_source20 m/s
1f_obs = f_source × v_sound/(v_sound - v_source) = 500 × 343/(343-20) = 500 × 343/323 = 500 × 1.062 = 531 Hz
Result 531 Hz ✓ Higher pitch
Scenario: A siren (1000 Hz) moves toward you at 30 m/s. Find observed frequency.
ParameterValue
f_source1000 Hz
v_source30 m/s
1f_obs = 1000 × 343/(343-30) = 1000 × 343/313 = 1000 × 1.096 = 1096 Hz
Result 1096 Hz ✓ Noticeable shift
Key insight: Moving source compresses waves ahead – observed frequency increases when source moves toward you.

Common mistakes

  • Sign convention: This formula is for a moving source approaching a stationary observer. For receding, use v_source positive in denominator? Actually, use proper signs: f_obs = f_src (v_sound / (v_sound ∓ v_src)). Check the sign carefully.
  • Sound speed v_sound: In the medium – depends on temperature, pressure.
  • Source speed v_source: Must be less than v_sound – supersonic sources create shock waves (different physics).
  • Stationary observer: This formula assumes the observer is at rest relative to the medium.
  • Moving observer case: Different formula – do not confuse.

Applications

The Doppler effect for sound, f_observed = f_source · v_sound / (v_sound − v_source), describes the frequency change when the source moves relative to the observer. This effect is used in radar and lidar for speed measurement, in astronomy to measure stellar velocities, and in medical ultrasound for blood flow detection. Engineers apply it in traffic speed cameras, in weather radar to track precipitation, and in automobile collision avoidance systems. The formula is also used in acoustic diagnostics and to study the expansion of the universe. By understanding the Doppler effect, professionals can infer relative motion remotely, making it indispensable in many sensing and measurement systems.

  • Traffic speed enforcement radar
  • Weather radar and precipitation tracking
  • Medical ultrasound for blood flow and cardiac motion
  • Astronomical redshift and cosmic expansion studies
  • Collision warning systems in autonomous vehicles