---
title: "From one distance and one redshift to the Hubble constant"
description: "Turn a siren distance and a host redshift into a Hubble constant posterior, with peculiar velocities, GW170817 and the mass and redshift degeneracy."
canonical_url: "https://sandboxphysics.com/stories/standard-sirens/from-distance-to-hubble-constant/"
language: "en"
page_type: "story"
alternate_languages:
  zh-CN: "https://sandboxphysics.com/zh/stories/standard-sirens/from-distance-to-hubble-constant/"
last_modified: "2026-11-14"
---

[Gravitational-wave standard sirens](https://sandboxphysics.com/stories/standard-sirens/)

# From one distance and one redshift to the Hubble constant

Sandbox Physics · 2026-11-14

A bright siren measures the Hubble constant by dividing the host galaxy's Hubble-flow velocity by the gravitational-wave distance. The posterior is broad for one event because the distance is uncertain by 10 to 20 percent, and nearby events add a second error from the galaxy's own motion. For GW170817 this gave $70.0^{+12.0}_{-8.0}\,\mathrm{km\,s^{-1}\,Mpc^{-1}}$. This chapter writes the inference out, works through that event, and shows why the redshift must come from outside the waveform.

[Open the standard sirens Lab](https://sandboxphysics.com/labs/gravitational-wave-standard-sirens/)

It builds on [waveform amplitude, orbit tilt and luminosity distance](https://sandboxphysics.com/stories/standard-sirens/waveform-amplitude-and-luminosity-distance/). Bayes' theorem and the normal distribution are assumed.

## Hubble's law and the luminosity distance

For nearby galaxies the recession velocity grows in proportion to distance,

$$
v_H=H_0\,d .
$$

At larger redshift the luminosity distance in a flat universe with matter fraction $\Omega_m$ is

$$
D_L(z)=\frac{c\,(1+z)}{H_0}\int_0^z\frac{\mathrm dz^\prime}{\sqrt{\Omega_m(1+z^\prime)^3+1-\Omega_m}} ,
$$

and for small $z$ it expands as $D_L\approx(cz/H_0)\,[1+(1-q_0)z/2]$, with deceleration parameter $q_0=\tfrac32\Omega_m-1$. For $\Omega_m=0.3$, $q_0=-0.55$.

**Table 3.1** Luminosity distance at $H_0=70\,\mathrm{km\,s^{-1}\,Mpc^{-1}}$ and $\Omega_m=0.3$: the full integral, checked against the astropy library, and the two-term series.

| Redshift $z$ | Integral | Series | $cz/H_0$ |
| --- | --- | --- | --- |
| $0.01$ | $43.16\,\mathrm{Mpc}$ | $43.16\,\mathrm{Mpc}$ | $42.83\,\mathrm{Mpc}$ |
| $0.03$ | $131.44\,\mathrm{Mpc}$ | $131.48\,\mathrm{Mpc}$ | $128.49\,\mathrm{Mpc}$ |
| $0.07$ | $315.66\,\mathrm{Mpc}$ | $316.06\,\mathrm{Mpc}$ | $299.79\,\mathrm{Mpc}$ |

Every distance scales as $1/H_0$. A siren measures $D_L$, so if the redshift is known, $H_0$ follows. Within $100\,\mathrm{Mpc}$ the plain Hubble law is good to better than 2 percent, much smaller than the distance error of one event.

## Writing the inference for one bright siren

A galaxy's measured velocity is its Hubble-flow velocity plus a peculiar velocity $v_p$ caused by nearby mass. Write the gravitational-wave data as $x$ and the measured velocity as $v$. With a prior $p(d)\propto d^2$ on distance, the posterior is

$$
p(H_0\mid x,v)\propto p(H_0)\int p(x\mid d,\cos\iota)\,\mathcal N\!\left(v;\,H_0d,\sigma_v\right)p(d)\,p(\cos\iota)\,\mathrm dd\,\mathrm d\cos\iota ,
$$

where $\mathcal N(v;\,H_0d,\sigma_v)$ is a normal density centred on $H_0d$ and $\sigma_v$ combines the velocity measurement and the peculiar-velocity uncertainty. Abbott et al. write the same model with $v_p$ as a separate parameter and add a selection term $N_s(H_0)$. They show that $N_s$ is constant when the prior is placed on distance and only the gravitational-wave threshold matters. If the prior is placed on redshift instead, $N_s\propto H_0^3$ and cancels an equal factor elsewhere, giving the same posterior. [Abbott et al., A gravitational-wave standard siren measurement of the Hubble constant, Methods, Eqs. 7 to 12](https://arxiv.org/abs/1710.05835v1)

The integral over $\cos\iota$ is where the tilt and distance trade of the previous chapter enters. The Lab draws the integrand as the likelihood map, and the bright-siren curve is this posterior on a grid.

## Peculiar velocities

A peculiar velocity of a few hundred $\mathrm{km\,s^{-1}}$ is a fixed error in velocity, so its fractional effect on $H_0$ is $\sigma_v/(H_0d)$. It matters most for the nearest events.

**Worked example 1.** At $d=40\,\mathrm{Mpc}$ and $H_0=70$, $v_H=2800\,\mathrm{km\,s^{-1}}$. A $150\,\mathrm{km\,s^{-1}}$ uncertainty is 5.4 percent. At $d=14\,\mathrm{Mpc}$, as in the Lab's peculiar-velocity preset, $v_H=980\,\mathrm{km\,s^{-1}}$ and a spread of $450\,\mathrm{km\,s^{-1}}$ is 46 percent: the velocity error now outweighs the distance error from the wave.

## Worked example: GW170817

The gravitational-wave distance was $d=43.8^{+2.9}_{-6.9}\,\mathrm{Mpc}$. NGC 4993 belongs to a group whose recession velocity relative to the cosmic microwave background is $3327\pm72\,\mathrm{km\,s^{-1}}$. The authors subtract a coherent bulk flow of $310\,\mathrm{km\,s^{-1}}$ and, being cautious about how well that flow is modelled, assign it an uncertainty of $150\,\mathrm{km\,s^{-1}}$ instead of the formal $69\,\mathrm{km\,s^{-1}}$. That gives $v_H=3017\pm166\,\mathrm{km\,s^{-1}}$. [Abbott et al., A gravitational-wave standard siren measurement of the Hubble constant](https://arxiv.org/abs/1710.05835v1)

A quick estimate divides: $3017/43.8=68.9$. Using the ends of the distance interval, $3017/46.7=64.6$ and $3017/36.9=81.8$. The interval is lopsided toward high values because the distance interval is lopsided toward short distances. The full posterior, with prior $p(H_0)\propto1/H_0$, has its maximum at $70.0$, a minimal 68.3 percent interval from $62$ to $82$, a mean of $78$ and a standard deviation of $15$. The distance interval came mainly from the tilt: the data allow a face-on orbit that is farther away.

## The redshift must come from outside

The previous chapter showed that the waveform reveals $(1+z)\mathcal M$ and $D_L$. The scaling behind that is exact in general relativity, so no improvement in detectors removes it. [Cutler and Flanagan, Gravitational waves from merging compact binaries, Eqs. 18 and 19](https://arxiv.org/abs/gr-qc/9402014v1) A siren therefore needs one of three outside facts: the redshift of an identified host, a statistical redshift from every galaxy that could be the host, or a known feature in the source-frame mass distribution. The first is a bright siren. The second and third are the subject of [the next chapter](https://sandboxphysics.com/stories/standard-sirens/dark-sirens-and-selection-effects/).

For GW170817 at $z\approx0.01$, the redshifted chirp mass is 1 percent heavier than the true one, which hardly matters. At $z=0.1$ the difference is 10 percent, and treating the redshifted mass as the source mass gives the wrong astrophysics.

## How the error shrinks with more events

Each bright siren gives an independent posterior, and the product narrows roughly as $1/\sqrt N$. Chen, Fishbach and Holz simulated a three-detector network and found a fractional uncertainty of about $15\%/\sqrt N$ for $N$ binary neutron stars with counterparts. [Chen, Fishbach and Holz, A two per cent Hubble constant measurement from standard sirens within five years](https://arxiv.org/abs/1712.06531v2) That is a forecast from simulations, not a measurement. It predicts that about 56 such events would reach 2 percent.

## Lab tasks

1. Compare the kilonova host and peculiar-velocity presets. Explain from Worked example 1 why the bright-siren posterior widens although the distance band does not.
2. In the kilonova host preset, press New noise several times. Record how far the bright-siren median moves and compare it with the readout's interval.
3. Open the advanced group and raise the peculiar-velocity spread from $200$ to $600\,\mathrm{km\,s^{-1}}$. At which binary distance does the bright-siren width stop depending on the spread?

## Exercises with explained answers

1. A siren at $d=120\pm12\,\mathrm{Mpc}$ has a host with $v_H=8400\pm250\,\mathrm{km\,s^{-1}}$. Estimate $H_0$ and its uncertainty, treating both errors as small and independent.
2. At what distance does a velocity uncertainty of $200\,\mathrm{km\,s^{-1}}$ equal a 10 percent distance error, for $H_0=70$?
3. Using the $15\%/\sqrt N$ forecast, how many bright sirens would give 5 percent?
4. GW170817's quick estimate $68.9$ differs from the published maximum of $70.0$. Name two reasons a ratio of central values need not equal the posterior maximum.

Answers

1. $H_0=8400/120=70.0$. The fractional errors are $10\%$ and $3.0\%$, so the total is $\sqrt{0.10^2+0.030^2}=10.4\%$, about $\pm7.3\,\mathrm{km\,s^{-1}\,Mpc^{-1}}$.
2. Equality needs $\sigma_v/(H_0d)=0.10$, so $d=200/(0.10\times70)=28.6\,\mathrm{Mpc}$. Closer than that, the velocity error dominates a 10 percent siren.
3. $15/\sqrt N=5$ gives $N=9$.
4. The distance posterior is skewed, so the mean of $1/d$ is not $1/\bar d$. The prior $p(H_0)\propto1/H_0$ and the volume prior on $d$ also shift the peak, and the full model integrates over every tilt and distance.

## Try it in the Lab

Compare the kilonova host and peculiar-velocity presets: the distance band is similar, but the bright-siren posterior widens. Explain why from the velocity spread. [Open the standard sirens Lab](https://sandboxphysics.com/labs/gravitational-wave-standard-sirens/)

## Sources

1. [Abbott et al., A gravitational-wave standard siren measurement of the Hubble constant, Methods, Eqs. 7 to 12](https://arxiv.org/abs/1710.05835v1)
2. [Cutler and Flanagan, Gravitational waves from merging compact binaries, Eqs. 18 and 19](https://arxiv.org/abs/gr-qc/9402014v1)
3. [Chen, Fishbach and Holz, A two per cent Hubble constant measurement from standard sirens within five years](https://arxiv.org/abs/1712.06531v2)

## Keep reading

Gravitational-wave standard sirens · Reading path

### From a wave amplitude to the Hubble constant

1. [Article **How can a gravitational wave tell us how far away it came from?**](https://sandboxphysics.com/stories/standard-sirens/measuring-distance-with-gravitational-waves/)
2. [Article **Waveform amplitude, orbit tilt and luminosity distance**](https://sandboxphysics.com/stories/standard-sirens/waveform-amplitude-and-luminosity-distance/)
3. [You are here **From one distance and one redshift to the Hubble constant**](https://sandboxphysics.com/stories/standard-sirens/from-distance-to-hubble-constant/)
4. [Article **Dark sirens, galaxy catalogs and the selection normalisation**](https://sandboxphysics.com/stories/standard-sirens/dark-sirens-and-selection-effects/)
5. [Article **Recomputing a bright-siren and a dark-siren Hubble constant**](https://sandboxphysics.com/stories/standard-sirens/recomputing-bright-and-dark-siren-h0/)
6. [Article **Reading the GWTC-3 dark-siren cosmology paper**](https://sandboxphysics.com/stories/standard-sirens/reading-the-gwtc3-dark-siren-cosmology-paper/)
