Doppler Effect Calculator
Last updated: 2026-09-01
| Frecuente | Speed Sonido | Speed Fuente | Observer velocity (m/s) | |
|---|---|---|---|---|
| Escala laboratorio | 176 | 137.2 | 12 | 0.4 |
| Uso domestico | 308 | 240.1 | 21 | 0.7 |
| Aplicacion industrial | 440 | 343 | 30 | 1 |
| Ingenieria civil | 660 | 514.5 | 45 | 1.5 |
| Escala cientifica | 1000 | 857.5 | 75 | 2.5 |
TL;DR: To calculate the Doppler effect, use the formula f' = f × (v ± v₀) / (v ∓ vₛ), where f is the source frequency, v is the speed of the wave, v₀ is the observer's speed, and vₛ is the source's speed — the sign depends on whether objects are moving toward or away from each other.
What Is the Doppler Effect Calculator?
The Doppler Effect Calculator is a free online tool that instantly determines the observed frequency of a wave when the source and observer are in relative motion. This phenomenon — first described by Austrian physicist Christian Doppler in 1842 — explains why an ambulance siren sounds higher in pitch as it approaches you and drops in pitch as it moves away. The calculator applies the Doppler shift formula to any wave type, including sound, light, and radar, making it essential for professionals and students in physics, astronomy, meteorology, and engineering.
You need this calculator if you're studying wave mechanics, working with weather radar or traffic speed guns, analysing redshift in astronomy, or designing acoustic systems where relative motion affects perceived frequency. Rather than memorising signs and doing algebra under time pressure, the calculator asks you for five key inputs — source speed, observer speed, source frequency, wave speed, and the direction of motion — and returns the exact observed frequency in seconds.
The tool eliminates arithmetic errors, but understanding the underlying relation is just as important as getting the number. This article breaks down the formula, walks through realistic examples, and highlights common mistakes so you can apply the Doppler principle correctly in any scenario.
How to Use the Calculator
Follow this numbered process to get accurate results from the Doppler Effect Calculator:
- Enter the source frequency (f) — type the frequency of the wave as emitted by the source. Use hertz (Hz) for sound or mechanical waves, or terahertz (THz) for light.
- Enter the wave speed (v) — input the speed of the wave in the medium. For sound in air at 20°C, use 343 m/s; for light in a vacuum, use 299,792,458 m/s.
- Enter the observer's speed (v₀) — input the velocity of the observer relative to the medium. A stationary observer enters 0.
- Enter the source's speed (vₛ) — input the velocity of the source relative to the medium. For a stationary source, enter 0.
- Select the relative motion direction — choose whether the source and observer are moving toward each other or away from each other. This determines the signs in the formula.
- Click 'Calculate' — the tool applies the Doppler formula and displays the observed frequency immediately.
- Review the results — note the final frequency and check it against your expectations: the frequency should be higher than the source value if the objects approached, and lower if they separated.
Formula and Calculation Method
The Doppler effect formula for sound and mechanical waves is expressed as:
f' = f × (v ± v₀) / (v ∓ vₛ)
Where:
- f' is the observed frequency (Hz)
- f is the emitted frequency by the source (Hz)
- v is the wave speed in the medium (m/s)
- v₀ is the observer's speed relative to the medium (m/s)
- vₛ is the source's speed relative to the medium (m/s)
The top sign (numerator) uses plus when the observer moves toward the source, and minus when moving away. The bottom sign (denominator) uses minus when the source moves toward the observer, and plus when moving away. A memorable rule: motion toward increases frequency; motion away decreases frequency. If both objects move, you combine the signs accordingly.
Worked example: A train sounds its horn at 500 Hz while moving at 30 m/s toward a stationary observer. The speed of sound is 343 m/s. Since the observer is stationary (v₀ = 0) and the source moves toward the observer, the equation becomes:
f' = 500 × (343 + 0) / (343 − 30) = 500 × 343 / 313 = 547.92 Hz
The stationary observer hears the horn at approximately 548 Hz — noticeably sharper than the 500 Hz actually emitted. If the train passed by and moved away at the same speed, the calculation would be:
f' = 500 × 343 / (343 + 30) = 500 × 343 / 373 = 459.79 Hz
This demonstrates the full Doppler shift: roughly a 48 Hz increase on approach, and a 40 Hz decrease on departure — the classic 'nee-naw' effect heard from sirens.
Practical Examples
The following table shows three realistic Doppler scenarios, their inputs, and the calculated result:
| Scenario | Source Freq (f) | Wave Speed (v) | Observer Speed (v₀) | Source Speed (vₛ) | Motion | Observed Freq (f') |
|---|---|---|---|---|---|---|
| Ambulance siren approaching | 700 Hz | 343 m/s | 0 m/s | 25 m/s | Toward | 754.4 Hz |
| Astronomical redshift (recession) | 5.08 × 10¹⁴ Hz (green light) | 299,792,458 m/s | 0 m/s | 1,200,000 m/s | Away | 5.06 × 10¹⁴ Hz (shifted toward red) |
| Cyclist riding toward a horn | 440 Hz | 343 m/s | 10 m/s | 0 m/s | Toward | 452.8 Hz |
In the ambulance case, the higher 754 Hz pitch is what pedestrians hear before the vehicle passes. The astronomical example shows how even a galaxy moving at 0.4% the speed of light produces a measurable frequency shift that astronomers use to measure cosmic expansion. The cyclist example demonstrates that observer motion alone causes the shift — no source movement needed. After the cyclist passes the source while still riding at 10 m/s, the observed frequency would drop to approximately 427.6 Hz, showing the symmetric nature of the effect.
Tips for Accurate Results
Getting the right answer from the Doppler Effect Calculator is straightforward if you follow these specific guidelines based on the input fields:
- Check units before entering values — the calculator does not convert units automatically. If the source frequency is in kHz, convert to Hz first (multiply by 1000). The most common error is mixing meters per second with kilometres per hour — divide km/h by 3.6 to get m/s.
- Use the correct wave speed for your medium — sound travels at 343 m/s in air at 20°C, but at 331 m/s at 0°C, and around 1,480 m/s in water. Light always travels at 299,792,458 m/s in a vacuum. Choosing the wrong wave speed changes results by up to 10%.
- Define the observer as stationary when needed — many practical scenarios have a stationary observer (someone standing on a platform). Enter 0 rather than leaving the field blank. This avoids confusion about the direction of motion.
- Verify the direction of motion carefully — the signs in the formula are the most common source of wrong answers. Remember: toward means numerator plus, denominator minus; away means the opposite. When both objects move, apply each sign independently.
- Consider the subsonic limit — for sound waves, the source speed must be less than the wave speed (vₛ < v). If the source exceeds the sound speed, you are entering the supersonic regime, and the formula produces a negative frequency, which means a shock wave forms instead of a normal Doppler shift.
- Double-check your expected outcome — for approach, the computed frequency must be greater than the source frequency; for recession, it must be lower. If the result violates this, your signs are reversed.
- Add a measurement margin for physical experiments — if you are using this calculator to predict a real-world measurement, add 5–10% tolerance. Wind, temperature gradients, and instrument calibration affect real Doppler readings, especially for sound in outdoor environments.
Frequently Asked Questions
Why does the Doppler effect only work for relative motion?
Because what matters is the relative velocity between the source and observer, not their individual velocities with respect to the ground. The Doppler shift is entirely caused by the compression (approach) or stretching (recession) of wave crests due to motion. When the source and observer have zero relative velocity — even if both move at the same speed in the same direction — the observed frequency equals the emitted frequency. The formulas above encode this because v₀ and vₛ appear with opposite signs in numerator and denominator; when v₀ = vₛ, the ratio becomes 1 and f' = f. This is why you hear no pitch change when driving alongside an ambulance at the same speed.
Can I use this calculator for light waves, or only sound waves?
Yes, the calculator works for light, but you must use the relativistic Doppler formula for extreme speeds. For light, there is no medium, and the complete equation is f' = f × √((1 + β)/(1 − β)), where β = v/c (relative speed divided by the speed of light). The classical formula we use here is valid for light only when the relative speed is much less than c (below about 10% of light speed). For ordinary terrestrial velocities, such as cars or aircraft, the classical result matches the relativistic one to many decimal places. For galaxy velocities, where v exceeds 1% of c, the relativistic correction becomes significant and the classical formula overestimates the shift. When entering speeds above 30,000,000 m/s for light, switch to the relativistic equation.
What is the difference between a Doppler shift in frequency and a Doppler shift in wavelength?
They are two sides of the same coin related by the wave speed. Since wavelength and frequency are inversely proportional (λ = v/f), any Doppler shift in frequency produces an opposite shift in wavelength. If frequency increases (approach), wavelength decreases — this is called a blueshift in astronomy. If frequency decreases (recession), wavelength increases — a redshift. In astronomy, the redshift is often expressed as the dimensionless parameter z = (λ' − λ) / λ, where λ is the emitted wavelength and λ' is the observed wavelength. For the galaxy example in the table above, z would be approximately 0.004, a small but measurable redshift. Classical Doppler wavelength formulas are more complex than frequency formulas because the wavelength depends on the medium, so astronomers typically work with frequency and convert afterwards.
FAQ
What does the Doppler Effect Calculator do?
The calculator computes the observed frequency of a wave (sound or light) when the source and/or observer are in motion relative to each other. It applies the standard Doppler effect formula, allowing you to input the emitted frequency, source velocity, observer velocity, and wave speed to get the shifted frequency.
Which inputs do I need to provide for a calculation?
You must enter the emitted frequency (in hertz), the speed of the wave in the medium (e.g., 343 m/s for air at 20°C), and the velocities of both the source and observer relative to the medium. You also choose the direction of motion (toward or away from each other) for each - the calculator handles these as positive/negative values.
Can the calculator handle both sound and electromagnetic waves?
Yes, it supports both sound waves (which require a medium) and light/radio waves (which travel in a vacuum). For electromagnetic waves, the relativistic Doppler formula is used automatically, and you can enter the speed of light (299,792,458 m/s) as the wave speed.
What are common real-world applications of this calculator?
It is useful for astronomy to determine the radial velocity of stars or galaxies from redshift or blueshift, for radar and lidar speed measurement (e.g., police radar guns), and for medical imaging like Doppler ultrasound to measure blood flow velocity. It also helps in acoustic engineering to design for moving sound sources, such as sirens or train horns.