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.
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
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 Hz | f_src = 500 Hz | f_src = 1000 Hz | f_src = 2000 Hz | f_src = 40000 Hz |
|---|
Speed of Sound in Common Media
| Medium | Temperature | Sound speed (m/s) | Notes |
|---|---|---|---|
| Air | −20 °C | 319 | Cold winter air |
| Air | 0 °C | 331 | Standard reference |
| Air | 20 °C | 343 | Typical room temperature |
| Air | 40 °C | 355 | Hot summer day |
| Helium | 0 °C | 965 | High-pitched voice effect |
| Carbon dioxide | 0 °C | 259 | Low-pitched voice effect |
| Fresh water | 20 °C | 1,482 | Sonar in lakes |
| Seawater | 20 °C | 1,522 | Sonar in oceans |
| Ethanol | 20 °C | 1,162 | Organic liquid |
| Soft tissue | 37 °C | ~1,540 | Medical ultrasound |
| Plexiglass | 20 °C | 2,750 | Polymer |
| Aluminium | 20 °C | 6,420 | Metal |
| Steel | 20 °C | 5,960 | Structural metal |
| Diamond | 20 °C | 12,000 | Highest known |
Variable Reference
| Symbol | Meaning | Typical range | Units |
|---|---|---|---|
| fobs | Observed frequency | 1 – 10⁸ | Hz |
| fsrc | Source frequency | 1 – 10⁸ | Hz |
| vs | Speed of sound in medium | 200 – 12,000 | m/s |
| vsrc | Source speed (positive toward observer) | −vs – +vs | m/s |
| M | Mach number = vsrc / vs | 0 – 5+ | — |
| Δf | Frequency 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:
where vsrc is positive when the source moves toward the observer and negative when it recedes. Rearranged to solve for the other unknowns:
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:
with the top sign for approach and the bottom sign for recession. The Mach number and shock-wave angle are:
sin( θ ) = 1 / M (Mach cone half-angle)
For electromagnetic waves (light, radio), the formula is different because there is no medium and relativity applies:
Doppler Variables
| Symbol | Meaning | Notes |
|---|---|---|
| fobs | Observed frequency | Frequency detected by the observer |
| fsrc | Source frequency | Frequency emitted in the source's rest frame |
| vs | Sound speed | Speed of wave in the medium; depends on temperature and medium |
| vsrc | Source speed | Positive toward observer, negative away |
| M | Mach number | Ratio vsrc / vs |
| Δf | Frequency shift | fobs − 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
fobs = 500 × 343 / (343 − 60) = 171,500 / 283 = 606.0 Hz
fobs = 500 × 343 / (343 + 60) = 171,500 / 403 = 425.6 Hz
vsrc = 343 × (1 − 500/606) = 343 × 0.175 = 60.0 m/s
Doppler factor toward observer = 1/(1−0.5) = 2.000
Doppler factor away from observer = 1/(1+0.5) = 0.667
θ = arcsin(1/2) = 30°
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.
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| Parameter | Value |
|---|---|
| f_source | 500 Hz |
| v_sound | 343 m/s |
| v_source | 20 m/s |
| Parameter | Value |
|---|---|
| f_source | 1000 Hz |
| v_source | 30 m/s |
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
Related calculators · Waves
Recently updated formulas
Suggest an improvement
Found a mistake? Have a better example? Let us know.
You may send up to 3 suggestions per 24 hours.