Lagrange Point Calculator

Enter primary mass, secondary mass, and orbital separation to find all five Lagrange equilibrium points and Hill sphere radius for any two-body gravitational system.

⚖️ Lagrange Point Calculator
System Preset
Primary Body Mass (M)Sun = 333,000 M⊕
M⊕
Secondary Body Mass (m)Earth = 1 M⊕
M⊕
Orbital Separation (a)
AU
Hill Sphere Radius / L1 and L2 from Secondary
Mass Ratio μ = m / (M + m)
L1 from Primary (toward secondary)
L2 from Primary (beyond secondary)
L3 from Primary (far side)
L4 and L5 from Both Bodies
L4 and L5 Trojan Stability

⚖️ What Are Lagrange Points?

Lagrange points (named after mathematician Joseph-Louis Lagrange) are the five special positions in the orbital plane of a two-body gravitational system where a small third object experiences zero net force in the rotating reference frame of the two larger bodies. At these points, the gravitational pull of the primary, the gravitational pull of the secondary, and the centrifugal force in the rotating frame combine to produce a perfect equilibrium. A spacecraft or asteroid placed exactly at a Lagrange point will remain stationary relative to the two larger bodies without any propulsion.

There are five Lagrange points, each with different geometries and stability properties. L1 lies between the two bodies, along the line connecting them, closer to the secondary. The Sun-Earth L1 is where SOHO and the DSCOVR satellite monitor the solar wind. L2 is on the opposite side of the secondary from the primary, the same distance away as L1. This is where the James Webb Space Telescope, Planck, Herschel, and Gaia have all operated. L3 sits on the far side of the primary, directly opposite the secondary, and is the most unstable of the five points. L4 and L5 are off the primary-secondary line, forming equilateral triangles with both bodies at 60 degrees ahead and behind the secondary in its orbit. These are the only two conditionally stable Lagrange points, hosting Jupiter's famous Trojan asteroid swarms and Earth's Trojan asteroid 2010 TK7.

The Hill sphere radius, rH = a(mu/3)^(1/3), equals the L1 and L2 distance from the secondary body to leading order. It represents the region where the secondary body's own gravity dominates over tidal forces from the primary. Objects orbiting within the Hill sphere can maintain stable orbits around the secondary; the Moon, for example, lies well within Earth's Hill sphere of about 1.5 million km. Beyond the Hill sphere, the Sun's tidal forces dominate and objects are pulled away.

Lagrange points are of critical importance in space mission design. Placing a spacecraft at L1 gives it a direct, unobstructed view of the Sun from a semi-stable position near Earth. L2 is ideal for space telescopes because the Sun, Earth, and Moon are always in the same direction, allowing a single sunshield to block all three heat sources simultaneously. L4 and L5 have been proposed as sites for future space colonies or fuel depots because of their long-term gravitational stability.

📐 Formula

rH  =  a × (μ / 3)1/3
rH = Hill sphere radius, equal to L1 and L2 distance from the secondary body (metres)
a = orbital separation between primary and secondary (metres)
μ = m / (M + m), dimensionless mass ratio (secondary mass over total mass)
L1 from primary = a − rH
L2 from primary = a + rH
L3 from primary = a × (1 + 5μ / 12) (opposite side from secondary)
L4, L5 from both bodies = a (equilateral triangle geometry, 60° ahead/behind secondary)
Stability condition: L4 and L5 are stable when 27μ(1 − μ) < 1, requiring M/m > 24.96
Example: Sun-Earth with a = 1 AU, μ = 3.003 × 10²³: rH = 1.496 × 10&sup6; km (1.5 million km)

📖 How to Use This Calculator

Steps

1
Select a preset system or enter custom masses — Choose Sun-Earth, Earth-Moon, Sun-Jupiter, or Sun-Saturn from the dropdown, or leave it at Sun-Earth and modify the inputs for a custom two-body system.
2
Enter primary body mass in Earth masses — Input the mass of the larger body in Earth masses. The Sun is 333,000 Earth masses; Jupiter is 317.8 Earth masses.
3
Enter secondary body mass in Earth masses — Input the mass of the smaller orbiting body. Earth is 1 M-Earth; the Moon is 0.01230 M-Earth; Saturn is 95.16 M-Earth.
4
Enter orbital separation in AU — Enter the semi-major axis of the secondary body's orbit around the primary, in astronomical units. Earth-Sun is 1 AU; Jupiter-Sun is 5.203 AU; Earth-Moon is 0.002570 AU.
5
Read the five Lagrange point positions — The calculator outputs the Hill sphere radius, all five Lagrange point distances, and whether L4 and L5 support stable Trojan orbits.

💡 Example Calculations

Example 1 — Sun-Earth System (JWST and SOHO Orbits)

Sun (333,000 M⊕) and Earth (1 M⊕) separated by 1.000 AU

1
Mass ratio: μ = 1 / (333,000 + 1) = 3.003 × 10²³
2
Hill sphere radius: rH = 1 AU × (3.003 × 10²³ / 3)^(1/3) = 0.0100 AU = 1,496,498 km. This is the L1 and L2 distance from Earth.
3
L1 from Sun (toward Earth): 1 AU − 0.0100 AU = 0.9900 AU = 148,103,502 km. SOHO and DSCOVR orbit here.
4
L2 from Sun (beyond Earth): 1 AU + 0.0100 AU = 1.0100 AU = 151,096,498 km. JWST and Gaia orbit here.
5
L3 from Sun (far side): 1.000001 AU = 149,600,187 km. L4 and L5 at 1.000 AU from both Sun and Earth, stability: 27 × 3.003 × 10²³ = 8.1 × 10²&sup4; < 1 (stable).
Hill Sphere / L1+L2 from Earth = 1,496,498 km (0.0100 AU)
Try this example →

Example 2 — Earth-Moon System

Earth (1 M⊕) and Moon (0.01230 M⊕) separated by 0.002570 AU (384,472 km)

1
Mass ratio: μ = 0.01230 / (1 + 0.01230) = 0.012151
2
Hill sphere radius: rH = 0.002570 AU × (0.012151/3)^(1/3) = 61,285 km. This is the first-order L1 and L2 distance from the Moon.
3
L1 from Earth (toward Moon): 384,472 − 61,285 = 323,187 km. L2 from Earth (beyond Moon): 384,472 + 61,285 = 445,757 km.
4
L3 from Earth (far side, opposite Moon): 386,418 km. L4 and L5 at 384,472 km from both Earth and Moon.
5
Stability: 27 × 0.012151 × (1 − 0.012151) = 0.324 < 1. Earth-Moon L4 and L5 are stable, though no large Trojans are known there.
Hill Sphere / L1+L2 from Moon = 61,285 km
Try this example →

Example 3 — Sun-Jupiter System (Trojan Asteroids)

Sun (333,000 M⊕) and Jupiter (317.8 M⊕) separated by 5.203 AU

1
Mass ratio: μ = 317.8 / (333,000 + 317.8) = 9.534 × 10²&sup4;
2
Hill sphere radius: rH = 5.203 AU × (9.534 × 10²&sup4;/3)^(1/3) = 0.3551 AU = 53,118,214 km. Jupiter's Hill sphere is larger than the Sun itself (radius 696,000 km).
3
L1 from Sun: 5.203 − 0.3551 = 4.848 AU = 725,250,586 km. L2 from Sun: 5.203 + 0.3551 = 5.558 AU = 831,487,014 km.
4
L3 from Sun (far side): 5.2051 AU = 778,678,021 km. L4 and L5 at 5.203 AU from both Sun and Jupiter, hosting over 12,000 known Trojan asteroids.
5
Stability: 27 × 9.534 × 10²&sup4; × (1 − 9.534 × 10²&sup4;) = 0.02572 << 1. L4 and L5 are highly stable, confirmed by thousands of trapped Trojans.
Hill Sphere / L1+L2 from Jupiter = 53,118,214 km (0.3551 AU)
Try this example →

❓ Frequently Asked Questions

What are the five Lagrange points and where are they located?+
Lagrange points are the five equilibrium positions in a two-body gravitational system. L1 lies between the two bodies on the line connecting them, close to the secondary. L2 is beyond the secondary on the same line. L3 is on the opposite side of the primary from the secondary. L4 leads the secondary by 60 degrees in its orbit, and L5 trails by 60 degrees, both forming equilateral triangles with the two bodies.
Which Lagrange points are stable and which are unstable?+
L4 and L5 are conditionally stable when the primary is at least 24.96 times more massive than the secondary (27mu(1-mu) less than 1). L1, L2, and L3 are all unstable saddle points. A small perturbation at L1 or L2 causes exponential drift away from the equilibrium, which is why spacecraft stationed there require regular station-keeping burns every few weeks or months.
What is the Hill sphere and how does it relate to L1 and L2?+
The Hill sphere radius r_H = a(mu/3)^(1/3) is the region around the secondary body where its gravity dominates over tidal forces from the primary. To first order, r_H equals the distance from the secondary to both L1 (on the primary side) and L2 (on the far side). Objects within the Hill sphere can maintain stable orbits around the secondary; objects outside are eventually pulled away by the primary.
Why does the James Webb Space Telescope orbit at the Sun-Earth L2 point?+
At L2 (1.5 million km beyond Earth), the Sun, Earth, and Moon are always in the same direction, allowing JWST's sunshield to block all three heat sources at once. This keeps the telescope below 50 K, essential for infrared observations. L2 also provides a near-stable orbit with low station-keeping costs and excellent sky coverage, since the telescope can observe almost the entire sky throughout the year.
How many asteroids orbit at Jupiter's L4 and L5 points?+
Over 12,000 Trojan asteroids are known at Jupiter's L4 and L5 points as of 2025, and the actual population may exceed one million objects larger than 1 km. The L4 group is called the Greek camp and the L5 group the Trojan camp (named after heroes of the Trojan War). Their stability over billions of years is confirmed by Jupiter's large mass ratio mu = 9.53e-4, giving a stability parameter of only 0.026, far below the instability threshold of 1.
What is the mass ratio threshold for L4 and L5 stability?+
The Routh stability criterion requires 27mu(1-mu) less than 1, which means mu must be less than approximately 0.03852. Equivalently the primary must outweigh the secondary by at least a factor of 24.96. The Sun-Earth ratio (mu = 3e-6), Sun-Jupiter ratio (mu = 9.5e-4), and Earth-Moon ratio (mu = 0.012) all satisfy this condition. A binary system with comparable masses (mu near 0.5) cannot have stable Trojan points.
Does Earth have any Trojan asteroids at its L4 and L5 points?+
Yes. The first Earth Trojan, 2010 TK7, was confirmed in 2011 at Earth's L4 point, about 300 metres in diameter. A second candidate, 2020 XL5, was confirmed in 2022 at L4 with diameter roughly 1.2 km. Earth's Trojans are challenging to discover because they are always near the Sun in our sky, observable only briefly near twilight. The Earth-Moon mass ratio (mu = 0.012) easily satisfies the stability criterion, so more Earth Trojans likely exist.
How accurate is the Hill sphere approximation for large mass ratios?+
The formula r_H = a(mu/3)^(1/3) is a first-order perturbation result valid when mu is much less than 1. For Sun-Earth (mu = 3e-6) the error is negligible. For Earth-Moon (mu = 0.012) the approximation overestimates L1 and L2 distances by roughly 5 percent compared to the exact numerical solution (the actual L1 is about 58,000 km from the Moon versus the 61,000 km approximation). For mass ratios above 0.05, numerical integration gives more accurate results.
What is the L3 point and why is it so unstable?+
L3 lies on the far side of the primary from the secondary, slightly beyond the orbital separation distance. For Sun-Earth, L3 is at about 1.000001 AU from the Sun, perpetually on the opposite side from Earth. L3 is the most unstable of the five points because gravitational perturbations from other planets, especially Jupiter and Venus, cause objects there to drift quickly. Any object at Sun-Earth L3 would leave the vicinity within a few thousand years without active propulsion.
What spacecraft are currently at Sun-Earth Lagrange points?+
At L1: SOHO (solar monitoring since 1996), DSCOVR (space weather since 2015), and ACE (cosmic ray measurements). At L2: James Webb Space Telescope (infrared astronomy since 2022), Gaia (stellar mapping, completed), Euclid (dark energy survey, launched 2023), and the JWST-companion SPHEREx (planned 2025). L4 and L5 of the Sun-Earth system currently have no dedicated spacecraft, though missions to these points have been proposed for space telescope formation flying.

What are the five Lagrange points and where are they located?

Lagrange points are the five positions in a two-body gravitational system where a small third object can orbit in a fixed configuration relative to the two larger bodies. L1 sits between the two bodies. L2 lies beyond the smaller body. L3 sits on the far side of the larger body. L4 and L5 form equilateral triangles with both bodies, leading and trailing the secondary by 60 degrees.

Which Lagrange points are stable and which are unstable?

L4 and L5 are stable (conditionally) when the mass ratio criterion 27mu(1-mu) < 1 is satisfied, which requires the primary to be at least 24.96 times heavier than the secondary. L1, L2, and L3 are all saddle-point unstable, meaning any small perturbation causes objects to drift away. Spacecraft at L1 and L2 require periodic station-keeping to remain in place.

What is the Hill sphere and how does it relate to L1?

The Hill sphere is the region around a secondary body where its own gravity dominates over tidal forces from the primary. Its radius r_H = a(mu/3)^(1/3) equals the L1 and L2 distance from the secondary body (to first approximation). Objects within a body's Hill sphere can have stable bound orbits; for Earth the Hill sphere radius is about 1.5 million km.

Why does the James Webb Space Telescope orbit at L2?

The Sun-Earth L2 point, about 1.5 million km beyond Earth, keeps the Sun, Earth, and Moon all in the same direction behind the telescope at all times. This allows JWST's sunshield to block all three heat sources simultaneously, cooling the telescope to below 50 K, which is essential for detecting the faint infrared signals from distant galaxies. L2 also provides a stable gravitational environment with minimal station-keeping.

What makes Jupiter's L4 and L5 points so populated with asteroids?

Jupiter's L4 and L5 points are genuinely stable because Jupiter's mass ratio (mu = 9.53e-4) satisfies the 27mu(1-mu) < 1 criterion with a large margin. Objects there have been trapped since the early solar system. Over 12,000 Trojan asteroids are known at Jupiter's L4 and L5, more than in the entire main asteroid belt. Their stability has persisted for billions of years.

How accurate is the Lagrange point approximation formula?

The formula r_H = a(mu/3)^(1/3) is an exact leading-order result from the restricted three-body problem. It is highly accurate for small mass ratios (mu < 0.001, such as Sun-Earth or Sun-Jupiter), with errors below 0.1%. For larger ratios like Earth-Moon (mu = 0.012), the approximation overestimates the L1 and L2 distances by about 5 percent compared to the exact numerical solution.

What is the mass ratio threshold for L4 and L5 stability?

L4 and L5 are stable when 27mu(1-mu) < 1, which corresponds to mu < 0.03852, or equivalently M/m > 24.96. For the Sun-Earth system mu = 3e-6, far below the threshold. Earth's mass ratio with the Moon (mu = 0.012) also satisfies stability. A binary system with equal masses (mu = 0.5) gives 27 x 0.25 = 6.75 > 1, so L4 and L5 are unstable.

Where exactly are the Sun-Earth Lagrange points in kilometres?

L1 is about 1.496 million km from Earth toward the Sun (0.01 AU), hosting SOHO and DSCOVR. L2 is the same distance beyond Earth away from the Sun, where JWST and the upcoming LIFE telescope will orbit. L3 is directly opposite Earth on the far side of the Sun, at approximately 1 AU. L4 and L5 are along Earth's orbit, 60 degrees ahead and behind, each 1 AU from both the Sun and Earth.

Can Earth have Trojan asteroids at its L4 and L5 points?

Yes. Earth's mass ratio is well within the stability limit. In 2010 astronomers discovered 2010 TK7, the first known Earth Trojan asteroid, at Earth's L4 point. It is about 300 metres in diameter. Earth's Trojans are harder to observe than Jupiter's because they are always close to the Sun in our sky, visible only near twilight.

What is the significance of L3 in science fiction and popular culture?

L3, the point directly opposite the smaller body on the far side of the primary, is often imagined in science fiction as the location of a hidden counter-Earth permanently invisible from our planet. In reality L3 is highly unstable and any object placed there would drift away within decades due to gravitational perturbations from Venus, Jupiter, and other planets.