QuickToolbox

Orbital Period Calculator

Find the orbital period from the distance to a central body using Kepler's third law, in years for the Sun or any central mass.

These tools are for study and quick checking. A result is only as good as the numbers you enter and the simplifying assumptions in the formula. For published, regulated or safety-critical work, check it against a trusted source or an instrument.

How it works

The formula

T^2 = 4 pi^2 a^3 / (G M); for the Sun T (years)^2 = a (AU)^3

Frequently asked questions

What is the semi-major axis?

Half the longest width of an elliptical orbit. For a circle it is just the radius.

Does the orbiting mass matter?

Only slightly, when it is tiny next to the central mass. This tool ignores it.

Is what I enter sent anywhere?

No. The calculation is done in your browser, so your numbers are not sent to a server or saved.

Related tools