From nebula to neutron star — stellar evolution on the HR diagram
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.
Plus 148+ other Pro labs covering AP Physics, Biology, Chemistry, Earth Science, and Math — with unlimited simulation time, advanced parameters, and detailed analytics.
Already have an account?
Sign in →Every star you see tonight is mid-story in a process that spans millions to trillions of years. Stars form when a cloud of gas and dust collapses under gravity, heating until hydrogen fusion ignites in the core. That fusion pressure balances gravity and locks the star onto the main sequence of the Hertzsprung-Russell (HR) diagram for roughly 90% of its life. What happens next depends almost entirely on initial mass. Stars below about 0.5 solar masses (M☉) are red dwarfs and will outlast the current age of the universe. Low- and intermediate-mass stars below about 8 M☉ eventually swell into red giants, shed their outer layers as a glowing planetary nebula, and leave a white dwarf behind — a path the Sun (~1 M☉) will follow in roughly 5 billion years. Stars above ~8 M☉ explode in a core-collapse supernova, leaving a neutron star or black hole. This simulation traces those paths on a live HR diagram as Stellar Mass, Stage Progress, and Core Density change.
MisconceptionOur Sun will eventually explode as a supernova.
CorrectSupernovae require an initial mass above roughly 8 M☉. The Sun is 1 M☉ and will instead expand into a red giant in about 5 billion years, gently shed its outer envelope as a planetary nebula, and leave a white dwarf the size of Earth. No explosion.
MisconceptionMore massive stars live longer because they have more hydrogen fuel.
CorrectLuminosity scales roughly as mass to the 3.5 power (L ∝ M³·⁵). A star 10× the Sun's mass is ~3,000× more luminous, burning through its fuel far faster than its larger supply compensates. Lifetime scales as roughly M⁻²·⁵ — bigger stars die much sooner.
MisconceptionA red giant is cooler than the Sun, so it must be dimmer.
CorrectRed giants have lower surface temperatures (~3,500 K versus the Sun's ~5,800 K), but they are enormously larger in radius — sometimes hundreds of solar radii. Total luminosity depends on both temperature and surface area, and the area increase wins: red giants are hundreds to thousands of times more luminous than the Sun.
MisconceptionAll stars eventually collapse into black holes.
CorrectOnly the most massive stars (above roughly 25 M☉) leave black holes. Stars in the 8–25 M☉ range leave neutron stars after supernova. Stars below ~8 M☉ — the vast majority — leave white dwarfs. The HR diagram in the simulation shows these branching paths clearly.
MisconceptionThe HR diagram is a picture of stars moving across the sky.
CorrectThe HR diagram plots luminosity against surface temperature (or color). It does not show positions in space. A star's location on the diagram tells you its physical state. The diagonal main sequence is where stars spend most of their lives; red giants appear in the upper right.
The Hertzsprung-Russell diagram plots a star's luminosity (energy output) on the vertical axis against its surface temperature on the horizontal axis (with temperature running right-to-left by convention). Most stars fall along a diagonal band called the main sequence, where they spend most of their lives fusing hydrogen. When a star exhausts its core hydrogen, it moves off the main sequence to the right and upward (red giant region), making the HR track a visual record of stellar aging.
Without core fusion, gravity compresses the core, which heats up and ignites hydrogen fusion in a shell surrounding it. That shell releases more energy than core fusion did, causing the outer envelope to expand dramatically — sometimes to over 100 times the original radius. The expanded surface is cooler, shifting the color to red, but the enormous surface area more than compensates, making the star far more luminous overall.
HS-ESS1-1 asks students to develop a model based on evidence to illustrate the life span of the Sun and the role of nuclear fusion in the Sun's core. HS-ESS1-3 asks for a model of the role of nuclear fusion in the synthesis of heavy elements in stars. This simulation directly visualizes both: the mass slider shows how initial conditions determine life span, and the end-state outcomes connect to nucleosynthesis — massive stars fuse elements up to iron, while supernovae and neutron-rich merger ejecta help form many elements heavier than iron. Black holes themselves are not synthesis sites.
Using τ ≈ 10¹⁰ × (M/M☉)⁻²·⁵ years with M = 1 M☉, the Sun's total main-sequence lifetime is about 10 billion years. The Sun is currently ~4.6 billion years old, so it has roughly 5 billion years of hydrogen fusion remaining before it expands into a red giant. Set Stellar Mass to 1 and watch the simulation mark this stage.
A white dwarf is the dense, Earth-sized remnant of a low- or medium-mass star's core — mostly carbon and oxygen, with no ongoing fusion. It gradually radiates away stored heat over billions of years. Under normal conditions it cannot restart fusion. However, if it accretes enough mass from a companion star to exceed ~1.4 M☉ (the Chandrasekhar limit), it can trigger a runaway thermonuclear explosion known as a Type Ia supernova — a completely different mechanism from the core-collapse supernovae shown in this simulation for massive stars.