Star Life Cycle Simulator — Stellar Evolution from Birth to Death

simulator intermediate ~8 min
Loading simulation...
10 Gyr lifetime — a 1 solar mass star like our Sun lives ~10 billion years, ending as a white dwarf

A star with 1 solar mass lives approximately 10 billion years on the main sequence, then expands into a red giant before shedding its outer layers and becoming a white dwarf.

Formula

Lifetime ~ 10 * (M_sun / M)^2.5 billion years
Luminosity ~ L_sun * (M / M_sun)^3.5 on the main sequence

Stellar Nurseries

Stars are born in giant molecular clouds — vast regions of cold gas and dust tens of light-years across. When a region of a cloud becomes dense enough, gravity overcomes gas pressure and the cloud collapses. The collapsing core heats up until hydrogen fusion ignites at about 10 million Kelvin, and a star is born. This process takes a few hundred thousand years for massive stars and millions of years for smaller ones.

The Main Sequence

Once hydrogen fusion begins, a star enters the main sequence — the longest and most stable phase of its life. Our Sun has been on the main sequence for 4.6 billion years and will remain there for about 5 billion more. During this phase, the star is in hydrostatic equilibrium: gravity pulling inward is exactly balanced by the pressure from nuclear fusion pushing outward.

Red Giants and Beyond

When a star exhausts the hydrogen in its core, the core contracts and heats up while the outer layers expand enormously, creating a red giant. For Sun-like stars, the core eventually becomes hot enough to fuse helium into carbon. More massive stars continue fusing heavier elements in concentric shells — carbon, neon, oxygen, silicon — until they build an iron core, at which point fusion can no longer sustain them.

Death: Dwarf, Star, or Hole

Low-mass stars gently shed their outer layers as planetary nebulae, leaving behind a white dwarf — an Earth-sized remnant supported by electron degeneracy pressure. Massive stars die violently in core-collapse supernovae, outshining entire galaxies for weeks. If the remnant core is below about 3 solar masses, it becomes a neutron star; above that threshold, nothing can halt the collapse and a black hole forms.

FAQ

How long do stars live?

Stellar lifetimes depend dramatically on mass. A star like our Sun lives about 10 billion years. A star 10 times more massive lives only 30 million years. A tiny red dwarf at 0.1 solar masses could burn for over 10 trillion years — nearly 1000 times the current age of the universe.

What determines whether a star becomes a white dwarf, neutron star, or black hole?

It is all about the initial mass. Stars below about 8 solar masses end as white dwarfs. Stars between 8 and roughly 25 solar masses explode as supernovae and leave neutron stars. The most massive stars collapse into black holes. The exact boundaries depend on metallicity and mass loss.

What is the HR diagram track shown in the simulation?

The Hertzsprung-Russell (HR) diagram plots stellar luminosity against temperature. As a star ages, it traces a path on this diagram: starting on the main sequence, moving to the red giant branch, and ending at its final state. This evolutionary track reveals the internal physics at each stage.

How does metallicity affect stellar evolution?

Metallicity (the fraction of elements heavier than helium) affects opacity, which controls how efficiently energy escapes. Higher metallicity stars are slightly cooler and redder on the main sequence. Metallicity also affects mass loss rates through stellar winds, influencing the final remnant mass.

Sources

Embed

<iframe src="https://homo-deus.com/lab/astronomy/stellar-evolution/embed" width="100%" height="400" frameborder="0"></iframe>