Gravitational Force Calculator

Newton’s law of universal gravitation says every two masses attract each other with a force F = G·m₁·m₂ ÷ r². For the Earth and the Moon, 384,400 km apart, the force is about 1.98 × 10²⁰ newtons, and the Moon accelerates toward Earth at 0.0027 m/s².

Last updated · By · Runs in your browser, nothing is uploaded

Result

Step-by-Step Solution

Enter your values above to see the full working.

What Is Gravitational Force?

Gravity is the attraction between any two objects that have mass. It holds you to the ground, keeps the Moon in orbit around the Earth and the planets around the Sun, and shapes galaxies. Isaac Newton showed that the same law explains an apple falling and the Moon circling: the force depends on the two masses and the distance between their centres.

Two features of the law matter most. First, the force is proportional to both masses, so doubling either doubles the force. Second, it follows an inverse-square law: doubling the distance cuts the force to a quarter. Because the constant G is tiny, 6.674 × 10⁻¹¹ N·m²/kg², gravity is noticeable only when at least one of the masses is enormous, like a planet.

The Gravitational Force in Different Situations

SituationMassesDistanceForce
Earth and Moon5.972 × 10²⁴ kg, 7.348 × 10²² kg3.844 × 10⁸ m1.98 × 10²⁰ N
Earth and a 0.1 kg apple5.972 × 10²⁴ kg, 0.1 kg6.371 × 10⁶ m0.982 N
Two 70 kg people70 kg, 70 kg1 m3.3 × 10⁻⁷ N
Sun and Earth1.989 × 10³⁰ kg, 5.972 × 10²⁴ kg1.496 × 10¹¹ m3.54 × 10²² N

Newton’s Law of Gravitation

F = G · m₁ · m₂ ÷ r² G = 6.674 × 10⁻¹¹ N·m²/kg² a₁ = F ÷ m₁ a₂ = F ÷ m₂
  • F is the gravitational force in newtons, the same on both objects.
  • m₁ and m₂ are the two masses in kilograms.
  • r is the distance between the centres of the masses, in metres.
  • Each object’s acceleration is the force divided by its own mass (Newton’s second law), so the lighter object accelerates more.

The acceleration formula links to the Newton’s second law calculator. For very large numbers, the scientific notation calculator helps with the exponents.

How Is It Calculated? Worked Examples

The Earth and the Moon

  1. m₁ = 5.972 × 10²⁴ kg, m₂ = 7.348 × 10²² kg, r = 3.844 × 10⁸ m.
  2. Numerator: 6.674 × 10⁻¹¹ × 5.972 × 10²⁴ × 7.348 × 10²² = 2.929 × 10³⁶.
  3. Denominator: r² = 1.478 × 10¹⁷.
  4. F = 1.98 × 10²⁰ N.
  5. Moon’s acceleration: F ÷ m₂ = 0.0027 m/s². Earth’s acceleration toward the Moon is only 3.3 × 10⁻⁵ m/s².

An Apple on the Earth’s Surface

A 0.1 kg apple at a distance of 6,371 km from the Earth’s centre feels a force of 0.982 N, which is its weight. Dividing by 0.1 kg gives 9.82 m/s², the familiar g.

Two People

Two 70 kg people standing 1 m apart attract each other with only 3.3 × 10⁻⁷ N, about a ten-millionth of the weight of a paperclip. Everyday gravity between objects is negligible.

The Inverse-Square Law

DistanceRelative force
r1
2r1/4
3r1/9
10r1/100

Moving twice as far from the Earth’s centre, about 12,742 km, reduces your weight to a quarter.

Escape Velocity and Orbital Speed

Gravity also sets the speeds needed to leave or orbit a planet. Escape velocity from the Earth’s surface is √(2GM ÷ r) = √(2 × 3.986 × 10¹⁴ ÷ 6.371 × 10⁶) ≈ 11.2 km/s. A satellite in a circular orbit, such as the International Space Station about 6,780 km from the Earth’s centre, travels at √(GM ÷ r) ≈ 7.67 km/s, completing an orbit in about 92 minutes.

How to Use This Gravitational Force Calculator

  1. Enter mass 1 in kilograms.
  2. Enter mass 2 in kilograms.
  3. Enter the distance between their centres in metres.
  4. Read the gravitational force and the acceleration each mass experiences.

Use scientific notation for large values, such as 5.972e24. For a planet’s surface, use its radius as the distance.

Where Gravitational Force Calculations Are Used

  • Astronomy: orbits, tides, planetary masses and the dynamics of binary stars.
  • Space missions: trajectory planning and gravity assists.
  • Geophysics: measuring tiny changes in gravity to find mineral and oil deposits.
  • Education: demonstrating inverse-square laws.
  • Engineering: weight at different altitudes and on other planets.

What Are the Most Common Mistakes With the Gravitational Force Calculator?

  • Measuring from the surface instead of the centre. The distance r is between centres of mass.
  • Forgetting to square the distance. The force falls as 1/r².
  • Mixing kilometres and metres. Convert distances to metres.
  • Thinking the heavier body feels more force. Both feel the same force, but the lighter one accelerates more.
  • Applying it to non-spherical objects at close range. The formula assumes point masses or spheres.
  • Using it for very strong gravity. Near black holes, general relativity is needed.

Where Can You Verify These Formulas?

The definitions and formulas on this page follow standard references. Check them against these sources:

Built and maintained by S. Dilshan. Found a mistake? Email [email protected] with the page address.

Frequently Asked Questions

What is the formula for gravitational force?

F = G·m₁·m₂ ÷ r², where G = 6.674 × 10⁻¹¹ N·m²/kg².

What is the force between the Earth and the Moon?

About 1.98 × 10²⁰ newtons.

Why is gravity so weak between everyday objects?

Because G is extremely small. You need a planet-sized mass to produce a noticeable force.

What is an inverse-square law?

A relationship in which the force decreases with the square of the distance. Doubling the distance makes the force one quarter as strong.

Does the Moon pull on the Earth as much as the Earth pulls on the Moon?

Yes. The forces are equal and opposite (Newton’s third law), but the Earth’s acceleration is much smaller because its mass is much larger.

How is weight related to gravitational force?

Weight is the gravitational force on an object from the planet: W = mg, where g = GM/R².