Luminosity Distance Calculator
Source
Cosmology (flat Lambda-CDM)
- In a flat Lambda-CDM universe the luminosity distance follows from the expansion history E(z) = sqrt(Omega_m (1 + z)^3 + Omega_Lambda), here with H0 = 67.4 km/s/Mpc and Omega_m = 0.32.
- Integrating c / H0 x dz / E(z) out to redshift 0.1 gives a comoving distance of 434 Mpc.
- Etherington's relation then gives the luminosity distance as (1 + z) times comoving: 478 Mpc, with a distance modulus of 38.39 mag, while the angular diameter distance divides by (1 + z) instead.
- Luminosity distance is what makes standard candles work: a type Ia supernova's apparent brightness converts to this distance, which is how the accelerating expansion was first measured.
This luminosity distance calculator turns a redshift into the distance light has traveled to reach us, expressed the way astronomers report it for standard candles. You enter a redshift along with the Hubble constant and matter density, and the tool returns the luminosity distance in megaparsecs. For a flat universe it uses the relation that the luminosity distance is (1 + z) times the comoving distance, while the angular diameter distance is the comoving distance divided by (1 + z). As a check, at redshift 0.1 with H0 of 67.4 and Omega_m of 0.315, the comoving distance is 434 Mpc and the luminosity distance 478 Mpc, giving a distance modulus of 38.39 magnitudes. At redshift 1 the luminosity distance reaches 6,803 Mpc, with a modulus of 44.16 mag and a lookback time of 7.95 Gyr.
The method behind these numbers is the accepted standard for this kind of calculation because it follows directly from the geometry of an expanding, flat universe and the definition of luminosity distance used with standard candles. The result is sensitive to your chosen cosmology: raising H0 to 73.0 shrinks all distances proportionally, so at redshift 0.5 the luminosity distance is 2,717 Mpc. This page shows the formula, the step-by-step workings, worked examples and sources, so you can follow each stage rather than trust a black box. You can also see how lookback time behaves, such as about 1.35 billion years at redshift 0.1, and compare your own inputs against the reference values above.
Worked examples
Nearby supernova host, z = 0.1
(0.1 · 67.4 km/s/Mpc · 0.315)
| Luminosity distance | 478 Mpc |
| Comoving distance | 434 Mpc |
| Angular diameter distance | 395 Mpc |
| Distance modulus | 38.39 mag |
| Lookback time | 1.35 Gyr |
Distant quasar, z = 1
(1 · 67.4 km/s/Mpc · 0.315)
| Luminosity distance | 6,803 Mpc |
| Comoving distance | 3,401 Mpc |
| Angular diameter distance | 1,701 Mpc |
| Distance modulus | 44.16 mag |
| Lookback time | 7.95 Gyr |
Higher H0 comparison
(0.5 · 73 km/s/Mpc · 0.3)
| Luminosity distance | 2,717 Mpc |
| Comoving distance | 1,811 Mpc |
| Angular diameter distance | 1,207 Mpc |
| Distance modulus | 42.17 mag |
| Lookback time | 4.83 Gyr |
Four distances, one expansion history
A luminosity distance calculator does more than produce one number. In an expanding universe, cosmologists keep four different distance measures in play, and each answers a different question. The comoving distance is the separation between two objects measured on a grid that expands along with the universe, so it stays fixed as the space between galaxies stretches. The light-travel distance instead records how long the light has been on its way, converted to a distance using the speed of light. The luminosity distance is the distance you would infer from how faint an object appears, and the angular diameter distance is the distance you would infer from how large an object looks. All four are tied together by the same expansion history, so once a model fixes the comoving distance at a given redshift, the others follow.
The link between them is a set of (1 + z) factors known as Etherington's relation. In a flat universe the luminosity distance is (1 + z) times the comoving distance, and the angular diameter distance is the comoving distance divided by (1 + z). The reason is that redshift affects both brightness and apparent size: photons arrive with less energy and at a lower rate, which dims an object by two factors of (1 + z), while the same (1 + z) shrinks the angle an object subtends. The comoving distance sits between the two, and the light-travel distance comes from integrating the expansion over the path the light followed.
A worked case makes the scaling concrete. At redshift 0.1 with H0 of 67.4 and Omega_m of 0.315, the comoving distance is 434 Mpc and the luminosity distance 478 Mpc — about 1.1 times larger, exactly the (1 + z) factor. The corresponding distance modulus at redshift 0.1 is 38.39 magnitudes, and the lookback time is about 1.35 billion years. Push to redshift 1 and the luminosity distance reaches 6,803 Mpc, with a modulus of 44.16 mag and a lookback time of 7.95 Gyr. The same expansion history therefore produces very different numbers depending on which distance you ask for.
The cosmological parameters control the overall scale. Raising H0 to 73.0 shrinks all distances proportionally: at redshift 0.5 the luminosity distance is 2,717 Mpc. Because every measure shares the same underlying comoving distance, a change in H0 or Omega_m moves all four together, and the (1 + z) factors preserve their ratios. That is why a luminosity distance calculator can report comoving, angular diameter and light-travel distances from the same integral, and why comparing them is a quick check that the inputs and the model are consistent.
The integral underneath
Every luminosity distance calculation in a flat Lambda-CDM universe runs through one function, usually written E(z). It packs the expansion history into a single expression: E(z) equals the square root of Omega_m times (1 + z) cubed, plus Omega_Lambda. The first term describes how matter density thins out as space stretches; the second describes dark energy, which in this model stays constant as volume grows. E(z) is the normalized expansion rate, the Hubble parameter at redshift z divided by today's H0. Once you have it, the comoving distance is the speed of light divided by H0, multiplied by the integral from 0 to z of dz' over E(z').
That integral has no tidy closed form once both matter and dark energy are present, so a luminosity distance calculator evaluates it numerically instead of reaching for a low-redshift shortcut. Small-redshift approximations treat the expansion rate as nearly constant and drop higher-order terms; they are fine for the nearby universe and increasingly wrong as z climbs. A numerical integration over the full E(z) keeps the cosmology honest at every redshift the page covers, and the flat-universe relations then do the rest: luminosity distance is (1 + z) times the comoving distance, while angular diameter distance is the comoving distance divided by (1 + z).
The numbers show how much the integral matters. With H0 of 67.4 and Omega_m of 0.315, redshift 0.1 gives a comoving distance of 434 Mpc and a luminosity distance of 478 Mpc, with a distance modulus of 38.39 magnitudes and a lookback time of about 1.35 billion years. Push to redshift 1 and the luminosity distance reaches 6,803 Mpc, the modulus is 44.16 mag, and the lookback time is 7.95 Gyr. The growth is steeply nonlinear, which is exactly why an approximation tuned to z near zero cannot carry the calculation out that far.
H0 sets the overall scale. Raising it to 73.0 shrinks all distances proportionally, so at redshift 0.5 the luminosity distance is 2,717 Mpc. Change Omega_m and the shape of E(z) shifts too, altering how the integral accumulates with redshift. The calculator takes your H0 and matter density, builds E(z) from them, integrates numerically, and converts the result into luminosity distance through the (1 + z) factor.
Distance modulus and standard candles
A type Ia supernova does not hand you a distance in megaparsecs. What the observation actually returns is a distance modulus — a difference between how bright the supernova appears and how bright it would be at a standard reference distance. The luminosity distance calculator converts that magnitude difference into the physical distance, and the conversion is what makes the two numbers disagree in the way they do. At redshift 0.1, the distance modulus is 38.39 magnitudes. That figure, not 478 Mpc, is the raw output of the measurement pipeline.
The arithmetic behind the conversion is the standard relation between modulus and distance, and the numbers here are internally consistent. In a flat universe the luminosity distance is (1 + z) times the comoving distance, while the angular diameter distance is the comoving distance divided by (1 + z). At redshift 0.1 with H0 of 67.4 and Omega_m of 0.315, the comoving distance is 434 Mpc and the luminosity distance 478 Mpc. Feeding 478 Mpc into the modulus gives 38.39 magnitudes — so a supernova at that redshift, if it behaved as a perfect standard candle, would appear 38.39 magnitudes fainter than its absolute magnitude. The same structure holds further out: at redshift 1 the luminosity distance reaches 6,803 Mpc with a modulus of 44.16 mag and a lookback time of 7.95 Gyr.
This is why standard candles matter for the page's central calculation. The modulus is what the telescope delivers; the distance is what the cosmology supplies. Change the cosmology and the same modulus maps to a different distance. Raising H0 to 73.0 shrinks all distances proportionally, so at redshift 0.5 the luminosity distance is 2,717 Mpc. A supernova's measured modulus does not move when you change H0 — only the distance you infer from it does. The luminosity distance calculator exists to make that inference explicit, so you can see exactly which quantity is observed and which is derived.
The lookback time gives the same story a temporal dimension. At redshift 0.1 the lookback time is about 1.35 billion years, meaning the light left the supernova well before the present epoch, yet the distance modulus of 38.39 still describes an object whose apparent brightness you measure today. Distance, modulus, and lookback time are three views of one redshift, each tied to the others through the assumed H0 and Omega_m.
- Redshift 0.1: comoving distance 434 Mpc, luminosity distance 478 Mpc, distance modulus 38.39 mag, lookback time about 1.35 billion years.
- Redshift 1: luminosity distance 6,803 Mpc, modulus 44.16 mag, lookback time 7.95 Gyr.
- Flat-universe relations: luminosity distance = (1 + z) x comoving distance; angular diameter distance = comoving distance / (1 + z).
- H0 of 73.0 instead of 67.4 shrinks distances proportionally: 2,717 Mpc at redshift 0.5.
H0 and the distance scale
The Hubble constant, H0, sets the size of the observable universe. It is usually quoted in kilometers per second per megaparsec (km/s/Mpc), and it describes how fast the expansion carries two points apart at a given separation. Because H0 sits in the denominator of the distance integral, every distance you compute scales inversely with it. Raise H0 and the universe expands faster at a given redshift, so a fixed redshift sits closer to us. Lower H0 and the same redshift moves farther away. A luminosity distance calculator is therefore only as good as the H0 you feed it.
The numbers make the point concrete. In a flat universe the luminosity distance is (1 + z) times the comoving distance, and the angular diameter distance is the comoving distance divided by (1 + z). With H0 of 67.4 and Omega_m of 0.315, a redshift of 0.1 gives a comoving distance of 434 Mpc and a luminosity distance of 478 Mpc. The distance modulus there is 38.39 magnitudes. At redshift 1 the luminosity distance reaches 6,803 Mpc, with a modulus of 44.16 mag and a lookback time of 7.95 Gyr. At redshift 0.1 the lookback time is about 1.35 billion years.
Now compare the two values of H0 that dominate the current literature: 67.4 and 73.0. The gap is roughly 8 percent, and it is not a rounding error. Raising H0 to 73.0 shrinks all distances proportionally. At redshift 0.5, for example, the luminosity distance comes out to 2,717 Mpc. The same redshift under the lower H0 would sit noticeably farther away. This is why the Hubble tension matters for anyone using a luminosity distance calculator: the choice of H0 shifts every distance and every derived modulus, and it shifts them in the same direction.
The tension refers to the disagreement between values inferred from the early universe and values measured locally. Each camp reports tight error bars, yet the two numbers do not overlap comfortably. Because distance scales inversely with H0, that disagreement propagates directly into supernova cosmology, gravitational-wave standard sirens, and any calibration chain that passes through a distance. A result quoted without its assumed H0 is incomplete.
A few habits keep the arithmetic honest:
- Always report the H0 and Omega_m you assumed, not just the distance.
- Remember that distances scale inversely with H0, so a higher H0 means smaller distances at fixed redshift.
- Check the modulus alongside the distance; a shift in H0 moves both.
- Treat the 67.4 versus 73.0 spread as a real systematic when comparing results across papers.
FAQs
How far away is a galaxy at redshift 0.1?
At redshift 0.1, the luminosity distance is 478 Mpc, and the light left that galaxy about 1.35 billion years ago. Those figures come from Planck cosmology with H0 of 67.4. Luminosity distance is the distance that sets apparent brightness, so it is the number to use when comparing observed flux to intrinsic luminosity.
Why are there several kinds of distance?
Expansion stretches light and shrinks apparent sizes differently, so one number cannot describe everything. Luminosity distance governs brightness, while angular diameter distance governs apparent size. The two differ by (1 + z) squared. That is why a calculator must state which distance it reports, and why you should not swap one for the other.
What is the distance modulus at redshift 1?
At redshift 1, the distance modulus is 44.16 mag, from a luminosity distance of 6,803 Mpc. That is the number supernova surveys fit when they compare observed peak brightness with redshift. Distance modulus converts luminosity distance into magnitudes, so it is the practical form of the distance for brightness measurements.
How does H0 change the answer?
The effect is inverse: H0 of 73.0 instead of 67.4 makes every distance about 8% smaller, as the redshift 0.5 example shows. A higher expansion rate means a shorter distance for the same redshift. Enter the H0 your analysis assumes, and remember that changing it shifts every result in the table.
Can I use this beyond redshift 2 or 3?
The flat Lambda-CDM integral stays valid at high redshift, but radiation density, which this model omits, starts to matter at very high redshift. So the results remain meaningful past redshift 2 or 3, yet treat them with care as you go far back, where the missing radiation term grows more important.
What Omega_m should I enter?
Use 0.315, the Planck 2018 value used in the examples. In the flat model, Omega_Lambda is 1 minus Omega_m, so it becomes 0.685. Entering Omega_m sets the matter density that shapes the expansion history, so match it to the cosmology you intend to use.