The two factors that keep planets in orbit are gravity and inertia. Gravity pulls a planet toward the Sun, while inertia keeps it moving forward in a straight line. The constant tug-of-war between these two forces bends a planet’s path into a curved, repeating orbit rather than letting it fly off into space or crash into the Sun.
Gravity: The Inward Pull
Gravity is the force of attraction between any two objects that have mass. The Sun, being far more massive than any planet, exerts a strong gravitational pull that draws planets toward it. Isaac Newton described this relationship mathematically: the force of gravity between two objects is proportional to the product of their masses and gets weaker as the distance between them increases. Specifically, doubling the distance between two objects cuts the gravitational pull to one quarter of its original strength.
This means planets closer to the Sun feel a much stronger pull than those farther away. Mercury, the closest planet, orbits at roughly 170,500 km/h. Neptune, the farthest major planet, moves at just 19,566 km/h. The stronger gravity closer to the Sun demands a faster orbital speed to maintain a stable path.
Inertia: The Forward Motion
Inertia is the tendency of a moving object to keep moving in a straight line at the same speed unless something acts on it. This is Newton’s first law of motion, and it applies to planets just as it applies to a ball rolling across a floor. When the solar system formed billions of years ago, the swirling cloud of gas and dust gave the planets their initial forward motion. That motion has never stopped because space is essentially a vacuum with almost nothing to slow them down.
Without gravity, a planet’s inertia would carry it in a straight line out of the solar system forever. Without inertia, gravity would pull it directly into the Sun. The combination of the two creates a continuous curve. Earth, for example, travels at about 29.8 km/s (roughly 107,000 km/h) along its orbital path. At every moment, gravity bends that straight-line motion just enough to keep Earth circling the Sun rather than flying off on a tangent.
How the Two Forces Create a Curve
Newton illustrated this beautifully with a thought experiment. Imagine a cannon on top of an impossibly tall mountain, firing a cannonball horizontally. At low speed, the cannonball arcs downward and hits the ground. Fire it faster, and it travels farther before landing. At just the right speed, the cannonball falls toward the Earth at exactly the same rate that the Earth’s surface curves away beneath it. The cannonball never lands. It orbits.
This is precisely what planets do. A planet is always “falling” toward the Sun because of gravity, but its forward speed (from inertia) carries it sideways fast enough that it keeps missing. The gravitational pull acts as what physicists call centripetal acceleration: a constant inward tug that bends a straight path into a circle, or more accurately, an ellipse.
Why Orbits Are Ellipses, Not Circles
In the early 1600s, Johannes Kepler discovered that planets don’t move in perfect circles. They follow ellipses, which are slightly flattened circles. The Sun sits not at the center of the ellipse but at one of its two focal points. This means a planet’s distance from the Sun changes throughout its orbit. When a planet is closer to the Sun, gravity is stronger and the planet speeds up. When it’s farther away, gravity weakens and the planet slows down.
Kepler also found that a planet sweeps out equal areas of its orbit in equal amounts of time. In practical terms, this means planets spend less time on the close-in portion of their orbit (moving fast) and more time on the far side (moving slowly). These patterns are a direct consequence of how gravity and inertia interact at varying distances.
Einstein’s Deeper Explanation
Newton’s framework of gravity and inertia works extremely well for understanding planetary orbits, but Albert Einstein offered a deeper explanation. In his theory of general relativity, gravity isn’t a force pulling objects together. Instead, massive objects like the Sun warp the fabric of space and time around them. A planet moves along the straightest possible path through this curved spacetime, and that path happens to look like an ellipse from our perspective.
A common analogy is a bowling ball placed on a stretched rubber sheet. The ball creates a dip, and a marble rolled nearby follows a curved path around it, not because the bowling ball is “pulling” the marble, but because the surface itself is deformed. As Einstein summarized it: matter tells spacetime how to curve, and curved spacetime tells matter how to move. For everyday orbital mechanics, Newton’s description of gravity and inertia gives the same answers. Einstein’s version becomes essential only in extreme situations, like orbits near black holes or very precise measurements of Mercury’s orbit.
What Could Disrupt the Balance
For planets orbiting the Sun, the balance between gravity and inertia is extraordinarily stable. Space is nearly empty, so there’s essentially no friction to slow a planet down and cause it to spiral inward. This is very different from satellites orbiting Earth at low altitudes. Below about 250 km, traces of Earth’s atmosphere create drag that gradually slows satellites, shrinking their orbits until they burn up on reentry. Solar weather, like increased activity during solar maximum, can puff up Earth’s atmosphere and speed up this decay.
Planets face no such drag. The only realistic threats to a planet’s orbit are gravitational interactions with other massive bodies, like a rogue star passing through the solar system. In our solar system, the planets have settled into stable, well-separated orbits over billions of years, and the balance between gravity and inertia will keep them there for billions more.

