Universe · Depth 4 · Intermediate · 11 min read

Kepler's Laws

Three rules for how planets move: in ellipses, sweeping equal areas in equal times, with bigger orbits taking predictably longer (p² = a³).

On this page
  1. Where the laws came from
  2. The first law: ellipses
  3. The second law: equal areas
  4. The third law: bigger orbits, longer years
  5. The math (optional)
  6. Why the laws work
  7. Kepler’s laws today
  8. Common misconceptions
  9. Try it yourself
  10. Going further
  11. Real-life examples
  12. Evidence & sources

Where the laws came from

For centuries the accepted picture put Earth in the middle. Aristotle held that the Sun, Moon, planets and stars all circled our planet, and Ptolemy later shaped that idea into a standard Earth-centred model.[1, 5] In 1515 the Polish priest Nicolaus Copernicus suggested instead that Earth is just another planet, in the same family as Venus or Saturn, and that all of them circle the Sun.[5] He waited until 1543, not long before he died, to publish it.[5]

Johannes Kepler (1571–1630) seems to have accepted the Sun-centred system as physically real almost immediately.[3, 2] What drew him was its simplicity: with the Sun at the centre he could drop the five large, clumsy epicycles that Ptolemy’s theory relied on.[2] Yet, like many thinkers of his era, he also had an almost mystical faith that the circle was the ideal shape, so he expected planetary orbits to be circles.[1, 5]

Tycho’s records and the problem of Mars

Kepler joined the Danish astronomer Tycho Brahe in Prague around 1600, and Tycho handed him one task: make sense of the orbit of Mars.[2, 1] Tycho had built up more than 30 years of naked-eye observations, probably the most accurate ever gathered without a telescope.[2, 1] At their best his instruments reached about 2 arcminutes, close to the thickness of a hair seen at arm’s length.[2]

The partnership was not easy. Some historians believe Tycho distrusted his talented assistant and showed him only part of his records, though this remains a matter of interpretation.[1] After Tycho died in 1601, Kepler took over as Imperial Mathematician and kept working on Mars, and the whole collection of observations came to him.[3, 5]

Mars turned out to be the ideal test. It is the only planet whose departure from a circle can be noticed without a telescope.[2] Of the planets Tycho had tracked in detail, its orbit was the most elliptical.[1] That is exactly why it caused trouble: the Copernican model still assumed that orbits were circles.[1]

The war with Mars

Kepler used triangulation so that every distance to Mars was treated as though it were measured from a fixed Sun.[2] The sums were long and dull, and he had no logarithms to help, since Napier did not invent them until 1614.[2] Close to a thousand folio sheets of the arithmetic still exist, and Kepler himself called the effort “my war with Mars”.[3]

When he tried a single circle, Mars came out too far from the Sun in nearly every position, so he eventually abandoned the idea that each planet rides on one circle.[2] In 1609 he published Astronomia Nova, which set out what are now known as his first two laws.[1, 3] Oddly, the equal-area rule came first, and it led him on to the ellipse.[1] His final orbit for Mars agrees so well with modern results that any comparison has to account for slow changes in the orbit over the centuries since.[3] MacTutor also credits this work with the first explicit use of the idea of observational error.[3]

The first law: ellipses

Each planet’s path around the Sun is an ellipse, and the centre of the Sun always lies at one focus of that ellipse.[1, 2]

An ellipse is a flattened circle built around two special points. Each one is a focus (plural foci). Pick any point on the curve and add up its distances to the two foci: the total is always the same.[1] The amount of flattening is the eccentricity; a flatter ellipse has a larger eccentricity.[1] The longest line across the ellipse is the major axis, the shortest is the minor axis, and half the major axis is the semi-major axis.[1]

Because a planet follows an ellipse with the Sun at a focus, off to one side of the centre, its distance from the Sun changes all the way round its orbit.[1] Kepler first found the ellipse for Mars, and between 1609 and 1618 he convinced himself that all six primary planets travel on ellipses that have the Sun at a focus.[3, 2]

Earth’s orbit is an ellipse that is almost a circle.[5] Among the orbits known in Kepler’s day, Mercury’s minor axis is only 2 percent shorter than its major axis, and Mars’s only 0.4 percent shorter.[7]

The second law: equal areas

Imagine a line stretched between a planet and the Sun. As the planet travels, that line sweeps over equal areas in equal amounts of time.[1, 5]

Kepler used area as a way of measuring time: how long a planet takes to reach a given point is shown by the area its line has swept so far.[3, 2] With the path an ellipse, he found the time spent in orbit seemed exactly proportional to that swept area.[2]

Picture the orbit cut into wedge-shaped slices, one for each equal span of time. For every slice to have the same area, the planet has to travel quicker close to the Sun and slower at a distance.[1, 2] The nearest point of the orbit is called perihelion and the farthest aphelion, so a planet moves fastest at perihelion and slowest at aphelion.[1]

The third law: bigger orbits, longer years

Take any two planets: the squares of their orbital periods stand in the same ratio as the cubes of their mean orbital distances.[3, 1]

A period is the time one full orbit takes. The third law ties a planet’s distance from the Sun to that time with an exact mathematical link.[1] It appeared in Harmony of the World, published in 1619, ten years after the first two laws.[3]

This law arrived differently from the other two. Kepler had looked for a rule connecting orbit sizes and periods from the very start, yet there was no gradual build-up to it, and he found it only when the book was already at the printer.[3] In his own account, the idea first came to him on 8 March 1618, was dropped after a calculation went wrong, and came back on 15 May.[3]

Real periods: Mercury needs 88 days per lap, Earth 365 days and Saturn 10,759 days.[1]

The math (optional)

  • Ellipse: for any point on the orbit, if d1 and d2 are its distances to the two foci, then d1 + d2 stays the same everywhere on the curve.[1]
  • Third law, short form: with p the orbital period and a the semi-major axis, p2 = a3.[1]
  • Third law, comparison form: for planets 1 and 2, (p1 / p2)2 = (a1 / a2)3, where a is the mean radius of each orbit.[3]
  • Newton’s link: if an orbit is an ellipse under a force directed toward a focus, the force must weaken as 1 / r2, the inverse square of the distance r.[4, 7]

Why the laws work

Kepler described how planets move, but he did not know about gravity, the force that keeps them in their orbits.[1] He pictured rays streaming from the turning Sun and pushing each planet around.[2] MacTutor’s history calls these ideas wrong by modern standards but very sensible for their time, and says they grew out of the Aristotelian tradition rather than foreshadowing Newton.[2] In that tradition, the notion that the Sun could attract a planet did not exist.[2] Seen today, his work was entirely kinematical: it described the motion while the force behind it stayed unknown.[2, 1]

Newton’s answer

In 1666 Isaac Newton imagined Earth’s gravity reaching out to hold the Moon. Using his rule for centrifugal force together with Kepler’s third law, he deduced that gravity weakens with the inverse square of distance.[4] The Stanford Encyclopedia of Philosophy notes that this step combined Huygens’s theory of uniform circular motion, published in 1673, with Kepler’s rule linking periods and distances, and that it held only as a first approximation for nearly circular orbits.[7]

Asked what orbit a body would follow under an inverse-square force, Newton answered at once: an ellipse.[4] His short tract of November 1684, sent to Halley, gives the same answer with a condition: an ellipse if the body is not moving too fast, and otherwise a parabola or a hyperbola.[7] He also showed that equal areas in equal times follow from any force directed toward a centre, which revealed what the second law means physically.[4, 7] The same tract confirms that Kepler’s period rule still holds for bodies on ellipses sharing a focus under inverse-square forces.[7]

In 1687 Newton went further: building on Kepler’s laws, he explained the planets’ motion around the Sun and named the force that governs it gravity.[5] Kepler’s laws were central to his theory of universal gravitation, and together with Newton’s laws of motion they explained why planets follow ellipses rather than circles.[1, 6]

A more tangled history

NASA tells the story in this tidy sequence.[1, 5] The Stanford Encyclopedia of Philosophy’s article on the Principia calls it wrong on several counts, starting with the point that Kepler’s laws were far from settled before Newton’s book appeared.[7] The article grants that the rules Kepler proposed between about 1600 and 1620 were a huge gain in accuracy over earlier methods, yet planet positions worked out from them could still miss by up to a quarter of the Moon’s width.[7] Newton himself knew of seven different ways to calculate planetary orbits, all of about the same accuracy.[7]

MacTutor’s history stresses a practical test that did favour Kepler. His Rudolphine Tables of 1627, built from Tycho’s observations and Kepler’s first two laws, stayed accurate and useful for many decades, unlike other astronomical tables.[2, 3] As the years went by, that lasting accuracy was taken as evidence that Kepler’s laws, and the Sun-centred system, were correct.[3]

Kepler’s laws today

Kepler’s laws remain an excellent guide to how the planets in our solar system move, and Newton’s laws are still accurate enough for many purposes.[1] Newton’s form of the third law, which brings in the masses of both bodies, underlies most of today’s estimates of how massive faraway objects in space are.[1] Kepler also left a lasting word: he was almost certainly the person who introduced the term “orbit”.[2]

Common misconceptions

  • Myth: Kepler merely selected an ellipse and checked it. MacTutor’s history rejects that picture, which it says many readers may have been told.[2] In a letter to Halley in June 1686 Newton claimed a right to the ellipse, saying Kepler had only guessed it, and the Stanford Encyclopedia of Philosophy holds that Newton had real grounds for that claim.[7] Historians, in other words, still weigh this differently.
  • “Kepler was already thinking about gravity.” He was not: MacTutor’s history says his reasoning about causes did not mathematically anticipate Newton, and an attractive force from the Sun was not part of his way of thinking.[2]
  • “Planets move along very stretched ovals.” Most orbits are close to circles: Earth’s is almost circular, and Mercury’s and Mars’s minor axes are only 2 and 0.4 percent shorter than their major axes.[5, 7]
  • “A planet moves at a steady speed.” The second law says otherwise: it is quickest at perihelion and slowest at aphelion.[1]

Try it yourself

  • Draw an ellipse. In an ellipse, the two distances from any point on the curve to the two foci always add up to the same total.[1]
  • Simulate it. The free PhET My Solar System simulation listed below lets you set up bodies and watch how their orbits change.

Going further

Read Orbits for how objects stay in orbit at all, Johannes Kepler for the man behind the laws, and Isaac Newton for how gravity explained them. The free PhET simulation below lets you experiment with orbits yourself.

Real-life examples

  • Short years and long years

    Mercury, nearest the Sun, completes a lap in just 88 days, Earth needs 365 days, and far-off Saturn needs 10,759 days.[1]

  • Fastest at the closest point

    A planet moves quickest at perihelion, its nearest point to the Sun, and slowest at aphelion, its farthest point.[1]

  • Weighing faraway worlds

    Newton's version of the third law lets astronomers work out the masses of two bodies from their separation and how long they take to circle each other, and it underpins most mass measurements of distant objects today.[1]

  • A thousand pages of sums

    Nearly a thousand folio sheets of Kepler's arithmetic on the orbit of Mars still survive.[3]

Connected across the map

Learn more

Short descriptions are our own summaries. The resources belong to, and are run by, their publishers.

  • SimulatorFreeBeginner
    My Solar System (interactive simulation) ↗

    by PhET

    Set the masses, positions and speeds of two to four bodies and watch them orbit each other: a free simulation from the University of Colorado Boulder.

Evidence & sources

Level 1 · Established

Supported by extensive evidence and broad scientific consensus.

Why this level? Kepler's three laws have described planetary motion since the early 1600s and were later explained by Newton's theory of gravity. This page draws on NASA, the MacTutor history archive and the Stanford Encyclopedia of Philosophy.

Keep in mind: Historians disagree about how firmly the laws were accepted before Newton's Principia of 1687; both views are given. The page gives no orbit distances, units or derivations, and only the eccentricity figures its sources provide.

This is a Knowledge Atlas editorial classification of the sources we could find, not a certificate of truth. How we evaluate knowledge

Sources

Based on 7 sources from 3 institutions: NASA, MacTutor, SEP.

Show all 7 sourcesHide the list
  1. AuthoritativeNational Aeronautics and Space Administration· Government agencyOrbits and Kepler’s Laws - NASA Science Kepler's LawsOpened and checked against this page on 2 Oct 2026
  2. ScholarlyMacTutor History of Mathematics (University of St Andrews)· UniversityKepler's LawsOpened and checked against this page on 2 Oct 2026
  3. ScholarlyMacTutor History of Mathematics (University of St Andrews)· UniversityJohannes Kepler - BiographyOpened and checked against this page on 2 Oct 2026
  4. ScholarlyMacTutor History of Mathematics (University of St Andrews)· UniversityIsaac Newton - BiographyOpened and checked against this page on 2 Oct 2026
  5. AuthoritativeNational Aeronautics and Space Administration· Government agencyPlanetary Motion: The History of an Idea That Launched the Scientific Revolution - NASA ScienceOpened and checked against this page on 2 Oct 2026
  6. AuthoritativeNational Aeronautics and Space Administration· Government agencyNewton's Laws of MotionOpened and checked against this page on 28 Sept 2026
  7. ScholarlyStanford Encyclopedia of Philosophy· Academic publisherNewton's Philosophiae Naturalis Principia Mathematica (Stanford Encyclopedia of Philosophy)Opened and checked against this page on 29 Sept 2026