Redshift Distance Calculator

Turn redshift into distances across expanding space quickly. Tune cosmology, curvature, and dark energy behavior. Download clean tables for notes, labs, and projects today.

Calculator Inputs

Use z ≥ 0 for past lightcone distances.
km/s/Mpc
Typical values are 67–75 km/s/Mpc.
w = −1 matches a cosmological constant.
Curvature is computed as Ωk = 1 − (Ωm + ΩΛ + Ωr).
Use 0 for simple late‑time calculations.
Higher steps improve accuracy for large z.
Presets fill fields; you can edit after.
Leave unchecked for full numerical evaluation.

Example Data Table (default parameters)

z Luminosity distance DL (Mpc) Lookback time tL (Gyr) Distance modulus μ (mag)
0.1 460.299936 1.301298 38.315205
1 6,607.657612 7.715337 44.100238
6 57,728.440198 12.550007 48.806949

Formula Used

This calculator uses a standard expanding‑universe model with the dimensionless expansion function:

E(z) = \sqrt{ Ωr(1+z)4 + Ωm(1+z)3 + Ωk(1+z)2 + ΩΛ(1+z)3(1+w) }

Curvature is computed as Ωk = 1 − (Ωm + ΩΛ + Ωr).

The line‑of‑sight comoving distance is found by numerical integration:

DC(z) = (c/H00z \frac{dz'}{E(z')}

The transverse comoving distance uses curvature:

  • Ωk = 0: DM = DC
  • Ωk > 0: DM = (c/H0CH0/c)
  • Ωk < 0: DM = (c/H0CH0/c)

Finally:

  • DL = (1+z) DM
  • DA = DM/(1+z)
  • tL = (1/H00z \frac{dz'}{(1+z')E(z')}
  • μ = 5 log10(DL/\text{Mpc}) + 25

Numerical mode uses Simpson’s rule. The low‑z checkbox applies a short series approximation intended for very small redshift.

How to Use This Calculator

  1. Enter a redshift value z for the source.
  2. Choose cosmology values: H0, Ωm, ΩΛ, and optional Ωr, w.
  3. Keep numerical mode for general z, and raise steps for precision.
  4. Press Compute distance to view results above the form.
  5. Use Download CSV or Download PDF to export your results.

Tip: If you want a nearly flat model, keep Ωm + ΩΛ + Ωr ≈ 1. The tool will report the implied curvature Ωk.

Professional Article

1) Redshift and distance context

Cosmological redshift stretches wavelengths by a factor of (1+z). Converting that observable into distance requires an expansion model and an integral along the light path in an FRW universe. This calculator returns standard distance measures used in astronomy and cosmology.

2) Cosmology inputs you control

The Hubble constant H0 sets the overall distance scale. Density parameters shape the expansion history: matter Ωm, dark energy ΩΛ, radiation Ωr, and the equation parameter w. Curvature is derived as Ωk = 1 − (Ωm + ΩΛ + Ωr), enabling flat, open, or closed models.

3) Expansion history through E(z)

Outputs rely on the dimensionless expansion function E(z), with H(z) = H0·E(z). Matter scales as (1+z)^3, radiation as (1+z)^4, curvature as (1+z)^2, and dark energy as (1+z)^{3(1+w)}. Setting w = −1 recovers a constant dark‑energy density.

4) Comoving distances and curvature

The line‑of‑sight comoving distance DC is computed from (c/H0)∫dz/E(z) using Simpson’s rule. The transverse comoving distance DM equals DC for Ωk≈0, but curvature modifies it via sinh (open) or sin (closed), shifting derived distances.

5) Luminosity and angular diameter distances

The luminosity distance DL = (1+z)DM controls flux dimming, while the angular diameter distance DA = DM/(1+z) links physical size to angle. They satisfy DL = (1+z)^2 DA, a convenient validation check.

6) Lookback time, H(z), and modulus

Lookback time integrates ∫dz/((1+z)E(z)) to return tL in gigayears. The tool also reports H(z) and the distance modulus μ = 5log10(DL/Mpc)+25, which is standard for supernova and other standard‑candle analyses.

7) Reference dataset using default settings

For a flat model with H0 = 70 km/s/Mpc, Ωm = 0.30, ΩΛ = 0.70, Ωr = 0, and w = −1, the following values show typical scales:

z DC (Mpc) DL (Mpc) tL (Gyr) μ (mag)
0.1 418.45 460.30 1.301 38.315
1.0 3303.83 6607.66 7.715 44.100
6.0 8246.92 57728.44 12.550 48.807

8) Practical workflow for research and teaching

Start with a preset, then adjust H0 and Ωm to match your dataset or paper. Increase integration steps for high redshift or sensitive comparisons, and use the low‑z option only when z is very small. Export CSV for reproducible tables and PDF for reporting.

FAQs

1) What redshift range is practical here?

Use z ≥ 0. For z < 0.1, the low‑z option can be convenient. For z > 5, increase integration steps and keep parameters physical so E(z) remains positive.

2) Why does curvature Ωk change the result?

Curvature modifies the transverse distance DM. Flat models use DM=DC. Open models apply sinh, and closed models apply sin, which shifts DL and DA at the same redshift.

3) How do DC and DL differ?

DC tracks comoving separation along the line of sight. DL is the distance that converts intrinsic luminosity to observed flux, and equals (1+z)DM.

4) How accurate is the numerical integration?

Simpson’s rule converges quickly for smooth E(z). If you double the step count, results typically stabilize. For high redshift or strong curvature, use several thousand steps and compare repeated runs for sensitivity.

5) What settings represent standard flat ΛCDM?

A common choice is H0≈70 km/s/Mpc, Ωm≈0.30, ΩΛ≈0.70, Ωr=0, and w=−1, which implies Ωk≈0.

6) When should I include radiation Ωr?

Radiation matters most at early times and high redshift. If you are exploring the very early universe, set a small Ωr and keep the step count high. For late‑time applications, Ωr=0 is usually sufficient.

7) What does the distance modulus output assume?

The modulus uses μ = 5log10(DL/Mpc)+25. That means DL must be in megaparsecs. You can use μ directly with standard‑candle data to compare inferred and model distances.

Related Calculators

black hole temperatureenergy momentum tensorfeynman path integralbogoliubov transformationquantum circuit simulatorspontaneous symmetry breakingwigner d matrixquantum tunneling calculatorpoisson bracket calculatorbeta function calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.