Animate Mercury's Orbit
Interactive Mercury orbit animation with real Keplerian mechanics. Visualize eccentricity, perihelion, aphelion, and orbital velocity in real-time.
About
Mercury follows the most eccentric orbit of all planets in our solar system, with an eccentricity of e = 0.2056. This means its distance from the Sun varies from 46.0 million km at perihelion to 69.8 million km at aphelion. A miscalculation of Mercury's position contributed to anomalies that Newtonian mechanics could not explain. General relativity resolved this with a perihelion precession of 43 arcseconds per century. This simulator solves Kepler's equation numerically each frame to compute true anomaly Ξ½ from mean anomaly M, producing an accurate depiction of orbital speed variation governed by Kepler's second law.
The tool approximates Mercury's orbit as a fixed 2D ellipse and does not model relativistic precession or gravitational perturbations from other planets. Orbital elements are sourced from NASA JPL epoch J2000. Velocity shading on the trail illustrates the conservation of angular momentum: Mercury moves fastest at perihelion and slowest at aphelion.
Formulas
The position of Mercury at any time is found by solving Kepler's Equation, which relates mean anomaly M (linear in time) to eccentric anomaly E (geometric angle on the auxiliary circle):
This transcendental equation is solved iteratively using Newton-Raphson:
The true anomaly Ξ½ is then derived from E:
The radial distance from the Sun is computed from the orbit equation:
Cartesian coordinates follow from rotation by the argument of perihelion Ο:
Where: a = semi-major axis (57.909 Γ106 km), e = eccentricity (0.20563), M = mean anomaly (advances 4.092Β°/day), E = eccentric anomaly, Ξ½ = true anomaly, Ο = argument of perihelion (29.124Β°), r = heliocentric distance.
Reference Data
| Parameter | Symbol | Value | Unit |
|---|---|---|---|
| Semi-major axis | a | 57.909 | Γ106 km |
| Semi-minor axis | b | 56.672 | Γ106 km |
| Eccentricity | e | 0.20563 | - |
| Orbital period | T | 87.969 | Earth days |
| Perihelion distance | q | 46.002 | Γ106 km |
| Aphelion distance | Q | 69.817 | Γ106 km |
| Mean orbital velocity | vmean | 47.36 | km/s |
| Max orbital velocity (perihelion) | vmax | 58.98 | km/s |
| Min orbital velocity (aphelion) | vmin | 38.86 | km/s |
| Argument of perihelion | Ο | 29.124 | Β° |
| Inclination to ecliptic | i | 7.005 | Β° |
| Longitude of ascending node | Ξ© | 48.331 | Β° |
| Mass | m | 3.3011 Γ 1023 | kg |
| Equatorial radius | R | 2439.7 | km |
| Surface gravity | g | 3.7 | m/s2 |
| Rotational period | - | 58.646 | Earth days |
| Solar day (synodic) | - | 175.942 | Earth days |
| Perihelion precession (GR) | - | 43 | arcsec/century |
| Hill sphere radius | - | 175,300 | km |
| Escape velocity | - | 4.25 | km/s |