Boneyard Tools

Orbital Period Calculator

Enter an orbit's semi-major axis and the mass of the body it circles, and the calculator applies Kepler's third law to return the orbital period. It uses the gravitational constant G = 6.674e-11 and reports the period in seconds, days and Julian years at once. Preset buttons load the Earth, the Moon and a low Earth orbit satellite so you can check the tool against familiar numbers.

How to use the orbital period calculator

  1. Optionally click a preset (Earth, Moon or LEO satellite) to fill both fields.
  2. Or type the semi-major axis in meters, using scientific notation like 1.496e11.
  3. Type the central body mass in kilograms, such as 1.989e30 for the Sun.
  4. Read the orbital period on the three cards: seconds, days and years.
  5. Press Copy to save the full result line.

Examples

Earth around the Sun

a = 1.496e11 m, central mass = 1.989e30 kg
about 3.156e7 s, roughly 365 days, close to 1 year

Moon around the Earth

a = 3.844e8 m, central mass = 5.972e24 kg
about 2.37e6 s, roughly 27.4 days

Low Earth orbit satellite

a = 6.771e6 m, central mass = 5.972e24 kg
about 5545 s, roughly 92 minutes

Frequently asked questions

What is Kepler's third law?

For a small body orbiting a much larger mass, the period T satisfies T = 2 x pi x sqrt(a^3 / (G x M)), where a is the semi-major axis, M is the central mass and G is the gravitational constant. The period grows with the three-halves power of the orbit size.

What is the semi-major axis?

It is half the longest diameter of the elliptical orbit and sets the orbit's overall size. For a circular orbit it equals the orbit radius, measured centre to centre between the two bodies.

Does the orbiting body's mass matter?

In this simplified form it does not. The equation assumes the central mass dominates, as with a satellite around Earth or a planet around the Sun, so the small body's own mass drops out of the result.

What units does the calculator expect?

Meters for the semi-major axis and kilograms for the central mass, the SI units that pair with the built-in gravitational constant. The period comes back in seconds and is also converted to days and Julian years.

Can I enter scientific notation?

Yes. The fields accept forms like 1.496e11 and 5.972e24, which is the practical way to type astronomical distances and masses. Very large or small results are shown in scientific notation too.

Why does Earth's orbit come out close to one year?

Using Earth's average orbital radius of 1.496e11 m and the Sun's mass of 1.989e30 kg, the formula returns about 3.156e7 seconds, which is roughly 365 days, essentially one year as expected.

Which value of G and which year length are used?

The gravitational constant is G = 6.674e-11 N m^2/kg^2. Years are Julian years of exactly 365.25 days, so the days and years cards stay consistent with each other.

Does it handle very elliptical orbits?

Yes, as long as you supply the semi-major axis rather than the closest or farthest distance. Kepler's third law depends only on the semi-major axis, so eccentricity does not change the period.

Is anything sent to a server?

No. The whole calculation runs locally in your browser, so the orbit values you enter are never uploaded.

Learn more

Related tools