Newton's Law of Universal Gravitation
Every pair of masses in the universe attracts each other. Isaac Newton's law of universal gravitation quantifies that attraction: F = G × m1 × m2 / r², where F is the gravitational force in newtons, G is the gravitational constant (6.6743 × 10⁻¹¹ N·m²/kg²), m1 and m2 are the two masses in kilograms, and r is the distance between their centers of mass in meters. The force is always attractive, acts along the straight line connecting the two masses, and — by Newton's third law — pulls on both masses equally and oppositely, even though the resulting acceleration (a = F/m) differs for each one.
Why the distance is squared
Gravity is an inverse-square force: the r² in the denominator means force falls off much faster than distance grows. Doubling the separation between two masses reduces the force to one-quarter of its original value; moving them ten times farther apart cuts the force to one-hundredth. This inverse-square relationship also governs light intensity and other phenomena that spread outward from a point source across the surface of an expanding sphere (whose area grows as r²). It is why gravitational force between planets and moons — despite their enormous mass — is manageable at astronomical distances, while the same formula predicts negligible attraction between two coffee mugs sitting a few centimeters apart.
Getting accurate results
- Use center-to-center distance, not surface-to-surface. For large bodies like planets, r is measured between their centers of mass, not the gap between their surfaces.
- Keep units consistent. This calculator converts your chosen mass and distance units to kilograms and meters internally, so the result is always in newtons — mixing units yourself (e.g., mass in pounds with distance in feet) without conversion will give a wrong answer.
- Don't confuse gravitational force with weight. Weight (W = mg) is a shortcut for the gravitational force between an object and a specific planet at its surface; this calculator computes the general case between any two masses at any distance.
- Expect very large or very small numbers. Because G is tiny and astronomical masses are huge, results are often shown in scientific notation — that is expected, not an error.