Skip to content

Newton's Law of Gravitation Explained: F = Gm₁m₂/r², the Inverse-Square Law and g

Learn what Newton's law of gravitation says, how to use F = Gm₁m₂/r² and the inverse-square law, why everyday objects barely attract each other, and how the same law gives your weight and the value of g on the Earth and the Moon. With worked examples using real values.

Published · 7 min read

On this page

Newton's law of gravitation says that every object with mass attracts every other object with mass. The size of the pull depends on two things: how big the masses are, and how far apart their centres are. In symbols:

F=Gm1m2r2F = \frac{G m_1 m_2}{r^2}

G is the gravitational constant, 6.67×10−116.67 \times 10^{-11} N m² kg⁻². It is tiny, so the pull between everyday objects is far too weak to notice. The force only becomes large when at least one mass is enormous, such as a planet or a star.

Your weight is this same force, acting between you and the Earth. That link gives a formula for the gravitational field strength at the surface of a planet of mass M and radius R, g=GM/R2g = GM/R^2, and explains why g on the Moon is only about one-sixth of its value on Earth.

What does each symbol mean?

SymbolMeaningUnit
FFthe gravitational force on each of the two objectsN
GGthe gravitational constant, the same everywhere in the universeN m² kg⁻²
m1m_1, m2m_2the two masseskg
rrthe distance between the centres of the two objectsm

Both objects feel a force of the same size, pointing towards each other. The Earth pulls you down, and you pull the Earth up just as hard. Only you move noticeably, because the Earth's mass is so huge that the same size of force gives it almost no acceleration.

What is the inverse-square law?

The force depends on 1/r21/r^2, so it falls off quickly with distance:

Distance between centresGravitational force
2 times as farone quarter as big
3 times as farone ninth as big
10 times as farone hundredth as big
half as far4 times as big

A quick memory aid: square the step, then flip it. Move 3 times further away, square the 3 to get 9, flip it over, and the force is 19\frac{1}{9} as big. The force gets weaker and weaker, but it never quite reaches zero.

The masses work more simply. Double one mass and the force doubles. Double both, and it becomes four times as big.

Why don't you feel the pull of the people around you?

Worked example 1: two students

Two students in Islamabad, of mass 50 kg and 60 kg, sit with their centres 1.0 m apart. Find the gravitational force between them.

Given: m1=50m_1 = 50 kg, m2=60m_2 = 60 kg, r=1.0r = 1.0 m, G=6.67×10−11G = 6.67 \times 10^{-11} N m² kg⁻²

Equation: F=Gm1m2r2F = \dfrac{G m_1 m_2}{r^2}

Substitution: F=6.67×10−11×50×601.02F = \dfrac{6.67 \times 10^{-11} \times 50 \times 60}{1.0^2}

Answer: F=2.0×10−7F = 2.0 \times 10^{-7} N

The students' weights are about 490 N and 590 N, more than a billion times bigger. That is why gravity between people, desks and buildings goes unnoticed.

Worked example 2: the Earth and the Moon

Swap in two huge masses and the story changes. The Earth's mass is about 5.97×10245.97 \times 10^{24} kg, the Moon's is about 7.35×10227.35 \times 10^{22} kg, and their centres are about 384 000 km apart. Find the force between them.

Convert the distance: r=384 000r = 384\,000 km =3.84×108= 3.84 \times 10^8 m

Substitution: F=6.67×10−11×5.97×1024×7.35×1022(3.84×108)2F = \dfrac{6.67 \times 10^{-11} \times 5.97 \times 10^{24} \times 7.35 \times 10^{22}}{(3.84 \times 10^8)^2}

Answer: F≈2.0×1020F \approx 2.0 \times 10^{20} N. This enormous pull keeps the Moon in its orbit.

How is your weight linked to the law of gravitation?

Your mass tells you how much matter you are made of, in kilograms. It is the same wherever you go. Your weight is the gravitational force on you, in newtons, and it depends on where you are.

Standing on a planet of mass M and radius R, you are a distance R from its centre. So the law gives your weight as

W=GMmR2W = \frac{G M m}{R^2}

You also know that W=mgW = mg. Set the two equal, and your mass m cancels:

g=GMR2g = \frac{G M}{R^2}

So the field strength at a planet's surface depends only on the planet's mass and radius. It does not depend on the mass of the object, which is why, without air resistance, a hammer and a feather fall together.

Worked example 3: g at the Earth's surface

The Earth's mass is about 5.97×10245.97 \times 10^{24} kg and its radius is about 6.37×1066.37 \times 10^6 m. Find g at its surface.

Equation: g=GMR2g = \dfrac{G M}{R^2}

Substitution: g=6.67×10−11×5.97×1024(6.37×106)2=3.98×10144.06×1013g = \dfrac{6.67 \times 10^{-11} \times 5.97 \times 10^{24}}{(6.37 \times 10^6)^2} = \dfrac{3.98 \times 10^{14}}{4.06 \times 10^{13}}

Answer: g≈9.8g \approx 9.8 N/kg, the familiar value.

Worked example 4: why is g smaller on the Moon?

The Moon's mass is about 7.35×10227.35 \times 10^{22} kg and its radius is about 1.74×1061.74 \times 10^6 m. Find g at its surface, then the weight of a 70 kg astronaut there.

Substitution: g=6.67×10−11×7.35×1022(1.74×106)2=4.90×10123.03×1012g = \dfrac{6.67 \times 10^{-11} \times 7.35 \times 10^{22}}{(1.74 \times 10^6)^2} = \dfrac{4.90 \times 10^{12}}{3.03 \times 10^{12}}

Answer: g≈1.6g \approx 1.6 N/kg, so the astronaut's weight is 70×1.6=11270 \times 1.6 = 112 N, compared with about 690 N on Earth.

Two effects pull in opposite directions. The Moon has only about 181\frac{1}{81} of the Earth's mass, which on its own would make g 81 times smaller. But its radius is only about 0.27 of the Earth's, so you stand much closer to its centre. Squaring that makes the pull about 13 times stronger. Overall, 81÷1381 \div 13 leaves g at about one-sixth of the Earth's value.

How does g change as you move away from a planet?

Above the surface, r is your distance from the planet's centre, so g falls with height. About 400 km up, where the International Space Station orbits, r is about 6770 km and g is still about 8.7 N/kg. At one Earth radius above the ground, you are twice as far from the centre, so g drops to a quarter: about 2.5 N/kg.

The same law, with the Sun's mass, explains why the Sun's gravitational field gets weaker for planets further away: each kilogram of a distant planet feels a smaller pull. You can read more in our post on how the Earth stays in orbit.

To watch one object's weight change from world to world, open the weight, mass and gravity simulation. Pick the school bag and press Moon. The newtonmeter drops to about one-sixth of its Earth reading, while the beam balance, loaded with the same standard masses, does not tip. The straight lines on its graph of weight against mass have a gradient equal to g for each world. To see the law at work in space, try the orbits and gravity simulation.

Common mistakes

  • Measuring r from the surface. It is the distance between the centres.
  • Forgetting to square r. Twice the distance gives a quarter of the force, not half.
  • Mixing up G and g. G is a universal constant. g is the field strength where you are, close to 9.8 N/kg on the ground.
  • Quoting a weight in kilograms. Weights are forces, so they are measured in newtons.
  • Saying the Earth pulls harder on you than you pull on it. The two pulls are the same size, in opposite directions.
  • Saying the Moon has weaker gravity only because it is smaller. Its much smaller mass is the main reason. Its smaller radius partly makes up for it.

Key points

  • Every mass attracts every other mass: F=Gm1m2/r2F = Gm_1m_2/r^2, with G=6.67×10−11G = 6.67 \times 10^{-11} N m² kg⁻².
  • The force is proportional to each mass and to 1/r21/r^2, where r is measured between centres.
  • Double the distance and the force falls to a quarter.
  • Weight is the gravitational pull of a planet on a mass. At the surface, g=GM/R2g = GM/R^2, so g depends on the planet's mass and radius.
  • The Moon's g is about one-sixth of the Earth's.
  • Mass is the same everywhere, but weight changes with g.