The Andromeda Galaxy is a spiral galaxy approximately 780 kiloparsecs (2.5 million light-years) from Earth.