How it’s calculated
Newton's law of universal gravitation says every mass attracts every other mass with a force that grows with the product of the masses and falls off with the square of the distance between their centers. The two bodies pull on each other with equal and opposite forces, though the lighter one accelerates more.
Example (OpenStax University Physics Vol. 1, Example 13.1): two 9000 kg Soyuz spacecraft 10.0 m apart (center to center; enter 10 and choose m in the distance unit picker) attract each other with F = 6.6743 × 10⁻¹¹ × 9000 × 9000 ÷ 10² = 5.41 × 10⁻⁵ N. The book, using G = 6.67 × 10⁻¹¹, gets 5.4 × 10⁻⁵ N and an acceleration of 6.0 × 10⁻⁹ m/s² for each.
The formula treats each object as a point mass at its center, and is exact for uniform spheres. Use the distance between centers, so for an object on Earth's surface, use Earth's radius (about 6371 km), not zero.
Frequently asked questions
What is the value of G?
G = 6.6743 × 10⁻¹¹ m³·kg⁻¹·s⁻² (CODATA 2022). It is known only to about 5 significant figures, making it one of the least precisely measured fundamental constants.
Why is the gravitational force between everyday objects so small?
G is tiny. Two 70 kg people 1 m apart attract each other with only about 3.3 × 10⁻⁷ N, far less than the weight of a grain of sand.
Do I measure the distance from the surface or the center?
From center to center. For an object near a planet, add the planet radius to the height above the surface.
How is this related to weight and g?
At Earth's surface F = G·M·m/R² = m·g, so g = G·M/R² ≈ 9.8 m/s². Set m₁ to Earth's mass and r to Earth's radius to see it.
Embed this calculator
Add this free calculator to your own website. Copy the code below into your page’s HTML:
Need this calculator branded, changed or built around your own prices?See custom business solutions →
Sources
- University Physics Volume 1, §13.1 Newton's Law of Universal Gravitation — OpenStax
- CODATA value: Newtonian constant of gravitation (2022) — NIST
- Earth Fact Sheet (mass, radius) — NASA
- Moon Fact Sheet (mass, distance) — NASA
Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.
Added · Last updated · How we check our calculators
Spotted a mistake or missing option? Report a problem· Suggest a calculator