Free Kepler's Third Law Calculator
a³ / T² = G × M / 4π²
G = 6.6743 × 10⁻¹¹ m³/(kg·s²)
Enter any two values (star mass, orbital period, semi-major axis) to calculate the third one automatically
Orbital Period Calculator and Semi-Major Axis Calculator – This tool is built around Kepler's third law equation, enabling the determination of orbital periods, semi-major axes, or central masses for any gravitationally bound two-body system. It functions as a planetary motion calculator for studying planets, moons, and exoplanets, and can double as a star mass calculator when orbital data from a planet or moon is available.
Definition of Kepler's Third Law
In the early 17th century, Johannes Kepler discovered three empirical rules governing the orbits of the planets. The third law, often summarized as the law of harmonies, establishes a relationship between the orbital period (the time to complete one full revolution) and the semi-major axis (half the longest diameter of the elliptical orbit):
This proportionality holds for all objects orbiting the same central body. Expressed in words: the square of the orbital period is directly proportional to the cube of the semi-major axis.
Mathematical Formulation
The precise form of Kepler's third law emerges from Newtonian mechanics. For a simplified circular orbit, the gravitational force between the central mass and the orbiting mass provides the required centripetal force:
Here is the orbital speed, the orbital radius, and the gravitational constant. Replacing with and simplifying gives:
Hence the ratio is constant for all planets around a given star. When elliptical orbits are taken into account, the radius is replaced by the semi-major axis , and the planet's own mass must be included:
This is the complete Kepler's third law equation used by the calculator. When , the term becomes negligible, and the simple proportionality is an excellent approximation.
Using the Calculator
The interface is straightforward: supply any two of the three parameters – orbital period, semi-major axis, or central mass – and the missing value is computed automatically.
- Orbital Period: Enter the time taken for one orbit.
- Semi-Major Axis: Specify the average distance from the center of mass.
- Central Mass: Provide the mass of the star or central body.
For greater accuracy, especially in systems where the orbiting body has a substantial mass relative to the central body, enable the "planet mass" option and enter the mass of the satellite. This activates the full equation . The calculator supports several unit systems, including metric (meters, seconds, kilograms) and astronomical units (AU, years, solar masses), making it adaptable to different contexts.
Quick test: With solar mass and year, the computed semi-major axis is exactly 1 AU – confirming Earth's orbit and verifying the tool's correct implementation of Kepler's third law.
Solar System Verification
The following table lists the orbital parameters of the eight planets and the dwarf planet Pluto. Each row satisfies the relationship (with minor deviations due to the planets' own masses), serving as a direct validation of the law.
| Planet | Orbital period (yr) | Semi-major axis (AU) | Mass (Earth masses) |
|---|---|---|---|
| Mercury | 0.240 | 0.387 | 0.0553 |
| Venus | 0.615 | 0.723 | 0.815 |
| Earth | 1.000 | 1.000 | 1.000 |
| Mars | 1.881 | 1.524 | 0.107 |
| Jupiter | 11.862 | 5.203 | 317.83 |
| Saturn | 29.457 | 9.537 | 95.159 |
| Uranus | 84.021 | 19.191 | 14.536 |
| Neptune | 164.8 | 30.069 | 17.147 |
| Pluto | 247.94 | 39.482 | 0.0021 |
A quick check for Mercury: , while Earth's ratio is exactly 1. The small variations highlight the need for the full equation that includes each planet's mass.
Estimating Central Mass
This orbital period calculator and semi-major axis calculator also serves as a star mass calculator. To find the mass of a central object, input the orbital period and semi-major axis of a satellite that orbits it, then select "central mass" as the desired output. For cases where the satellite's mass is much smaller than the central body, the result approximates when using AU and years. Earth's own values ( yr, AU) yield solar mass – precisely the mass of the Sun.
Broader Applications
Although originally derived for the Solar System, Kepler's third law applies universally. Astronomers use it to determine binary star masses, to predict spacecraft trajectories, and to characterize exoplanetary systems. With this free online tool, anyone can explore these cosmic relationships without manual calculation – simply enter two known quantities and let the Kepler third law equation do the rest.
FAQ
1. What does Kepler's third law of planetary motion state exactly?
It states that the square of a planet's orbital period (T) is directly proportional to the cube of the semi-major axis (a) of its orbit. In mathematical terms, T² ∝ a³, or more precisely a³/T² = G(M+m)/(4π²), where M is the central mass and m is the planet mass.
2. How can I use this tool to calculate the orbital period of a satellite?
Simply enter the semi-major axis of the satellite's orbit and the mass of the central body (e.g., Earth or the Sun). If you wish to include the satellite's mass for higher precision, activate the custom planet mass option. The calculator will then output the orbital period using the full Kepler third law equation.
3. Can I determine the mass of a star with this calculator?
Yes. By providing the orbital period and semi-major axis of a planet orbiting the star, the calculator can solve for the central mass. This makes it a useful star mass calculator for systems where orbital data is available.
4. Is Kepler's third law valid for elliptical orbits or only circular orbits?
The law applies to both circular and elliptical orbits. In the general case, the orbital radius is replaced by the semi-major axis a, and the equation includes the sum of the two masses, making it valid for any gravitationally bound system.
5. What are typical units used in Kepler's third law calculations?
For ease of use, the calculator works with astronomical units (AU) for distance, years for orbital period, and solar masses for mass. You can also switch to metric units (meters, seconds, kilograms) if needed.
How to Use
- Enter Two Values - Enter any two of the three parameters: star mass (M), orbital period (T), or semi-major axis (a).
- Select Units - Choose the appropriate units for each value - Solar masses, Earth masses, years, astronomical units, and more.
- Read the Result - The third parameter is calculated automatically using Kepler's third law. Enable custom planet mass for higher precision.