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
- Optionally click a preset (Earth, Moon or LEO satellite) to fill both fields.
- Or type the semi-major axis in meters, using scientific notation like 1.496e11.
- Type the central body mass in kilograms, such as 1.989e30 for the Sun.
- Read the orbital period on the three cards: seconds, days and years.
- 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
- Kepler's third law from a moon to a satellite
How one formula predicts the period of the Moon, a weather satellite and the planets, and what the semi-major axis really controls.
Related tools
Gravitational Force Calculator
Calculate the gravitational force between two masses with Newton's law of universal gravitation, F = G m1 m2 / r squared. Free physics calculator.
Escape Velocity Calculator
Calculate escape velocity from any planet, moon or star with v = sqrt(2GM/r). Pick Earth, Mars or Jupiter presets or enter mass and radius. Free tool.
Planet Weight Calculator
Find your weight on other planets and the Moon. Enter your Earth weight in pounds or kilograms to see it scaled by each body surface gravity.
555 Timer Calculator
Calculate 555 timer astable frequency, period, high and low times and duty cycle from R1, R2 and the timing capacitor. Free oscillator design helper.
Absolute Humidity Calculator
Calculate absolute humidity in grams of water vapor per cubic meter from air temperature and relative humidity. Fast, free and works in your browser.
Allele Frequency Calculator
Find allele frequencies from genotype counts. Enter the number of AA, Aa and aa individuals to get the A and a allele frequencies and allele totals.