HomeArticlesSpace & Astronomy

Binary Star Systems: Two-Body Orbits & Roche Lobes

More than half of all stars belong to binary or multiple systems. Two stars locked in mutual orbit obey the same physics as a planet around a sun — but with a twist: both bodies move, and if they get close enough, one can strip material from the other.

mysimulator teamUpdated July 2026≈ 7 min read▶ Open the simulation

The two-body problem, reduced to one

Two point masses m₁ and m₂ attract each other with Newtonian gravity. Naively this needs two separate equations of motion, but a classic trick — reducing to the relative coordinate — turns it into a single one-body problem, exactly like a planet orbiting the Sun:

r = r₂ − r₁  (relative position)
d²r/dt² = −G(m₁ + m₂)·r / |r|³

Split back onto each star, weighted by mass:
r₁ = −(m₂/M)·r,   r₂ = (m₁/M)·r   where M = m₁ + m₂

The more massive star traces a smaller ellipse closer to the shared barycentre; a light companion swings through a much wider orbit. This same wobble is how astronomers detect exoplanets and even black holes indirectly — a visible star's motion around an invisible companion's shared centre of mass reveals the companion's existence.

live demo · two masses orbiting a shared centre● LIVE

Kepler's third law: weighing a star from its orbit

Newton's generalisation of Kepler's third law is the reason binaries matter so much to astrophysics: measure the orbital period and the physical separation, and the total mass of the system falls out directly.

P² = 4π² · a³ / [G·(m₁ + m₂)]
In convenient units:  P²(years) = a³(AU) / M(solar masses)

Example — Alpha Centauri A/B: a ≈ 23.5 AU, P ≈ 79.9 yr → M ≈ 2.0 M☉

Roche lobes and mass transfer

Real stars have finite size, and in a close binary the Roche lobe — a teardrop-shaped equipotential surface around each star — marks the boundary of gravitationally bound material. If a star expands until it fills its Roche lobe, gas flows through the inner Lagrange point L1 onto its companion, a process called Roche lobe overflow. This drives some of astrophysics' most spectacular phenomena: novae on accreting white dwarfs, X-ray binaries where infalling gas heats to millions of kelvin around a neutron star or black hole, and the Algol paradox, where the less massive star is counter-intuitively the more evolved one — because it used to be heavier before dumping most of its mass onto its companion.

Astronomers classify binaries by how they observe the orbital motion: visual binaries resolve as two separate points of light (Alpha Centauri A/B); spectroscopic binaries reveal themselves through periodic Doppler shifts in spectral lines; and eclipsing binaries, with an orbital plane nearly edge-on to Earth, produce a periodic dip in combined brightness — a light curve — the same technique the Kepler and TESS space telescopes use to detect transiting exoplanets.

Frequently asked questions

How common are binary star systems?

Roughly 50–85% of solar-type stars have at least one stellar companion, depending on spectral type — massive O and B stars are almost always multiple, while low-mass red dwarfs are more often single.

How do astronomers measure the mass of binary stars?

Kepler's third law (P² = 4π²a³/[G(m₁+m₂)]) means measuring the orbital period and separation directly gives the total mass. Combined with the mass ratio from each star's motion, both individual masses fall out.

What is Roche lobe overflow?

Gas flowing through the inner Lagrange point from a star that has expanded to fill its Roche lobe onto its companion — driving novae, X-ray binaries, and the Algol paradox.

Try it live

Everything above runs in your browser — open Binary Stars and watch two stars orbit their common centre of mass with real Velocity Verlet integration, mass transfer, and HR evolutionary tracks.

▶ Open Binary Stars simulation

What did you find?

Add reproduction steps (optional)