Convert AU to years of orbital period with Kepler’s third law, or find the semi-major axis from a period, with km, miles and light-years shown.
Calculator Functions
| Function | What it does | What it requires |
|---|---|---|
| Orbital period from AU | Finds the years one orbit takes for a body whose orbit has a given size in AU | Requires the orbital semi-major axis in AU |
| Semi-major axis from years | Finds the size of the orbit in AU for a body with a given orbital period | Requires the orbital period in Julian years |
Both functions take an optional total system mass in solar masses, and a blank means one solar mass, which suits anything orbiting the Sun. Every result lists the period in days and the semi-major axis in kilometers, miles and light-years.
AU to Years Formulas
| P | Orbital period in Julian years of 365.25 days |
| a | Semi-major axis of the orbit (AU) |
| M | Total mass of the two bodies (solar masses) |
An astronomical unit is a distance and a year is a time, so the two convert only through an orbit. Kepler’s third law says the square of the orbital period is proportional to the cube of the semi-major axis [1], and the full form of the law divides by the sum of the two masses [2]. Measured against Earth, which orbits one solar mass at 1 AU in one year, the constants cancel and the formula above is left.
Orbital period from AU
An orbit of 5.204 AU around the Sun, about the size of Jupiter’s, takes √(5.204³) = 11.8715 years, or 4,336.07 days. A heavier system orbits faster: 1 AU around a total of two solar masses takes 0.7071 years.
| Semi-major axis (AU) | Period at one solar mass (years) |
|---|---|
| 0.5 | 0.3536 |
| 1 | 1 |
| 1.524 | 1.8814 |
| 3 | 5.1962 |
| 5.204 | 11.8715 |
| 10 | 31.6228 |
| 14 | 52.3832 |
| 30 | 164.3168 |
Semi-major axis from years
A body that takes 10 years to orbit the Sun has a semi-major axis of ∛(10²) = 4.6416 AU.
For the distance outputs, one AU is 149,597,870.7 km [3] and one mile is 1.609344 km [4]. A light-year is about 63,241 AU [4], so 1 AU is roughly 0.0000158 light-years.
Limits of This Estimate
- The answer is an orbital period. It is not the time needed to travel a distance of that many AU.
- The formula treats two bodies alone in space. It leaves out the pull of other bodies and relativistic effects.
- The semi-major axis is half the longest diameter of the orbit. It equals the distance between the bodies only for a circular orbit.
- The mass is the total of both bodies. The star’s mass alone is a close approximation when the orbiting body is much lighter.
Sources
- NASA Science, Orbits and Kepler’s Laws: Kepler’s third law, period squared in proportion to semi-major axis cubed
- NASA Goddard, Imagine the Universe, Deriving Kepler’s Formula for Binary Stars: the form of the third law that includes the sum of the two masses
- NIST Special Publication 330, The International System of Units (SI), Section 4, Table 8: the astronomical unit in meters
- NIST Special Publication 811, Guide for the Use of the SI, Appendix B.8: the mile in kilometers and the light-year in meters
