← 🔭 Space & Astronomy
🌍 Habitable Zone · G-type star

🌡️ Star & Planet


Readouts

Star temp.5778 K
Luminosity1.00 L☉
Zone range0.95–1.4 AU
Planet temp.255 K
Habitable?YES
Drag sliders to move the planet and change the star

🌍 Habitable Zone Calculator — Interactive Simulation

The habitable zone (or "Goldilocks zone") is the range of orbital distances around a star where a rocky planet could maintain liquid water on its surface. This simulation calculates that zone from real stellar physics and lets you test whether a planet's orbit falls inside it.

🔬 What It Demonstrates

Star luminosity scales steeply with mass (roughly L ∝ M3.5 on the main sequence), so even small mass changes shift the habitable zone dramatically. The zone boundaries here follow the conservative estimates used in real habitability studies, tied to the flux limits at which a water-rich atmosphere would enter a runaway greenhouse or freeze completely.

🎮 How to Use

Drag the star mass slider from a small red dwarf to a massive blue giant and watch the green habitable band move and resize. Move the planet's orbital distance to test whether it lands inside the band, and check the live pass/fail readout and estimated equilibrium temperature.

💡 Did You Know?

Red dwarf stars are the most common stars in the galaxy and have very close-in, narrow habitable zones — a planet there would likely be tidally locked, with one side in permanent day and the other in permanent night.

About this simulation

Written by MySimulator Team · Reviewed by MySimulator Editorial Review

Last updated: 11 July 2026

This habitable zone calculator derives a star's temperature and luminosity from its mass using approximate main-sequence scaling relations, then converts that luminosity into the conservative inner and outer edges of the circumstellar habitable zone using the same flux-limit approach used in real exoplanet habitability research. A planet's equilibrium temperature is computed from the inverse-square law of stellar flux and its own reflectivity (albedo).

🔬 What it shows

As star mass increases from a red dwarf toward a blue giant, luminosity rises extremely fast (roughly with the 3.5 power of mass), pushing the green habitable band outward and widening it. A planet's orbital distance is compared against the current inner and outer zone edges to give an instant pass/fail habitability verdict.

🎮 How to use

Move Star mass to explore stars from 0.1 to 18 solar masses. Move Planet distance to place the planet anywhere from very close-in to far out. Albedo controls how much starlight the planet reflects rather than absorbs, and Orbit speed controls how fast the animation plays. Watch the readouts update live.

💡 Did you know?

Venus lies just inside the Sun's habitable zone by simple flux calculations, yet its thick CO₂ atmosphere trapped so much heat that its surface reached over 460°C — a reminder that atmosphere and greenhouse effects matter as much as orbital distance alone.

Frequently asked questions

What is the habitable zone?

The habitable zone, sometimes called the Goldilocks zone, is the range of distances from a star where a rocky planet with a suitable atmosphere could maintain liquid water on its surface — not so hot that oceans boil away, and not so cold that they freeze solid.

Why does the zone move when I change the star's mass?

More massive main-sequence stars are dramatically more luminous, so their habitable zone sits farther out and is wider. Low-mass red dwarfs are far dimmer, so their habitable zone is squeezed in very close to the star, where the calculation still applies but tidal locking and stellar flares become bigger concerns.

How is the equilibrium temperature calculated?

It comes from balancing the starlight a planet absorbs against the thermal radiation it re-emits, using the star's temperature and radius, the orbital distance, and the fraction of light the planet reflects away (its albedo). This gives a simplified but genuinely physical estimate, ignoring greenhouse effects from any atmosphere.

Is being in the habitable zone enough to guarantee life?

No. It only means liquid water is possible in principle, given an Earth-like atmosphere and surface pressure. A planet's actual habitability also depends on its atmosphere, magnetic field, geological activity, and many other factors this simplified calculator does not model.

Why does albedo affect the result?

Albedo measures how much incoming starlight a planet reflects back to space rather than absorbing. A higher albedo (like fresh snow or thick clouds) means less absorbed energy and a cooler equilibrium temperature, even at the same orbital distance.