Kepler's third law calculator

For planets round the Sun, the period in years squared equals the semi-major axis in astronomical units cubed. The general form needs the mass.

AU
years
solar masses
Period for that axis
1.881 38years
≈ Rounded Kepler's third law
Axis for that period
1.523 793 AU
Period in days
687.18
Axis in kilometres
227 956 130
Mean orbital speed
24 127.3
Given axis in metres
227 987 150 000
Show the working
  1. Semi-major axis = 1.524
  2. Or a period = 1.881
  3. Total system mass = 1
  4. Period for that axis = sqrt(1.524^3 / 1) = 1.881 38
  5. Axis for that period = (1.881^2 * 1)^(1/3) = 1.523 79
  6. Period in days = 1.881 38 * 365.25 = 687.176
  7. Axis in kilometres = 1.523 79 * 149597870.7 = 227 956 000
  8. Mean orbital speed = 1.881 38 > 0 ? 2 * pi * 1.524 * 149597870700 / (1.881 38 * 31557600) : 0 = 24 127.3
  9. Given axis in metres = 1.524 * 149597870700 = 227 987 000 000

Values are shown to six significant figures here; the arithmetic itself runs on exact fractions and is only rounded where a number is printed.

Scenarios & local history

Compare a saved scenario

Recent calculations

    The formula

    • T^2 = a^3 / M, with T in years, a in AU and M in solar masses

    Mars at 1.524 AU gives 1.881 years, which is exactly what it takes.

    Related calculators

    Settings

    Theme

    System follows your operating system and changes with it.

    Text size
    High contrast

    Maximises text and border contrast and removes the grid background.

    Graph-paper background

    Round to
    Notation
    Thousands separators
    Decimal mark
    Nearest fraction

    Shows the result as the nearest tape-measure fraction, with the error it costs.


    Accessibility & interaction
    Reduce motion Stops interface animations even when the operating system does not.
    Underline links Keeps links visually distinct without relying on colour.
    Larger touch targets Makes buttons and form controls easier to tap.
    Shorter reading lines Limits article width for easier scanning.
    Monochrome display Removes colour as an information cue.
    Always-visible focus Makes the keyboard focus ring persistent and stronger.
    Verbose screen-reader results Announces the complete conversion equation.
    Sticky action bars Keeps converter and calculator actions within reach.
    Select values on focus Replaces a value immediately when you start typing.
    Left-handed mobile layout Moves key mobile actions toward the left thumb.

    Your data

    Settings, recent conversions and favourites live in this browser only. Nothing is sent anywhere.

    Offline library