# Kepler's Third Law Calculator

Planets dance in the sky following a set of elegant rules: learn **how to calculate Kepler's third law** with CalcTool to see part of the choreography above us.

Reading our article, you will learn:

- What are
**Kepler's laws of planetary motion**, with a focus on his third law; - How to calculate Kepler's third law: equation and units.
**How to use Kepler's third law**: example of application of celestial mechanics.

## Gearing of the celestial spheres: Kepler's law and fundamentals of orbital mechanics

Free from the atmosphere, where friction is nothing but a distant concept, planets and stars move following only the rules dictated by gravity.

The movement of **two bodies** bounded by the gravitational force alone, the so-called **two body problem**, is a staple of orbital mechanics. Physicists love it since it has **exact solutions**, something that is rarely true for a three-body problem. These same solutions came to scientists after centuries of **observations**. It's on the observations that **Kepler**, a German astronomer (and much else, as it was common back then), at the beginning of the XVII^{th} century, formulated the famous **Kepler's law of planetary motion**.

Kepler's law came to the world too soon: Newton's theory for the gravitational force was still some years away, with it, their explanation and complete understanding. With a lot of intuition and intelligence, Kepler supposed and modeled his laws so that years after his death, the newly discovered force fitted his result as a glove.

🙋 The gravitational force is a complex and fundamental topic of physics: we talked about it in detail on our gravitational force calculator.

Kepler formulated **three laws**:

- The
**first Kepler's law**: planets move in**elliptic orbits**, with the**Sun occupying one of the foci**. - The
**second Kepler's law**: a segment joining a planet and the Sun covers**equal areas in equal intervals of time**. - The
**third Kepler's law**: a planet's**orbital period squared**is proportional to the**cube of its orbit's semi-major axis**.

Let's analyze in detail Kepler's third law: from calculations to examples and much more.

## Kepler's third law equation: how to calculate Kepler's third law

The original formulation of Kepler's third law — and the others — relied on the Copernican **heliocentric** model and the extremely precise observations by Tycho Brahe.

"*The square of the orbital period of a planet is proportional to the cube of the semi-major axis of its orbit*."

Kepler himself could see the moons of Jupiter moving according to its law. What can we see in this law?

- The
**elliptical nature of an orbit**; the semi-major axis is half the longer axis departing the**center**of the orbit; - The
**orbital period**; a planet takes a fixed amount of time to complete a revolution around its star. - There is a
**connection between period and distance from the star**.

When Newton came up with his genial understanding of the gravitational force, Kepler's law finally found the mathematical formalism they needed. Newton's version of Kepler's third law requires us to begin by equating the **centripetal force** and the **gravitational force**:

🙋 If you need to refresh your knowledge of the centripetal force, head to the **centripetal force calculator**

Where:

- $m$ — The
**mass of the planet**; - $M$ — The
**mass of the star**; - $r$ — The
**semi-major axis**; - $G$ — The
**gravitational constant**; and - $\omega$ — The
**angular velocity**of the planet.

Let's write the angular speed in terms of the **orbital period**:

And rearrange in a suitable way:

In a few steps, the Newton's version of Kepler's third law gave us the mathematical relationship we wanted:

Obviously, the true equation for Kepler's third law is more than just this proportionality relation. We must remember to **add the proper units to Kepler's third law**. Knowing that:

- The period has unit $[\text{s}]$; and
- The semi-major axis ahs unit $[\text{m}]$.

We can assume the presence of a **constant** $k$ with units $[\text{s}^2/\text{m}^3]$. From Newton's version of Kepler's third law, we can say that:

The gravitational constant is $G= 6.6743 \times 10^{-11}\ \text{m}^3/\left(\text{kg}\cdot\text{s}^2\right)$: here you can see the correct units for Kepler's third law finally coming in place.

Let's see an example of Kepler's third law equation.

## How to use Kepler's third law: a heavenly example

We can try to calculate Kepler's third law in an example. The constant we met in the last section is valid for each orbit centered on the same object: we will focus on two objects orbiting the Sun. This time we chose Earth and its twin sister, Venus.

Earth has a pretty low eccentricity (meaning its orbit is almost circular). The parameters of its orbit are:

- Semi-major axis: $r = 149.60\times 10^6\ \text{km}$; and
- Period: $T = 365.256\ \text{days}$.

🙋 We have an entire tool dedicated to our planet's orbit: visit the **Earth's orbit calculator** to learn more about it!

We apply Kepler's third law equation to find the value of the constant relating semi-major axis and period:

Don't mind the unit, but remember to be consistent. Let's find Venus's semi-major axis using the calculated Kepler's third law's constant and its orbital period (fairly easy to measure from Earth):

That is, effectively, the distance of Venus's apogee.