-
🚗 Doppler Effect Calculator
Calculate observed frequency, frequency shift, wavelength, and pitch change when a sound source or listener moves through air.
1. Sound and Environment
2. Source and Observer Movement
Enter speeds relative to the air. Choose whether each is moving toward or away from the other. Use zero speed for a stationary source or observer.
🎵 Quick Examples
3. Doppler Effect Results
--Observed FrequencyFrequency shift
--Original Frequency--Observed Frequency--Frequency Shift--Frequency Change--Musical Pitch Shift--Pitch Shift (Cents)--Speed of Sound--Original Wavelength--Wavefront Spacing Toward ObserverEnter values to calculate.
🌊 Doppler Wave Visualization
Wavefronts become more closely spaced in the direction of a moving source and more widely spaced behind it. Observer motion changes how frequently wavefronts are encountered, but does not by itself change their spacing in stationary air.
📐 Doppler Effect Formulas
Classical Doppler formula for sound moving through a stationary medium:
f′ = f × (c + vₒ) / (c − vₛ)Here, vₒ is positive when the observer moves toward the source and negative when moving away. vₛ is positive when the source moves toward the observer and negative when moving away. Both velocities are measured relative to the medium.
Frequency shift:
Δf = f′ − fMusical pitch shift in semitones:
n = 12 × log₂(f′ / f)Wavelength of the approaching or receding wavefronts:
λ = (c − vₛ) / fThis simplified model assumes straight-line motion, uniform air conditions, and speeds below the speed of sound. It does not model reflections, acceleration, wind, or supersonic shock waves.
-
A Doppler Effect Calculator helps musicians, audio engineers, sound designers, physics students, acousticians, and educators calculate how the observed frequency of sound changes when a sound source or listener moves.
The Doppler effect is a fascinating phenomenon that explains why the pitch of a passing ambulance siren, train horn, or moving vehicle changes as it approaches and moves away from a listener.
When a sound source approaches an observer, the sound waves become compressed in the direction of motion, causing the observed frequency to increase. When the source moves away, the wavefronts become more widely spaced, causing the observed frequency to decrease.
This interactive calculator determines observed frequency, frequency shift, percentage change, musical pitch shift in semitones and cents, speed of sound, and acoustic wavelength.
It also supports moving sources, moving observers, approaching and receding motion, and temperature-adjusted sound speed.
How to Use the Doppler Effect Calculator
Start by entering the original sound frequency in hertz (Hz).
For example, you can enter 440 Hz, which corresponds to the standard tuning frequency of A4.
Next, enter the air temperature or choose to provide a custom speed of sound.
Enter the speed of the sound source and select whether it is moving toward or away from the observer.
You can also enter the observer's speed and direction.
If either the source or observer is stationary, enter zero for its speed.
Click Calculate Doppler Shift to view the results.
The calculator displays the observed frequency, the difference between the original and observed frequencies, the percentage change, and the equivalent musical pitch shift.
What Is the Doppler Effect?
The Doppler effect is the change in observed wave frequency caused by relative motion between a wave source and an observer.
It occurs with sound waves, light waves, and other types of waves, although the mathematical models differ.
For sound, the Doppler effect depends on how the source and observer move relative to the medium carrying the sound.
In everyday situations, that medium is usually air.
The Doppler effect is named after physicist Christian Doppler, who described the phenomenon in the nineteenth century.
Doppler Effect Formula for Sound
A commonly used classical Doppler equation is:
f′ = f × (c + vo) / (c − vs)
Where:
-
f′: Observed frequency in hertz.
-
f: Original emitted frequency in hertz.
-
c: Speed of sound in the medium.
-
vo: Observer velocity toward the source.
-
vs: Source velocity toward the observer.
The velocities use a sign convention.
Motion toward the other party is positive, while motion away is negative.
This formula assumes a simplified one-dimensional situation with uniform sound speed.
Example: Approaching Sound Source
Imagine a vehicle emitting a 440 Hz tone while traveling toward a stationary listener at 30 meters per second.
Assume the speed of sound is approximately 343 meters per second.
The equation becomes:
f′ = 440 × 343 / (343 − 30)
The observed frequency is approximately:
482.2 Hz
This means the listener hears a higher frequency than the one emitted by the source.
The difference is approximately 42.2 Hz.
Example: Receding Sound Source
Now imagine the same vehicle moving away from the listener.
The source speed is still 30 meters per second, but its direction has changed.
The equation becomes:
f′ = 440 × 343 / (343 + 30)
The observed frequency is approximately:
404.6 Hz
The listener hears a lower pitch because the sound source is moving away.
This explains the familiar drop in pitch as a vehicle passes a stationary listener.
Why Does Pitch Change When a Vehicle Passes?
When a moving vehicle approaches, each successive sound wave is emitted from a position closer to the listener.
This compresses the spacing between wavefronts in front of the vehicle.
The listener encounters the waves more frequently, resulting in a higher observed frequency.
After the vehicle passes, the wavefronts reaching the listener are more widely spaced.
The observed frequency becomes lower.
The transition can be especially noticeable with emergency vehicle sirens, train horns, and other sustained sounds.
What Is Frequency Shift?
Frequency shift is the difference between the observed frequency and the original frequency.
The formula is:
Δf = f′ − f
A positive result indicates an increase in observed frequency.
A negative result indicates a decrease.
For example, if a 1,000 Hz tone is observed at 1,100 Hz, the frequency shift is:
1,100 − 1,000 = +100 Hz
The observed frequency is 100 Hz higher than the emitted frequency.
Doppler Effect and Musical Pitch
The Doppler effect is especially interesting for musicians because changes in frequency correspond to changes in musical pitch.
Musical intervals are based on frequency ratios rather than simple differences in hertz.
For example, doubling a frequency produces a pitch one octave higher.
The calculator converts Doppler frequency shifts into semitones and cents using:
Semitones = 12 × log₂(Observed Frequency / Original Frequency)
One semitone equals 100 cents in twelve-tone equal temperament.
This allows musicians and sound designers to understand Doppler shifts in familiar musical terms.
Doppler Effect in Music Production
Music producers and sound designers sometimes recreate the Doppler effect to simulate movement.
For example, a passing car sound effect may increase in pitch as the vehicle approaches and decrease in pitch as it moves away.
This technique can make audio scenes feel more realistic.
Doppler-style pitch changes are commonly associated with cinematic sound effects, video games, animations, and immersive audio experiences.
However, realistic moving-source effects also involve changing loudness, spatial position, distance-related filtering, and environmental reflections.
Doppler Effect in Video Game Audio
Video games often feature moving sound sources such as vehicles, aircraft, projectiles, and environmental objects.
A Doppler calculation can help determine how the pitch of a sound should change based on motion.
For example, a racing game may simulate the pitch change of a passing car engine.
The Doppler effect can contribute to the sense of speed and movement.
Game audio systems may also include additional processing for spatial positioning, attenuation, and environmental acoustics.
Doppler Effect in Film Sound Design
Film sound designers use Doppler-inspired pitch effects to communicate motion.
A fast-moving vehicle, aircraft, or fictional object can sound more convincing when its pitch changes as it passes the listener.
The Doppler effect is particularly useful for scenes involving movement across the stereo field or through a three-dimensional audio environment.
The calculator can provide a mathematical reference for estimating the size of the pitch shift.
Does a Moving Listener Experience the Doppler Effect?
Yes.
The Doppler effect can occur when the sound source moves, when the observer moves, or when both move.
For example, a listener moving toward a stationary sound source encounters sound wavefronts more frequently.
This increases the observed frequency.
A listener moving away encounters the wavefronts less frequently, producing a lower observed frequency.
An important distinction is that moving the observer does not change the spacing of the sound waves in stationary air.
It changes how frequently the observer encounters those waves.
Does the Speed of Sound Affect the Doppler Effect?
Yes.
The size of the Doppler shift depends on the movement speeds relative to the speed of sound.
For the same source velocity, the proportional Doppler shift generally becomes larger as the source speed approaches the speed of sound.
Temperature affects the speed of sound in air, so it can also affect the calculated frequency shift.
How Temperature Affects Doppler Calculations
The speed of sound in air increases as temperature rises.
At approximately 20°C, sound travels at about 343 meters per second.
In colder air, sound generally travels more slowly.
In warmer air, it travels faster.
The calculator uses an approximate temperature-based speed-of-sound equation.
This provides a more realistic estimate than assuming the speed of sound is identical under every atmospheric condition.
Doppler Effect and Wavelength
Wavelength is the distance between repeating points in a sound wave.
For a stationary source in a stationary medium:
λ = c / f
When the source moves toward the observer, the wavelength in that direction becomes shorter.
When the source moves away, the wavelength in the observer's direction becomes longer.
For the simplified one-dimensional model:
λ = (c − vs) / f
Here, source velocity is positive toward the observer and negative away from the observer.
Doppler Effect vs. Volume Change
The Doppler effect describes a change in observed frequency, not a change in sound volume.
However, moving sound sources often produce both pitch and loudness changes.
For example, a passing vehicle may sound louder as it approaches because the distance between the vehicle and listener decreases.
After passing, the sound usually becomes quieter as the distance increases.
These loudness changes are related to sound propagation and distance, rather than being the Doppler frequency shift itself.
Doppler Effect in Astronomy
The Doppler effect also plays an important role in astronomy.
Scientists analyze shifts in electromagnetic radiation to study the motion of stars, galaxies, and other astronomical objects.
Light shifted toward shorter wavelengths is commonly described as blueshifted.
Light shifted toward longer wavelengths is described as redshifted.
Although the general concept resembles the Doppler effect for sound, light propagation requires different equations, especially at relativistic speeds.
This calculator is specifically intended for sound, not electromagnetic radiation.
Doppler Effect in Medical Ultrasound
Doppler ultrasound uses frequency shifts in reflected ultrasonic waves to help measure motion, including blood flow.
The frequency shift provides information about movement relative to the ultrasound beam.
Medical Doppler calculations involve reflected waves, angles, and other factors beyond the simple source-observer model used here.
Does the Doppler Effect Change the Original Frequency?
No.
The original emitted frequency remains the same in the source's own operating conditions.
The Doppler effect changes the frequency measured by an observer because of motion relative to the sound-carrying medium.
For example, a siren emitting a steady tone does not necessarily change its actual emitted frequency when the vehicle passes.
The listener hears a change because of the relative motion.
Important Limitations
This calculator uses the classical Doppler effect for sound in a uniform, stationary medium.
It assumes straight-line motion along the source-observer axis.
The model does not account for acceleration, wind, changing atmospheric conditions, reflections, or complex three-dimensional motion.
The calculator restricts source and observer speeds to values below the speed of sound.
It is not intended to calculate shock waves, sonic booms, or relativistic effects.
The wave visualization is illustrative and does not represent a full acoustic simulation.
Tip: If you're creating a realistic passing-vehicle sound effect, calculate the expected pitch change for the approaching and receding portions of the movement. Then combine that pitch shift with volume automation, stereo movement, and distance-based filtering. The Doppler effect controls the frequency change, but these additional details help make the sound feel like it's actually moving through space.
Related Pages:
Mixing And Mastering Services: 4 Audio Engineers To Hire Online
-
