Kepler's Third Law Calculator
Find how long an orbit takes from its size.
Result
How it is calculated
Kepler's third law links the size of an orbit to its period. In astronomical units, solar masses and years the law reads T² = a³ ÷ M, so T = √(a³ ÷ M). a is the semi-major axis of the orbit in astronomical units (AU, the Earth-Sun distance), M is the mass of the central body in solar masses (1 if empty or not positive) and T is the period in years. The period is also shown in days (years × 365.25). The semi-major axis must be above zero. The formula assumes the orbiting body is far lighter than the central one, which is right for planets around the Sun but only approximate for two similar stars.
Worked example
Mars orbits the Sun at a mean distance of 1.524 AU, and the central mass is 1 solar mass. Cube the distance: 1.524³ = 3.540. Divide by the mass: 3.540 ÷ 1 = 3.540. Square root: √3.540 = 1.88 yr. In days: 1.88 × 365.25 = 687.18 days. Doubling the central mass would shorten the period by a factor of √2, to about 1.33 years.
Common mistakes
- Entering distance in kilometres or millions of kilometres. The axis must be in astronomical units.
- Entering the mass in kilograms or Earth masses instead of solar masses.
- Using the distance from the Sun at one moment rather than the semi-major axis, which for elliptical orbits is the average of the closest and farthest distances.
- Forgetting the cube: doubling the distance multiplies the period by about 2.83, not by 2.
About this calculator
This calculator finds an orbit's period from its size using Kepler's third law: T² = 4π²a³/(GM), where a is the semi-major axis of the orbit, M is the mass of the central body, and G is the gravitational constant. In the simplified form for solar-system objects, T² (in years) equals a³ (in AU) when orbiting the Sun.
Astronomers use this to determine orbital periods of planets, moons, exoplanets, and artificial satellites from their orbital distance, and — run in reverse — to infer a central body's mass from an orbiting object's period and distance, which is how astronomers weigh stars and planets they can't put on a scale.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments (1)
Inputs are the semi-major axis in AU and the central mass in solar masses, so the tool suits exoplanets and binary stars as well as our own system. It treats the orbiting body as negligible and uses 1 solar mass if the mass is blank. For short orbits, read the days line rather than the years line, because years are rounded to two decimals. Which orbit would you like to try?