Skip to main content
Calcimator

Binary Star Orbit

Calculate the total mass of a binary star system from orbital period and semi-major axis using Kepler's Third Law.

About this calculator

This calculator applies Kepler's Third Law in its solar-system-units form, M_total = a^3 / P^2, where Semi-Major Axis (a) is in astronomical units, Orbital Period (P) is in years, and the result is total system mass in solar masses. This is Newton's reformulation of Kepler's original relation -- Kepler found only that P^2 is proportional to a^3, and it was Newton's law of gravitation that revealed the proportionality constant is the total system mass when a, P, and M are expressed in these particular units (see OpenStax's Astronomy 2e derivation of Newton's form of Kepler's Third Law, cited below). Because mass scales with the cube of Semi-Major Axis but only the inverse square of Orbital Period, Semi-Major Axis moves Total System Mass more strongly for the same percentage change in either input -- doubling the separation roughly octuples the implied mass, while doubling the period only quarters it. Each Star (if equal) is simply half of Total System Mass, a convenience figure that only applies when the pair is a genuine equal-mass binary; for an unequal pair you would need the individual mass ratio from radial-velocity or astrometric data, which this calculator does not model. Orbital Velocity and Separation are computed independently from the same two inputs using basic circular-orbit geometry (v = 2*pi*a/P and separation converted to light-seconds) rather than from the derived mass, so they respond only to the input whose units they actually depend on: Separation moves only with Semi-Major Axis, and Period (days) moves only with Orbital Period.

The calculator treats the relative orbit as circular; a genuinely eccentric binary's true mass, from the full vis-viva form of Kepler's law, would differ from this simplified circular estimate, so treat Total System Mass as a first-pass approximation rather than a precise fit to a measured eccentric orbit. Orbital Energy is the system's specific orbital energy (energy per unit reduced mass), computed as -mu / (2a) where mu is the standard gravitational parameter (G times Total System Mass). It comes out negative at every valid input combination -- a negative specific orbital energy is the standard signature of a bound, closed orbit, since it takes positive energy input to unbind the pair to infinity. A larger magnitude (a more negative value) means a more tightly bound system, driven the same way Total System Mass is: strongly by Semi-Major Axis and Orbital Period through the Kepler relationship.

Inputs

years
AU

Results

Total System Mass

1 M☉

Orbital Velocity

29.79 km/s

Each Star (if equal)0.5 M☉
Period365.25 days
Separation499 light-sec
Orbital Energy-443,669,318 J/kg

Figures current as of 2016. Source: OpenStax Astronomy 2e, "Newton's Universal Law of Gravitation" (section 3.3) — derives Kepler's Third Law from Newtonian gravitation and states it in the AU/year/solar-mass convenience units this calculator uses

How to Use This Calculator
  1. Enter the Orbital Period (years) of the binary system — obtainable from long-term radial velocity or astrometric monitoring.
  2. Enter the Semi-Major Axis (AU) of the relative orbit, derived from angular separation at known distance or interferometry.
  3. Read Total System Mass (M☉) computed via Kepler's Third Law (M = a³/P²).
  4. If the stars have equal mass, Each Star mass is half the total; use the mass ratio from spectroscopy for unequal pairs.
  5. Use Orbital Velocity (km/s) and Separation (light-sec) to contextualize the system's compactness.
  6. Check Orbital Energy (J/kg) — always negative for a bound system, with a larger magnitude meaning a more tightly bound pair.

How the result changes with Semi-Major Axis

Semi-Major AxisTotal System MassOrbital Velocity
0.50.125 M☉14.89 km/s
0.750.4219 M☉22.34 km/s
1.53.375 M☉44.68 km/s
2.515.625 M☉74.46 km/s

What each input means

Orbital Period
Orbital period of the binary pair in years (e.g., Alpha Centauri AB = 79.9 yr)
Semi-Major Axis
Semi-major axis of the relative orbit in AU (e.g., Alpha Centauri AB = 23.4 AU)

How this is calculated

Formula

M = a³ / P² (Kepler's Third Law)

Worked example, using the default values

  1. Identify Input Parameters
    Orbital Period = 1, Semi-Major Axis = 1 = 2 input(s) provided
  2. Calculate Total System Mass
    Total System Mass = m
    1 = 1
  3. Calculate Orbital Velocity
    Orbital Velocity
    29.79 = 29.79
  4. Calculate Each Star
    Each Star
    0.5 = 0.5
  5. Calculate Period
    Period
    365.25 = 365.25

Figures and sources

Engine last updated . Checked against 2 independently-derived tests — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.

Frequently Asked Questions

Why does Semi-Major Axis move Total System Mass more than Orbital Period does?

Kepler's Third Law in these units is M = a^3 / P^2 -- mass scales with the cube of the semi-major axis but only the inverse square of the period. A given percentage change in Semi-Major Axis therefore has roughly 1.5 times the exponent's worth of leverage on Total System Mass compared with the same percentage change in Orbital Period, which is why the axis is the dominant input here.

Does the calculator account for unequal-mass binary stars?

Each Star (if equal) simply divides Total System Mass by two, which is only correct when the pair genuinely has equal masses. Real binaries usually have unequal components; splitting the total correctly for those requires the mass ratio measured from radial-velocity amplitudes or astrometric wobble, which this calculator does not take as an input.

Why doesn't Orbital Period affect the Separation output?

Separation is computed directly from Semi-Major Axis converted into light-seconds using the fixed speed of light and the AU-to-meters conversion -- it is a pure unit conversion of the axis, not a derived orbital quantity, so Orbital Period never enters that calculation at all.

Does this calculator handle eccentric binary orbits?

No. It treats the relative orbit as circular for the velocity and separation outputs, and Kepler's Third Law itself uses the semi-major axis regardless of eccentricity for Total System Mass, but the circular-orbit velocity formula specifically assumes a near-circular path. A highly eccentric real binary's instantaneous orbital velocity would vary significantly around the orbit in a way this simplified model does not capture.

What does the Orbital Energy figure mean, and why is it negative?

Orbital Energy is the system's specific orbital energy, -mu / (2a), where mu is the gravitational parameter G times Total System Mass and a is Semi-Major Axis converted to meters. It is always negative for a real orbit, which is the standard sign convention for a gravitationally bound system: positive energy would mean the pair is unbound and flying apart forever, so a negative value confirms the two stars are gravitationally locked together. A more negative (larger-magnitude) number describes a more tightly bound pair -- a closer, faster orbit -- while a value closer to zero describes a wider, more loosely bound system.

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Science & Physics.