In
celestial mechanicsCelestial mechanics is the branch of astronomy that deals with the motions of celestial objects. The field applies principles of physics, historically classical mechanics, to astronomical objects such as stars and planets to produce ephemeris data. Orbital mechanics is a subfield which focuses on...
, the
true anomaly is an angular
parameterParameter from Ancient Greek παρά also “para” meaning “beside, subsidiary” and μέτρον also “metron” meaning “measure”, can be interpreted in mathematics, logic, linguistics, environmental science and other disciplines....
that defines the position of a body moving along a Keplerian orbit. It is the angle between the direction of periapsis and the current position of the body, as seen from the main focus of the
ellipseIn geometry, an ellipse is a plane curve that results from the intersection of a cone by a plane in a way that produces a closed curve. Circles are special cases of ellipses, obtained when the cutting plane is orthogonal to the cone's axis...
(the point around which the object orbits).
The true anomaly is usually denoted by the
Greek lettersThe Greek alphabet is the script that has been used to write the Greek language since at least 730 BC . The alphabet in its classical and modern form consists of 24 letters ordered in sequence from alpha to omega...

or

, or the Roman letter

.
The true anomaly is one of three angular parameters ("anomalies") that define a position along an orbit; the other two being the
eccentric anomalyIn celestial mechanics, the eccentric anomaly is an angular parameter that defines the position of a body that is moving along an elliptic Kepler orbit.For the point P orbiting around an ellipse, the eccentric anomaly is the angle E in the figure...
and the
mean anomalyIn celestial mechanics, the mean anomaly is a parameter relating position and time for a body moving in a Kepler orbit. It is based on the fact that equal areas are swept at the focus in equal intervals of time....
.
From state vectors
For elliptic orbits
true anomaly 
can be calculated from
orbital state vectorsIn astrodynamics or celestial dynamics orbital state vectors are vectors of position and velocity that together with their time uniquely determine the state of an orbiting body....
as:

(if

then replace

by

)
where:
Circular orbit
For
circular orbitA circular orbit is the orbit at a fixed distance around any point by an object rotating around a fixed axis.Below we consider a circular orbit in astrodynamics or celestial mechanics under standard assumptions...
s the true anomaly is undefined because circular orbits do not have a uniquely determined periapsis. Instead one uses the
argument of latitudeIn celestial mechanics, the argument of latitude is an angular parameter that defines the position of a body moving along a Kepler orbit. It is the sum of the more commonly used true anomaly and argument of periapsis. u = \nu + \omega...
u:

(if

then replace

by

)
where:
-
is vector pointing towards the ascending node (i.e. the z-component of
is zero).
Circular orbit with zero inclination
For
circular orbitA circular orbit is the orbit at a fixed distance around any point by an object rotating around a fixed axis.Below we consider a circular orbit in astrodynamics or celestial mechanics under standard assumptions...
s with zero inclination the argument of latitude is also undefined, because there is no uniquely determined line of nodes. One uses the
true longitudeIn astrodynamics true longitude is the longitude at which an orbiting body could actually be found if its inclination were zero. Together with the inclination and the ascending node, the true longitude can tell us the precise direction from the central object at which the body would be located at...
instead:

(if

then replace

by

)
where:
-
is x-component of orbital position vector
,
-
is x-component of orbital velocity vector
.
From the eccentric anomaly
The relation between the true anomaly

and the
eccentric anomalyIn celestial mechanics, the eccentric anomaly is an angular parameter that defines the position of a body that is moving along an elliptic Kepler orbit.For the point P orbiting around an ellipse, the eccentric anomaly is the angle E in the figure...
E is:
or equivalently
Therefore
where

is the polar argument of the vector

(available in many programming languages as the library function
atan2(y, x)In trigonometry, the two-argument function atan2 is a variation of the arctangent function. For any real arguments and not both equal to zero, is the angle in radians between the positive -axis of a plane and the point given by the coordinates on it...
, beware that the arguments are usually in reversed order).
Radius from true anomaly
The radius (distance from the focus of attraction and the orbiting body) is related to the true anomaly by the formula
where
a is the orbit's
semi-major axisThe major axis of an ellipse is its longest diameter, a line that runs through the centre and both foci, its ends being at the widest points of the shape...
(segment
cz).
See also
- Kepler's laws of planetary motion
In astronomy, Kepler's laws give a description of the motion of planets around the Sun.Kepler's laws are:#The orbit of every planet is an ellipse with the Sun at one of the two foci....
- Eccentric anomaly
In celestial mechanics, the eccentric anomaly is an angular parameter that defines the position of a body that is moving along an elliptic Kepler orbit.For the point P orbiting around an ellipse, the eccentric anomaly is the angle E in the figure...
- Mean anomaly
In celestial mechanics, the mean anomaly is a parameter relating position and time for a body moving in a Kepler orbit. It is based on the fact that equal areas are swept at the focus in equal intervals of time....
- Ellipse
In geometry, an ellipse is a plane curve that results from the intersection of a cone by a plane in a way that produces a closed curve. Circles are special cases of ellipses, obtained when the cutting plane is orthogonal to the cone's axis...
- Hyperbola
In mathematics a hyperbola is a curve, specifically a smooth curve that lies in a plane, which can be defined either by its geometric properties or by the kinds of equations for which it is the solution set. A hyperbola has two pieces, called connected components or branches, which are mirror...