Science / Waves, light & astronomy
One relationship, three scales

Move from a wave on the screen to light across space.

Connect frequency, wavelength and speed, then apply the same relationship to sound, color and redshift.

Wavelength0.780 m
Period2.27 ms
InterpretationConcert A
λ = speed ÷ frequency. At room-temperature air, 440 Hz is about 0.78 m long.

How to use this tool

Direct answer

f′ = f (v + v_o) / (v − v_s) when closing. A 1,000 Hz siren at 30 m/s approaching in 20 °C air is heard at about 1,096 Hz.

A siren changing pitch, a photon of a given colour, a star with a measured parallax, a galaxy with a redshift, a sample halfway through its half-life, an earthquake with a magnitude, an atmosphere with a CO₂ reading. Eight questions that all come down to the same handful of defined constants — and here they are exact: c = 299,792,458 m/s and h = 6.62607015 × 10⁻³⁴ J·s.

What the answer includes

  • The frequency you actually hear, approaching and receding
  • The size of the shift in hertz and in percent
  • The musical interval that jump corresponds to

What can change it

  • Idealised models with the exact defined constants. Doppler assumes motion straight along the line of sight; parallax and redshift assume no dust, no peculiar velocity and, at large z, a cosmology this page does not model; the Richter energy relation is an empirical fit, not a measurement of your specific earthquake. Educational use — for anything operational, use the agency’s own published figure.
  • This is the acoustic Doppler formula, and it is NOT symmetric: a moving source and a moving listener at the same speed produce slightly different shifts, because the medium — the air — is a preferred frame. For light there is no medium and the relativistic formula applies instead.
  • If the source reaches the speed of sound the denominator goes to zero and the formula blows up. That is not a bug in the arithmetic — it is the sonic boom, where the model genuinely stops applying.
  • The speed of sound is not a constant. It rises about 0.6 m/s per °C, so 343 m/s at 20 °C becomes 331 m/s at freezing point. Humidity and altitude shift it too.

Deadline or next step: The pitch does not slide as the vehicle passes: it holds high, drops sharply at the closest point, then holds low. The slide people remember is the last moment of the approach.

Answer supported by: NIST / CODATA · NIST / CODATA

Fill in the fields for the question you picked — the rest are ignored and can stay at their defaults.

Last reviewed:

Responsible editor:

Formula and sources verified. Educational guidance only. It does not replace qualified professional advice.

Editorial policyMethodology

Frequently asked questions

Why does a siren change pitch as it passes?

Because the source is moving through the air while it emits. Approaching, each successive wave crest starts closer to you than the last, so the crests arrive more often and the pitch is higher. Receding, they are stretched out and the pitch drops. The change happens most sharply at the moment of closest approach, not gradually along the road.

Is the Doppler effect the same for light and sound?

The physics rhymes but the formulas differ. Sound travels in a medium, so it matters whether the source or the listener is the one moving — the two cases give slightly different answers. Light has no medium, so only the relative velocity matters, and the relativistic formula includes time dilation, which has no acoustic counterpart.

How much energy does a single photon carry?

E = hf, or equivalently hc/λ. A green photon at 550 nm carries 3.61 × 10⁻¹⁹ joules, which is 2.25 electronvolts. Both h and c have been exact defined constants since the 2019 SI revision, so this is one of the few calculations in physics with no measurement uncertainty in its constants.

Why does ultraviolet damage skin when bright red light does not?

Because damage depends on the energy of the individual photon, not on total brightness. Breaking a chemical bond takes a minimum quantum of energy, and red photons at about 1.8 eV simply do not have it however many arrive. UV photons at 4 eV and up do, so even a weak UV source causes damage a blazing red one cannot.

How do astronomers measure the distance to a star?

For nearby stars, by parallax: the star appears to shift slightly against the background as the Earth moves from one side of its orbit to the other, and the distance in parsecs is one divided by that shift in arcseconds. The angles are minute — under one arcsecond even for the closest star — which is why the first successful measurement came only in 1838.

What exactly is a parsec, and how many light-years is it?

A parsec is the distance at which one astronomical unit subtends one arcsecond, which the IAU fixed exactly in 2015 as 648,000/π AU. That works out to 3.2615638 light-years, or about 30.857 trillion kilometres. The commonly printed 3.26 is a rounding of an exactly defined value.

How do I convert redshift into a velocity?

For small redshifts, v ≈ cz, so z = 0.001 means about 300 km/s. Beyond z ≈ 0.1 that overestimates, and the relativistic form v = c[(1+z)² − 1]/[(1+z)² + 1] takes over — which keeps the result under the speed of light no matter how large z gets.

Can a galaxy recede faster than light?

Its recession velocity as we define it at cosmological scales can exceed c, and relativity is untroubled by that. Nothing is moving through space faster than light; space between us and the galaxy is expanding, and there is no speed limit on the expansion of space itself. We still see such galaxies because light emitted long ago was travelling through regions that were closer.

What would I weigh on Mars or the Moon?

About 38% of your Earth weight on Mars and 16.6% on the Moon. Someone at 180 pounds here weighs 68 pounds on Mars and 30 on the Moon. Your mass has not changed by a gram — what changed is the force each body’s gravity exerts on it.

What is the difference between mass and weight?

Mass is how much matter there is, in kilograms, and it is the same everywhere in the universe. Weight is the force gravity exerts on that mass, in newtons or pounds-force, and it changes with where you stand. Everyday language uses "weight" for both, which is harmless on Earth and immediately confusing anywhere else.

How does half-life actually work?

Each half-life halves what remains, so it is exponential rather than linear: 50% after one, 25% after two, 12.5% after three. It never quite reaches zero. The half-life is a property of a large population — individual nuclei decay at random, with no memory of how long they have already survived.

How much more energy is a magnitude 8 earthquake than a 6?

About a thousand times more. Each whole point on the magnitude scale multiplies the ground-motion amplitude by ten but the energy released by roughly 31.6, and two points therefore multiply the energy by around 1,000. That is why the gap between a 6 and an 8 is the difference between local damage and a regional catastrophe.

What does radiative forcing in W/m² actually mean?

It is the extra energy retained by each square metre of the Earth per second, relative to a baseline, before the climate has adjusted. Two watts per square metre sounds trivial until you multiply it by the planet’s 510 trillion square metres and let it run for decades — the accumulated energy is what drives the temperature change.

Why is the CO₂ effect logarithmic?

Because the strongest absorption bands become saturated: once most of the outgoing radiation at those wavelengths is already being captured, added molecules can only work at the weaker edges of each band. Each doubling of concentration therefore contributes about the same 3.7 W/m², so 280 to 560 ppm has roughly the same effect as 560 to 1,120.

Editorial transparency

Who is responsible for this page

Editorial status explained in methodology
Author and responsible editorFounder and responsible editor of Hacé Cuentas.
How it is checkedAuthorship and methodology are explained on our editorial pages.
Sources and methodThis page explains its assumptions and limitations.View methodology →

Choose your situation

Main query:Doppler, Photon Energy, Parallax, Redshift and Half-Life Calculator

What do you want to solve?

Related tools in other countries and languages

Check the language, units and assumptions of each tool.