Gravitational Redshift Calculator

Calculate how much light is gravitationally redshifted escaping from radius R around a mass M, z = (1-r_s/R)^(-1/2) - 1, with the observed wavelength, a naive equivalent velocity for comparison, a climbing-photon wavelength-stretch diagram, and a redshift-versus-radius chart that diverges at the horizon.

Gravitational redshift calculator

Light climbing out of a mass's gravity well loses energy on the way out — pure general relativity, no motion required: z = (1 − r_s/R)^(−1/2) − 1, r_s = 2GM/c². This assumes a spherical, non-rotating mass and a static emitter/observer. It's only defined for R > r_s — at or inside the Schwarzschild radius, there's no escaping light left for this formula to describe.

z ≈ 2.1217 × 10⁻⁶
R = 2.357 × 10⁵× the Schwarzschild radius (2.953 km) · λ_obs ≈ 550 nm
If this redshift were (wrongly) attributed to velocity alone, it would suggest ≈ 0.63606 km/s — but no motion is involved here at all.
surfacefar-away observer

A photon's wavelength stretches continuously as it climbs outward — shown here to the real, computed redshift factor (1+z ≈ 1) at each point along the way, on a log scale of distance from the surface.

10⁻⁶10⁻⁵10⁻⁴10⁻³10⁻²10⁻¹1010 r_s10¹ r_s10² r_s10³ r_s10 r_s10 r_s10 r_sthis case

z diverges to infinity as R → r_s (left edge) — there is no finite redshift for light escaping from arbitrarily close to the horizon, let alone from at or inside it.

Light doesn’t need to be moving away from anything to redshift. Climbing straight up and out of a gravity well costs energy — the same way throwing a ball upward costs kinetic energy — and for a photon, losing energy means stretching to a longer wavelength. No velocity, no expanding space, just gravity itself doing the redshifting. It’s one of general relativity’s cleanest, earliest-tested predictions.

The formula

z=(1rsR)1/21,rs=2GMc2z = \left(1 - \frac{r_s}{R}\right)^{-1/2} - 1, \qquad r_s = \frac{2GM}{c^2}

R is the radius where the light is emitted, and r_s is the Schwarzschild radius of the mass M. This describes a spherical, non-rotating, uncharged mass with a static emitter and a static observer arbitrarily far away — a spinning (Kerr) mass, an orbiting emitter, or a nearby (rather than infinitely distant) observer would each need additional terms this simple relation doesn’t include.

From negligible to enormous

Why R must be strictly greater than r_s

This calculator refuses to compute anything for R ≤ r_s, and that’s deliberate, not a limitation to work around. At the Schwarzschild radius itself, every outward light-cone has folded over to point inward — there’s no “escaping light” left for a redshift formula to describe. Asking “what’s the redshift of light emitted at the event horizon” is a bit like asking how fast something needs to travel to escape from where escape velocity already equals the speed of light: the premise of the question has already broken down.

The “naive equivalent velocity”

Because both Doppler shifts and gravitational redshift shift wavelengths the same directional way, it’s tempting to translate a gravitational z into “the velocity that would produce this redshift.” This calculator does compute that number for context — but it’s worth being explicit that no velocity is actually involved in a purely gravitational redshift. The comparison is useful for intuition (a white dwarf’s redshift really is comparable in size to modest stellar radial velocities), not a claim about motion.

Reading the visuals