1
1
yr
365.25
days
1
AU
1
M☉
6.283185
AU
6.283185
AU/yr
29.785254
km/s
1
1
yr
365.25
days
1
AU
1
M☉
6.283185
AU
6.283185
AU/yr
29.785254
km/s
Kepler's Third Law Calculator solves the fundamental relationship between orbital period, semi-major axis, and central mass in three directions: compute the period from the orbit size and mass, find the orbit size from the period and mass, or determine the central mass from the orbital parameters. This bidirectional capability reflects the real power of Kepler's third law as an astronomical tool.
Kepler's third law in its modern form: T^2 = a^3/M (with T in years, a in AU, M in solar masses). This elegant formulation applies to any gravitationally bound two-body system, allowing astronomers to measure masses that would otherwise be impossible to determine. Every measurement of a stellar mass from binary star orbits, every determination of a planet's mass from its moon's orbit, and every measurement of a black hole's mass from orbiting stars around it — all use this law.
The historical development of this law spans three centuries: Kepler's empirical discovery (1619), Newton's theoretical derivation from the inverse-square law (1687), and its application to determine the masses of planets (eighteenth century), binary stars (nineteenth century), and ultimately galaxies and black holes (twentieth century). It remains one of the most productive relationships in all of science.
Kepler's third law also formed the basis for Einstein's verification of general relativity's corrections to Newtonian gravity in strong gravitational fields. The precession of Mercury's perihelion — a small deviation from the pure Keplerian orbit — was the first classical test of GR, and studying stellar orbits near Sgr A* has confirmed GR corrections at high precision.
Forward (period): T = sqrt(a^3 / M) years. Inverse (semi-major axis): a = (M T^2)^(1/3) AU. Mass: M = a^3 / T^2 solar masses. These are all rearrangements of Kepler's third law in solar units (T in years, a in AU, M in M_sun). For SI units: T^2 = (4 pi^2 / GM) x a^3 with G = 6.674x10-11 N m² kg-2.
For planets in the Solar System, M ≈ 1 solar mass (dominates over planet mass) and the simple formula holds accurately. For binary stars, M is the total system mass. For exoplanets, M is the stellar mass. For moons around planets, M is the planetary mass expressed in solar masses (Earth = 3.003x10-6 M_sun, Jupiter = 9.548x10-4 M_sun). Period in seconds: T_s = T_yr x 3.1558x10^7.
Inputs
Results
Star S2 orbits Sgr A* with semi-major axis ~970 AU and period ~16 years. Kepler's third law gives M = a^3/T^2 ≈ 3.5 million solar masses, consistent with the measured ~4 million solar mass central black hole.
Inputs
Results
51 Pegasi b was discovered with a period of 4.23 days (0.01159 years). Kepler's third law gives a semi-major axis of 0.050 AU — confirming its hot Jupiter classification at extreme proximity to its star.
First law (1609): Planets orbit the Sun in ellipses with the Sun at one focus. Second law (1609): A line connecting a planet to the Sun sweeps equal areas in equal times (angular momentum conservation). Third law (1619): The square of the orbital period is proportional to the cube of the semi-major axis: T^2 proportional to a^3. Newton later showed all three laws follow from the inverse-square gravitational force law.
No. Kepler's third law uses the semi-major axis, which equals the radius for a circular orbit but also works for ellipses of any eccentricity. An ellipse with semi-major axis a has the same orbital period as a circle of radius a around the same central mass. This is a remarkable result: eccentricity does not affect period.
By measuring the orbital velocity and distance of stars and gas clouds at various radii from the Galactic center, astronomers use M = v^2 r / G (from circular orbit balance) or equivalently T^2 = a^3/M. The observation that rotation velocity remains flat at large radii (instead of decreasing) implies mass continues to increase — evidence for an extended dark matter halo.
Yes. For a binary system of total mass M1+M2, T^2 = a^3/(M1+M2) in solar units, where a is the semi-major axis of the relative orbit. If additional information (velocity ratio from spectroscopy, or astrometric position ratio) gives the mass ratio, individual masses M1 and M2 follow. Binary stars are the only direct source of stellar mass measurements.
Near strong gravitational fields (like neutron stars and black holes), GR modifies the orbit. For stars orbiting Sgr A*, the GR correction causes the periapsis to precess (advance) with each orbit — the same effect (at much smaller scale) that explains Mercury's perihelion precession of 43 arcseconds per century. The GR correction for S2 orbiting Sgr A* was first measured in 2020, confirming GR in the strong-field regime.
Indirectly, Kepler's third law gives us the masses and orbital parameters of Solar System bodies, which when combined with radioactive dating of meteorites gives the age of the Solar System (~4.568 billion years). More directly, the orbital period constrains the distance from the Sun, which constrains where a body formed in the protoplanetary disk — informing models of Solar System formation.
The exact form of Kepler's third law is T^2 = 4pi^2 a^3 / (G(M1+M2)), where both masses enter. For planetary satellites (planet mass >> satellite mass), the satellite mass is negligible. For binary systems where both masses are comparable, both must be included. The Earth-Moon system uses M_earth + M_moon as the effective central mass when computing the Moon's orbital period precisely.
Yes — this is how Sgr A*'s mass was measured. Stars in tight orbits around Sgr A* (studied by the UCLA and MPE groups for 30+ years) follow Keplerian orbits. From the measured periods and semi-major axes, the enclosed mass is directly calculated as M = a^3/T^2. This earned Andrea Ghez and Reinhard Genzel the 2020 Nobel Prize in Physics.
The Titius-Bode law is an empirical rule (not a physical law) that predicted the spacing of planet semi-major axes: a = 0.4 + 0.3 x 2^n AU for integer n. It correctly predicted the location of the asteroid belt before Ceres was discovered. Unlike Kepler's third law (which has a rigorous derivation from Newtonian gravity), the Titius-Bode law has no theoretical foundation and fails for Neptune and beyond.
In a perfect two-body gravitational system, orbits are exact Keplerian ellipses. In the real Solar System, gravitational perturbations from other planets cause: precession of the perihelion (orbit slowly rotates), changes in orbital eccentricity and inclination, and in resonant cases, significant energy exchange that can either stabilize or destabilize orbits over millions of years. These effects are studied through perturbation theory and numerical integration.
Roboculator Team
The Roboculator Team explains calculations, planning tools, and practical formulas in clear language for real-life situations.
How helpful was this calculator?
Be the first to rate!
Telescope Magnification Calculator
Astronomy & Astrophysics Calculators
Planet Weight Calculator
Astronomy & Astrophysics Calculators
Star Age Calculator
Astronomy & Astrophysics Calculators
Star Mass Calculator
Astronomy & Astrophysics Calculators
Stellar Luminosity Calculator
Astronomy & Astrophysics Calculators
Hertzsprung-Russell Diagram Calculator
Astronomy & Astrophysics Calculators