Free~25 min · AP Physics 1

Kepler's Laws

Explore planetary motion with three fundamental laws

Key equationT^2 = \frac{4\pi^2}{GM}a^3

Kepler's First Law: planets orbit in ellipses with the Sun at one focus. Second Law: a line joining a planet and the Sun sweeps equal areas in equal times — meaning planets move faster near perihelion. Third Law: T² = (4π²/GM)a³, so the orbital period depends only on the semi-major axis. These laws were derived empirically by Kepler and later derived from Newton's law of gravity.

ProPremium experiment

Unlock Kepler's Laws

Plus 148+ other Pro labs covering AP Physics, Biology, Chemistry, Earth Science, and Math — with unlimited simulation time, advanced parameters, and detailed analytics.

Start 7-day free trial$4.99 / month · cancel anytime
No credit card for trial Cancel in one click Student discount available

What is Kepler's Laws?

Before Newton wrote down gravity, Johannes Kepler stared at Tycho Brahe's hand-tabulated data on Mars for years and pulled three laws out of the numbers. First: orbits are ellipses, with the Sun at one focus, not at the center. Second: a planet sweeps out equal areas in equal times — speeding up at perihelion and slowing down at aphelion. Third: the square of the orbital period is proportional to the cube of the semi-major axis, the same constant for every planet around a given star. This lab lets you build any ellipse you want by adjusting eccentricity and semi-major axis, then watch the orbit unfold in real time. The shaded swept-area sectors update as the planet moves, so you can verify Kepler II by eye, and a period readout lets you confirm Kepler III by varying a and recording T.

Parameters explained

Eccentricity
How elongated the ellipse is. e = 0 is a perfect circle; e = 0.5 is clearly stretched; e = 0.95 is a long thin cigar. Earth's orbit has e ≈ 0.017; Halley's Comet has e ≈ 0.97.
Semi-major Axis(AU)
Half the long diameter of the ellipse, in AU. This single quantity sets the orbital period via T² = (4π²/GM)a³, regardless of how eccentric the orbit is.
Star Mass(M☉)
Central body mass in solar masses. Period scales as 1/√M, so a 4 M☉ star halves the period of any orbit at the same semi-major axis.

Common misconceptions

  • MisconceptionThe Sun is at the center of every planet's elliptical orbit.

    CorrectKepler's First Law puts the Sun at one of the two foci of the ellipse, not at the center. For low-eccentricity orbits like Earth's the focus and center are nearly the same, but for comets the offset is huge — the Sun is way off to one side.

  • MisconceptionA planet moves at the same speed all the way around its orbit.

    CorrectKepler's Second Law (equal areas in equal times) means planets speed up near the Sun and slow down far from it. Earth moves about 30.3 km/s in January (perihelion) and 29.3 km/s in July (aphelion) — a measurable 3% difference.

  • MisconceptionKepler's Third Law (T² ∝ a³) means doubling the orbital radius doubles the period.

    CorrectT scales as a^1.5, not a. Double the semi-major axis and the period grows by 2^1.5 ≈ 2.83. Quadruple it and the period grows by 8. That's why Neptune at 30 AU takes 165 years instead of 30.

  • MisconceptionAn orbit with eccentricity 0.9 is barely different from one with eccentricity 0.5.

    CorrectEccentricity is highly nonlinear in shape. e = 0.5 looks oval; e = 0.9 looks like a long needle, with aphelion about 19 times farther from the focus than perihelion. Run both in the simulator and the difference is dramatic, even though the numbers seem close.

How teachers use this lab

  1. Kepler III lab: have students record period at semi-major axes of 1, 2, 3, and 4 AU around a 1 M☉ star, plot log T vs. log a, and confirm the slope is exactly 1.5.
  2. Equal-areas data collection: pause the simulation at perihelion and aphelion and use the swept-area readout to verify the planet covers the same area in equal time despite very different speeds.
  3. Misconception probe — 'where is the Sun?': set eccentricity to 0.7 and ask students to mark where they think the Sun sits. Most pick the geometric center; reveal the true focus position to break the misconception.
  4. Real-Solar-System verification: have students set a = 0.39 AU (Mercury), 1.52 AU (Mars), 5.2 AU (Jupiter), 30 AU (Neptune) one at a time and check that periods match real values.
  5. Derive-and-test: ask students to derive T² ∝ a³ from Newton's gravity for circular orbits (set GMm/r² = mv²/r, use v = 2πr/T) and then verify the same formula works for elliptical orbits in the simulator.

Frequently asked questions

Why is the Sun at one focus of an elliptical orbit instead of at the center?

An ellipse has two foci, symmetric about its center. When you solve Newton's law of gravity for a bound two-body orbit, the math forces the central mass to sit at one focus, not the geometric center. The other focus is an empty point in space with no physical meaning. For circular orbits the two foci merge with the center, which is why the focus distinction only matters for noticeably elliptical orbits.

How does Kepler's Second Law follow from conservation of angular momentum?

Angular momentum L = mvr_perp is conserved for any central force, including gravity, because gravity exerts no torque about the central body. The area swept by the radius vector in a small time dt is dA = (1/2)r × v dt, which equals L/(2m) dt. Since L and m are constant, dA/dt is constant — that's Kepler's Second Law. So 'equal areas in equal times' is just angular-momentum conservation in disguise.

How does Kepler's Third Law connect to AP Physics 1 standards 3.A.1 and 3.G.1?

Standard 3.A.1 is about identifying forces; in an orbit, gravity is the only force and provides centripetal acceleration. Standard 3.G.1 covers gravitational interactions including circular orbits. Setting GMm/r² = mv²/r and substituting v = 2πr/T gives T² = (4π²/GM)r³ directly — the algebraic version of Kepler III. Doing the derivation and verifying it numerically in this lab is a clean performance task for both standards.

What's the maximum eccentricity for a bound orbit?

A bound elliptical orbit has eccentricity strictly less than 1. At e = 1 the orbit becomes a parabola — the boundary case where the body has exactly escape velocity. At e > 1 the trajectory is a hyperbola and the body flies past the central mass once and never returns. The simulator caps eccentricity at 0.95 to keep things visible, but everything between 0.95 and 1 is still a closed (very elongated) orbit, not a parabola yet.

Why do all planets around the same star obey T² = (constant) × a³?

Because the constant is 4π²/(GM_star), which depends only on the central mass — not on the orbiting planet's mass at all. So Mercury, Earth, and Neptune all satisfy the same proportionality with the same constant. If you switch to a different star (different M), you get a different constant, but every planet around that star obeys the same new constant. This is why Kepler III is one of the cleanest laws in physics.