Pro 🔒~25 min

Star Life Cycle

From nebula to neutron star — stellar evolution on the HR diagram

How it works

Stars form when dense regions in molecular clouds collapse under gravity. The protostar heats up until hydrogen fusion ignites in the core, placing it on the main sequence of the HR diagram. A star spends most of its life on the main sequence, fusing H → He. When core hydrogen is exhausted, the core contracts and heats, igniting hydrogen shell burning. The envelope expands and cools — the star becomes a red giant (or supergiant for massive stars). Low-mass stars (< 8 M☉) shed outer layers as a planetary nebula, leaving a white dwarf that slowly cools. High-mass stars (> 8 M☉) fuse heavier elements up to iron, then undergo core-collapse supernova. The remnant is a neutron star (< ~25 M☉) or black hole (> ~25 M☉). The HR diagram plots luminosity vs. surface temperature; evolutionary tracks show distinct paths depending on initial mass. The main sequence runs diagonally — hot-bright upper left to cool-dim lower right.

Upgrade to Pro to access this experiment

Step-by-step

  1. Use the mass slider to set the initial stellar mass, then click 'Start Evolution' to watch the star progress through its life stages.
  2. The HR diagram tracks the star's position in real time.
  3. Hover over any stage label for details.
  4. Higher mass = shorter life but more dramatic ending.

Key formulas

  • LL(MM)3.5L \approx L_\odot \left(\frac{M}{M_\odot}\right)^{3.5}Main-sequence luminosity scales roughly as mass to the 3.5 power. A 10 M☉ star is ~3000× more luminous than the Sun.
  • τMS1010(MM)2.5 yr\tau_{\text{MS}} \approx 10^{10} \left(\frac{M}{M_\odot}\right)^{-2.5} \text{ yr}Main-sequence lifetime decreases steeply with mass. Massive stars burn fuel far faster despite having more of it.

Frequently asked questions

Why do more massive stars have shorter lifetimes despite having more fuel?
Luminosity ∝ M^3.5 but fuel ∝ M, so lifetime ∝ M/L ∝ M^(-2.5). A 10 M☉ star is 10× heavier but ~3000× more luminous — it burns through fuel ~300× faster.
What determines whether a star ends as a white dwarf, neutron star, or black hole?
Initial mass is the primary factor. Below ~8 M☉ → white dwarf. 8–25 M☉ → neutron star (Chandrasekhar limit ~1.4 M☉ for the remnant). Above ~25 M☉ → black hole (Tolman–Oppenheimer–Volkoff limit ~2–3 M☉).
Why does a star become a red giant when it exhausts core hydrogen?
Without core fusion, the core contracts and heats. Hydrogen ignites in a shell around the core, releasing more energy. The envelope absorbs this energy and expands enormously, cooling the surface to red but greatly increasing total luminosity.