Redshift Distance Calculator
How far away is a galaxy whose light arrives stretched by a known redshift? Enter the redshift z and the Hubble constant H₀, and this calculator applies Hubble’s law, d = (c × z) / H₀, returning the estimated distance in megaparsecs. It is pre-filled with z = 0.05 and H₀ = 70, a nearby-galaxy example you can run immediately. The linear formula is trustworthy for low redshift, below about z = 0.1; this page is honest about what happens beyond that.
Result
Quick Answer
A galaxy at redshift z = 0.05 with a Hubble constant of 70 km/s/Mpc sits about 214.14 megaparsecs away, roughly 698 million light-years. The calculator is pre-filled with these values. Distance comes from d = (299,792.458 × z) / H₀, and the formula is a low-redshift approximation: trust it below z = 0.1, use a cosmological model above that.
- Quick Answer
- How to use the redshift distance calculator
- The formula: Hubble’s law at low redshift
- Worked example: z = 0.05, H₀ = 70, checked against this exact tool
- The Hubble constant you type in changes the answer
- The honest limit: above z = 0.1 the universe needs the full integral
- What competing calculators miss
- Frequently asked questions
- Add This Calculator to Your Website
- References
How to use the redshift distance calculator
Enter the redshift, enter your Hubble constant, click Calculate. The result stays hidden until you click. Both inputs are pre-filled with the worked example, so one click shows you exactly what the tool returns.
The tool works in two visible steps, and it shows both: first the recessional velocity v = c × z in km/s, then the distance d = v / H₀ in megaparsecs. Reset restores the 0.05 and 70 example.
The formula: Hubble’s law at low redshift
Hubble’s law says a galaxy’s recession velocity is proportional to its distance: v = H₀ × d. For small redshift, velocity is also v = c × z. Putting them together gives the distance directly from the redshift.
Distance (Mpc) = velocity / H₀
The constant 299,792.458 km/s is the exact speed of light in a vacuum. The result is an approximation of the galaxy’s comoving distance, and a good one while z stays under about 0.1, where recession speeds are a few percent of light speed. The Swinburne COSMOS encyclopedia sets out this cosmological-redshift regime clearly, and notes that cosmological redshift is the only redshift type that gives a distance to extragalactic objects.
Worked example: z = 0.05, H₀ = 70, checked against this exact tool
The pre-filled run is redshift 0.05 with a Hubble constant of 70 km/s/Mpc. First the recessional velocity: 299,792.458 × 0.05 = 14,989.62 km/s. Then the distance: 14,989.62 / 70 = 214.14 Mpc. At 3.26 million light-years per megaparsec, that is about 698 million light-years. Every row below is a verified run of the calculator.
| Run (H₀ = 70) | Distance (Mpc) | Light-years |
|---|---|---|
| Worked example: z = 0.05 | 214.14 | ~698 million |
| Nearby: z = 0.01 | 42.83 | ~140 million |
| Classroom standard: z = 0.1 | 428.27 | ~1.40 billion |
| H₀ = 71 variant: z = 0.03 | 126.67 | ~413 million |
| Beyond the safe range: z = 0.5 | 2,141.37 | ~6.98 billion (linear only) |
A common-z reference, all at H₀ = 70, straight from the tool:
| Redshift z | v = cz (km/s) | d (Mpc) | Light-years |
|---|---|---|---|
| 0.001 | 299.79 | 4.28 | ~14 million |
| 0.01 | 2,997.92 | 42.83 | ~140 million |
| 0.02 | 5,995.85 | 85.65 | ~279 million |
| 0.05 | 14,989.62 | 214.14 | ~698 million |
| 0.10 | 29,979.25 | 428.27 | ~1.40 billion |
The Hubble constant you type in changes the answer
Distance equals velocity divided by H₀, so the answer scales inversely with your H₀ choice. At z = 0.05, H₀ = 67 gives 223.73 Mpc while H₀ = 73 gives 205.34 Mpc: about a 9% spread from the constant alone.
This is not a settled number. As Physics Today’s history of H₀ measurements recounts, published values fell from ~500 in Hubble’s own day to the modern cluster near 70 to 75, and today the cosmic-microwave-background route and the local distance-ladder route land several percent apart. Try both ends of the range in the calculator and you will see the tension expressed as a number on your screen. Related scale work: the light speed distance calculator covers how far light itself travels over a time, and the orbital distance calculator handles distances inside a gravitational system rather than the cosmic expansion.
The honest limit: above z = 0.1 the universe needs the full integral
The linear law treats the expansion rate as fixed, but the rate has changed over cosmic history: it decelerated for billions of years, then dark energy started accelerating it. For high-redshift objects the only correct answer is the cosmological integral over the expansion history, the standard flat ΛCDM model with matter density around 0.3 and dark energy around 0.7. This tool deliberately does not pretend to be that: it gives the linear approximation, labels the valid range, and lets you decide when to switch.
Take z = 0.5 as the warning case. The linear formula returns 2,141.37 Mpc. A proper ΛCDM comoving distance at z = 0.5 is roughly 1,900 Mpc, so the linear answer is high by more than 10% and getting worse with every step up in z. For quasars and gamma-ray bursts at z above 1, use a dedicated cosmology calculator that performs the integral, such as Viktor Toth’s cosmology calculator, which documents the Weinberg integral it evaluates. That tool is the natural next step once you outgrow this page’s z < 0.1 range.
What competing calculators miss
Most ranking rivals for this keyword compute the same linear formula, so the differentiator is not the arithmetic but the honesty around it:
- CalculatorsHub’s Hubble distance tool: the closest match, with a handy common-redshift reference table and light-year conversions. It rounds the speed of light to 299,792 km/s and, more importantly, never warns that the linear answer is an approximation that degrades past z = 0.1.
- Viktor Toth’s cosmology calculator: the serious instrument, with the full ΛCDM integral, angular diameter and luminosity distances, citing Weinberg’s Cosmology. It is also intimidating for a quick estimate: it demands matter and dark-energy densities before it will give you a number.
- FIRGELLI’s interactive Hubble calculator: a strong worked example from real emission-line data, with lookback time and definitions. Buried on an actuator company’s product page, and it never quite tells you where the simple law stops working.
- The old version of this page: its worked example was arithmetically wrong: it claimed (299,792.458 × 0.05) / 70 = 305.91 Mpc. The actual arithmetic is 14,989.62 / 70 = 214.14 Mpc, which is what the tool returns. The corrected walk-through above replaces it.
- The gap this page fills: the same standard formula, with the two visible steps shown, a verified common-z table, the H₀ tension quantified as a percentage on your answer, and the z = 0.1 boundary stated plainly instead of hidden in a footnote.
Frequently asked questions
Multiply the redshift by the speed of light to get the recessional velocity, then divide by the Hubble constant: d = (299,792.458 times z) / H0. For z = 0.05 and H0 = 70, that is 14,989.62 / 70 = 214.14 megaparsecs.
The Hubble constant is the universe’s current expansion rate, in km/s per megaparsec. 70 is the standard default. Modern measurements cluster from the mid-60s to the low 70s depending on the method, a live disagreement called the Hubble tension, so try the ends of that range to see how much your answer moves.
The linear formula is reliable below about z = 0.1. Above that, the expansion rate’s history matters and the linear answer drifts high: at z = 0.5 it returns 2,141 Mpc against a true Lambda-CDM comoving distance near 1,900 Mpc. For quasars and other high-z objects, use a cosmological model calculator instead.
One megaparsec is one million parsecs, about 3.26 million light-years. The worked example’s 214.14 Mpc is therefore roughly 698 million light-years, and 1 Mpc is about 3.09 times 10 to the 19th kilometers.
No. The calculator rejects negative redshift with a validation message. A negative z is a blueshift, meaning the object is moving toward us rather than receding, and Hubble’s law does not apply to it.
Distance equals velocity divided by the Hubble constant, so the answer moves inversely with your choice. At z = 0.05, H0 = 67 gives 223.73 Mpc while H0 = 73 gives 205.34 Mpc: an 8 percent spread from the constant alone.
From galaxy spectra measured by surveys and archives such as the Sloan Digital Sky Survey and the NASA/IPAC Extragalactic Database. The redshift is measured from how far known spectral lines have shifted toward longer wavelengths.
Add This Calculator to Your Website
Embed this calculator on your own site with the code below. Pick a size to preview it live, then copy the code.
Powered by Calculator Zilo
References
- NASA Goddard Space Flight Center, Imagine the Universe. How Far? How Powerful? Spectroscopy Worksheet. Accessed October 23, 2026.
- Physics Today, American Institute of Physics. Measuring the Hubble Constant. Accessed October 23, 2026.
- Swinburne University of Technology, Centre for Astrophysics and Supercomputing. Redshift, COSMOS: The SAO Encyclopedia of Astronomy. Accessed October 23, 2026.
- Viktor T. Toth. Cosmology Calculator. Accessed October 23, 2026.
- Vaia, The Cosmos: Astronomy in the New Millennium, 3rd edition, Chapter 16. Calculate the Distance of a Galaxy with a Measured Redshift. Accessed October 23, 2026.
