Orbital Period Calculator
Test cases replayed : 3 of 3 match · Methodology · No outside source listed
Kepler's third law links an orbit's size to the time it takes. Pick the central body and enter the semi-major axis (the orbit radius for a circle).
Result
Orbital periodhours
Central mass used (× 10²⁴ kg)
- Orbital period (seconds)
- Orbital period (days)
- Orbital period (years of 365.25 days)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Central body: choose Earth, Sun, Moon or Other (enter its mass).
- Mass of the other body (× 10²⁴ kg): enter 0 or more.
- Semi-major axis, measured from the body's center: enter 0 or more.
- Distance unit: choose kilometers (km) or astronomical units (au).
- Read the result: Orbital period; the panel also shows Central mass used (× 10²⁴ kg), Orbital period (seconds), Orbital period (days) and Orbital period (years of 365.25 days).
How this calculator works
Kepler's third law in Newton's form: T = 2π √(a³ ÷ (G M)), where a is the semi-major axis, M the mass of the central body and G = 6.67430 × 10⁻¹¹ m³/(kg·s²). The orbiting object's own mass is neglected, which is accurate when it is far lighter than M.
For a circular orbit, a is the radius from the body's center: add the body's radius to an altitude above the surface.
Constants: CODATA 2022 values published by NIST (physics.nist.gov/cuu/Constants, read October 27, 2026).
Masses and mean radii: NASA Planetary Fact Sheets (nssdc.gsfc.nasa.gov/planetary/factsheet, read October 27, 2026): Earth 5.9722 × 10²⁴ kg and 6,371 km, Sun 1,988,400 × 10²⁴ kg and 695,700 km, Moon 0.07346 × 10²⁴ kg and 1,737.4 km. 1 au = 1.495979 × 10¹¹ m (NIST SP 811, read October 27, 2026).
Worked example
| Central body | Earth |
|---|---|
| Mass of the other body (× 10²⁴ kg) | 5.9722 |
| Semi-major axis, measured from the body's center | 7,000 |
| Distance unit | kilometers (km) |
| Central mass used (× 10²⁴ kg) | 5.9722 |
|---|---|
| Orbital period (seconds) | 5,828.5013 |
| Orbital period | 1.619 hours |
| Orbital period (days) | 0.0675 |
| Orbital period (years of 365.25 days) | 0.0002 |
Frequently asked questions
How long is an orbit 7,000 km from Earth's center?
About 1.62 hours (97.14 minutes).
Does Kepler's law give one year for Earth?
Yes: at 1 au from the Sun it gives about 365.26 days.
Does the satellite's mass matter?
Only through the sum M + m. For satellites and planets it is negligible next to the central mass.