What the habitable zone is
The habitable zone is the range of distances from a star where a planet with the right kind of atmosphere could keep liquid water on its surface. Closer in, the water boils away. Farther out, it freezes. People often call it the “Goldilocks zone” because it is the band where conditions are not too hot and not too cold.
Distances in this article are given in astronomical units, or AU. One AU is the average distance from Earth to the Sun, about 150 million kilometres. Earth sits at 1 AU, comfortably inside the Sun’s habitable zone. Venus, at 0.72 AU, is too close. Mars, at 1.52 AU, is too far out.
The zone is a statement about starlight, not about life. It answers one narrow question: how much energy reaches a planet at this distance? Everything else that makes a world livable has to be asked separately, and the last part of this article is about exactly that gap.
Why the zone moves with the star
A star’s light spreads out as it travels, covering the surface of an ever larger sphere. Double your distance and the same light is spread over four times the area, so each square metre receives a quarter as much. This is the inverse-square law, and it is why the habitable zone depends on luminosity, which is the total amount of light a star gives off.
Follow the arithmetic one step further. If a star is four times as bright as the Sun, a planet has to be twice as far away to receive the same warmth as Earth. Nine times as bright, three times as far. The zone’s distance grows with the square root of the luminosity. That is the whole of TerraForge’s habitable-zone formula: it takes the star’s luminosity (measured relative to the Sun), takes its square root, and multiplies by two fixed numbers to get the inner and outer edges.
In the builder, each star type has one fixed luminosity. Here is the zone the engine draws for each:
| Star type | Luminosity | Inner edge | Outer edge |
|---|---|---|---|
| O (blue supergiant) | 100,000 | 300 AU | 433 AU |
| B (blue giant) | 10,000 | 95 AU | 137 AU |
| A (blue-white) | 40 | 6.0 AU | 8.7 AU |
| F (white) | 6 | 2.3 AU | 3.4 AU |
| G (Sun-like) | 1 | 0.95 AU | 1.37 AU |
| K (orange) | 0.4 | 0.60 AU | 0.87 AU |
| M (red dwarf) | 0.04 | 0.19 AU | 0.27 AU |
The spread is enormous. A red dwarf’s zone would fit well inside Mercury’s orbit, while a blue supergiant’s starts some ten times farther out than Neptune. Notice too that the zone gets wider as it moves outward: around the G star it is 0.42 AU across, around the M star less than a tenth of an AU.
One honest caveat. Real stars of the same letter vary a great deal. An M dwarf can be far dimmer than the builder’s 0.04: TRAPPIST-1, a tiny red dwarf with seven known planets, gives off about 0.0006 times the Sun’s light. So when TerraForge simulates a real exoplanet, it uses that star’s measured luminosity rather than the bucket in the table, and the zone it draws in the star-system view comes from the same measurement.
Where the edges come from
TerraForge places the inner edge at 0.95 AU and the outer edge at 1.37 AU for a Sun-like star. Those are the figures from a classic 1993 study by the climate scientist James Kasting and colleagues, often called the conservative habitable zone. Each edge marks a different way a planet loses its water.
The inner edge: a runaway greenhouse
A greenhouse gas is one that lets sunlight in but traps the heat a planet radiates back out. Water vapour is one. Warm an ocean enough and more of it evaporates, which traps more heat, which evaporates more water. Past a tipping point the loop runs away. High in the atmosphere, ultraviolet light splits the water molecules, and the light hydrogen escapes to space. The ocean is gone for good. Venus is widely thought to have gone this way.
The outer edge: when more air stops helping
Farther out, a planet can stay warm by building up carbon dioxide, a strong greenhouse gas. But there is a limit. A very thick carbon dioxide atmosphere starts to scatter incoming sunlight back to space, and some of it condenses into clouds. Beyond a certain distance, adding more gas cools the planet instead of warming it.
What TerraForge simplifies
Later research has moved these edges around, and different studies disagree, particularly about how far out the outer edge can reach. Real calculations also depend on the colour of the star: redder light is reflected less by an atmosphere and absorbed more readily by ice, so the zone around a cool star sits a little farther out than brightness alone predicts. TerraForge ignores star colour and uses only the square-root rule above.
There is another simplification worth knowing about. The engine works out a planet’s starting temperature with a standard formula: 278 kelvin (K) multiplied by the fourth root of luminosity divided by distance squared. Kelvin is a temperature scale that starts at absolute zero; water freezes at 273 K and boils at 373 K at Earth’s surface pressure. That formula treats the planet as a perfect absorber that reflects nothing, which matches how NASA’s Exoplanet Archive defines the number it publishes. Because both the zone and the temperature scale with the square root of luminosity, the zone’s edges land on the same temperatures around every star: about 285 K at the inner edge and about 238 K at the outer.
The green band is a guide, though, not a rule the engine obeys. What actually decides whether a world can hold liquid water is its surface temperature, which adds greenhouse warming from carbon dioxide, methane and water vapour in its recipe. The life test asks for a surface between 250 K and 350 K. A planet with no greenhouse gases at the zone’s outer edge sits at 238 K and fails that test. Give it a carbon dioxide atmosphere and it can pass.
Why being in the zone is not enough
Of the roughly 5,600 real exoplanets TerraForge simulates, only about 2 percent sit inside their own star’s habitable zone by the engine’s conservative edges, and more than half of those are gas giants. Being at the right distance is common enough. Being the right kind of world at that distance is not. Here is what else has to go right.
An atmosphere, and the mass to keep it
Liquid water needs air pressure above it, or it boils off even when the temperature is mild. A planet holds its air with gravity, so size matters. In TerraForge, a world under a tenth of Earth’s mass cannot keep an atmosphere at all, and one under half an Earth mass loses its air if its temperature climbs past 700 K. Mars is the real-world reminder: it is small, and most of its early atmosphere is gone.
Too much mass is a problem too. A big planet gathers a thick envelope of hydrogen and stops having a surface you could stand on. Kepler-22 borbits inside its star’s zone, but at about 9 Earth masses the engine classifies it as an ice giant, and its habitability score is in the 30s. TerraForge only calls a world Earth-like between 0.7 and 5 Earth masses.
Tidal locking around red dwarfs
A red dwarf’s zone is so close that its planets feel strong tides from the star. Over time those tides slow a planet’s spin until one side always faces the star, as the Moon always shows Earth the same face. This is called tidal locking. One hemisphere is in permanent daylight, the other in permanent night.
Exoplanet rotation cannot be measured, so TerraForge makes an assumption: any real planet closer than 0.1 AU gets a day as long as its year. TRAPPIST-1 e is squarely in its zone at 0.029 AU, but that gives it a 6.1-day day, about 146 hours. Proxima Centauri b, the nearest known exoplanet, gets an 11.2-day day. Both pay twice. The habitability score treats any day over 100 hours as very slow rotation with harsh swings between day and night. And the engine assumes a planet spinning that slowly cannot run the churning metal core that generates a magnetic field, which shields the air from the star’s particles. Both planets land in the low 40s out of 100.
This is a simplification. TerraForge models locking as a very long day; it does not simulate a permanent day side and night side. Real climate models suggest a thick atmosphere or deep ocean could carry heat around a locked planet and soften the contrast. And whether a slow spin really switches off a magnetic field is less settled than the engine’s cut-off makes it look.
Flares
Red dwarfs are often flare stars, especially when young: they release sudden bursts of ultraviolet light and X-rays, and a planet huddled close to the star takes the full force. Over billions of years that may strip an atmosphere away. TerraForge does not include flares in its habitability score. It rates red dwarfs at three times the Sun’s particle activity, but uses that only to brighten auroras. Treat a high score around an M star with that gap in mind.
The edges are a choice
Finally, different definitions of the zone give different answers. Kepler-186 fwas widely described as a habitable-zone planet when it was announced in 2014, under a wider definition. By TerraForge’s conservative edges it orbits outside the zone, and the engine simulates it as an ice world.
See it in the builder
You can watch all of this happen in the planet builder.
- Under Star Type, choose G - Yellow (Sun-like), then press the View star system button. The orbits appear from above with the habitable zone shaded green between two dashed lines, and the panel in the corner reads 0.95 - 1.37 AU.
- Switch to M - Red Dwarf. The band shrinks to 0.19 - 0.27 AU. The Distance from Starslider rescales with the star’s brightness, so the zone stays within easy reach of the handle.
- Drag the distance in and out and watch the panel’s badge change between Too hot, Habitable zone and Too cold.
- With an Earth-mass planet parked in the zone, push Rotation Speed past 100 hours per day. The magnetic field disappears from the results and the habitability score drops, even though nothing about the starlight changed.