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 of Planetary Motion
  1. 1Ellipses and Kepler's first law
  2. 2Kepler's second law: equal areas in equal times
  3. 3Kepler's third law and the size of an orbit
  1. Space Science and Astronomy
  2. /Kepler's Laws of Planetary Motion
  3. /Kepler's third law and the size of an orbit

Course 6.2·Lesson 3 of 3

Kepler's third law and the size of an orbit

Kepler's third law links the size of an orbit and its period. With TTT in years and aaa in AU, T2=a3T^2 = a^3T2=a3

Lesson 3 of 3Show all lessonsHide
Kepler's Laws of Planetary Motion
  1. 1Ellipses and Kepler's first law
  2. 2Kepler's second law: equal areas in equal times
  3. 3Kepler's third law and the size of an orbit

Try the code and the simulations beside the lesson.

Far planets are slow

Mercury goes round the Sun in 888888 days. Earth takes a year. Neptune takes 165165165 years. The farther the planet, the longer it takes. Kepler wanted to find the rule, and in 1619 he did, after about ten more years of work.

The third law

The square of the orbital period is proportional to the cube of the semi-major axis: T2∝a3T^2 \propto a^3T2∝a3.

If we measure TTT in years and aaa in AU, the constant is exactly 111 for the Sun, because the Earth has T=1T = 1T=1 year and a=1a = 1a=1 AU:

T2=a3\displaystyle T^2 = a^3T2=a3
Planetaaa in AUTTT in years
Earth1.0001.0001.0001.0001.0001.000
Mars1.5241.5241.5241.8811.8811.881
Jupiter5.2035.2035.20311.8611.8611.86
Saturn9.5379.5379.53729.4629.4629.46

Worked example. Check Saturn.

  1. The ratio. T2=29.462=867.9T^2 = 29.46^2 = 867.9T2=29.462=867.9 and a3=9.5373=867.4a^3 = 9.537^3 = 867.4a3=9.5373=867.4.
  2. The result. The two agree to better than 0.1 %0.1\ \%0.1 %.
  3. From aaa to TTT. For a=9.537a = 9.537a=9.537 AU, T=867.4=29.45T = \sqrt{867.4} = 29.45T=867.4​=29.45 years.
A graph with the semi-major axis a in AU along the bottom, on a log scale from 0.3 to 40, and the period T in years up the side, also on a log scale from 0.2 to 200. The eight planets, from Mercury at the bottom left to Neptune at the top right, are drawn as dots. They lie exactly on a straight line that rises to the right. A note says the line has a slope of 1.5, which means that T squared equals a cubed.

On a graph with both axes on log scales, the planets lie on a straight line of slope 1.51.51.5. That is just what T2=a3T^2 = a^3T2=a3 means, because T=a1.5T = a^{1.5}T=a1.5.

Which has the longer period, a body at 444 AU or one at 161616 AU? How many times longer?

Using the law

Finding the period. T=a1.5T = a^{1.5}T=a1.5.

Finding the size. a=T2/3a = T^{2/3}a=T2/3, the cube root of T2T^2T2.

Comparing two orbits. If one orbit is kkk times bigger than another round the same body, its period is k1.5k^{1.5}k1.5 times longer. For k=4k = 4k=4, the factor is 41.5=84^{1.5} = 841.5=8.

Using aaa, not the distance. The aaa in the law is the semi-major axis, half of the long axis of the ellipse. For a comet, you find it from qqq and QQQ:

a=q+Q2\displaystyle a = \dfrac{q + Q}{2}a=2q+Q​

For Halley's Comet, a=(0.586+35.1)/2=17.84a = (0.586 + 35.1)/2 = 17.84a=(0.586+35.1)/2=17.84 AU. So T=17.8431.5=75.4T = 17.843^{1.5} = 75.4T=17.8431.5=75.4 years. The comet was seen in 1986, and its next return is in 2061, which agrees with this.

Other worlds and other moons

The law works for any body that goes round the Sun. It also works for the moons of a planet, but with a different constant. The constant depends on the mass of the body in the middle.

For the moons of Jupiter, take aaa in units of 100 000100\,000100000 km and TTT in days. Io has a=4.217a = 4.217a=4.217 and T=1.769T = 1.769T=1.769, so T2/a3=0.0417T^2/a^3 = 0.0417T2/a3=0.0417. Ganymede has a=10.704a = 10.704a=10.704 and T=7.155T = 7.155T=7.155, and T2/a3=0.0417T^2/a^3 = 0.0417T2/a3=0.0417 too. In the next course we find out why.

Practise with new numbers

Try it in Python

The program checks T2/a3T^2/a^3T2/a3 for the eight planets, and then predicts the period of a body from its orbit.

Predict first. What will the program print for the ratio T2/a3T^2/a^3T2/a3 of the planets? Then run it. Check with Show the answer.

1. Add "Pluto": (39.48, 248.0) to the planets. What ratio do you get?

2. Change the prediction list to ask for Vesta at 2.36 AU. What period is that?

Common mistakes

  • Using the distance at one moment instead of aaa. For an ellipse, use the semi-major axis, which is the average of the nearest and farthest distances.
  • Mixing units. T2=a3T^2 = a^3T2=a3 works only for TTT in years and aaa in AU. If you use days or kilometres, the constant is not 111.
  • Squaring when you should cube. The period goes as a1.5a^{1.5}a1.5, not a2a^2a2.
  • Using the Sun's law for the moons of a planet. Use the same planet's own moons, with its own constant.

Remember these

  • Kepler's third law (1619): T2∝a3T^2 \propto a^3T2∝a3.
  • With TTT in years and aaa in AU, T2=a3T^2 = a^3T2=a3 for any body round the Sun.
  • T=a1.5T = a^{1.5}T=a1.5 and a=T2/3a = T^{2/3}a=T2/3.
  • For an ellipse, a=(q+Q)/2a = (q + Q)/2a=(q+Q)/2.
  • The law holds for each system with its own constant, such as the moons of Jupiter.

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 has an orbit with a=4.0a = 4.0a=4.0 AU. What is its period?
  1. A comet takes 272727 years to go round the Sun. What is the semi-major axis of its orbit?
  1. Planet B has an orbit 999 times as large as planet A, round the same star. How many times longer is its period?
  1. Why is T2=a3T^2 = a^3T2=a3 not true for the moons of Jupiter with aaa in AU and TTT in years?

References

  • OpenStax Astronomy 2e, Chapter 3 Orbits and Gravity, section 3.1 The Laws of Planetary Motion.
  • OpenStax University Physics Volume 1, Chapter 13 Gravitation, section 13.5 Kepler's Laws of Planetary Motion.

Enroll free in Kepler's Laws of Planetary Motion

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)

The asteroid Ceres has a semi-major axis of 2.77 AU…Easy · High School (9–10) · by StemPy Lab
Neptune takes 164.8 years to go round the Sun…Medium · High School (9–10) · by StemPy Lab
Work out T²/a³ for Io. (b) Work out it for Ganymede…Hard · High School (9–10) · by StemPy Lab
That was the last lessonBack to the course: take the test
← Kepler's Laws of Planetary Motion
← Kepler's second law: equal areas in equal timesNext →

Discussion (0)

Log in to join the discussion.

Loading…

for every body that goes round the Sun. So a planet four times farther away takes eight times as long. The law works for planets, asteroids and comets.
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.

Python Labs (1)

Kepler's third law in codePython Lab · by StemPy Lab

Question Sets (1)

Kepler's Laws: Concept Check10 questions · by StemPy Lab

Notes (1)

Kepler's Laws: Quick RevisionNote · by StemPy Lab