Orbital Period Calculator (Kepler's Third Law)

Kepler's third law links orbital distance to orbital period: the farther out an object orbits the Sun, the longer its "year" lasts. Enter a distance to see the period.

Breathtaking image of Earth from space showcasing the vast blue oceans.
Photo by Zelch Csaba on Pexels

Orbital period

—

How this is calculated

T = 2π × √(a³ / GM_sun)

Worked example: at a = 1 AU, this formula returns about 365.26 days — matching Earth's real orbital period, which is a useful sanity check for the formula itself.

Limitations

This assumes a circular orbit directly around the Sun and ignores the gravitational pull of other planets, which slightly perturbs real orbits.

Sources

Your last input is saved in your browser only (localStorage). See Privacy for details.