Redshift to Distance Calculator
Convert cosmological redshift to distance using Hubble law and standard cosmological parameters.
Calculator
Adjust values & calculateFormula
The comoving distance is computed by numerically integrating the inverse of the dimensionless Hubble parameter E(z) from redshift 0 to the observed redshift z. The Hubble distance c/H0 sets the overall scale. Luminosity distance = D_C * (1+z) and angular diameter distance = D_C / (1+z).
Last reviewed: December 2025
Worked Examples
Example 1: Nearby Galaxy Cluster
Example 2: High-Redshift Quasar
Background & Theory
The Redshift to Distance Calculator applies the following established principles and formulas. Astronomy and space science rely on a set of precisely defined physical relationships that allow distances, sizes, motions, and energies of celestial objects to be calculated from observational data. Kepler's three laws of planetary motion, derived empirically in the early seventeenth century, describe elliptical orbits, equal areas swept in equal times, and the harmonic law Tยฒ = aยณ, where T is the orbital period in Earth years and a is the semi-major axis in astronomical units (AU). This relationship holds for any object orbiting the Sun and can be generalized using Newton's law of gravitation. Distances in astronomy are expressed in multiple units: one light-year equals approximately 9.461 ร 10ยนโต meters, one parsec equals 3.086 ร 10ยนโถ meters or about 3.26 light-years, defined as the distance at which one AU subtends one arcsecond of parallax. Angular size is calculated as ฮธ = 206,265 ร (d / D) arcseconds, where d is the physical diameter and D is the distance. The stellar magnitude system uses Pogson's formula: m1 โ m2 = โ2.5 ร log10(F1 / F2), where F represents flux. Each magnitude step corresponds to a flux ratio of approximately 2.512, meaning a first-magnitude star is 100 times brighter than a sixth-magnitude star. Hubble's Law relates recessional velocity to distance: v = Hโd, where the Hubble constant Hโ is approximately 70 km/s/Mpc. Escape velocity from any body is given by v = โ(2GM/r), yielding 11.2 km/s for Earth. Orbital period for a circular orbit follows T = 2ฯโ(rยณ/GM). Luminosity and distance are linked by the inverse square law: F = L / (4ฯdยฒ). Stars are classified by spectral type using the mnemonic OBAFGKM, corresponding to surface temperatures from approximately 30,000 K (O-type) to under 3,500 K (M-type). Each type reflects characteristic absorption spectra tied to ionization states of elements in the stellar photosphere.
History
The history behind the Redshift to Distance Calculator traces back through the following developments. The history of astronomy is one of progressive scale โ each era expanding humanity's conception of the universe's size and structure. The Copernican revolution of 1543, when Nicolaus Copernicus published De revolutionibus orbium coelestium, displaced Earth from the center of the cosmos and placed the Sun at the center of the planetary system. Decades later, Galileo Galilei turned a Dutch-invented telescope toward the sky in 1609, discovering the moons of Jupiter, the phases of Venus, and the cratered surface of the Moon โ observations that provided compelling evidence for the heliocentric model and led to his conflict with the Catholic Church. Johannes Kepler, working from Tycho Brahe's meticulous naked-eye observations, derived his three laws of planetary motion between 1609 and 1619. Isaac Newton unified celestial and terrestrial mechanics with his law of universal gravitation in 1687, explaining the cause behind Kepler's empirical laws and enabling precise prediction of planetary positions. The eighteenth and nineteenth centuries brought systematic sky surveys, stellar parallax measurements, and the discovery that the Milky Way is itself a galaxy among many. Edwin Hubble's 1929 observations using the 100-inch Hooker Telescope at Mount Wilson demonstrated that galaxies are receding from us at velocities proportional to their distance โ the first direct evidence for an expanding universe and the empirical basis for Big Bang cosmology. NASA was founded in 1958 following the Sputnik shock, and the Apollo 11 mission landed humans on the Moon on July 20, 1969. The Hubble Space Telescope, launched in 1990, revolutionized observational astronomy by operating above Earth's atmosphere and producing imagery from ultraviolet to near-infrared wavelengths. The first confirmed exoplanet around a Sun-like star was detected in 1995 by Michel Mayor and Didier Queloz using the radial velocity method. The James Webb Space Telescope, launched in December 2021 and fully operational by 2022, extended infrared observations to probe the earliest galaxies formed after the Big Bang.
Frequently Asked Questions
Formula
D_C = (c/H0) * integral from 0 to z of dz / E(z), where E(z) = sqrt(Om*(1+z)^3 + OL)
The comoving distance is computed by numerically integrating the inverse of the dimensionless Hubble parameter E(z) from redshift 0 to the observed redshift z. The Hubble distance c/H0 sets the overall scale. Luminosity distance = D_C * (1+z) and angular diameter distance = D_C / (1+z).
Worked Examples
Example 1: Nearby Galaxy Cluster
Problem: Calculate the distance to a galaxy cluster at redshift z = 0.05 using standard cosmological parameters (H0 = 70, Om = 0.3, OL = 0.7).
Solution: At z = 0.05, we use numerical integration of 1/E(z) from 0 to 0.05\nE(z) = sqrt(0.3*(1+z)^3 + 0.7)\nDH = c/H0 = 299792/70 = 4283 Mpc\nComoving distance = 4283 * integral = ~212 Mpc (~691 Mly)\nLuminosity distance = 212 * 1.05 = ~223 Mpc\nLookback time = ~0.68 Gyr
Result: Distance: ~212 Mpc (691 million light-years), lookback time: ~680 million years
Example 2: High-Redshift Quasar
Problem: Find the distance to a quasar at z = 3.0 with standard parameters.
Solution: At z = 3.0, we integrate 1/E(z) from 0 to 3.0\nE(z) = sqrt(0.3*(1+z)^3 + 0.7)\nDH = 4283 Mpc\nComoving distance = 4283 * integral = ~6,394 Mpc (~20.8 Gly)\nLuminosity distance = 6394 * 4 = ~25,576 Mpc\nAngular diameter distance = 6394 / 4 = ~1,599 Mpc\nLookback time = ~11.5 Gyr\nRecession velocity = ~88% of c
Result: Distance: ~6,394 Mpc (20.8 Gly), lookback time: ~11.5 billion years
Frequently Asked Questions
What is cosmological redshift and how does it relate to distance?
Cosmological redshift occurs when light from distant objects is stretched to longer, redder wavelengths as it travels through expanding space. Unlike Doppler redshift from motion, cosmological redshift results from the expansion of the universe itself stretching the wavelength of photons during their journey. The redshift value z tells us by what factor the universe has expanded since the light was emitted: a galaxy at z=1 emitted its light when the universe was half its current size. Higher redshift means greater distance and earlier cosmic time. For nearby objects (z less than 0.1), the relationship between redshift and distance is approximately linear following Hubble law, but for more distant objects the relationship becomes nonlinear and depends on cosmological parameters like the matter density and dark energy density.
What is the difference between comoving distance and luminosity distance?
Comoving distance is the proper distance to an object measured at the present time, accounting for the expansion of the universe. It represents the distance you would measure if you could freeze the universe and lay down rulers from here to the object right now. Luminosity distance is a different measure defined so that the inverse-square law for brightness still works in an expanding universe. Because photons lose energy to redshift and arrive at a slower rate, distant objects appear dimmer than their comoving distance alone would suggest. The luminosity distance is always larger than the comoving distance by a factor of (1 + z). Angular diameter distance, conversely, is the comoving distance divided by (1 + z), and it determines how large an object appears on the sky. These different distance measures converge for nearby objects where z approaches zero.
Can objects have a redshift that implies they are receding faster than light?
Yes, and this does not violate special relativity. Galaxies at redshifts greater than about z=1.5 are currently receding from us faster than the speed of light due to the expansion of space itself. Special relativity only prohibits objects from moving through space faster than light, but it places no limit on how fast space itself can expand. The most distant observed galaxies at z of 10 or higher are receding at several times the speed of light. We can still see them because the light they emitted in the past was emitted when they were closer and the expansion rate was different. The relativistic velocity formula used in Redshift to Distance Calculator, v = c times ((1+z) squared minus 1) over ((1+z) squared plus 1), gives the velocity of the object in special-relativistic terms, which always stays below c. The actual recession velocity in general relativity can and does exceed c for distant objects.
How is the distance to a star measured?
For nearby stars, astronomers use parallax: measuring the apparent shift in position as Earth orbits the Sun. One parsec (3.26 light-years) is the distance at which a star shows one arcsecond of parallax. For more distant objects, standard candles like Cepheid variables and Type Ia supernovae provide distance estimates.
What is redshift and how does it indicate motion?
Redshift occurs when light from an object moving away from us is stretched to longer (redder) wavelengths. It is measured as z = (observed wavelength - emitted wavelength) / emitted wavelength. Cosmological redshift indicates the expansion of the universe. A galaxy at z=1 is seen as it was when the universe was half its current size.
What is the cosmic distance ladder?
The cosmic distance ladder is a series of methods for measuring increasingly distant objects. Radar ranges within the solar system, parallax reaches a few thousand light-years, Cepheid variables extend to tens of millions of light-years, and Type Ia supernovae reach billions of light-years. Each method calibrates the next.
References
Reviewed by Daniel Agrici, Founder & Lead Developer ยท Editorial policy