StringMash.com

Gravitational force calculator

F = G m₁ m₂ ÷ r². Give any three and get the fourth, with the working. Drag the two masses apart and watch the force fall with the square of the distance.

Gravitational force calculator

Work out
Presets:

Type big and small numbers as 5.97e24 or 5.97 × 10^24. r is measured between the centres.

F = 1.982 × 10²⁰ N

Two masses and the pull of each on the otherEarthMoonr = 3.844 × 10⁸ m

Drag either mass, or Tab to one and use the arrow keys. Halve the distance and each arrow gets four times longer.

Steps
  1. F = G × m₁ × m₂ ÷ r²
  2. m₁ × m₂ = 5.972 × 10²⁴ × 7.346 × 10²² = 4.387 × 10⁴⁷ kg²
  3. r² = (3.844 × 10⁸)² = 1.478 × 10¹⁷ m²
  4. F = 6.674 × 10⁻¹¹ × 4.387 × 10⁴⁷ ÷ 1.478 × 10¹⁷
  5. F = 1.982 × 10²⁰ N

Using the calculator

Choose what to solve for, then fill in the other three. Masses are in kilograms and the force in newtons; the distance can be in kilometres or metres. Very big and very small numbers can be typed as 5.97e24 or 5.97 × 10^24.

The presets fill in the Earth and the Moon, the Earth and the Sun, and two 70 kg people standing 1 m apart, using NASA's masses and average distances. Drag either mass in the drawing to change the distance, and the calculator switches to solving for the force.

The formula

F = G × m₁ × m₂ ÷ r². F is the force each mass pulls the other with, m₁ and m₂ are the two masses, and r is the distance between their centres. G is the gravitational constant, 6.674 30 × 10⁻¹¹ N m²/kg², from the CODATA values published by NIST.

The force is the same on both. The Earth pulls the Moon with 1.982 × 10²⁰ N and the Moon pulls the Earth with the same 1.982 × 10²⁰ N. The Earth hardly moves because it has 81 times the Moon's mass.

Rearranged for the other three: m₁ = F × r² ÷ (G × m₂), m₂ = F × r² ÷ (G × m₁), and r = √(G × m₁ × m₂ ÷ F).

The inverse square law

The distance is squared, so double it and the force drops to a quarter. Triple it and the force is a ninth. Halve it and the force is four times as strong. The arrows in the drawing follow this as you drag.

The same law gives surface gravity. Put Earth's mass and radius into G × M ÷ r² and you get 6.674 × 10⁻¹¹ × 5.972 × 10²⁴ ÷ (6.371 × 10⁶)² = 9.82 m/s², the figure NASA gives for Earth.

A little history

Isaac Newton set out the law in the Principia, published on 5 July 1687. He wrote it as a proportion and never used a constant G. The first measurement of gravity between masses in a laboratory was Henry Cavendish's torsion balance experiment of 1798, which he used to find the density of the Earth; the value of G was worked out from his results later.

Questions

What is the gravitational force between the Earth and the Moon?

About 1.982 × 10²⁰ N, using NASA's masses (5.9722 × 10²⁴ kg and 7.346 × 10²² kg) and the Moon's average distance of 384,400 km.

What is the gravitational force between the Earth and the Sun?

About 3.542 × 10²² N at the average distance of 149.598 million km.

Why don't I feel the pull of the person next to me?

It's far too small. Two 70 kg people 1 m apart pull on each other with about 3.27 × 10⁻⁷ N, roughly the weight of a few hundredths of a milligram.

What is G?

The gravitational constant, 6.674 30 × 10⁻¹¹ N m²/kg². It's the force in newtons between two 1 kg masses 1 m apart.

Is G the same as g?

No. G is the same everywhere. Little g is the acceleration from gravity at one place, such as 9.82 m/s² on Earth or 1.62 m/s² on the Moon.

What happens to the force if the distance doubles?

It falls to a quarter, because the distance is squared in the formula.

Sources

Added . Last updated and reviewed . What's new