Using this formula Hubble was able to find out how far away from Earth his newly discovered cepheid -- and Andromeda -- was. He calculated that the distance was about 800,000 light years -- more ...