- For other uses of "elongation", see Elongation.
In astronomy, a planet's elongation is the angle between the Sun and the planet, with Earth as the reference point. The greatest elongation of a given planet occurs when this inner planet’s position, in its orbital path to the Sun, is at tangent to the observer on Earth. Given the planets able to elongate are well within the area of Earth's orbit of the Sun, observation of such a phenomena should not pose that much a challenge, compared to deep sky objects, for example. When a planet is at its greatest elongation, it is farthest from the Sun as viewed from Earth, so its view is also best at that point.
When an inferior planet is visible after sunset, it is near its greatest eastern elongation. When an inferior planet is visible before sunrise, it is near its greatest western elongation. The value of the greatest elongation (west or east), for Mercury, is between 18° and 28°; and for Venus between 45° and 47°. This value varies because the orbits of the planets are elliptical, rather than perfect circles. Another minor contributor to this inconsistency is orbital inclination: each planet's orbit is in a slightly different plane.
Refer to astronomical tables and websites such as heavens-above to see when the planets reach their next maximum elongations.
Elongation period 
Greatest elongations of a planet happen periodically, with a greatest eastern elongation followed by a greatest western elongation, and vice versa. The period depends on the relative angular velocity of Earth and the planet, as seen from the Sun. The time it takes to complete this period is the synodic period of the planet.
For example, Venus's year (sidereal period) is 225 days, and Earth's is 365 days. Thus Venus' synodic period, which gives the time between two subsequent eastern (or western) greatest elongations, is 584 days.
These values are approximate, because (as mentioned above) the planets do not have perfectly circular, coplanar orbits. When a planet is closer to the Sun it moves faster than when it is further away, so exact determination of the date and time of greatest elongation requires a much more complicated analysis of orbital mechanics.
Elongation of superior planets 
Superior planets, dwarf planets and asteroids undergo a different cycle. After superior conjunction, such an object's elongation continues to increase until it approaches a maximum value larger than 90° (impossible with inferior planets) and typically very near 180°, which is known as opposition and corresponds to a heliocentric conjunction with Earth. In other words, as seen from an observer on the superior planet at opposition, the Earth appears at inferior conjunction with the Sun. Technically, the exact moment of opposition is slightly different from the moment of maximum elongation. Opposition is defined as the moment when the apparent ecliptic longitudes of the superior planet and the Sun differ by 180°, which ignores the fact that the planet is outside the plane of the Earth's orbit. For example, Pluto, whose orbit is highly inclined to the Earth's orbital plane, can have a maximum elongation significantly less than 180° at opposition.
All superior planets are most easily visible at their oppositions because they are near their closest approach to Earth and are also above the horizon all night. The variation in magnitude caused by changes in elongation are greater the closer the planet's orbit is to the Earth's. Mars' magnitude in particular changes with elongation: it can be as low as +1.8 when in conjunction near aphelion but at a rare favourable opposition it is as high as −2.9, or seventy-five times brighter than its minimum brightness. As one moves further out, the difference in magnitude caused by the difference in elongation gradually fall. The maximum and minimum brightness of Jupiter differ by only a factor of 3.3 times, whilst those of Uranus – which is the most distant Solar System body visible to the naked eye – differ by a factor of 1.7 times.
Since asteroids travel in an orbit not much larger than the Earth's, their magnitude can vary greatly depending on elongation. Although more than a dozen objects in the asteroid belt can be seen with 10x50 binoculars at an average opposition, only Ceres and Vesta are always above the binocular limit of +9.5 at small elongations.
Elongation of moons of other planets 
Sometimes elongation may instead refer to the angular distance of a moon of another planet from its central planet, for instance the angular distance of Io from Jupiter. Here we can also talk about greatest eastern elongation and greatest western elongation. In the case of the moons of Uranus, one often talks about greatest northern elongation and greatest southern elongation instead, due to the very high inclination of Uranus' axis of rotation..
See also 
- Aspects of Mercury for greatest elongations of Mercury
- Aspects of Venus for greatest elongations of Venus
- Astronomical conjunction
- Mercury Chaser's Calculator (Greatest Elongations of Mercury)