How do you calculate distance between planet in the solar system?
The planets and the Earth all orbit around the Sun, each at its own speed, so the distance of a planet from the Earth is not always the same. The least, average, and greatest distances from Earth (over 20 synodical periods starting at 1 January 2000, except for Pluto) are listed in the following table, measured in Astronomical Units (AU), millions of kilometers (Gm) and millions of miles (“Mmi”). A lightyear is equal to about 63,178 AU, so to convert the distances to lightyears you need merely divide them by 63,178. For example, the average distance of Jupiter to the Earth is 5.28/63178 = 0,000082 lightyears.