Orbital period calculator (Kepler's third law)

Pick the central body, then enter the size of the orbit as a semi-major axis or as an altitude above the surface. The calculator applies Kepler's third law and gives the period in days, hours, minutes and years, or the orbit size for a period you enter.

Find
Orbit size given as
Distance unit
Period, days365.2569
Period, hours
8,766.1656
Period, minutes
525,969.93
Period, years
1
Mean orbital speed
29.785 km/s

Runs in your browser: nothing you enter is sent anywhere.

How to use it

  1. Choose whether to find the period or the orbit size.
  2. Pick the central body, or Custom mass and enter its mass.
  3. Choose whether the orbit size is a semi-major axis or an altitude above the surface.
  4. Enter the orbit size in km or AU, or the period in minutes, hours, days or years.

Formula

T = 2π × √(a³ ÷ μ), where μ = G × M is the gravitational parameter of the central body, and a = ∛(μ × T² ÷ 4π²) for the reverse.

The listed bodies use the same GM values and mean radii as the escape velocity calculator, for example μ = 1.32712440018 × 10²⁰ m³/s² for the Sun and 3.986004418 × 10¹⁴ m³/s² with a mean radius of 6371 km for Earth. 1 AU = 149,597,870,700 m; a year here is 365.25 days. The mean orbital speed is the orbit’s circumference 2πa divided by the period.

Worked example

Earth around the Sun, a = 1 AU: T = 2π × √((1.495978707 × 10¹¹)³ ÷ 1.32712440018 × 10²⁰) = 31,558,196 s = 365.2569 days, at a mean speed of 29.785 km/s.

A satellite 420 km above Earth (a = 6,791 km) goes round in 92.82 minutes. The reverse, a period of one sidereal day, 23.9344696 h, gives a = 42,164.2 km: the geostationary orbit, 35,793.2 km above the mean radius.

Tips

  • Elliptical orbits: the period depends only on the semi-major axis, half the longest diameter of the ellipse.
  • Altitude needs a radius. For a custom body enter its radius, or give the semi-major axis instead.
  • Units: a period of 1 year at 1 AU around 1 solar mass is a quick check of the units.

Frequently asked questions

What is Kepler's third law?

The square of the orbital period is proportional to the cube of the semi-major axis, T² = 4π² × a³ ÷ (G × M). Doubling the orbit size makes the period about 2.83 times longer.

Why does Earth's orbit come out as 365.2569 days?

That is the sidereal year, the time to go once round the Sun relative to the stars. The calendar year of 365.2422 days is measured from equinox to equinox and is about 20 minutes shorter.

Is the mass of the orbiting body included?

No. The calculator assumes the orbiting body is much lighter than the central one. For the Moon around Earth this makes the period about 0.6% too long, since the Moon has 1.2% of Earth's mass.

What is the difference between semi-major axis and altitude?

The semi-major axis is measured from the centre of the central body; for a circular orbit it is the radius of the orbit. Satellite altitudes are usually given above the surface, so choose Altitude and the body's radius is added.

More in Math

All tools in this category: Math ·Updated November 4, 2026

Privacy choices

Google Analytics shows us which tools are used and whether they work. It may set cookies. Your choice is kept in this browser.