Hubble's law is the observation in the physical cosmology that states that the galaxies are moving away from the Earth at a speed proportional to the distance.
The general relation is given as,
Here,
• v is the speed, typically expressed in km/s.
,
• H_0 is the Hubble's constant.
,
• D is the distance from the galaxy to the observer, which changes over time.