Gravitational Force Calculator
Calculate the gravitational attraction between any two masses using F = Gm₁m₂/r². Covers planets, moons, and everyday objects.
What Is Newton's Law of Gravitation?
Newton's Law of Universal Gravitation states that every mass in the universe attracts every other mass with a force proportional to the product of their masses and inversely proportional to the square of the distance between their centers: F = Gm₁m₂/r².
The gravitational constant G = 6.674 × 10⁻¹¹ N·m²/kg² is one of the fundamental constants of nature, first measured by Henry Cavendish in 1798 using a torsion balance experiment. It is extraordinarily small, meaning gravity is by far the weakest of the four fundamental forces — yet it dominates the universe at large scales because it acts over infinite distances and is always attractive (unlike electromagnetism, which has both charges).
The inverse-square relationship (∝ 1/r²) is crucial. Doubling the distance reduces force to 1/4; tripling it reduces to 1/9. This explains why gravity weakens rapidly with altitude, why planets closer to the Sun orbit faster (Kepler's Laws follow directly from this), and why a satellite in low Earth orbit experiences much stronger gravity than one in geostationary orbit.
While Newton's law is extremely accurate for most purposes, it is superseded by Einstein's General Theory of Relativity for extreme cases: very strong fields (near black holes), very precise measurements (GPS requires relativistic corrections), and cosmological scales. For all everyday, engineering, and most astrophysical calculations, F = Gm₁m₂/r² is indispensable.
Formula Reference
| Quantity | Formula | Notes |
|---|---|---|
| Gravitational Force | F = G·m₁·m₂ / r²
|
G = 6.674×10⁻¹¹ N·m²/kg² |
| Surface gravity | g = GM/R²
|
M = planet mass, R = radius |
| Earth's surface g | g = 9.8 m/s²
|
M_Earth = 5.97×10²⁴ kg, R = 6.37×10⁶ m |
| Escape velocity | v_e = √(2GM/r)
|
Minimum speed to escape gravity |
| Orbital velocity | v_o = √(GM/r)
|
Circular orbit at radius r |
| Gravitational PE | PE = −GMm/r
|
Negative; zero at infinity |
3 Worked Examples
Verify Earth's surface gravity using F = Gm₁m₂/r² for a 70 kg person.
- M_Earth = 5.97×10²⁴ kg, R = 6.37×10⁶ m
- F = (6.674×10⁻¹¹ × 5.97×10²⁴ × 70) / (6.37×10⁶)²
- F = (2.789×10¹⁶) / (4.058×10¹³) = 687 N
- Check: F = mg = 70 × 9.8 = 686 N ✓
Calculate the Moon's surface gravitational acceleration (M = 7.35×10²² kg, R = 1.74×10⁶ m).
- g_Moon = GM/R² = (6.674×10⁻¹¹ × 7.35×10²²) / (1.74×10⁶)²
- Numerator: 4.906×10¹²
- Denominator: 3.028×10¹²
- g_Moon = 1.62 m/s² (16.5% of Earth's g)
Two adjacent mountains each 10⁹ kg are separated by 500 m center-to-center. What is their mutual attraction?
- F = G×m₁×m₂/r² = 6.674×10⁻¹¹ × 10⁹ × 10⁹ / 500²
- F = 6.674×10⁻¹¹ × 10¹⁸ / 250,000
- F = 6.674×10⁷ / 2.5×10⁵ = 267 N
- About 27 kg-force — measurable but small
Real-World Applications
Common Mistakes
G = 6.674×10⁻¹¹. Without planetary masses (10²⁴ kg), gravitational forces between everyday objects are unmeasurably tiny. Two 100 kg people 1 m apart feel only 6.7×10⁻⁷ N — far too small to notice.
r in F = Gm₁m₂/r² is the distance between centers, not between surfaces. Earth's radius is 6,371 km from center — not the number to use for surface separation problems.
G is the universal constant (6.674×10⁻¹¹ N·m²/kg²). g is the surface gravitational acceleration (9.8 m/s² on Earth, varies by planet). They're related by g = GM/R² but are very different quantities.
Always convert r to meters before squaring. If r = 400 km = 4×10⁵ m, then r² = 1.6×10¹¹ m² — not 400² = 160,000 (in km²).
For a uniform sphere, the shell theorem states: external point feels all mass concentrated at center; internal point feels only mass inside its radius. The formula F = Gm₁m₂/r² is exact only for point masses or from outside uniform spheres.
Frequently Asked Questions
Related Calculators
Formula Explorer connections
Interpretation: This relationship connects motion, force, momentum, work or energy in a mechanical system. Assumption: Choose a consistent reference direction and unit system. The model may assume constant acceleration, rigid bodies, negligible losses or an isolated system.