anındahesapla

Kepler's third law calculator

Finds an orbital period from the semi-major axis and the mass of the central body.

· Updated:

WhatsApp X Facebook

Orbital period: 0.999893 years. A body orbiting one solar mass at 1 AU takes this long to complete a lap, which equals 365.2109 days or 31,554,223.24 s. The setup matches Earth around the Sun.

Astronomers use the same relation to time planets, moons, asteroids and satellites. Run it backwards and the measured period of a moon reveals the mass of the planet it circles. Students meet it early in physics because it links geometry and gravity in one short equation.

AU
M☉

Result

0.999893 years

Orbital period: 0.999893 years

T = 2 π·√(a³/GM)

What the third law says

The third law of planetary motion states that the square of a planet's orbital period grows with the cube of its average distance from the Sun. Gravity explains why: gravity weakens with distance, so a body farther out moves more slowly and also has a longer path to cover.

The semi-major axis is half the longest diameter of an elliptical orbit. For a near circle it equals the radius. Distances between planets are often given in astronomical units (AU), where 1 AU is the average Earth to Sun distance.

Central mass sets the pace. A heavier star pulls harder, so planets at the same distance circle it faster. The tool asks for this mass in solar masses (M☉), where 1 means a star like the Sun.

The law assumes the orbiting body is much lighter than the central one. That holds for planets around stars and for most moons. For two stars of similar mass, both masses have to be added together, and the tool then describes their combined motion.

Doubling the distance does not double the period. Because of the cube and square relation, the period grows by almost three times. That is why the outer planets take decades or centuries for a single orbit.

The same relation works for exoplanets. Telescopes measure how long a planet takes to pass in front of its star, and with the star's mass estimated from its colour and brightness, the orbit size follows. That is how astronomers judge whether a newly found world sits in the zone where liquid water could exist.

How the period is calculated

The tool uses the gravitational form of the law: T = 2π × √(a³ ÷ (G × M)), with distance converted to metres and mass to kilograms before converting back into years, days and seconds.

  1. Enter the semi-major axis in AU.
  2. Enter the central mass in solar masses.
  3. Read the period in years, days and seconds.
Input or resultValue
Semi-major axis (a)1 AU
Central body mass1 M☉
Period (years)0.999893
Period (days)365.2109
Period (seconds)31,554,223.24 s

The tiny gap from a calendar year comes from rounded constants. It is well within the precision needed for school work or quick estimates.

For satellites around Earth, convert Earth's mass into solar masses first, then enter the orbit radius from the planet's centre, not the height above the ground. Mixing those two is the usual source of wrong answers.

Frequently Asked Questions

What is the semi-major axis?
Half of the longest diameter of an elliptical orbit. For a circular orbit it equals the radius.
Why does a heavier star shorten the period?
Stronger gravity pulls the orbiting body faster along its path, so each lap takes less time.
Can I use it for moons and satellites?
Yes. Enter the planet's mass in solar masses and the orbit radius from the planet's centre.
Does the orbiting body's own mass matter?
Only when it is comparable to the central mass. For planets and most moons it can be ignored.
How far out would a ten year orbit around the Sun be?
Rearrange the law or try values until the period reads ten years. The distance comes out between Jupiter and Saturn.

Related calculations