HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →
Live examsInternational live exams are comingTell us which exam you want first. Timed practice papers are open now.See what is coming →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Computer Science
  • Space Science and Astronomy
  • Earth and Environmental Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
Newton's Gravity and the Orbits of the Planets
  1. 1Newton's law of gravitation
  2. 2Weight, g and gravity on other worlds
  3. 3Orbits as falling: why the planets obey Kepler
  1. Space Science and Astronomy
  2. /Newton's Gravity and the Orbits of the Planets
  3. /Newton's law of gravitation

Course 6.3·Lesson 1 of 3

Newton's law of gravitation

Newton's law of gravitation says that every body pulls every other body with a force F=Gm1m2/r2F = G m_1 m_2 / r^2F=Gm1​m2​/r2

Lesson 1 of 3Show all lessonsHide
Newton's Gravity and the Orbits of the Planets
  1. 1Newton's law of gravitation
  2. 2Weight, g and gravity on other worlds
  3. 3Orbits as falling: why the planets obey Kepler

Try the code and the simulations beside the lesson.

The apple and the Moon

An apple falls from a tree. The Moon does not fall, but goes round and round the Earth. For thousands of years nobody thought that these two were connected. The apple was an earthly thing, and the Moon belonged to the heavens.

Isaac Newton had a different idea. In about 1666, so the story goes, he asked whether the force that pulls the apple down might reach out as far as the Moon. If it did, the Moon would be falling too. It would be falling round the Earth all the time, and never reaching it. In 1687 he published his full answer in the book Principia.

The law of gravitation

Every body pulls every other body. The force is proportional to the product of the two masses. It is also inversely proportional to the square of the distance between their centres.

In symbols,

F=G m1 m2r2\displaystyle F = \dfrac{G\, m_1\, m_2}{r^2}F=r2Gm1​m2​​
  • FFF is the force in newtons (N).
  • m1m_1m1​ and m2m_2m2​ are the two masses in kilograms.
  • rrr is the distance between the centres of the two bodies in metres.
  • GGG is the gravitational constant, G=6.674×10−11 N m2/kg2G = 6.674 \times 10^{-11}\ \text{N m}^2/\text{kg}^2G=6.674×10−11 N m2/kg2. In 1798 Henry Cavendish weighed the Earth in a laboratory. He measured its density, about 5.45.45.4 times that of water. From his result we can work out GGG, and it comes to about 6.74×10−116.74 \times 10^{-11}6.74×10−11.

Some points to notice.

  • The force is always an attraction.
  • Body 1 pulls body 2 with the same force as body 2 pulls body 1. This is Newton's third law. The Earth pulls you down with the same force as you pull the Earth up. You move, and the Earth does not, because its mass is so large.
  • The constant GGG is very small. Two masses of 111 kg that are 111 m apart pull each other with only 6.7×10−116.7 \times 10^{-11}6.7×10−11 N. Gravity is noticeable only when at least one body is huge.

Weaker with distance

The force is inverse square. If the distance is doubled, the force becomes 1/22=1/41/2^2 = 1/41/22=1/4.

DistancePull
222 times1/41/41/4
333 times1/91/91/9
101010 times1/1001/1001/100
A graph of the pull of gravity between two bodies against the distance between their centres. The distance is marked 1, 2, 3 and 4 times a starting distance along the bottom, and the force is marked 1, one quarter, one ninth and one sixteenth of its starting value up the side. The curve starts high on the left and falls steeply, then flattens out towards the bottom right. Four dots are marked on the curve at the four distances, and each is labelled with its force.

Gravity never stops completely, but it gets weaker fast.

Keep the two masses as they are and change the distance from 111 to 222 units. By what factor does the red dot move down?

Two big pulls

Worked example. The Earth and the Moon. The masses are 5.972×10245.972 \times 10^{24}5.972×1024 kg and 7.342×10227.342 \times 10^{22}7.342×1022 kg, and the distance is 3.844×1083.844 \times 10^{8}3.844×108 m.

  1. The force. F=6.674×10−11×5.972×1024×7.342×1022(3.844×108)2=1.98×1020 NF = \dfrac{6.674 \times 10^{-11} \times 5.972 \times 10^{24} \times 7.342 \times 10^{22}}{(3.844 \times 10^{8})^2} = 1.98 \times 10^{20}\ \text{N}F=(3.844×108)26.674×10−11×5.972×1024×7.342×1022​=1.98×1020 N.
  2. The Sun and the Earth. With 1.989×10301.989 \times 10^{30}1.989×1030 kg and 1.496×10111.496 \times 10^{11}1.496×1011 m the same law gives 3.54×1022 N3.54 \times 10^{22}\ \text{N}3.54×1022 N.
  3. The comparison. The Sun pulls the Earth with 179179179 times the force that the Earth pulls the Moon.

Newton's test with the Moon

How could Newton check his idea? He used the Moon.

The Moon's acceleration. The Moon goes round in a circle of radius r=3.844×108r = 3.844 \times 10^8r=3.844×108 m in 27.3227.3227.32 days. A body that moves in a circle has an acceleration towards the centre of a=4π2r/T2a = 4\pi^2 r/T^2a=4π2r/T2. This gives

a=4π2rT2\displaystyle a = \dfrac{4\pi^2 r}{T^2}a=T24π2r​

With r=3.844×108r = 3.844 \times 10^8r=3.844×108 m and T=27.32×86 400=2.360×106T = 27.32 \times 86\,400 = 2.360 \times 10^6T=27.32×86400=2.360×106 s, this gives a=0.00272 m/s2a = 0.00272\ \text{m/s}^2a=0.00272 m/s2.

What gravity would give. The Moon is 3.844×108/6.371×106=60.33.844 \times 10^8 / 6.371 \times 10^6 = 60.33.844×108/6.371×106=60.3 Earth radii from the centre of the Earth. The pull of gravity at the Earth's surface gives 9.81 m/s29.81\ \text{m/s}^29.81 m/s2. At 60.360.360.3 times the distance, the inverse square law gives 9.81/60.32=0.00269 m/s29.81/60.3^2 = 0.00269\ \text{m/s}^29.81/60.32=0.00269 m/s2.

The two numbers agree to about 1 %1\ \%1 %. The pull that makes an apple fall is the same pull that keeps the Moon in its orbit.

Practise with new numbers

Try it in Python

The program repeats Newton's test. It finds the acceleration of the Moon from its motion, and compares it with what the inverse square law predicts.

Predict first. How close will the two accelerations be? Then run it. Check with Show the answer.

1. Change moon_distance = 3.844e8 to moon_distance = 1.922e8, and keep the period. By what factor does each number change?

2. Change moon_period to half its value, with the distance as it was. By what factor does the acceleration from the motion change?

Common mistakes

  • Measuring the distance from the surface. In the law rrr is the distance between the centres of the bodies. For a person on the Earth, rrr is the radius of the Earth.
  • Forgetting to square the distance. The pull falls as 1/r21/r^21/r2, not as 1/r1/r1/r.
  • Thinking that the heavy body pulls harder. Both bodies pull each other with the same force.
  • Using grams or kilometres in the law. Change to kilograms and metres first.

Remember these

  • F=Gm1m2/r2F = G m_1 m_2 / r^2F=Gm1​m2​/r2, with G=6.674×10−11 N m2/kg2G = 6.674 \times 10^{-11}\ \text{N m}^2/\text{kg}^2G=6.674×10−11 N m2/kg2 (Newton, 1687).
  • The pull is an attraction, and the pair of forces is equal and opposite.
  • Twice the distance gives 1/41/41/4 of the force, and three times gives 1/91/91/9.
  • The Moon's acceleration 4π2r/T24\pi^2 r/T^24π2r/T2 matches ggg divided by 60.3260.3^260.32, so the force that pulls the apple also holds the Moon.

Check yourself

Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.

  1. The distance between two bodies is halved. How does the pull between them change?
  1. What happens to the pull if the mass of one body is doubled and the other is left alone?
  1. The Earth pulls an apple down. Does the apple pull the Earth up?
  1. Why did Newton compare the Moon's acceleration with ggg divided by 60.3260.3^260.32?

References

  • OpenStax Astronomy 2e, Chapter 3 Orbits and Gravity, section 3.3 Newton's Universal Law of Gravitation.
  • OpenStax University Physics Volume 1, Chapter 13 Gravitation, section 13.1 Newton's Law of Universal Gravitation.

Enroll free in Newton's Gravity and the Orbits of the Planets

Every lesson is open to read. Enrolling also lets you:

  • Mark lessons done and carry on where you stopped.
  • Take the tests of this lesson and its course.
  • Count the course towards the certificate for its chapter.
No payment. You can leave at any time.

Problems (3)

Two astronauts, each with a mass of 80 kg, float 2.0 m apart…Easy · High School (9–10) · by StemPy Lab
The masses are Earth 5.972 × 10²⁴ kg, Moon 7.342 × 10²² kg and Sun 1.989 × 10³⁰ kg…Medium · High School (9–10) · by StemPy Lab
The Moon goes round the Earth, so we might expect the Earth to pull it harder than the Sun does…Hard · High School (9–10) · by StemPy Lab
Next: lesson 2Weight, g and gravity on other worlds
← Newton's Gravity and the Orbits of the Planets
← PreviousWeight, g and gravity on other worlds →

Discussion (0)

Log in to join the discussion.

Loading…

. The force follows an inverse square law, so twice the distance gives a quarter of the pull. The same law holds for an apple, the Moon and the planets.
about 30 min1 simulation2 practice questions1 Python program5 questions to check yourself

This lesson is free to read. Enroll free to keep your place and take the tests.