An Astronomical Unit (AU) is based on the average distance from the Earth to the Sun.
Explanation:
The Astronomical Unit was originally the average of Earth's perihelion and aphelion distances. It has since become an international standard and is defined to be exactly 149,597,870.7 km.