The redshifts of astronomical objects within the Galaxy are interpreted as Doppler shifts (see Doppler effect) caused by movement of the source away from the observer. The value of z is then v /c , where v is the relative radial velocity and c is the speed of light. The redshifts of extragalactic sources, including quasars, are also interpreted in terms of the Doppler effect, which for these objects results from the expansion of the Universe. The redshift parameter of a distant galaxy thus gives its velocity of recession; since recessional velocities can be very great, the relativistic expression for redshift must be used:
From measurements of galactic redshifts it has been possible to calculate the distances of galaxies, using Hubble's law (see distance determination).
The redshifts described above represent a loss of energy by the photons of radiation in overcoming the effects of recession or expansion. There is another mechanism, however, by which redshifts can be produced, i.e. by which photons can lose energy – the presence of a strong gravitational field. This gravitational redshift was predicted by Einstein in his general theory of relativity. Although the redshifts of galaxies are often interpreted as being caused by the relativistic Doppler effect alone, both the expansion and the gravitational field of the Universe are involved. See also cosmological redshift.