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
Kepler's Laws and the Geometry of Orbits
  1. 1The ellipse and Kepler's first two laws
  2. 2Newton's form of Kepler's third law
  3. 3Kepler's equation: where is the planet now?
  1. Space Science and Astronomy
  2. /Kepler's Laws and the Geometry of Orbits
  3. /Newton's form of Kepler's third law

Course 3.1·Lesson 2 of 3

Newton's form of Kepler's third law

Newton's law of gravitation turns Kepler's third law into T2=4π2a3/(G(M+m))T^2 = 4\pi^2 a^3/(G(M + m))T2=4π2a3/(G(M+m))

Lesson 2 of 3Show all lessonsHide
Kepler's Laws and the Geometry of Orbits
  1. 1The ellipse and Kepler's first two laws
  2. 2Newton's form of Kepler's third law
  3. 3Kepler's equation: where is the planet now?

Try the code and the simulations beside the lesson.

A rule with a reason

Kepler found his third law in 1619 by comparing the planets. The square of the period grows as the cube of the size of the orbit. With TTT in years and aaa in AU, T2=a3T^2 = a^3T2=a3 for every planet. Kepler did not know why. Newton did.

A circular orbit

Take a small body of mass mmm on a circle of radius rrr round a large mass MMM. Gravity supplies the force towards the centre:

GMmr2=mv2r\displaystyle \dfrac{GMm}{r^2} = \dfrac{mv^2}{r}r2GMm​=rmv2​

So the speed on a circular orbit is

v=GMr\displaystyle v = \sqrt{\dfrac{GM}{r}}v=rGM​​

The body goes once round, 2πr2\pi r2πr, in the period TTT, so v=2πr/Tv = 2\pi r/Tv=2πr/T. Put this in and rearrange:

T2=4π2r3GM\displaystyle T^2 = \dfrac{4\pi^2 r^3}{GM}T2=GM4π2r3​

Notice that mmm has dropped out. A small stone and a large satellite on the same orbit keep pace with each other.

Newton's form of the third law

For an ellipse the same law holds with the semi-major axis aaa in place of rrr. When the two masses are comparable, both move round their centre of mass, and MMM becomes the sum M+mM + mM+m (the next course shows why):

T2=4π2a3G(M+m)\displaystyle T^2 = \dfrac{4\pi^2 a^3}{G(M + m)}T2=G(M+m)4π2a3​

Solar units

For the Earth round the Sun, 4π2(1 AU)3/(GM⊙)4\pi^2(1\ \text{AU})^3/(GM_\odot)4π2(1 AU)3/(GM⊙​) is very nearly (1 year)2(1\ \text{year})^2(1 year)2. With G=6.674×10−11 N m2 kg−2G = 6.674 \times 10^{-11}\ \text{N m}^2\ \text{kg}^{-2}G=6.674×10−11 N m2 kg−2, M⊙=1.989×1030 kgM_\odot = 1.989 \times 10^{30}\ \text{kg}M⊙​=1.989×1030 kg and 1 AU=1.496×1011 m1\ \text{AU} = 1.496 \times 10^{11}\ \text{m}1 AU=1.496×1011 m it gives 365.2365.2365.2 days. So in solar units

T2=a3M\displaystyle T^2 = \dfrac{a^3}{M}T2=Ma3​

with TTT in years, aaa in AU and MMM in solar masses. This form saves a lot of powers of ten.

Worked example: weighing Jupiter by Io

Io, the innermost large moon of Jupiter, has an orbit of radius 421 700 km421\,700\ \text{km}421700 km and a period of 1.7691.7691.769 days. Find the mass of Jupiter.

  1. SI units. a=4.217×108 ma = 4.217 \times 10^8\ \text{m}a=4.217×108 m and T=1.769×86400 s=1.528×105 sT = 1.769 \times 86400\ \text{s} = 1.528 \times 10^5\ \text{s}T=1.769×86400 s=1.528×105 s.
  2. The formula. We want MMM, so M=4π2a3GT2M = \dfrac{4\pi^2 a^3}{GT^2}M=GT24π2a3​.
  3. The numbers. a3=7.499×1025 m3a^3 = 7.499 \times 10^{25}\ \text{m}^3a3=7.499×1025 m3 and GT2=1.559 m3 kg−1GT^2 = 1.559\ \text{m}^3\ \text{kg}^{-1}GT2=1.559 m3 kg−1, so M=2.961×1027 m31.559 m3 kg−1=1.899×1027 kgM = \dfrac{2.961 \times 10^{27}\ \text{m}^3}{1.559\ \text{m}^3\ \text{kg}^{-1}} = 1.899 \times 10^{27}\ \text{kg}M=1.559 m3 kg−12.961×1027 m3​=1.899×1027 kg.
  4. Check. That is 318318318 times the mass of the Earth, the standard value. Io's own mass, about 5×10−55 \times 10^{-5}5×10−5 of Jupiter's, makes no difference here.

What the third law weighs

The third law gives only the total M+mM + mM+m. A tiny moon tells us the mass of its planet but nothing about itself. To weigh a small moon we need its pull on something else, such as a passing spacecraft.

The same idea weighs things we cannot visit. The star S2 goes round the centre of our Galaxy on an orbit with a≈1030 AUa \approx 1030\ \text{AU}a≈1030 AU and T≈16.0T \approx 16.0T≈16.0 years. Then M=a3/T2≈4×106M = a^3/T^2 \approx 4 \times 10^6M=a3/T2≈4×106 solar masses, all inside a region smaller than our Solar System. That is the black hole Sagittarius A*.

Make the star four times as massive. By what factor do the periods change? Do the speeds change by the same factor?

Practise with new numbers

Try it in Python

The program weighs Jupiter four times, once with each of its four large moons.

Predict first. Will the four masses agree? Then run it. Check with Show the answer.

1. Change Callisto's period from 16.689 to 16.0 days. How far off is the mass now?

2. Print a3/T2a^3/T^2a3/T2 for each moon. Why is it the same for all four?

Common mistakes

  • Leaving the period in days or the radius in km. Use seconds and metres with GGG, or years, AU and solar masses together.
  • Thinking a heavier satellite moves faster. The satellite's mass cancels.
  • Using MMM when the two masses are close. The law has M+mM + mM+m. For two stars it matters.
  • Forgetting the 4π24\pi^24π2. It comes from v=2πr/Tv = 2\pi r/Tv=2πr/T.

Remember these

  • v=GM/rv = \sqrt{GM/r}v=GM/r​ on a circular orbit.
  • T2=4π2a3/(G(M+m))T^2 = 4\pi^2 a^3/(G(M + m))T2=4π2a3/(G(M+m)).
  • In solar units, T2=a3/MT^2 = a^3/MT2=a3/M.
  • An orbit weighs only the total mass.

Check yourself

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

  1. A planet takes 888 years to go round a star of one solar mass. What is its semi-major axis?
  1. The same orbit lies round a star of four solar masses. What is the period now?
  1. How fast does a body move on a circular orbit of radius 4 AU4\ \text{AU}4 AU round the Sun? The Earth moves at 29.79 km/s29.79\ \text{km/s}29.79 km/s.
  1. An astronaut on a spacewalk floats beside the space station. Why do the two not drift apart, although the station is far heavier?

References

  • OpenStax Astronomy 2e, Chapter 3 Orbits and Gravity, sections 3.3 Newton's Universal Law of Gravitation and 3.4 Orbits in the Solar System.
  • OpenStax University Physics Volume 1, Chapter 13 Gravitation, section 13.4 Satellite Orbits and Energy.

Enroll free in Kepler's Laws and the Geometry of Orbits

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 (4)

The Galileo spacecraft tracked the moons of Jupiter for eight years…Hard · High School (11–12) · by StemPy Lab
A transit survey finds a giant planet that passes in front of its star every 3.50 days…Hard · High School (11–12) · by StemPy Lab
Jupiter is the heaviest planet, with 9.54 × 10⁻⁴ of the Sun's mass…Advanced · High School (11–12) · by StemPy Lab
Next: lesson 3Kepler's equation: where is the planet now?
← Kepler's Laws and the Geometry of Orbits
← The ellipse and Kepler's first two lawsKepler's equation: where is the planet now? →

Discussion (0)

Log in to join the discussion.

Loading…

. A circular orbit has the speed
v=GM/rv = \sqrt{GM/r}v=GM/r​
. Measure a moon's orbit, and you can weigh the planet it goes round.
about 25 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.

The Sun is not at rest. It goes round the centre of the Milky Way at about 230 km/s, at a distance…Advanced · High School (11–12) · by StemPy Lab

Python Labs (1)

Orbits from their two endsPython Lab · by StemPy Lab