Learn / Gravity and orbits
Kepler's three laws
Three short rules that describe every orbit, found from years of watching Mars.
First look
The idea, in plain words
Four hundred years ago Johannes Kepler spent years working through careful measurements of where Mars had been seen in the sky. He found three rules that every planet obeys.
One. A planet’s path is not a circle. It is a slightly squashed circle called an ellipse, and the Sun is not in the middle but a little to one side.
Two. A planet speeds up as it comes nearer the Sun and slows down as it moves away.
Three. The further a planet is from the Sun, the longer its year, and not only because it has further to go. It also moves more slowly. Mercury goes round in 88 days. Neptune takes 165 years.
Kepler did not know why these rules worked. That took Isaac Newton, about seventy years later, who showed that all three follow from gravity.
How it works
Cause and effect, with real numbers
First law: orbits are ellipses, with the Sun at one focus. How stretched an ellipse is gets measured by its eccentricity, from 0 for a circle up towards 1 for a long thin loop. The planets’ orbits are close to circles. The Earth’s eccentricity is 0.017 and you could not tell its orbit from a circle by eye. Mars is more lopsided at 0.094: it swings between 206.7 and 249.3 million km from the Sun. That difference was just big enough for Kepler to catch, which is why Mars gave the game away.
Second law: a line from the Sun to a planet sweeps out equal areas in equal times. Near the Sun the line is short, so the planet has to cover more of its path to sweep the same area. In other words it goes faster. The Earth moves at 30.3 km/s when nearest the Sun in January and 29.3 km/s when furthest in July. For a stretched orbit the change is huge. Halley’s Comet passes the Sun at about 54 km/s and creeps round the far end of its orbit, out beyond Neptune, at less than 1 km/s.
Third law: the square of the period goes as the cube of the orbit’s size. With the period P in years and the average distance a in au, it could not be simpler:
P² = a³
| Planet | a (au) | a³ | P (years) | P² |
|---|---|---|---|---|
| Mercury | 0.387 | 0.058 | 0.241 | 0.058 |
| Earth | 1.000 | 1.000 | 1.000 | 1.000 |
| Mars | 1.524 | 3.54 | 1.881 | 3.54 |
| Jupiter | 5.203 | 140.9 | 11.86 | 140.7 |
| Neptune | 30.07 | 27,190 | 164.8 | 27,160 |
The two columns agree to about one part in a thousand. The small differences are real: the planets pull on one another, and their own mass counts for a little.
The same law holds for moons round a planet, but with a different constant, and the constant depends only on the mass of the thing in the middle. So timing a moon weighs its planet. That is how the masses of Jupiter, Saturn, Uranus and Neptune were first measured, and it is still how the mass of almost everything in astronomy is found.
The physics
The equations, worked through
Kepler found his laws by fitting curves to observations. Newton later showed that all three follow from one force that weakens with the square of the distance. This level writes each law as an equation and checks it against real numbers. The orbital figures are from NASA’s fact sheets, the constants are from JPL, and every result is worked out here.
The ellipse. Measure the planet’s distance from the Sun and its angle round the orbit, counted from the point of closest approach. With semi-major axis and eccentricity , the first law is
At this gives the nearest point, and at the furthest:
For Mars, million km and . That gives 206.6 and 249.3 million km. The fact sheet lists 206.650 and 249.261.
Equal areas. In a short time the line from the Sun to the planet sweeps a thin triangle. Its area depends only on the distance and on the part of the velocity that is at right angles to the line, :
The Sun’s pull acts along the line, so it cannot twist the planet round the Sun, and the planet’s angular momentum never changes. So is constant, and the second law is the conservation of angular momentum in another form.
At the nearest and furthest points the whole velocity is at right angles to the line, so
For the Earth the distances are 147.095 and 152.100 million km, a ratio of 1.0340. The listed speeds are 30.29 and 29.29 km/s, a ratio of 1.0341.
The harmonic law. Take a small body in a circular orbit of radius round a mass . Gravity supplies exactly the inward force needed to keep it on the circle:
Its speed is one circumference in each period, . Put that in and the small mass cancels:
The same result holds for an ellipse, with the semi-major axis. For the Sun, m³/s². One astronomical unit is m. The formula then gives days. The measured sidereal year is 365.256 days.
Measured in years and astronomical units, the constant is 1 for anything going round the Sun, which is why the law looked so simple to Kepler.
The planet’s own mass. Strictly, the two bodies go round their common centre of mass, and should be the sum of both masses:
The Sun has 1,047 times the mass of Jupiter and its moons, so for Jupiter comes out about one part in a thousand larger than for a body of no mass. That is the small mismatch in Jupiter’s row of the table in the level before this one.
Weighing Jupiter. Turn the law round and it gives the mass in the middle:
Io goes round Jupiter at 421,800 km in 1.769138 days. With m³ kg⁻¹ s⁻², this gives kg. The listed mass of Jupiter is kg.
Timing an orbit gives the product far more exactly than either or is known alone. That is why JPL lists for the Sun to 18 figures, while itself is uncertain by about 2 parts in 100,000.
Speed at any point. Energy is conserved as well as angular momentum. Together they give the speed at any distance on an orbit of semi-major axis :
For a circle and this is , which for the Earth’s orbit is 29.78 km/s. At the Earth’s nearest and furthest points it gives 30.29 and 29.29 km/s, the listed values.
Halley’s Comet has au and comes within 0.587 au of the Sun, so its furthest point is au. The formula gives 54.5 km/s at the near end and 0.91 km/s at the far end, a ratio of 60.
Leaving altogether. As grows without limit the orbit opens out and the body never returns. Setting gives the speed needed to escape from distance :
It is times the speed of a circular orbit at the same distance. At the Earth’s distance from the Sun that is 42.1 km/s.
In the 3D view
The real orbit of Mars drawn as an ellipse, with equal areas swept out in equal times.
Not built yet. This lesson will be able to fly you there.
Words used here
- Kepler's laws
- Three rules, found by Johannes Kepler between 1609 and 1619, that describe how planets move round the Sun.
- Ellipse
- A stretched circle, the shape of every closed orbit.
- Eccentricity
- A number from 0 up to 1 that says how stretched an orbit is. 0 is a perfect circle.
- Semi-major axis
- Half the longest width of an elliptical orbit, which serves as its average size.
- Perihelion
- The point of an orbit nearest the Sun.
- Aphelion
- The point of an orbit furthest from the Sun.
- Orbital period
- The time taken to go once round an orbit.
Worth knowing
At the centre of the Milky Way is a black hole with 4.3 million times the mass of the Sun. It was weighed by watching stars orbit it, one of them in only 16 years.
Neptune was found by arithmetic. Its position was worked out from its pull on Uranus, and in 1846 it was seen within a degree of where the sums said to look.
Neptune takes 165 years to go round the Sun. It finished its first full orbit since being discovered in 2011.
Mercury is the fastest planet, averaging 47.4 km/s, and goes round the Sun in 88 days.
Pluto takes 248 years to go round the Sun on a tilted, stretched orbit that carries it from 30 to 49 au. For twenty years of each orbit, most recently 1979 to 1999, it is nearer the Sun than Neptune.
Where this comes from
- NASA, orbits and Kepler's laws
- NASA NSSDC planetary fact sheets
- NASA NSSDC comet fact sheet
- NASA/JPL astrodynamic parameters
- NASA NSSDC Earth fact sheet
- NASA NSSDC Mars fact sheet
- NASA NSSDC Jupiter fact sheet
- NASA NSSDC Jovian satellite fact sheet
The words are written for this site. Sums in the text are worked from the figures in these sources.