b2KIT

Redshift & Distance Calculator

Calculate cosmological distances from redshift using Hubble law. Explore lookback time and the expanding universe.

Tested tool guide Tested browser tools Checked August 16, 2026

What Redshift & Distance Calculator does, with a checked example

Redshift is the number every galaxy carries: the fraction by which the expansion of the universe has stretched its light since emission. Enter a redshift and this tool converts it into a recession velocity and a distance using the Hubble law, v = H0 d, and reports how far back in time the light left. The thing most people get wrong: redshift does not scale linearly into either distance or time. A galaxy at z = 2 did not emit its light twice as long ago as one at z = 1, because the expansion rate has changed over cosmic history.

Worked example

A concrete input and expected output from the current implementation.

Input

redshift z = 0.1

Expected output

Recession velocity ~ 29,979 km/s (one-tenth of light speed). Hubble-law distance ~ 428 Mpc, or ~ 1.40 billion light-years, with H0 = 70 km/s/Mpc.

At low redshift the recession velocity is v = cz, so z = 0.1 gives v = 0.1 x c = 29,979 km/s. The Hubble law then gives d = v/H0 = 29,979 / 70 = 428 Mpc, about 1,397 million light-years. The figure assumes H0 = 70; with the Planck value of 67.7 km/s/Mpc the same galaxy comes out at about 443 Mpc.

How the result is produced

1

The Hubble law

At small redshift the recession velocity is approximately v = cz, and Hubble's law turns that into a distance: d = cz/H0. The result is linear in redshift, so a galaxy at z = 0.2 comes out twice as far as one at z = 0.1. The only free parameter is the Hubble constant H0, taken in km/s per Mpc; the conventional value is about 70, though measurements still disagree.

2

Redshift as a clock

Redshift measures the stretch factor: 1 + z is how much larger the universe is now than when the light left, so a galaxy at z = 1 emitted its light when the universe was half its present size. Lookback time is the integral of the expansion rate back to that epoch, which requires assuming a cosmology - matter and dark energy densities as well as H0. Redshift and time are not proportional.

Good uses

  • You are reading a paper or a press release that quotes a galaxy's redshift and want a physical feel for the distance and how far back in time the observation looks.
  • You pulled a redshift from a survey catalog such as SDSS or DESI and want to place the galaxy on a distance scale for a talk, poster, or plot.
  • You are checking a Hubble-law homework or textbook answer, or estimating how far away a nearby galaxy is from a redshift you measured in a spectrum.

Limits and checks

  • Distance definitions disagree. Light-travel distance (how long the light was en route), comoving distance (where the galaxy is today), luminosity distance, and angular diameter distance all diverge once redshift is large. A light-year figure is normally the light-travel distance, and it is smaller than the comoving distance at high z; any distance answer needs its definition attached.
  • The linear Hubble law has a limited range. d = cz/H0 is a good approximation only for small redshifts, roughly z below 0.1 to 0.3; beyond that it increasingly overestimates the distance. A galaxy at z = 1 has a naive Hubble-law distance near 4.4 Gpc, while its comoving distance is about 3.4 Gpc under Planck parameters.
  • The result inherits the assumed cosmology. Hubble constant measurements cluster between about 67 and 73 km/s/Mpc depending on method - cosmic microwave background versus local distance ladder - and the difference shifts every distance by up to about 8 percent. The same redshift gives a slightly different distance depending on the H0 and density parameters the tool uses.

Common questions

Why does the recession velocity exceed the speed of light for z above 1?

Because it is a coordinate bookkeeping velocity, not a speed that anything travels through space. General relativity allows two well-separated points to recede from each other faster than light, since space itself stretches; nothing locally exceeds c. The distance remains meaningful, but the velocity is not a limit on, say, how fast a signal could cross that separation.

A galaxy at z = 10 - is it really 13 billion light-years away?

The light has been traveling for about 13 billion years, so the light-travel distance is about 13 billion light-years, and the universe was only about half a billion years old when the light left. But the galaxy is now much farther away - roughly 30 billion light-years - because space kept expanding while the light was en route. Both numbers are correct; they answer different questions.

References and verification

The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.

Related Tools