User Rating 0.0
Total Usage 0 times
Is this tool helpful?

Your feedback helps us improve.

About

Jupiter completes one orbit around the Sun every 4,332.59 Earth days (11.86 years) along an ellipse with semi-major axis a = 5.2044 AU and eccentricity e = 0.0489. This simulator solves Kepler's equation at each frame using Newton-Raphson iteration to compute the Eccentric Anomaly E from the Mean Anomaly M, then derives the True Anomaly ν and radial distance r. Incorrect orbital period assumptions or circular-orbit approximations introduce positional errors exceeding 0.25 AU at aphelion. The inner planets (Mercury through Mars) are included for scale reference. All orbital elements use J2000 epoch values from JPL's planetary fact sheets. This tool approximates two-body Keplerian motion and does not model gravitational perturbations between planets.

jupiter orbit solar system simulation kepler equation orbital mechanics planet animation astronomy

Formulas

The position of a planet on its elliptical orbit is determined by solving Kepler's Equation, which relates the Mean Anomaly M (a linearly advancing angle) to the Eccentric Anomaly E (the geometric parameter of the ellipse):

M = E e sin(E)

This transcendental equation has no closed-form solution. The simulator uses Newton-Raphson iteration to converge on E:

En+1 = En En e sin(En) M1 e cos(En)

Once E is found, the True Anomaly ν is computed:

ν = 2 atan2(1 + e sin(E2), 1 e cos(E2))

The radial distance from the Sun is:

r = a (1 e cos(E))

Cartesian coordinates in the orbital plane:

x = r cos(ν), y = r sin(ν)

Where a = semi-major axis (AU), e = eccentricity (dimensionless), M = mean anomaly (rad), E = eccentric anomaly (rad), ν = true anomaly (rad), r = heliocentric distance (AU).

Reference Data

PlanetSemi-Major Axis (AU)EccentricityOrbital Period (days)Orbital Period (years)Inclination (°)Mean Velocity (km/s)Perihelion (AU)Aphelion (AU)
Mercury0.38710.205687.970.2417.0047.360.3070.467
Venus0.72330.0068224.700.6153.3935.020.7180.728
Earth1.00000.0167365.251.0000.0029.780.9831.017
Mars1.52370.0934686.971.8811.8524.071.3811.666
Jupiter5.20440.04894,332.5911.8621.3113.074.9505.459
Saturn9.58260.056510,759.2229.4572.499.689.04110.124
Uranus19.21840.045730,688.5084.0210.776.8018.33020.110
Neptune30.11000.011360,182.00164.8001.775.4329.77030.440
Pluto (dwarf)39.48210.248890,560.00247.94017.164.7429.65049.310
Ceres (dwarf)2.76750.07581,681.634.60410.5917.902.5582.977
Halley's Comet17.83400.967127,507.0075.320162.261.320.58635.082

Frequently Asked Questions

Kepler's equation M = E e sin(E) is transcendental. No closed-form algebraic solution exists for E given M. Newton-Raphson iteration converges to machine precision within 4-6 iterations for eccentricities below 0.1 (all major planets). For highly eccentric orbits like comets (e > 0.9), more iterations or Halley's method may be required.
The simulation uses J2000 epoch orbital elements from JPL. For short-term visualization (centuries), positional accuracy is within 0.01 AU for Jupiter. The model ignores gravitational perturbations from other planets, general relativistic precession, and non-gravitational forces. Over millennia, accumulated error in Jupiter's longitude of perihelion can exceed 1° due to Saturn's gravitational influence.
Kepler's Third Law states T2 a3. Mercury's orbital period is 87.97 days versus Jupiter's 4,332.59 days. Mercury's mean orbital velocity is 47.36 km/s compared to Jupiter's 13.07 km/s. The ratio of approximately 3.6× in velocity combined with the much smaller orbit makes Mercury's angular speed roughly 49× faster than Jupiter's.
Mean Anomaly M is a fictitious angle that increases uniformly with time at rate 2π/T. Eccentric Anomaly E is the angle measured from the center of the ellipse to the projection of the planet onto the auxiliary circle. True Anomaly ν is the actual angle from perihelion as seen from the focus (the Sun). For circular orbits (e = 0), all three are identical. As eccentricity increases, the discrepancy grows. Jupiter's low eccentricity of 0.0489 produces a maximum difference of approximately 5.6° between M and ν.
No. This is a 2D projection onto the ecliptic plane (Earth's orbital plane, inclination 0°). Jupiter's inclination is only 1.31° relative to the ecliptic, so the visual error is negligible. Mercury's 7° inclination would produce a more noticeable out-of-plane displacement, but for a top-down view this is acceptable.
Jupiter's aphelion distance is 5.459 AU while Mercury's perihelion is 0.307 AU, a ratio of approximately 17.8×. The simulator maps the maximum orbital extent (Jupiter's aphelion plus a margin) to the canvas half-width. Planet radii are exaggerated with a minimum pixel size to ensure visibility. A zoom control allows focusing on inner or outer planets independently.