Semimajor Axis Calculator
Enter an orbital period and central body mass to calculate the semimajor axis of the orbit using Kepler's Third Law.
Orbital Parameters
Time for one complete orbit
Use scientific notation: 1.989e30
Formula: a = ∛(G·M·T² / 4π²)
G = 6.674 × 10−11 N·m²/kg²
Select a preset or enter custom values, then click Calculate.
Earth
a = ∛(GM·T² / 4π²)— km
Semimajor Axis
vs. Earth orbit (1 AU = 149,597,871 km)
Kilometers
Astronomical Units
Light-Minutes
Input Values Used
Orbital period:
Central mass:
Solar System Comparison (planets around Sun)
| Planet | Axis (AU) | Scale |
|---|
Summary
Enter an orbital period and central body mass to calculate the semimajor axis of the orbit using Kepler's Third Law.
How it works
- Select a Solar System preset to load known orbital data, or choose Custom to enter your own values.
- For custom input, provide the orbital period (in seconds, minutes, hours, days, or years) and the central body mass in kilograms.
- The calculator applies the inverted form of Kepler's Third Law: a = ∛(G × M × T² / 4π²).
- Results are displayed in kilometers, astronomical units (AU), and light-minutes for easy cross-referencing.
- A comparison bar shows how the computed orbit compares in size to Earth's orbit around the Sun (1 AU).
Use cases
- Determine the orbital radius of an exoplanet from its measured period.
- Verify Solar System orbital data using Kepler's Third Law.
- Calculate the altitude of a satellite given its orbital period.
- Find the semimajor axis of a hypothetical orbit for science fair or homework problems.
- Explore how orbital period and orbit size are related for different central bodies.
- Compute geostationary orbit altitude from a 24-hour period and Earth's mass.
- Illustrate that shorter periods correspond to tighter, faster orbits.
- Prepare inputs for n-body simulation software that requires semimajor axis values.
Frequently Asked Questions
Last updated: 2026-06-11 ·
Reviewed by Nham Vu