Keplerian orbit: position, velocity and the law of areas
The exact state of a body on its ellipse at time t: Kepler’s equation, vis-viva, apsides, law of areas and the invariants h and ε.
Orbit
position and velocityPlayback covers one revolution in ten seconds; one screen second is 760 060 s of orbit.
- Kepler’s equation
- M = 2π t/T = 0 rad; E − e·sin E = M → E = 0 rad
- Radius
- r = a (1 − e·cos E) = 4.6001 × 10⁷ km
- Vis-viva
- v = √(μ (2/r − 1/a)) = 58.977 km/s
the geometry of the orbitthe radius vector r at the observed time
Result
continuous computation- Speedv
- 58.977 km/s
- Accelerationγ
- 0.062 716 m/s²
- Area swept since periapsisA
- 0 km²
- Mean anomalyM
- 0 rad
- Eccentric anomalyE
- 0 rad
- PeriodT
- 7.6006 × 10⁶ s
- Periapsisrperi
- 4.6001 × 10⁷ km
- Speed at periapsisvperi
- 58.977 km/s
- Apoapsisrapo
- 6.9817 × 10⁷ km
- Speed at apoapsisvapo
- 38.858 km/s
- Specific angular momentumh
- 2.713 × 10⁹ km²/s
- Specific orbital energyε
- −1.1459 × 10⁹ J/kg
- Areal velocitydA/dt
- 1.3565 × 10⁹ km²/s
One revolution lasts 87.969 days; this duration depends on the semi-major axis alone (third law).
Calculation, assumptions and sources
Provisional · Physical model · 1 source · reviewed on 25 August 2026
OverviewThe central mass, the semi-major axis, the eccentricity and the instant give, through Kepler’s equation, the position on the ellipse, the speed (vis-viva), the acceleration towards the occupied focus, the two apsides and the invariants h and ε.
The central mass, the semi-major axis, the eccentricity and the instant give, through Kepler’s equation, the position on the ellipse, the speed (vis-viva), the acceleration towards the occupied focus, the two apsides and the invariants h and ε. The “law of areas” view cuts the ellipse into twelve sectors of equal duration and equal area.
Method & formulasM = 2π t / T
Kepler’s equation has no solution in elementary functions: the solver applies Newton’s method down to a residual below 10⁻¹² (nine iterations at worst at e = 0.95). Speed, apsides, swept area and invariants follow in closed form. G is the CODATA 2018 value, the one used by the gravitation and orbits tool.
- Semi-major axis (a)
- half the major axis of the ellipse. It alone sets the period (third law) and the energy ε = −μ/(2a).
- Eccentricity (e)
- the flattening of the orbit: 0 for a circle, close to 1 for a very elongated ellipse. The foci sit at distance a·e from the centre.
- Anomalies (M and E)
- two angles that locate the body on its orbit. M, the mean angle, grows linearly with time; E locates the true position on the ellipse. Kepler’s equation ties them together.
- Periapsis and apoapsis
- the two ends of the major axis: r_peri = a(1−e), the closest and fastest point; r_apo = a(1+e), the farthest and slowest. Conservation of h imposes r_peri·v_peri = r_apo·v_apo.
- Areal velocity (dA/dt)
- the area swept by the radius vector per unit time. It is constant and equals πab/T = h/2 (Kepler’s second law).
AssumptionsTest body: m ≪ M, the central body is point-like and fixed at the occupied focus.
- Test body: m ≪ M, the central body is point-like and fixed at the occupied focus. The motion of both masses about the barycentre is not handled.
- Newtonian two-body gravitation: no J2 flattening, no atmospheric drag, no third body, no relativity.
Validity domain1 validity limit; the calculation refuses values outside 1 of them
Mercury’s perihelion advance, 43″ per century (Le Verrier, 1859), explained by general relativity (Einstein, 1915), is outside this model. The conversion 1 au = 149,597,870,700 m is exact by definition (IAU 2012 B2); the uncertainty of the results comes from G and from the inputs.
0 ≤ e ≤ 0.95practical · refusal
The eccentricity is bounded between 0 (circle) and 0.95, the limit of the display and of the solver tests.
Instead · For a near-circular orbit, enter e = 0; a near-parabolic or hyperbolic trajectory is outside this model.
The time plot and the law of areasOn the chronicle, r/a runs from 1 − e to 1 + e; its amplitude is the eccentricity.
On the chronicle, r/a runs from 1 − e to 1 + e; its amplitude is the eccentricity. The body spends most of its period far from the focus, where it moves slowly. For an equal duration T/12, the arc covered is long at periapsis and short at apoapsis, for the same area πab/12.
Example: MercuryWith the mean elements of Mercury proposed by the form (Standish table, JPL, valid 1800-2050) and M = GM of the Sun / G, the model gives T = 87.969 days, the observed period of Mercury, v_peri ≈ 59 km/s and v_apo ≈ 39 km/s.
With the mean elements of Mercury proposed by the form (Standish table, JPL, valid 1800-2050) and M = GM of the Sun / G, the model gives T = 87.969 days, the observed period of Mercury, v_peri ≈ 59 km/s and v_apo ≈ 39 km/s.
SourcesIAU
Scientific validationProvisional, reviewed on 25 August 2026
Provisional · Sources and assumptions are provided; the documentary review is incomplete.
Physical model. The result follows the significant figures of the least precise input.
Revision log
Tool creation: exact orbital state at time t on the elliptical branch (Kepler’s equation solved by Newton, residual below 10⁻¹²), apsides, invariants h and ε, acceleration μ/r², law of areas in twelve equal-duration sectors.
First published result of the tool, with no earlier value to compare against.