Home / Science / Physics / Acoustics and wave physics / Doppler and beats calculatorTool #943

Doppler effect calculator: moving source and listener, echoes, light redshift, the speed from a shift, and beat frequency

Work out the pitch you hear from a moving siren or a moving listener (with wind), the curve of a horn driving past, the echo from a moving object for sonar, bats and radar speed guns, the redshift of light from a moving star, the speed from a measured shift, and the beats between two close tones.

Keep it one tap away for everyday use.

Bookmark Doppler and beats calculator?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Motion
  2. Shift
  3. Pass-by
  4. Beats
Nothing is uploadedWorks offline once open

What is moving

Wave

Motion along the line between them

Only the part of each speed along the line joining source and listener counts. Wind blowing from the source towards the listener is positive; against, negative. The pass-by chart is for a source driving straight past a listener standing still, as with a siren or a train horn. The example siren is made up.

Reflector

The sender and receiver are together and still, like a bat, a sonar or a speed gun. The wave is shifted twice: once arriving at the moving object and again leaving it.

Light

656.28 nm is hydrogen's red H-alpha line (rounded). This uses special relativity along the line of sight; for galaxies far away the expansion of space matters too (see the redshift calculator).

Result

Straight-line motion at steady speeds in still, uniform air or water. For study and planning, not a substitute for professional judgement.

Download

What it does

When a source of waves moves towards you, its crests arrive bunched up and you hear a higher pitch; moving away, they are stretched and the pitch drops. This is the Doppler effect. The calculator covers four everyday cases:

  • Sound from a moving source to a moving listener, with wind, plus the falling pitch curve as a siren or horn drives past, and the Mach number and Mach cone when the source outruns its sound.
  • Echoes from a moving object, where the wave is shifted twice: a bat hunting a moth, a sonar, or a radar speed gun (choose radio waves).
  • Light from a moving star or object, using special relativity: the redshift z and the wavelength you see.
  • Beats between two close tones: how many times a second the sound swells and fades.

Each Doppler case can also run backwards: give the frequency or wavelength you measured and it finds the speed.

How to use it

  1. Choose the situation and the speed units (m/s, km/h, mph, knots or km/s).
  2. For sound and echoes, give the frequency sent out and what the waves travel through: air at a temperature, water, radio, or your own wave speed.
  3. Give the speeds and whether each is moving towards or away. Only the part of the motion along the line between them counts.
  4. Optionally give a measured frequency or wavelength to find the speed.
  5. Download the chart data as CSV, or the report as an image, PDF or Word file.

Worked example

The made-up example is a 700 Hz siren on a vehicle doing 25 m/s (90 km/h) towards a listener standing still, in air at 20 °C (sound at 343.21 m/s). The page shows Heard: 754.99 Hz (+54.99 Hz), 1.31 semitones high. As it passes, the pitch falls to 652.47 Hz, a drop of 2.53 semitones, and the chart shows how fast it falls when it passes 20 m away. Typing 754.99 as the measured frequency gives the speed back: 25 m/s towards.

For an echo, a bat calling at 40,000 Hz at a moth closing at 2 m/s hears 40,468.91 Hz, 468.91 Hz higher. For light, hydrogen’s 656.28 nm line from a star moving away at 3,000 km/s is seen at 662.881 nm, redshift z = 0.01006. For beats, 440 and 443 Hz give 3 beats per second, one every 0.3333 s, at a pitch of 441.5 Hz.

Tips

  • Speed guns use the echo case with radio waves: a 10.5 GHz gun sees a shift of about 70 Hz for every m/s of the car’s speed.
  • For the pass-by, the pitch changes fastest at the moment of closest approach; the closer you stand, the more sudden the drop.
  • To tune two strings, play them together and adjust until the beats slow down and stop.

FAQ

Why is the shift different for a moving source and a moving listener at the same speed? The source moving squeezes the wavelength in the air, while a moving listener meets crests faster; the two only agree at low speeds.

Does this work for galaxies? For nearby objects, yes. For distant galaxies the stretching of space dominates; use the redshift calculator. For study and planning, not a substitute for professional judgement.

Where the numbers come from

  • Doppler effect for sound with a moving source, listener and medium, f′ = f (c + u + v_o)/(c + u − v_s); two-way echo f (c + v)/(c − v); relativistic longitudinal Doppler f √((1 + β)/(1 − β)); Mach cone sin μ = 1/M; beats |f₁ − f₂|: standard physics.
  • Speed of sound in air 331.3 √(1 + θ/273.15) m/s; in water about 1,480 m/s (rounded); speed of light 299,792,458 m/s (exact by definition).
  • Checked against NumPy and SymPy, and the pass-by curve against an independent numerical solution (SciPy root finding for the emission time). The example siren and other values are made up.

Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

Last updated 2026-11-09.

Related tools

Audio spectrum analyser #940 See the frequencies in a sound: a live spectrum and scrolling spectrogram from your microphone, or the averaged spectrum of an audio file, with the strongest peaks found to a fraction of a hertz and named as musical notes. Choose the FFT size and window, and download the spectrum as CSV. The sound stays on your device. Standing waves calculator #941 Work out the notes a stretched string or an air column plays: the harmonic series with note names and cents, wavelengths and a picture of the first three standing waves. For pipes open at both ends, closed at one or closed at both, with end corrections. Or go the other way and find the string tension or pipe length for a target note. Redshift calculator #55 Convert between redshift, velocity in the relativistic, optical and radio conventions, and observed wavelength or frequency of any common spectral line, with the cosmological recession velocity. Room acoustics calculator #938 Give a rectangular room's size and what its floor, ceiling and walls are made of, and get every room mode up to the frequency you choose (axial, tangential and oblique, with the boomy clusters flagged), plus the reverberation time in six octave bands by Sabine's and Eyring's formulas, with air absorption, the Schroeder frequency and the critical distance. Decibel distance calculator #939 Find how loud a sound is further away: spreading from a point, line or flat source, plus the sound absorbed by the air for the temperature and humidity (ISO 9613-1 formula), for one frequency or a whole octave band spectrum in dB(A). It also finds the distance where the sound falls to a target level, and adds, averages or subtracts decibel levels. Speaker box designer #942 Type a woofer's Thiele-Small parameters (Fs, Qts, Vas) and compare a sealed box with a ported one: the low-frequency response curves, the −3 dB point f3, Qtc and any bump, the port length for your tuning with end corrections, a rough port air speed and the driver's sensitivity. Or size a sealed box for a chosen Qtc.