About Doppler Effect Calculator
The Doppler effect is the change in observed frequency when a source, an observer, or both move relative to the medium. Motion toward each other raises the observed frequency; motion apart lowers it. The classic formula f′ = f(v ± v₀)/(v ∓ vₛ) combines the wave speed v with the observer speed v₀ and the source speed vₛ, and the signs depend on direction.
This calculator covers an observer moving, a source moving, or both, with a direction selector for each moving part. The speed of sound defaults to 343 m/s at about 20 °C and can be changed for other media, frequencies are entered in hertz and speeds in metres per second. The sign convention, the substituted formula and the resulting shift are printed, and speeds at or above the wave speed are rejected for this ideal model.
What this tool does
Three motion modes
Calculate for an observer moving toward or away from a stationary source, a moving source with a stationary observer, or both moving.
Direction for each moving part
Toward and away selectors set the signs independently, so mixed cases such as a source approaching while the observer recedes are handled correctly.
Editable wave speed
343 m/s is the default for sound in air at about 20 °C; change it for other temperatures or media.
Hertz in, hertz out
The observed frequency and the absolute shift are shown in Hz, alongside the ratio f′/f.
Formula and substitution
The exact signs chosen, the substituted values and the arithmetic are printed so the shift can be checked by hand.
Ideal-model guards
Zero or negative frequency, negative speeds, and source or observer speeds at or above the wave speed are reported with specific messages.
How to use Doppler Effect Calculator
- 01
Choose the motion mode
Select Observer moving, Source moving, or Both moving, depending on which parts of the problem are in motion.
- 02
Enter the source frequency
Type the emitted frequency in hertz, for example 500 Hz for a mid-pitch tone.
- 03
Set the wave speed
Keep 343 m/s for sound in air at about 20 °C, or enter the speed appropriate to your medium.
- 04
Enter the speeds and directions
Type the observer and/or source speeds in m/s and choose Toward or Away for each moving part.
- 05
Read the observed frequency
The headline shows f′ in Hz, the summary shows the shift and ratio, and the formula panel shows the signs used.
How this tool works
- Works with
- Doppler shift
- Processing
- Client-side, in your browser. Nothing is uploaded.
- Requirements
- Chrome, Edge, Firefox or Safari · JavaScript enabled
Limitations worth knowing
- Assumes a uniform medium at rest; wind, temperature gradients and moving media are not modelled.
- Classic non-relativistic formula only, valid for mechanical waves with speeds below the wave speed.
- Assumes straight-line motion at constant speeds; acceleration and curved paths are outside the model.
- Reflections, absorption and multiple sources are ignored; only one source-observer pair is computed.
Privacy and file handling
Every calculation runs in your browser with plain JavaScript. The values you enter are never uploaded, stored or logged, and no request is made to a server while you use the calculator.
Read the full privacy policy
