Semimajor Axis Calculator
Enter an orbital period and central body mass to calculate the semimajor axis of the orbit using Kepler's Third Law.
Use the Semimajor Axis Calculator
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π²)Semimajor Axis
Kilometers
Astronomical Units
Light-Minutes
Input Values Used
Solar System Comparison (planets around Sun)
| Planet | Axis (AU) | Scale |
|---|
Summary
The semimajor axis is the characteristic size of an elliptical orbit — half its longest diameter. This calculator inverts Kepler's Third Law, T² = 4π²a³/(GM), to solve for the semimajor axis: a = ∛(GM·T²/4π²). Enter the orbital period and the mass of the central body, and the tool returns the semimajor axis in kilometers, astronomical units, and light-minutes. One-click presets for all eight planets, the Moon, and the ISS let you verify known Solar System values instantly.
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 the computed orbit relative to Neptune's semimajor axis.
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.