Skip to content
Astronomy & Space Medium #redshift

Redshift: Doppler, Cosmological, Gravitational

Three different mechanisms for the same observed wavelength shift.

A free, animated redshift: doppler, cosmological, gravitational you can read here or embed on any website, from Scrollchart.

Redshift: Doppler, Cosmological, Gravitational

Redshift: Doppler, Cosmological, GravitationalSame observed wavelength stretch, three completely different underlying physicsDoppler RedshiftSource moving awayemitted (blue)observed (red)z = v / c(non-relativistic)Motion through spaceRecession velocity (km/s)No expansion neededWorks for stars, galaxiesMilky Way disk star, 30 km/sz = 0.0001Cosmological RedshiftSpace itself expandingemitted (blue)observed (red)z = (a0 / a_emit) - 1scale factor ratioExpansion of spaceRedshift = time delay proxyVelocity can exceed c (recessional)Dominant at cosmological scaleDistant galaxy (JWST z~13)z = 13Gravitational RedshiftClimbing potential wellemitted (blue)observed (red)z = GM / (rc²)weak field limitGeneral relativityPhoton loses energy to gravityStronger near compact objectsMeasured on Earth (Pound-Rebka)Neutron star surfacez ~ 0.3All three types follow z = (lambda_obs - lambda_emit) / lambda_emit, but the cause determines the cosmological interpretation.

Three-column comparison: Doppler (motion through space), cosmological (expansion of space itself), gravitational (escaping a potential well). Same equation form, different physics.

Good for

  • Cosmology and spectroscopy explainers
  • Relativity and astrophysics teaching
  • Science journalism on galaxy surveys and black holes

Source & accuracy

This redshift: doppler, cosmological, gravitational is an editorial illustration built to represent the concept accurately. Where it shows figures, they are typical or representative values chosen to make the relationship clear, not a single underlying dataset. The diagram and its explainer are reviewed and maintained centrally, and updated over time as understanding improves.

Three mechanisms, one observational signature

Redshift is the lengthening of light waves, appearing as a shift toward red wavelengths in the spectrum. The same spectral signature can arise from three entirely different physical causes. Doppler redshift occurs when a light source moves away from the observer; the relative motion stretches the waves. Cosmological redshift occurs because space itself is expanding; photons emitted in the early universe are stretched as the universe expands between emission and arrival. Gravitational redshift occurs when light escapes a gravitational field; the photon loses energy climbing out against gravity.

These three mechanisms are indistinguishable from the wavelength shift alone. Astronomers must use context to infer which is operating. A nearby galaxy shows Doppler redshift from its motion through space; a distant galaxy shows cosmological redshift because space between us is expanding; a photon escaping the vicinity of a neutron star shows gravitational redshift.

Why the distinction matters for cosmology

Early astronomers misidentified cosmological redshift as Doppler motion, leading to incorrect distance estimates. Hubble's Law (v = H0 * d) assumes redshift arises from recession velocity caused by expanding space, not local motion. For distant galaxies, the velocity becomes so high that relativistic effects matter; the relationship between redshift and distance is nonlinear. Modern cosmology uses redshift to infer both distances and the universe's expansion rate (the Hubble constant), but only if the mechanism is correctly identified.

Gravitational redshift, predicted by Einstein's general relativity, has been measured from stars and confirmed by precision atomic clocks at different altitudes. It is a key test of gravitational theory and affects the operation of GPS satellites.

Embed this diagram

Add this animated redshift: doppler, cosmological, gravitational to your own site. Copy one line of HTML, or use the embed builder for theme and sizing options.

Reference

What this is
A free, embeddable, animated redshift: doppler, cosmological, gravitational for any website.
Who uses it
Astronomy enthusiasts.
How to embed
Copy one line of HTML. No signup. No watermark. Works in WordPress, Webflow, Ghost, Substack, plain HTML.
File size
iframe embed, ~80 KB gzipped (loads on demand, does not block your page paint).
License
Free forever. Editorial explainer text included; updated centrally over time.

Embed format options

Copy the universal HTML snippet, the WordPress shortcode, or an iframe fallback - see the WordPress plugin page for details. Any format keeps the same Core Web Vitals profile and the same explainer text.

Embed snippet
<div data-scrollchart="redshift-types" data-scrollchart-v="1"></div>
<script src="https://scrollchart.com/embed.js" async></script>

Frequently asked questions

Where can I get a free animated "Redshift: Doppler, Cosmological, Gravitational" for my website?
Scrollchart provides "Redshift: Doppler, Cosmological, Gravitational" as a free, embeddable animated diagram you can add to any website with one line of HTML. No signup is required and there is no watermark. The diagram and its explainer text are served from scrollchart.com, so the embed stays current without any maintenance on your end.
How do I embed a redshift: doppler, cosmological, gravitational in WordPress or a static site?
Paste the HTML snippet from the Scrollchart diagram page into your WordPress post (in HTML/code view), your Webflow embed block, or directly into a static HTML file. No plugin is needed. The diagram loads from scrollchart.com and paints in as the reader scrolls.