Files never leave your device

Orbital period calculator

Find orbital period from a semi-major axis and total mass using Kepler’s third law. Your inputs stay on your device.

Set up your task

Ready. Processing stays in this browser.

How to use Orbital period calculator

Calculate the time for one orbit in a bound two-body system. Use the semi-major axis and combined mass to compare periods of planets or other pairs of objects.

  1. Enter Semi-major axis (AU), Total mass (solar masses).
  2. Use the units shown beside the inputs and compare the first result with your own calculation.
  3. Check the substitution and read the assumptions below before applying the result to a different exercise.

Supported inputs and limits

Use a bound two-body orbit. Supply the semi-major axis in AU, and the combined mass in solar masses.

How it works

Newton’s form of Kepler’s third law is P = 2π√(a³/GM). Here a is the semi-major axis, G is the gravitational constant and M is the combined mass. The calculator converts astronomical units to metres and multiplies the total mass in solar masses by the nominal solar gravitational parameter. It converts seconds to days and Julian years.

At one astronomical unit and one solar mass, the answer is about 365.26 days. This is a model example. The input needs the combined mass of both bodies, although a small planet’s mass is usually negligible next to its star. When the masses are comparable, use both rather than only the mass of the brighter object.

The semi-major axis is half the long diameter of the ellipse. If you have the closest and farthest separation, take their mean. An orbit with a constant separation is a circle, and the semi-major axis is then its radius. Keep distances as separations between the bodies when using the relative two-body orbit.

At fixed mass, doubling the semi-major axis raises the period by 2 to the power of 1.5, about 2.83. At fixed semi-major axis, quadrupling the total mass halves the period. Those ratios are useful checks. The tool omits perturbations from additional bodies, drag and relativistic corrections.

Astronomy reference

Example

The pre-filled example starts with “Orbital period: 365.256898 days”.

Semi-major axis (AU)
1
Total mass (solar masses)
1
Orbital period: 365.256898 days
Period in Julian years: 1.00001889 years
Semi-major axis a: 149,597,871,000 m
Total gravitational parameter GM = 132,712,440,000,000,000,000 m³/s²
P = 2π√(a³ / GM)

Questions about Orbital period calculator

Can I use this for an elliptical orbit?

Yes. Use its semi-major axis. There is no extra eccentricity factor for the period at a given semi-major axis in the ideal model.

Why is the output in Julian years?

A Julian year is exactly 365.25 days. The calculator uses a fixed unit so the conversion is reproducible.

What does AU mean?

One astronomical unit is exactly 149,597,870,700 metres. The input is a multiple of this distance.

Related tools

Astronomy and other university calculators

Last updated