Skip to content
Space 16 min read

Why Is James Webb at L2? The Physics, Computed

Observation recorded
Cinematic poster of the gold hexagonal mirror of the James Webb Space Telescope, with the title "Webb At L2" in large condensed type and the line "Not where gravity cancels.".

If the James Webb Space Telescope sat exactly at the second Lagrange point, it would spend its whole life in an eclipse. From there Earth's disk is 0.484° across and the Sun's is 0.528°, so Earth would cover 84% of the Sun, leaving a thin ring of sunlight forever. Webb's solar panels would starve and its thermal design would make no sense. So Webb does not sit at L2. It loops around it on an orbit bigger than the Moon's orbit around Earth.

Most explanations of why Webb went to L2 get the main reason right (it needs to stay cold) but describe L2 as "a point where the gravity of the Sun and Earth balance". It isn't. At L2 the Sun and Earth pull in the same direction. And the fact that L2 is unstable, a hilltop rather than a valley, is the reason Webb fires its thrusters every three weeks. All of this falls out of a few lines of Newtonian mechanics, so let's do them.

Quick answerWebb orbits the Sun-Earth L2 point, 1.5 million km beyond Earth, because there the Sun, Earth and Moon all stay on one side, so a single sunshield keeps the infrared optics near −225 °C. Earth's heat is negligible, there is no shadow to pass through, and the link home is steady. L2 is unstable, so Webb corrects its orbit every 21 days.
Infographic: Why is James Webb parked at L2? The Sun, Earth with the Moon, Earth's shadow cone and Webb on a large halo orbit around L2, with arrows showing Sun and Earth both pulling sunward. L2 is 1.508 million km beyond Earth, where one sunshield blocks Sun, Earth and Moon. Drift grows by e every 23.4 days, so Webb trims every 21 days. A chart of inward pull shows the Sun alone always short of a one-year orbit, while Sun plus Earth meets it at L2, 5.990 mm/s². Tiles: 50,000 times less Earth heat than low orbit; 178 days per loop; a 1.6 m/s insertion burn. Myth: gravity does not cancel at L2.
Tap the image to view it full size. View the accessible, editable SVG.

What is L2, really?

Anything orbiting the Sun farther out than Earth should take longer than a year to go round. Kepler's third law says the period grows as distance to the power 3/2. A spacecraft 1.5 million km beyond Earth (1% farther from the Sun) should take about 1.5% longer, so it would slowly fall behind Earth.

L2 is the spot on the far side of Earth where Earth's extra pull exactly makes up the difference. Earth's gravity adds to the Sun's, giving just enough extra inward pull to whip the spacecraft round in one year, keeping pace with Earth. In a frame that rotates with Earth, the spacecraft feels no net force, which is where the "balance" description comes from. But the balance is between gravity and the centrifugal effect of that rotating frame, not between the Sun and Earth.

Forces at L2, per kilogram

Distance from Sun: 149.598 + 1.508 = 151.106 million km; distance from Earth: 1.508 million km.

Sun:1.32712×1020(1.5111×1011)2=5.812 mm/s2Earth+Moon:4.035×1014(1.508×109)2=0.178 mm/s2\begin{aligned}\text{Sun} &: \frac{1.32712\times10^{20}}{(1.5111\times10^{11})^2} \\ &= \mathbf{5.812\ mm/s^2} \\ \text{Earth+Moon} &: \frac{4.035\times10^{14}}{(1.508\times10^{9})^2} \\ &= \mathbf{0.178\ mm/s^2}\end{aligned}

Each pull is GM/r2GM/r^2, and both point toward the Sun. Total inward pull: 5.990 mm/s². Needed for a one-year circle at that radius:

ω2r=(1.991×10−7 s−1)2×1.511×1011 m=5.990 mm/s2\begin{aligned}\omega^2 r &= (1.991\times10^{-7}\ \mathrm{s^{-1}})^2 \\ &\quad \times 1.511\times10^{11}\ \mathrm{m} \\ &= \mathbf{5.990\ mm/s^2}\end{aligned}

Without Earth, an orbit at that distance would take 1.0152 years, 5.5 days longer.

Earth supplies only 3% of the pull, and that 3% is the whole effect. Figure 1 shows the two curves crossing.

Plot of inward acceleration versus distance beyond Earth, from 0.6 to 2.6 million kilometres. The combined gravity of Sun and Earth falls steeply from above 6.6 millimetres per second squared and crosses the slowly rising dashed line of acceleration needed for a one-year orbit at 1.508 million kilometres, labelled L2. The Sun's gravity alone sits below the needed line everywhere.
Figure 1. Inward acceleration beyond Earth, on the line away from the Sun. The Sun alone (orange) is never enough for a one-year orbit (dashed). Adding Earth's and the Moon's pull (blue) closes the gap at exactly one distance: L2.

How far is L2 from Earth? The worked calculation

In the circular restricted three-body problem (the same framework behind the Trisolaris three-body problem, simplified to one tiny body), the distances are scaled so the Sun-Earth separation is 1 and the mass ratio is μ=MEarth+Moon/Mtotal\mu = M_\text{Earth+Moon}/M_\text{total}. The L2 distance γ\gamma beyond Earth solves a fifth-order polynomial, and for small μ\mu there is a handy approximation.

Mass ratio, from NASA fact sheet GM values

μ=398,600+4,900132,712,000,000+403,500=3.0404×10−6\begin{aligned}\mu &= \frac{398{,}600 + 4{,}900}{132{,}712{,}000{,}000 + 403{,}500} \\ &= \mathbf{3.0404\times10^{-6}}\end{aligned}

Hill approximation

γ≈(μ/3)1/3=(1.0135×10−6)1/3=0.010045rL2≈0.010045×149.598 million km=1.503 million km\begin{aligned}\gamma &\approx (\mu/3)^{1/3} = (1.0135\times10^{-6})^{1/3} \\ &= 0.010045 \\ r_\text{L2} &\approx 0.010045 \times 149.598\ \text{million km} \\ &= \mathbf{1.503\ million\ km}\end{aligned}

Exact

γ5+(3−μ)γ4+(3−2μ)γ3−μγ2−2μγ−μ=0\begin{aligned}&\gamma^5 + (3-\mu)\gamma^4 + (3-2\mu)\gamma^3 \\ &\quad - \mu\gamma^2 - 2\mu\gamma - \mu = 0\end{aligned}

Numerical root: γ=0.0100782\gamma = 0.0100782, so rL2r_\text{L2} = 1.508 million km from the Earth-Moon barycentre. The approximation is 5,000 km short, an error of 0.33%. For comparison L1, on the sunward side, comes out at 1.498 million km.

That is about four times the Moon's distance, the "1.5 million kilometres (1 million miles)" NASA quotes. L2 and L1 are not quite symmetric because the Sun's pull changes across the 3 million km between them.

Why L2 is a hilltop, not a valley

Move a little beyond L2 and the Sun-plus-Earth pull drops faster than the required centripetal pull rises (the blue line in Figure 1 falls below the dashed one), so the spacecraft drifts outward. Move a little inside and the pull wins, so it falls back toward Earth. Either way the error grows. Figure 2 plots the net acceleration felt in the rotating frame along the whole Sun-Earth line near Earth.

Plot of net acceleration in the frame rotating with Earth, versus position along the Sun-Earth line from minus 3 to plus 3 million kilometres relative to Earth. The curve crosses zero at L1, 1.5 million kilometres sunward, and at L2, 1.5 million kilometres beyond Earth. On both sides of L2 the acceleration points away from L2: outward beyond it and back toward Earth inside it.
Figure 2. Net acceleration in the rotating frame (gravity of Sun and Earth plus centrifugal). It crosses zero at L1 and L2 with a positive slope, which means any displacement along the line is amplified. Coriolis forces add sideways motion but do not remove the instability.

Linearising the equations of motion around L2 gives the growth rate. In the scaled units, the coefficient is

c2=1γ3[μ+(1−μ)γ3(1+γ)3]=3.94c_2 = \frac{1}{\gamma^3}\left[\mu + \frac{(1-\mu)\gamma^3}{(1+\gamma)^3}\right] = 3.94

and the unstable eigenvalue is

λ=c2−2+9c22−8c22\lambda = \sqrt{\frac{c_2 - 2 + \sqrt{9c_2^2 - 8c_2}}{2}}

How fast an error grows near L2

λ=3.94−2+9×3.942−8×3.942=2.484\begin{aligned}\lambda &= \sqrt{\frac{3.94 - 2 + \sqrt{9 \times 3.94^2 - 8 \times 3.94}}{2}} \\ &= \mathbf{2.484}\end{aligned}

That is in units of Earth's orbital rate, 2π/365.2562\pi/365.256 per day. The e-folding time tet_e is how long an error takes to grow by a factor of e; the last two lines are the growth over 21 and 100 days.

te=365.2562π×2.484=23.4 dayse21/23.4=2.5e100/23.4=72\begin{aligned}t_e &= \frac{365.256}{2\pi \times 2.484} = \mathbf{23.4\ days} \\ e^{21/23.4} &= \mathbf{2.5} \\ e^{100/23.4} &= \mathbf{72}\end{aligned}
Log-scale plot of error growth factor versus days without correction, from 0 to 120 days. A straight orange line rises from 1 to about 170, passing 2.5 at 21 days and 72 at 100 days. Vertical blue dashed lines mark a 21-day station-keeping cadence.
Figure 3. Exponential growth of a small position or velocity error near L2, from the linearised Sun-Earth model (e-folding time 23.4 days). Correcting every 21 days keeps each burn tiny, because the error has barely grown by a factor of 2.5 since the last one.

That number lines up neatly with Webb's operations. NASA's flight dynamics paper on Webb's station-keeping strategy says manoeuvres are performed on a 21-day cadence. Leave it much longer and each correction gets exponentially bigger; do it sooner and you spend more effort on measurement noise. The instability is also a convenience: an unstable point has a matching stable direction, and pushing along it is the cheapest correction there is, which is how the team minimises fuel.

Webb has an extra complication. Its sunshield, roughly the size of a tennis court, acts like a solar sail, and the push of sunlight depends on how the observatory is pointed. The operations team models that solar radiation pressure from the planned attitude timeline. Webb's thrusters also cannot point well toward the Sun without exposing the cold side, so the team deliberately aims each correction so that the next one will also be a push away from the Sun, which their paper says is much more fuel-efficient.

Why isn’t Webb exactly at L2?

Two reasons, one geometric and one practical. The geometric one is the eclipse in the opening paragraph. Earth's umbra, its full shadow cone, ends at

REarth dRSun−REarth=6,371×149.6×106695,700−6,371=1.38 million km\begin{aligned}\frac{R_\text{Earth}\,d}{R_\text{Sun} - R_\text{Earth}} &= \frac{6{,}371 \times 149.6\times10^{6}}{695{,}700 - 6{,}371} \\ &= 1.38\ \text{million km}\end{aligned}

L2 is 1.51 million km out, beyond the tip of the cone, where Earth looks slightly smaller than the Sun. The result would be a permanent annular eclipse.

To-scale drawing of the Sun's disk, 0.528 degrees across, with Earth's dark disk, 0.484 degrees across, centred in front of it, leaving a thin orange ring. Text notes that 84 percent of the Sun's area is hidden, Earth's umbra ends at 1.38 million kilometres, and a halo orbit 400,000 to 800,000 kilometres wide keeps the Sun in full view.
Figure 4. The view of the Sun from the exact L2 point, drawn to scale from the computed angular sizes. Earth's atmosphere would also bend some sunlight into a red ring, as in a lunar eclipse, but the spacecraft would still lose most of its sunlight.

To stay clear, Webb needs to be well outside the shadow, whose partial (penumbral) region at L2 is only about 13,400 km in radius. The halo orbit it actually flies is enormous by comparison. The pre-launch reference orbit in NASA's station-keeping paper had amplitudes of about 771,000 km in the ecliptic plane and 418,000 km perpendicular to it. Seen from Earth, Webb traces a big loop around the anti-Sun direction, never coming close to Earth's shadow.

To-scale view from Earth of Webb's halo orbit around L2: an ellipse 771,000 kilometres in half-width and 418,000 kilometres in half-height, centred on L2. A dashed circle of radius 384,400 kilometres shows the Moon's orbit around Earth for scale; it fits inside the halo. Earth's shadow at L2 is a tiny dot of 13,400 kilometres radius at the centre.
Figure 5. Webb's halo orbit as seen from Earth, using the reference amplitudes from NASA's flight dynamics paper, drawn as a simple ellipse. The Moon's orbit around Earth is drawn for scale only. Earth's shadow is the dot in the middle.

The practical reason: a large loop around L2 is a natural motion, so it costs almost nothing to fly once you are on it. The linearised equations have natural oscillations about L2 with a period of 2π/ω2\pi/\omega, where

ω=2−c2+9c22−8c22=2.06\omega = \sqrt{\frac{2 - c_2 + \sqrt{9c_2^2 - 8c_2}}{2}} = 2.06

times Earth's orbital rate. That gives 365.256 / 2.06 = 178 days, close to the "about 6 months" NASA gives for one loop. A halo orbit is simply one of those natural loops, picked large enough that the in-plane and out-of-plane frequencies lock together. The spacecraft coasts around it and only needs to cancel the slow exponential drift.

Why not put Webb in Earth orbit like Hubble?

Webb's mirror and instruments operate at about −225 °C (48 K), because a warm telescope glows in exactly the infrared wavelengths it is trying to detect. In low Earth orbit, that is close to impossible. The Earth, a big source of infrared, would fill much of the sky and keep moving around the spacecraft.

How much of the sky Earth fills, and how much heat it sends

From 550 km altitude:

θ=arcsin⁡(6,3716,921)=67∘sky fraction=1−cos⁡67∘2=30%\begin{aligned}\theta &= \arcsin\left(\frac{6{,}371}{6{,}921}\right) = 67^\circ \\ \text{sky fraction} &= \frac{1 - \cos 67^\circ}{2} = \mathbf{30\%}\end{aligned}

From L2: angular radius 0.24°; fraction of the sky = 0.0004%.

Earth's infrared output, blackbody at 254 K (NASA fact sheet):

σT4=5.67×10−8×2544=236 W/m2\sigma T^4 = 5.67\times10^{-8} \times 254^4 = 236\ \mathrm{W/m^2}

Flux on a surface facing Earth:

550 km: 236×(6,3716,921)2≈200 W/m2L2: 236×(6,3711,508,000)2=0.004 W/m2\begin{aligned}\text{550 km:}\ & 236 \times \left(\frac{6{,}371}{6{,}921}\right)^2 \approx \mathbf{200\ W/m^2} \\ \text{L2:}\ & 236 \times \left(\frac{6{,}371}{1{,}508{,}000}\right)^2 \\ &= \mathbf{0.004\ W/m^2}\end{aligned}

That is about 50,000 times less. Sunlight at L2:

1,361×(149.6151.1)2=1,334 W/m21{,}361 \times \left(\frac{149.6}{151.1}\right)^2 = 1{,}334\ \mathrm{W/m^2}

always from the same side.

The Sun is still a hot lamp at L2, but it is one lamp in one direction, with Earth and the Moon within a few degrees of it. That is what makes the five-layer sunshield work: it only has to block one part of the sky. NASA describes the shield as the equivalent of "SPF one million". In low orbit, the Sun and the warm Earth swap sides every 90 minutes, which is exactly what Hubble lives with as it passes in and out of Earth's shadow. (For what "cold" means in space at all, see how cold is space.)

Other options have their own problems. L1, on the sunward side, puts the Sun and Earth on opposite sides of the spacecraft, which is great for solar observatories and useless for a cold telescope. A drift-away orbit trailing behind Earth around the Sun gets cold too, but the distance to Earth keeps growing, and the radio link weakens as the square of the distance (the same law that limits the Voyager 1 signal). At L2 the distance stays near 1.5 million km for the whole mission, so the Deep Space Network can talk to Webb continuously, with command uploads and data downlinks up to twice a day.

How did Webb get there?

Webb launched on 25 December 2021 and took about a month to coast out. The trip was deliberately aimed slightly short: the launch vehicle gave it a little less energy than needed, and Webb's own thrusters made up the rest, because Webb cannot safely brake by pointing its thrusters at the Sun. The final insertion burn on 24 January 2022 lasted 297 seconds and changed its speed by just 1.6 m/s, according to NASA. Since then, the 21-day trims have kept it on its halo.

Source note I did not find an official NASA figure for the station-keeping propellant cost per year or Webb's propellant lifetime in sources I opened. Figures you will see elsewhere (a few m/s per year; fuel for about 20 years) come from secondary summaries and are left out here. The "aimed slightly short" description of the launch trajectory, the 25 December 2021 launch date, the five-layer design and the tennis-court size of the sunshield are from widely reported NASA material that I did not reopen for this post.
The numbers to remember: L2 is 1.508 million km beyond Earth (Hill approximation 1.503); the Sun and Earth both pull sunward there, together exactly enough for a one-year orbit; at the exact point Earth would cover 84% of the Sun; Webb's halo orbit is about 771,000 km by 418,000 km and takes about 6 months; drift grows by a factor e every 23 days, hence station-keeping every 21 days.

FAQ

Why is the James Webb Space Telescope at L2?

Webb observes in the infrared, so it must stay colder than about minus 225 °C. Around the Sun-Earth L2 point the Sun, Earth and Moon all stay in roughly the same direction, so one sunshield can block all three at once. Earth is also far enough away that its heat is negligible, and the spacecraft never passes through Earth's shadow.

How far is L2 from Earth?

About 1.5 million km, roughly four times the distance to the Moon, on the line from the Sun through Earth. Solving the exact equation for the Sun-Earth-Moon system gives 1.508 million km from the Earth-Moon barycentre. The quick Hill-sphere approximation gives 1.503 million km.

Is the gravity of the Sun and Earth balanced at L2?

No. At L2 the Sun and Earth both pull toward the Sun. Their combined pull is exactly the extra inward force needed for an object farther from the Sun than Earth to still orbit once per year. In a frame rotating with Earth, gravity and the centrifugal effect cancel there, which is why it looks like a balance point.

Is Webb exactly at L2?

No. Webb circles L2 in a halo orbit roughly 800,000 km by 400,000 km across, larger than the Moon's orbit around Earth, taking about six months per loop. Sitting exactly at L2 would put it in a permanent partial eclipse, with Earth covering about 84% of the Sun's disk.

Why does Webb need to fire thrusters at L2?

L2 is unstable: a small drift grows by a factor of e about every 23 days. NASA's flight dynamics team planned station-keeping burns on a 21-day cadence to cancel that drift and the push of sunlight on the large sunshield.

Sources

  1. NASA Science, "Webb Orbit" (1.5 million km, orbit similar in size to the Moon's, about 6 months per loop, Sun, Earth and Moon in the same direction, SPF one million, about −225 °C, DSN contacts up to twice per day, Hubble's 90-minute shadow cycle): science.nasa.gov/mission/webb/orbit
  2. J. Petersen et al., "L2 Station Keeping Maneuver Strategy for the James Webb Space Telescope", NASA Goddard, AAS 2019 (21-day station-keeping cadence; reference orbit amplitudes of about 771,000 km and 418,000 km; stable-eigenvector minimum-Δv strategy): ntrs.nasa.gov
  3. Logan, Verma, Cavanaugh and Yu, NASA GSFC Flight Dynamics Facility, ISSFD 2024 (solar radiation pressure modelling from planned attitudes; anti-sunward manoeuvres more fuel-efficient): issfd.org
  4. NASA Webb blog, "Orbital Insertion Burn a Success, Webb Arrives at L2" (297 s burn, 1.6 m/s): science.nasa.gov
  5. NASA NSSDC fact sheets for the Sun (GM 132,712 × 106 km³/s², radius 695,700 km), Earth (GM 0.39860 × 106 km³/s², radius 6,371 km, semimajor axis 149.598 × 106 km, blackbody temperature 254 K, solar irradiance 1,361 W/m²) and Moon (GM 0.00490 × 106 km³/s²): sun, earth, moon

Method note: L1 and L2 distances come from the circular restricted three-body problem with the Earth and Moon combined at their barycentre; the growth rate and loop period come from the linearised equations about L2. The real halo orbit is shaped by the Moon, the planets and sunlight pressure, so the figures show sizes and timescales, not Webb's exact track.

Header image: NASA Goddard Space Flight Center (image GSFC_20171208_Archive_e001803), regraded for this article.

Related observations
Physics 10 Cosmic Objects That Will amaze you Space Why the 2027 Solar Eclipse Lasts 6 Minutes 23 Seconds Space How Fast Must a Space Station Spin for 1 g?
Transmit