How do we measure distance to galaxies and stars/planets?
Earth's travel in one year is about 150 million KM. This is taken as base and measure parallax
Cepheids are variable stars.They have relation between pulsation period and luminosity.So they can be used standard candles to measure distance to Galaxies..
Picture credit schoolobservatory.org.