HomeArticlesSpace & Astronomy

The Habitable Zone: Calculating Where Water Stays Liquid

Why the zone around a star where a planet could hold liquid water depends on stellar luminosity, and how the boundaries are actually calculated.

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

Not too hot, not too cold

The circumstellar habitable zone is the range of orbital distances around a star where a rocky planet with a suitable atmosphere could sustain liquid water on its surface. It is often called the "Goldilocks zone," but the underlying physics is a straightforward energy balance: too close to the star and any water boils or escapes to space, too far and it freezes solid. What makes the habitable zone genuinely useful for astronomers is that its boundaries can be calculated from a star's measurable properties, without ever having to observe the planet's surface directly.

live demo · the habitable zone shifting with stellar mass● LIVE

Two boundaries, two runaway feedbacks

The zone's inner and outer edges are set by two different atmospheric feedback loops, formalised by James Kasting, Daniel Whitmire and Ray Reynolds in a landmark 1993 paper and refined since (notably by Ravi Kopparapu and collaborators in 2013):

Inner edge — runaway greenhouse
  Too much stellar flux evaporates surface water into the
  atmosphere faster than it can rain back out; water vapor is
  itself a potent greenhouse gas, so warming and evaporation
  reinforce each other until the oceans boil away entirely.

Outer edge — maximum greenhouse
  Too little stellar flux, and a planet must rely on CO2 to
  stay warm. But past a certain CO2 concentration, thick clouds
  reflect more sunlight than the added greenhouse effect can
  trap — additional CO2 stops helping and the surface freezes.

Venus, well inside the inner edge by most estimates, is thought to have suffered exactly this runaway process early in its history. Mars, near or just beyond the outer edge, may have lost the ability to sustain a strong enough CO2 greenhouse to keep its early liquid water flowing.

Scaling with the star

Since what matters physically is the flux of energy a planet receives, and flux falls off with the square of distance, the habitable-zone distance scales with the square root of the star's luminosity relative to the Sun's:

d_AU ≈ sqrt( L_star / L_sun )     // first-order scaling for equal flux

L_sun (G star, our Sun):    inner ≈ 0.95 AU,  outer ≈ 1.4 AU
faint M dwarf (0.01 L_sun): inner ≈ 0.1 AU,   outer ≈ 0.14 AU
bright A star (10 L_sun):   inner ≈ 3.0 AU,   outer ≈ 4.4 AU

That square-root scaling is a simplification — the real Kopparapu-style calculation runs full radiative-convective climate models for each stellar temperature, because a cooler star's spectrum is shifted toward the infrared, which water vapor and CO2 absorb differently than they absorb visible light. But the basic takeaway holds: cooler, dimmer stars push their habitable zone inward, hotter, brighter stars push it outward, exactly as the demo above shows when you change the star's mass.

A moving target

Stars brighten as they age, so the habitable zone is not fixed — it slowly migrates outward over a star's main-sequence lifetime. The Sun is roughly 30% brighter today than when Earth formed, and its habitable zone has been creeping outward the whole time. Earth is expected to eventually fall inside the inner edge and lose its oceans to a runaway greenhouse well before the Sun leaves the main sequence — most estimates put that crossing somewhere between about 1 and 2 billion years from now.

Necessary, not sufficient

Sitting inside the habitable zone only means liquid water is physically possible given the right atmosphere — it says nothing about whether a planet actually has one. A planet could be in the zone and still be a lifeless, airless rock like Mercury would be if moved there, or a crushing, waterless gas giant. Real habitability also depends on atmospheric composition and thickness, a protective magnetic field, plate tectonics recycling carbon, and a stable host star — all factors the habitable zone concept deliberately sets aside to keep the calculation tractable.

Frequently asked questions

Does being in the habitable zone mean a planet has liquid water?

No — it means liquid water is possible given the right atmosphere. The habitable zone is a necessary condition based purely on the energy a planet receives, not a sufficient one. Venus sits near the inner edge of the Sun's habitable zone by some calculations, yet its thick CO2 atmosphere makes its surface far too hot for liquid water.

Why is the habitable zone closer to red dwarf stars?

Because the habitable zone tracks total stellar luminosity, not size. Red dwarfs are far dimmer than the Sun, so a planet must orbit much closer to receive the same energy flux needed to keep water liquid. That proximity brings other problems, such as tidal locking and stronger exposure to stellar flares.

Will Earth ever leave the Sun's habitable zone?

Yes, eventually. The Sun's luminosity slowly increases as it ages, pushing the inner edge of the habitable zone outward. Most estimates put Earth crossing that inner edge — and losing its oceans to a runaway greenhouse — somewhere between about 1 and 2 billion years from now, long before the Sun becomes a red giant.

Try it live

Everything above runs in your browser — open Habitable Zone Calculator and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open Habitable Zone Calculator simulation

What did you find?

Add reproduction steps (optional)