Gravitational Redshift Calculator
Compute the gravitational redshift (z) of light climbing out of a gravitational well using Einstein's general relativity formula.
Inputs
Formula: z = 1 / √(1 − 2GM/rc²) − 1
Select a preset or enter values to compute gravitational redshift.
Gravitational Redshift
Redshift Factor
z (dimensionless)
Warning: emission radius is extremely close to the Schwarzschild radius. z → ∞.
Schwarzschild Radius (r_s)
r / r_s (compactness)
Δλ / λ (fractional shift)
Observed Wavelength
Step-by-step Calculation
Redshift Comparison — Common Objects
| Object | z | r / r_s |
|---|
Copied!
Summary
Compute the gravitational redshift (z) of light climbing out of a gravitational well using Einstein's general relativity formula.
How it works
- Select a celestial body preset or choose Custom to enter your own mass and radius.
- Optionally enter the emitted wavelength (in nm) to see the observed wavelength.
- The tool computes the Schwarzschild radius to show how close the emission point is to the event horizon.
- The redshift factor z is calculated using z = 1 / √(1 − 2GM / rc²) − 1.
- The observed wavelength is displayed as λ_obs = λ_emit × (1 + z).
- If z is negative, the light is blueshifted (photon falling into a well).
Use cases
- Calculate the gravitational redshift of light leaving the surface of a neutron star.
- Verify the equivalence principle in a GR physics course.
- Estimate how much GPS satellite clocks gain per day due to weaker gravity.
- Explore how close a body must be to its Schwarzschild radius before z becomes extreme.
- Compare redshift factors across planets, stars, and compact objects.
- Study the boundary where gravitational redshift approaches infinity (event horizon).
- Determine the observed wavelength of a laser beam fired from a white dwarf surface.
Frequently Asked Questions
Last updated: 2026-07-23 ·
Reviewed by Nham Vu