---
title: Orbit
canonical_url: https://paxabyssi.com/wiki/Orbit
markdown_url: https://paxabyssi.com/wiki/Orbit.md
type: wiki-page
revision_id: 500
revision_view: stable
last_updated: 2026-09-27
license: CC BY-SA 4.0
license_url: https://creativecommons.org/licenses/by-sa/4.0/
science_status:
  - observed
  - sim
summary: The path one body follows around another under gravity. For two bodies alone it is an ellipse, fixed by Kepler's three laws and described by six orbital elements.
categories:
  - Orbital mechanics
  - Physics concepts
  - Planetary systems
aliases:
  - Orbits
  - Kepler's laws
  - Orbital elements
  - Keplerian orbit
  - Kepler's equation
  - Vis-viva equation
  - Hill sphere
  - Roche limit
infobox:
  type: physics_concept
  name: Keplerian orbit
  sim_use: Every planet and moon in Pax Abyssi moves on a two-body Keplerian orbit, solved every tick from its elements at true scale.
  formulae:
    - name: Kepler's third law, Newton's form
      symbols: P period (s); a semi-major axis (m); G = 6.674e-11 m^3 kg^-1 s^-2; M and m the two masses (kg)
      expression: P^2 = 4 pi^2 a^3 / (G (M + m))
    - name: Vis-viva equation
      symbols: v orbital speed (m/s); r present distance between the bodies (m)
      expression: v^2 = G (M + m) (2/r - 1/a)
    - name: Kepler's equation
      symbols: M mean anomaly (rad), growing uniformly with time; E eccentric anomaly (rad); e eccentricity (dimensionless)
      expression: M = E - e sin E
    - name: Hill radius
      symbols: m the orbiting body's mass; M the central mass; a the orbit's semi-major axis
      expression: r_H = a (m / 3M)^(1/3)
    - name: Fluid Roche limit
      symbols: R radius of the primary; rho_M and rho_m the densities of primary and satellite
      expression: d = 2.44 R (rho_M / rho_m)^(1/3)
    - name: Relativistic periapsis advance, per orbit
      symbols: c = 299,792,458 m/s; result in radians per orbit
      expression: delta_omega = 6 pi G M / (c^2 a (1 - e^2))
  validity: Exact for two point masses in Newtonian gravity. Real orbits drift slowly under the pull of other bodies, the central body's equatorial bulge and general relativity.
  definition: "The path of a body moving under the gravity of a single point mass: a conic section (ellipse, parabola or hyperbola) with the combined centre of mass at one focus."
  misconceptions:
    - Earth's seasons come from its axial tilt; the 3% change in distance between perihelion and aphelion is far too small to drive them.
    - Mercury's relativistic perihelion advance is 43 arcseconds per century; the other 532 arcseconds of its observed 575 come from the other planets and the Sun's oblateness.
    - Titius-Bode spacing describes the pattern of one system; no law of orbital mechanics requires it.
  worked_example: "Earth: a = 1.000 AU, e = 0.0167, P = 365.256 days; speed 30.29 km/s at perihelion in early January and 29.29 km/s at aphelion in early July."
related:
  - https://paxabyssi.com/wiki/Habitable_zone.md
  - https://paxabyssi.com/wiki/Sol.md
  - https://paxabyssi.com/wiki/Natural_satellite.md
  - https://paxabyssi.com/wiki/Star_system_generation.md
  - https://paxabyssi.com/wiki/Asteroid_belt.md
  - https://paxabyssi.com/wiki/Planetary_system_archetypes.md
---

# Orbit

> Source: https://paxabyssi.com/wiki/Orbit
>
> Licence: [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/). Text by Pax Abyssi Wiki contributors; history at https://paxabyssi.com/wiki/Orbit/history
>
> Revision 500, 27 September 2026

An **orbit** is the path one body follows around another under their mutual gravity. When only two bodies matter, the path is a conic section with the pair's centre of mass at one focus: a circle or ellipse for a body that is bound, a parabola or hyperbola for one that is passing through. Johannes Kepler found the rules for planets from Tycho Brahe's observations early in the seventeenth century, Isaac Newton derived them from his law of gravitation, and six numbers, the orbital elements, are still how every planet, moon and spacecraft in the Solar System is catalogued [1].

## Kepler's three laws

Kepler published the first two laws in 1609 and the third in 1619 [1].

1. **Each planet moves on an ellipse with the Sun at one focus.** The ellipse's size is its semi-major axis $a$, half its longest diameter, and its shape is its eccentricity $e$, from 0 for a circle toward 1 for a long, thin ellipse. The nearest point to the Sun, the perihelion, lies at $a(1-e)$ and the farthest, the aphelion, at $a(1+e)$.
2. **The line from the Sun to the planet sweeps out equal areas in equal times.** A planet therefore moves fastest at perihelion and slowest at aphelion. The law is conservation of angular momentum in geometric form.
3. **The square of the period is proportional to the cube of the semi-major axis.** In units of years and astronomical units around the Sun, $P^2 = a^3$. Jupiter, at 5.20 AU, takes $5.20^{3/2} = 11.9$ years.

Newton's version of the third law holds for any pair of bodies and brings in their masses:

$$
P^2 = \frac{4\pi^2 a^3}{G\,(M + m)}
$$

Here $G$ is the gravitational constant, $6.674 \times 10^{-11}\ \mathrm{m^3\,kg^{-1}\,s^{-2}}$, and $M$ and $m$ are the two masses. Timing an orbit is therefore how astronomers weigh things. The period and size of the Moon's orbit give the mass of Earth; the orbits of stars around the centre of the Milky Way give the mass of [Sagittarius A\*](https://paxabyssi.com/wiki/Sagittarius_A*.md); the wobble of a star around its planet gives the planet's mass.

## Speed along the orbit

Energy conservation gives the speed at any point, in what is called the vis-viva equation:

$$
v^2 = G\,(M + m)\left(\frac{2}{r} - \frac{1}{a}\right)
$$

where $r$ is the present distance between the two bodies. On a circle, $r = a$ and the speed is $\sqrt{GM/a}$: 29.78 km/s for Earth. Earth's small eccentricity, 0.0167, lifts that to 30.29 km/s at perihelion in early January and lowers it to 29.29 km/s at aphelion in early July. Setting $a$ to infinity gives the escape speed, $\sqrt{2GM/r}$, 42.1 km/s at Earth's distance from the Sun. Halley's Comet, with $a \approx 17.8$ AU and $e \approx 0.967$, shows the extremes: it rounds the Sun at about 55 km/s at 0.59 AU and crawls at under 1 km/s near its aphelion, 35 AU out, beyond Neptune.

## The six orbital elements

Two numbers give an ellipse's size and shape. Three more fix how it sits in space, and one says where the body is on it at a chosen moment, the epoch.

| Element                         | Symbol   | What it sets                                                                                 |
| ------------------------------- | -------- | -------------------------------------------------------------------------------------------- |
| Semi-major axis                 | $a$      | Size of the orbit, and through Kepler's third law its period                                 |
| Eccentricity                    | $e$      | Shape, from 0 (circle) toward 1                                                              |
| Inclination                     | $i$      | Tilt of the orbit to the reference plane; above 90 degrees the motion is retrograde          |
| Longitude of the ascending node | $\Omega$ | Where the orbit crosses the reference plane going north, measured from a reference direction |
| Argument of periapsis           | $\omega$ | Where the closest point lies, measured within the orbit from the ascending node              |
| Mean anomaly at epoch           | $M_0$    | Where the body is at the epoch                                                               |

For planets the reference plane is usually the ecliptic of the year 2000, J2000; for moons it is often the planet's equator. A set of elements is always tied to its epoch and its frame, and swapping frames without converting is a classic source of error [1].

(Image pending: Diagram of an ellipse tilted above a reference plane, with the line of nodes, inclination, longitude of the ascending node, argument of periapsis and true anomaly marked)

*Figure 1.* Diagram: the six elements that place an orbit in space and a body on it.

## Kepler's equation

The second law says where a planet is at any time, but not in closed form. The practical route runs through two angles. The **mean anomaly** $M$ grows at a steady rate, $M = M_0 + n\,(t - t_0)$ with mean motion $n = 2\pi/P$, as if the planet moved on a circle at constant speed. The **eccentric anomaly** $E$ is a geometric angle measured from the ellipse's centre. They are linked by Kepler's equation:

$$
M = E - e \sin E
$$

There is no algebraic solution for $E$, so it is found by iteration. Newton's method converges quickly; Halley's method, which also uses the second derivative, converges faster still. Once $E$ is known, the distance is $r = a(1 - e\cos E)$ and the true anomaly $\nu$, the actual angle from perihelion, follows from

$$
\tan\frac{\nu}{2} = \sqrt{\frac{1+e}{1-e}}\,\tan\frac{E}{2}
$$

**Worked example: Mercury.** Take $e = 0.2056$ and $a = 0.3871$ AU, and ask where Mercury is a quarter of its 88-day year after perihelion, when $M = 90$ degrees (1.5708 rad). A standard first guess, $E_0 = M + e\sin M$, gives 1.7764 rad; one Halley step corrects it to $E = 1.7722$ rad (101.5 degrees), which satisfies the equation to about one part in a million. Then $r = 0.403$ AU and $\nu = 112.9$ degrees. In a quarter of its year Mercury has swept almost a third of the way round the Sun, because it moves fastest near perihelion, as the second law says it must.

## Where two-body orbits stop being enough

### Other bodies pull too

In the real Solar System every planet tugs on every other, so orbital elements drift. The Earth-Moon barycentre's longitude of perihelion, for example, advances by about 0.32 degrees per century. Published sets of approximate elements therefore carry rates of change and a stated range of validity: the Standish and Williams elements, good to about 20 arcseconds for Earth between 1800 and 2050, are the familiar example [2]. For precise work, the planets are integrated together numerically, as in JPL's DE440 and DE441 ephemerides, fitted to decades of radar ranging, spacecraft tracking and lunar laser ranging [3].

### Hill spheres and Roche limits

A moon can stay with its planet only within a region where the planet's gravity dominates the star's tides. Its size is roughly the **Hill radius**, $r_H \approx a\,(m/3M)^{1/3}$ [1]. Earth's is 0.01 AU, 1.5 million km; the Moon, at 384,400 km, sits about a quarter of the way out. Jupiter's is 0.355 AU, some 740 Jupiter radii, room for its whole retinue of distant captured moons. Stable orbits reach only part of the way to the Hill radius; see [Natural satellite](https://paxabyssi.com/wiki/Natural_satellite.md).

At the other extreme, a moon held together only by its own gravity is pulled apart by tides inside the **Roche limit**, about $2.44\,R\,(\rho_M/\rho_m)^{1/3}$ for a fluid body, where $R$ and $\rho_M$ are the planet's radius and density and $\rho_m$ the moon's [1]. For icy particles at Saturn it comes to about 134,000 km, just inside the outer edge of the bright A ring at 136,800 km. Rigid bodies with internal strength survive somewhat closer.

### Tides lock spins

Tides raised on a moon by its planet drain the moon's spin until it turns once per orbit, keeping one face toward the planet. The despinning time grows as the sixth power of the orbital distance, so close moons lock quickly and distant ones may never lock [4]. Earth's Moon, Jupiter's four large moons and most regular moons in the Solar System are locked.

### Two suns

Planets can orbit one star of a binary (an S-type orbit) or both (a P-type, or circumbinary, orbit). Holman and Wiegert fitted the stability boundaries from numerical experiments [5]. For two equal stars on a circular orbit, a planet around one star is safe out to about 0.27 of the binary's separation, and a circumbinary planet must stay beyond about 2.4 separations. Kepler-16 b, a Saturn-mass planet circling a pair of stars that orbit each other every 41 days, sits at 0.70 AU, just outside the roughly 0.65 AU limit that the fit gives for its binary [6].

### Relativity

General relativity adds a small extra turn to every eccentric orbit. To first order, the periapsis advances by

$$
\Delta\omega = \frac{6\pi G M}{c^2\,a\,(1 - e^2)}
$$

radians per orbit. For Mercury that is 0.1035 arcseconds per orbit, or 42.98 arcseconds per century [7]. Mercury's total perihelion advance, measured from ranging to the MESSENGER spacecraft, is 575.31 arcseconds per century; the other planets and the Sun's slight oblateness account for the rest, and Einstein's term closes the gap that Newtonian gravity left in the nineteenth century [8]. Near a black hole the effect is large. The star S2, whose 16-year orbit brings it within about 120 AU of Sagittarius A\*, advances by 12 arcminutes per orbit, a precession detected by the GRAVITY instrument in 2020 [9].

![Artist's impression of a star tracing a rosette of overlapping ellipses around a bright point](https://media.paxabyssi.com/public/a528e685b4bd5c5c787f088cde1a67e4a9d5b9a5518688b69a43b59acf07fca1/2560.webp "Artist's concept: relativistic precession turns an orbit into a rosette. The effect is exaggerated here; for S2 it is 12 arcminutes per orbit.")

*Figure 2.* Artist's concept: relativistic precession turns an orbit into a rosette. The effect is exaggerated here; for S2 it is 12 arcminutes per orbit. Credit: ESO/L. Calçada. Licence: CC BY 4.0.

## How we know

Kepler worked from naked-eye positions accurate to about an arcminute. Modern orbits come from a far wider base: radar and laser ranging to planets, the Moon and spacecraft; spacecraft tracking by Doppler shift; and astrometry of asteroids and moons from ground telescopes and from Gaia. JPL's ephemerides fit all of it together, and the fits are good enough to measure the Sun's oblateness and test relativity at the level of parts in $10^5$ [3] [8]. Outside the Solar System, orbits are read from a star's radial-velocity wobble, the timing of transits, and, for the stars around Sagittarius A\*, direct imaging over decades.

## Notable orbits

| Body           | $a$            | $e$         | Period      | Why it is notable                                                          |
| -------------- | -------------- | ----------- | ----------- | -------------------------------------------------------------------------- |
| Earth          | 1.000 AU       | 0.0167      | 365.256 d   | Defines the astronomical unit and the ecliptic                             |
| Mercury        | 0.387 AU       | 0.206       | 88.0 d      | The classic test of general relativity                                     |
| Halley's Comet | about 17.8 AU  | about 0.967 | about 75 yr | A retrograde orbit (inclination about 162 degrees) reaching beyond Neptune |
| Kepler-16 b    | 0.705 AU       | small       | 229 d       | The first fully characterised circumbinary planet                          |
| S2             | about 1,000 AU | 0.88        | about 16 yr | Relativistic precession around a black hole                                |

[Open the sol system in the web orrery](https://paxabyssi.com/orrery/sol)

> **In Pax Abyssi**
>
> Every planet and moon in Pax Abyssi moves on a two-body Keplerian orbit at true scale, in double precision, with its position recomputed every tick from its six elements. Kepler's equation is solved by Halley iteration, the method described above, and the game's C++ solver was checked against the Python original it was ported from: the two agree to within 0.8 mm across Sol's nine planets. Periods come from Kepler's third law and the star's mass.
>
> Sol carries 37 orbiting bodies: nine planets, Pluto included, and 28 real moons. The planets use J2000 elements; the moons were fitted to JPL Horizons ephemerides and are referenced to their planets' equators. The elements do not change with time, so the game has no secular drift, no resonant interactions between moons and no N-body integration. Where a real ephemeris would show the planets' orbits slowly turning, the game's stay fixed.
>
> The orrery draws each planet's Hill sphere, the Lagrange points and Roche lobes, and can plan a live Hohmann transfer: Earth to Mars needs burns of 2.94 and 2.65 km/s and takes 259 days. In generated systems, each [system archetype](https://paxabyssi.com/wiki/Planetary_system_archetypes.md) sets its own planet spacing. A mutual-Hill-radius stability check, relativistic precession and the Holman-Wiegert binary limits exist in the simulation's code but do not yet act on any orbit in the game.

## See also

- [Planetary system archetypes](https://paxabyssi.com/wiki/Planetary_system_archetypes.md)
- [Star system generation](https://paxabyssi.com/wiki/Star_system_generation.md)
- [Natural satellite](https://paxabyssi.com/wiki/Natural_satellite.md)
- [Asteroid belt](https://paxabyssi.com/wiki/Asteroid_belt.md)
- [Sol](https://paxabyssi.com/wiki/Sol.md)
- [Black hole](https://paxabyssi.com/wiki/Black_hole.md)
- [Sagittarius A\*](https://paxabyssi.com/wiki/Sagittarius_A*.md)

## References

1. Murray, C. D. and Dermott, S. F. (1999). Solar System Dynamics. Cambridge University Press. <https://doi.org/10.1017/CBO9781139174817>
2. Standish, E. M. and Williams, J. G.. Keplerian Elements for Approximate Positions of the Major Planets. JPL Solar System Dynamics. <https://ssd.jpl.nasa.gov/planets/approx_pos.html>
3. Park, R. S. et al. (2021). The JPL Planetary and Lunar Ephemerides DE440 and DE441. The Astronomical Journal 161, 105. <https://doi.org/10.3847/1538-3881/abd414>
4. Gladman, B. et al. (1996). Synchronous Locking of Tidally Evolving Satellites. Icarus 122, 166-192. <https://doi.org/10.1006/icar.1996.0117>
5. Holman, M. J. and Wiegert, P. A. (1999). Long-Term Stability of Planets in Binary Systems. The Astronomical Journal 117, 621-628. <https://doi.org/10.1086/300695>
6. Doyle, L. R. et al. (2011). Kepler-16: A Transiting Circumbinary Planet. Science 333, 1602-1606. <https://doi.org/10.1126/science.1210923>
7. Will, C. M. (2014). The Confrontation between General Relativity and Experiment. Living Reviews in Relativity 17, 4. <https://doi.org/10.12942/lrr-2014-4>
8. Park, R. S. et al. (2017). Precession of Mercury's Perihelion from Ranging to the MESSENGER Spacecraft. The Astronomical Journal 153, 121. <https://doi.org/10.3847/1538-3881/aa5be2>
9. GRAVITY Collaboration and Abuter, R. (2020). Detection of the Schwarzschild precession in the orbit of the star S2 near the Galactic centre massive black hole. Astronomy & Astrophysics 636, L5. <https://doi.org/10.1051/0004-6361/202037813>

## Infobox (physics concept)

| Field | Value |
| --- | --- |
| Name | Keplerian orbit |
| Sim use | Every planet and moon in Pax Abyssi moves on a two-body Keplerian orbit, solved every tick from its elements at true scale. |
| Validity | Exact for two point masses in Newtonian gravity. Real orbits drift slowly under the pull of other bodies, the central body's equatorial bulge and general relativity. |
| Definition | The path of a body moving under the gravity of a single point mass: a conic section (ellipse, parabola or hyperbola) with the combined centre of mass at one focus. |
| Misconceptions | Earth's seasons come from its axial tilt; the 3% change in distance between perihelion and aphelion is far too small to drive them., Mercury's relativistic perihelion advance is 43 arcseconds per century; the other 532 arcseconds of its observed 575 come from the other planets and the Sun's oblateness., Titius-Bode spacing describes the pattern of one system; no law of orbital mechanics requires it. |
| Worked example | Earth: a = 1.000 AU, e = 0.0167, P = 365.256 days; speed 30.29 km/s at perihelion in early January and 29.29 km/s at aphelion in early July. |

## Related pages

- [Habitable zone](https://paxabyssi.com/wiki/Habitable_zone.md): The band of distances from a star where an Earth-like planet could keep liquid water on its surface, bounded by the runaway greenhouse on the inside and the maximum greenhouse on the outside.
- [Sol](https://paxabyssi.com/wiki/Sol.md): The Sun and its planetary system, the one star system in Pax Abyssi built entirely from measurement, with nine planets including Pluto and 28 moons on orbits fitted to JPL ephemerides.
- [Natural satellite](https://paxabyssi.com/wiki/Natural_satellite.md): A moon, a natural body orbiting a planet, dwarf planet or asteroid. The Solar System's planets have more than 430 known moons, from kilometre-sized captured fragments to Ganymede, which is larger than Mercury.
- [Star system generation](https://paxabyssi.com/wiki/Star_system_generation.md): How Pax Abyssi builds the planets, moons, rings and belts of every star system except our own, from a star's catalogue row, published occurrence rates and planetary physics, the same way every time.
- [Asteroid belt](https://paxabyssi.com/wiki/Asteroid_belt.md): A ring of rocky and icy bodies left over from planet formation, shaped by the resonances of nearby giant planets. The Sun's Main Belt, between Mars and Jupiter, holds about 3 percent of the Moon's mass spread through a volume so large that its asteroids are millions of kilometres apart.
- [Planetary system archetypes](https://paxabyssi.com/wiki/Planetary_system_archetypes.md): The recurring ways a star's planets are arranged, from tightly packed chains of small worlds to lone giants far out, and the 24 templates Pax Abyssi builds its star systems from.

Categories: [Orbital mechanics](https://paxabyssi.com/wiki/Category:Orbital_mechanics.md), [Physics concepts](https://paxabyssi.com/wiki/Category:Physics_concepts.md), [Planetary systems](https://paxabyssi.com/wiki/Category:Planetary_systems.md)
