1. Home
  2. Physics
  3. Gravitation
  4. Kepler's Third Law Calculator

Kepler's Third Law Calculator

T² = 4π²r³/GM: find period, orbit radius or the central mass.

PhysicsGrades 11–12IntermediateStep-by-step solution

Practice questions

Textbook-style questions. Press Solve in the tool to load the values and see the full solution. Underlined words are explained below.

  1. The Moon orbits the Earth at 3.84 × 10⁵ km in 27.3 days. Find the mass of the Earth.

  2. Find the period of a satellite whose orbit radius is 8000 km around the Earth.

  3. Find the mass of the Sun from the Earth's orbit (radius 1 AU, period 1 year).

Worked example

Here's the first practice question solved in full, so you can see exactly what you'll get. Try it on paper before you read the steps.

Question: The Moon orbits the Earth at 3.84 × 10⁵ km in 27.3 days. Find the mass of the Earth.

Plan: how this problem is solved
  1. Write the given values in SI units
  2. Solve for M
Answer
Mass of planet / central bodyM = 6.02 × 1024 kg (≈ 1.008 M⊕)
Step-by-step solution
  1. Write the given values in SI units
    r=3.84 × 105 km = 3.84 × 108 m
    T=27.3 day = 2.359 × 106 s
    G=6.674 × 10−11 N m²/kg²
    To find: M (Mass of planet / central body)
  2. Solve for M
    M=4 π2 r3G T2
    =4 × π2 × (3.84 × 108)3(6.674 × 10−11) × (2.359 × 106)2
    =6.02 × 1024 kg (≈ 1.008 M⊕)
Key idea: For elliptical orbits use the semi-major axis in place of r. The orbiting body's own mass is assumed small.

Terms used on this page

New to a word in the question or the solution? Here it is in simple language.

Mass (m, M)
How much matter a body has. It's measured in kilograms (kg) and stays the same everywhere, on Earth or on the Moon.
Weight
The pull of gravity on a body, so it's a force: W = mg, in newtons (N). Your mass stays fixed, but your weight changes from planet to planet.
Powers of ten (6.4 × 10⁶)
A short way to write very big or very small numbers. 6.4 × 10⁶ means 6.4 with the point moved 6 places right: 6,400,000. In the boxes you can type it as 6.4e6.
Universal gravitational constant (G)
A fixed number in Newton's law: G = 6.674 × 10⁻¹¹ N m²/kg². It's tiny, which is why you don't feel the pull of the person sitting next to you.
Radius (R) and distance from centre (r)
R is the size of the planet, from its centre to its surface. r is the distance from the centre to the point you're looking at. Above the surface, r = R + h.
Orbital velocity (vₒ)
The speed a satellite needs to keep going round a planet in a circle. Gravity bends its path just enough. Close to the Earth it's about 7.9 km/s.
Time period (T)
Time taken for one full round. The Moon's period around the Earth is about 27.3 days.
Satellite
Any body that goes round a planet. The Moon is a natural satellite; communication and weather satellites are man-made.
Kepler's third law
The square of a planet's period is proportional to the cube of its orbit size: T² ∝ r³. Planets further away take much longer to go round.
Elliptical orbit, eccentricity (e)
Most orbits are stretched circles called ellipses. Eccentricity tells you how stretched: 0 is a perfect circle, close to 1 is very long and thin.
Semi-major axis (a)
Half the longest width of an ellipse, equal to the average of the nearest and farthest distances. It decides the period of an elliptical orbit.
Astronomical unit (AU)
The average distance from the Earth to the Sun, about 1.496 × 10¹¹ m (150 million km). Handy for distances inside the solar system.

Symbols in this solver

What each box asks for, and its unit.

SymbolWhat it meansSI unit
MMass of planet / central bodykg (or g, tonne, M⊕, M☾, M☉)
rOrbit radius (from centre)m (or km, cm, mm, R⊕, AU)
TTime periods (or min, h, day, yr)

Formula & concept

T² = 4π²r³/GM. Find the period, orbit radius, or the mass of the central body (e.g. weigh the Earth using the Moon).

T2 = 4π2r3G M

Key idea: For elliptical orbits use the semi-major axis in place of r. The orbiting body's own mass is assumed small.

What it can find

Choose the unknown with the “What do you want to find?” buttons: time period, orbit radius (from centre), mass of planet / central body. The formula is rearranged for you and every step is shown.

How to use this calculator

  1. Choose what you want to find. Its box turns orange.
  2. Type the known values from your question and pick the unit for each one.
  3. Press Solve step by step.
  4. Read the plan first. It lists the steps the solution will follow. Want to try it yourself? Tick Practice mode and the answer stays hidden until you ask for it.
  5. Check the answer, then go through each numbered step. Where there's a second method, it's shown after the main one.
  6. Stuck on a word? The terms section explains it in simple language.

Frequently asked questions

How does the Kepler's Third Law work?
You enter the values you know, pick their units and press Solve. The tool changes everything to SI units, applies the formula T^2 = (4π^2r^3)/(G M) and shows you each step: given data, formula, substitution and the final answer.
What is the key idea behind it?
For elliptical orbits use the semi-major axis in place of r. The orbiting body's own mass is assumed small.
Can I enter values in km, mm, kN or °C?
Yes. Each box has a unit list. The conversion to SI units is shown as the first step of the solution.
What if my answer doesn't match my book?
First check that you've picked the right units. Then see which constants your book uses and how many figures it rounds to. You can change the number of figures under Settings in the solver. A small difference in the last digit is usually just rounding.
Can I see how to solve it without seeing the answer?
Yes. Tick Practice mode under the solver. You'll get the plan of steps only, so you can work it out on paper. One click then shows the full solution.
Is the Kepler's Third Law free to use?
Yes, it's free with no sign-up. All calculations happen inside your browser and nothing you type is stored.
Which grades is it useful for?
It's made for Grades 11–12 (A-Level · AP · IB · Class 11–12 · JEE · NEET). The working follows the method used in textbooks and exams.