Home▸Articles▸Space & Astronomy

Orbital Mechanics: Gravity, Eccentricity & Kepler's Laws (2D)

Understanding the fundamental principles that govern celestial motion and spacecraft trajectories.

mysimulator teamUpdated June 2026≈ 3 min read▶ Open the simulation

What Orbital Mechanics Is

Orbital mechanics is the application of classical mechanics to the motion of celestial bodies and spacecraft. It involves understanding how gravity shapes the paths that planets, moons, comets, and artificial satellites follow around a central body.

The field encompasses various laws and principles, including Kepler's Laws of Planetary Motion and Newton's Law of Universal Gravitation.

How Orbital Mechanics Works

Orbital mechanics is governed by the inverse-square law of gravity, which states that the gravitational force between two masses decreases with the square of the distance between them. This leads to elliptical orbits for most celestial bodies, as described by Kepler's First Law.

Kepler’s Second and Third Laws further refine our understanding: the speed of an orbiting body varies depending on its position in its orbit (Second Law), and the period of a planet is related to the semi-major axis of its orbit (Third Law).

live demo · related simulation● LIVE

Why It Matters

Understanding orbital mechanics is crucial for space exploration, satellite deployment, and even predicting the behavior of asteroids and comets. It allows us to design trajectories for spacecraft, ensure safe landings on planets, and maintain stable orbits for satellites.

Moreover, it provides insights into the dynamics of our solar system and beyond, helping astronomers understand the movements of distant galaxies and black holes.

Real-World Applications

Orbital mechanics is essential in launching rockets to place satellites in orbit around Earth or send probes to other planets. For instance, the Hubble Space Telescope orbits Earth at a precise altitude and speed to maintain its position relative to our planet.

In addition, it plays a key role in mission design for interplanetary travel, such as the Mars rovers, which require careful planning of trajectories to account for gravitational forces and solar energy availability.

Frequently asked questions

What is Kepler's First Law?

Kepler’s First Law states that planets move in elliptical orbits with the Sun at one focus. This law describes the shape of planetary orbits as ellipses, not perfect circles.

How does mutual gravity affect orbits?

Mutual gravity between two orbiting bodies can perturb their trajectories, causing changes in their elliptical paths or even leading to collisions if the forces are strong enough. This is why Earth’s Moon has a significant effect on our tides.

What does eccentricity tell us about an orbit?

Eccentricity measures how much an orbit deviates from being circular. A value of 0 indicates a perfect circle, while values closer to 1 indicate more elongated ellipses or even parabolic or hyperbolic trajectories.

How do you calculate the orbital period?

The orbital period can be calculated using Kepler's Third Law: T^2 = (4π^2 / GM) * a^3, where T is the period, G is the gravitational constant, M is the mass of the central body, and a is the semi-major axis of the orbit.

Try it live

Everything above runs in your browser — open Orbital Mechanics: Gravity, Eccentricity & Kepler's Laws (2D) and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open Orbital Mechanics: Gravity, Eccentricity & Kepler's Laws (2D) simulation

What did you find?

Add reproduction steps (optional)