Understanding Newton's Law of Universal Gravitation
Almost every calculator on this site — weight on other worlds, escape velocity, orbital period — ultimately traces back to one equation Isaac Newton published in 1687: the law of universal gravitation. It's a short formula with an outsized reach, explaining everything from why apples fall to why the Moon doesn't.
The Formula
Newton's law states that every object with mass attracts every other object with mass, with a force equal to:
F = G × (m₁ × m₂) / r²
Here F is the gravitational force between two objects, m₁ and m₂ are their masses, r is the distance between their centers, and G is the gravitational constant — a fixed number, 6.6743×10⁻¹¹ m³ kg⁻¹ s⁻² (NIST CODATA 2018), that sets the overall strength of gravity in the universe.
What 'Universal' Really Means
Before Newton, gravity on Earth and the motion of the planets were treated as separate subjects, studied with separate rules. Newton's insight was that the same force pulling an apple to the ground also holds the Moon in orbit around Earth and the planets in orbit around the Sun — one law, applying everywhere, to everything with mass. That's what 'universal' means in the name: not a local rule for Earth, but a description of how mass and distance relate anywhere in the cosmos.
This single idea let Newton derive Kepler's three empirically discovered laws of planetary motion from pure mathematics — see Kepler's Third Law Explained for the orbital-period half of that story.
The Inverse-Square Relationship
The r² in the denominator means gravitational force drops off with the *square* of distance, not distance itself — double the distance between two objects, and the gravitational pull between them drops to a quarter of its original strength, not half.
This inverse-square behavior shows up throughout physics (light intensity follows the same pattern), and it's why a small change in orbital distance can mean a large change in orbital dynamics.
| Distance | Relative force |
|---|---|
| d (original) | 1× (full strength) |
| 2d (double) | 1/4× |
| 3d (triple) | 1/9× |
| 10d (ten times) | 1/100× |
From Force to the Calculators on This Site
Newton's general force formula isn't used directly in most of our calculators — instead, it's the foundation underneath them. Surface gravity, for instance, is just Newton's law applied with one of the two masses being a planet and r being that planet's radius, simplified into g = GM/r². Escape velocity comes from setting an object's kinetic energy equal to the gravitational potential energy implied by this same force law. Orbital period comes from balancing this gravitational force against the centripetal force needed to keep an object moving in a curve.
In other words: this one formula, applied in three different ways, produces three of our eight calculators.
Worked Example: The Gravitational Pull Between Earth and the Sun
As a sense check, here's Newton's formula applied to Earth and the Sun themselves, using Earth's mass (5.97237×10²⁴ kg), the Sun's mass (about 1.989×10³⁰ kg), and their average distance (1 AU = 1.495978707×10¹¹ m).
- Multiply the masses: 5.97237×10²⁴ × 1.989×10³⁰ ≈ 1.1877×10⁵⁵
- Square the distance: (1.495978707×10¹¹)² ≈ 2.238×10²²
- Divide: 1.1877×10⁵⁵ / 2.238×10²² ≈ 5.307×10³²
- Multiply by G: 5.307×10³² × 6.6743×10⁻¹¹ ≈ 3.542×10²² newtons — the force holding Earth in orbit
Where Newton's Law Needs an Upgrade
Newton's law of gravitation is extraordinarily accurate for almost every situation astronomers and engineers deal with day to day — it's precise enough to plan interplanetary missions. It's not, however, perfectly accurate in extreme conditions: very strong gravitational fields (close to black holes) and very precise measurements (like the tiny, famous discrepancy in Mercury's orbit) require Einstein's general relativity instead. For everything on this site — planets, moons, ordinary orbits and escape velocities — Newton's formula is exactly what NASA and JPL themselves use for these same calculations.
The Mercury discrepancy is worth a closer look because it's a genuinely interesting piece of scientific history: astronomers in the 19th century noticed that Mercury's elliptical orbit slowly rotates (precesses) slightly faster than Newton's law alone predicted, by a tiny amount — about 43 arcseconds per century, a gap too small to matter for almost any practical purpose but too consistent to be observational error. For decades this was treated as a puzzle, with some astronomers even proposing an undiscovered planet (sometimes called 'Vulcan') closer to the Sun to explain it. Einstein's general relativity, published in 1915, accounted for the missing 43 arcseconds exactly, without needing a new planet — one of the first strong pieces of evidence that Newton's law, while remarkably good, wasn't the final word on gravity.
Common mistakes
- Thinking gravitational force depends only on mass and not distance — the r² term means distance changes the force dramatically.
- Confusing G (the universal gravitational constant, always 6.6743×10⁻¹¹) with g (surface gravity, which is different for every planet) — see What Is Standard Gravity and Why 9.8 m/s² Matters.
- Assuming the formula only applies to planets and stars — it applies to any two masses, including everyday objects, though the force is too tiny to notice at human scales.
FAQ
What's the difference between G and g?
G is the universal gravitational constant (6.6743×10⁻¹¹ m³ kg⁻¹ s⁻²), the same everywhere in the universe. Lowercase g is surface gravity, a derived value that's different for every planet because it depends on that planet's specific mass and radius.
Did Newton know why gravity existed, not just how it behaved?
No — Newton's law describes gravity's behavior precisely but doesn't explain its underlying cause. That explanation came over two centuries later with Einstein's general relativity, which describes gravity as the curvature of spacetime rather than a force acting at a distance.
Does this formula work for objects orbiting each other, like two stars?
Yes — the law applies symmetrically to any two masses, which is exactly how binary star systems and the orbits of moons around planets are calculated.
Sources
- NIST Fundamental Physical Constants — accessed 2026-11-06
- JPL Solar System Dynamics — accessed 2026-11-06