Orbital Mechanics Simulator

Explore Kepler's laws and orbital dynamics. Adjust semi-major axis and eccentricity to see how orbits change shape, and observe how speed varies with distance from the central body.

Orbit Parameters

1.0
0.017
1.0

Properties

Semi-major axis1.000 AU
Eccentricity0.017
Period--
Perihelion--
Aphelion--
Distance--
Speed--
Escape v--

The Physics Behind It

Orbital Formulas

  • Vis-viva: v² = GM(2/r − 1/a)
  • Kepler's 3rd law: T² = 4π²a³/(GM)
  • Orbit equation: r(θ) = a(1−e²)/(1+e cosθ)
  • Escape velocity: vₒ = √(2GM/r)

Key Concepts

  • Kepler's 1st law: orbits are ellipses with the central body at one focus
  • Kepler's 2nd law: a line from planet to star sweeps equal areas in equal times — planets move faster near perihelion
  • Kepler's 3rd law: the square of the period is proportional to the cube of the semi-major axis
  • Eccentricity determines orbit shape: e=0 is circular, e near 1 is highly elongated