Inorbital mechanics, theeccentric anomaly is anangular parameter that defines the position of a body that is moving along anellipticKepler orbit, the angle measured at the center of the ellipse between the orbit's periapsis and the current position. The eccentric anomaly is one of three angular parameters ("anomalies") that can be used to define a position along an orbit, the other two being thetrue anomaly and themean anomaly.

Consider the ellipse with equation given by:
wherea is thesemi-major axis andb is thesemi-minor axis.
For a point on the ellipse,, representing the position of an orbiting body in an elliptical orbit, the eccentric anomaly is the angleE in the figure. The eccentric anomalyE is one of the angles of a right triangle with one vertex at the center of the ellipse, its adjacent side lying on the major axis, having hypotenusea (equal to the semi-major axis of the ellipse), and opposite side (perpendicular to the major axis and touching the pointP' on the auxiliary circle of radiusa) that passes through the pointP. The eccentric anomaly is measured in the same direction as the true anomaly, shown in the figure as. The eccentric anomalyE in terms of these coordinates is given by:[1]
and
The second equation is established using the relationship
which implies that. The equation is immediately able to be ruled out since it traverses the ellipse in the wrong direction. It can also be noted that the second equation can be viewed as coming from a similar triangle with its opposite side having the same lengthy as the distance fromP to the major axis, and its hypotenuseb equal to the semi-minor axis of the ellipse.
Theeccentricitye is defined as:
FromPythagoras's theorem applied to the triangle withr (a distance) as hypotenuse:
Thus, the radius (distance from the focus to pointP) is related to the eccentric anomaly by the formula
With this result the eccentric anomaly can be determined from the true anomaly as shown next.
Thetrue anomaly is the angle labeled in the figure, located at the focus of the ellipse. It is sometimes represented byf orν. The true anomaly and the eccentric anomaly are related as follows.[2]
Using the formula forr above, the sine and cosine ofE are found in terms off :
Hence,
where the correct quadrant forE is given by the signs of numerator and denominator, so thatE can be most easily found using anatan2 function.
AngleE is therefore the adjacent angle of a right triangle with hypotenuse adjacent side and opposite side
Also,
Substituting as found above into the expression forr, the radial distance from the focal point to the pointP, can be found in terms of the true anomaly as well:[2]
where
is called thesemi-latus rectum in classical geometry.
The eccentric anomalyE is related to themean anomalyM byKepler's equation:[3]
This equation does not have aclosed-form solution forE givenM. It is usually solved bynumerical methods, e.g. theNewton–Raphson method. It may be expressed in aFourier series as
where is theBessel function of the first kind.