Physics Laws & Theorems
Advanced

Kepler's First Law

Planets orbit the Sun in ellipses with the Sun at one focus.

Formula

r=a(1−e2)1+ecos⁡θr = \frac{a(1-e^2)}{1 + e\cos\theta}

Variables

aSemi-major axis
eEccentricity
\thetaTrue anomaly

Example

Earth’s orbit is a slight ellipse, so we are a little closer to the Sun in January.

How it works

This equation gives the radial distance r of an orbiting body from the focus of its elliptical path at a particular angle θ, measured from periapsis. It comes from the conic-section solution of Newton’s inverse-square gravitational force: when gravity provides the centripetal acceleration, the resulting path is a conic with the central mass at a focus, and for a bound orbit that conic is an ellipse. The semi-major axis a sets the orbit’s overall size, while the eccentricity e controls how stretched the ellipse is, so the distance changes smoothly as the body moves around the Sun.

When to use it

Use this when you need the position of a planet, comet, or satellite in an elliptical orbit at a given true anomaly. It is also useful for comparing perihelion and aphelion distances, or for converting orbital elements into a concrete distance from the central body.

Worked example, step by step

Suppose a comet has semi-major axis a = 4.0 AU and eccentricity e = 0.25. Find its distance when the true anomaly is θ = 60°. Step 1: Compute 1 - e^2 = 1 - (0.25)^2 = 1 - 0.0625 = 0.9375. Step 2: Compute the denominator 1 + e cos θ = 1 + 0.25 cos 60° = 1 + 0.25(0.5) = 1.125. Step 3: Substitute into the formula: r = a(1 - e^2) / (1 + e cos θ) = 4.0 × 0.9375 / 1.125. Step 4: Calculate r = 3.75 / 1.125 = 3.33 AU. Final answer: the comet is about 3.33 AU from the Sun at θ = 60°.

Common mistakes to avoid

  • Using the mean anomaly instead of the true anomaly in the cosine term
  • Forgetting that θ is measured from periapsis, not from aphelion or from a fixed direction in space
  • Mixing up the semi-major axis a with the current radius r or using the wrong units for a

Did You Know?

Kepler shattered 2,000 years of dogma by showing planets orbit in ellipses, not perfect circles.

Share this formula

Reviewed & maintained by the FormulaWon editorial teamLast reviewed September 2026