The relation is less clear for distant objects like quasars far beyond the Milky Way since the apparent magnitude is affected by spacetime curvature, redshift, and time dilation. Calculating the relation between the apparent and actual luminosity of an object requires taking all of these factors into account. The object's actual luminosity is determined using the inverse-square law and the proportions of the object's apparent distance and luminosity distance.
Another way to express the luminosity distance is through the flux-luminosity relationship. Since,
where F is flux (W·m−2), and L is luminosity (W). From this the luminosity distance can be expressed as:
The luminosity distance is related to the "comoving transverse distance" by the Etherington's reciprocity relation:
where z is the redshift. is a factor that allows you to calculate the comoving distance between two objects with the same redshift but at different positions of the sky; if the two objects are separated by an angle , the comoving distance between them would be . In a spatially flat universe, the comoving transverse distance is exactly equal to the radial comoving distance , i.e. the comoving distance from ourselves to the object.