Stellar Evolution and the HR Diagram
Choose a star's mass and follow its path across the Hertzsprung-Russell diagram from main sequence to its final remnant
Initial mass
Drag to scrub through the star's life. Each phase gets screen time, not real time.
- Phase
- Main sequence
- Age
- 0 yr
- Temperature
- 5,772 K
- Luminosity
- 1.00 L☉
- Radius
- 1.00 R☉
- Main-sequence life
- 10.0 Gyr
- Final fate
- White dwarf
- Path so far
- Path still to come
- Lines of constant radius
Hydrogen fuses into helium in the core. The star barely moves on the diagram and brightens slowly as helium builds up. This is about 90% of its life.
Tracks are simplified sketches with roughly correct positions. On the main sequence the star starts at L ≈ M^3.5 L☉ and lasts t ≈ 10 Gyr × M^−2.5; radius comes from Stefan-Boltzmann, R/R☉ = √(L/L☉) × (5772 K / T)². Gyr = billion years, Myr = million years.
How stars change over their lives
In the early 1900s Ejnar Hertzsprung and Henry Norris Russell plotted stars by brightness against colour and found they were not scattered at random. Most fall on a diagonal band, the main sequence, with a cloud of giants above it and a sprinkling of white dwarfs below. The Hertzsprung-Russell (HR) diagram puts temperature on the horizontal axis, running from hot on the left to cool on the right, and luminosity on the vertical axis. Both axes are logarithmic.
A star is a balance between gravity pulling in and pressure from the hot gas pushing out. On the main sequence the core fuses hydrogen into helium, and that balance is stable for a long time. Where a star sits on the main sequence depends mainly on its mass: heavier stars are hotter, larger and far more luminous.
When the core hydrogen runs out, the core contracts and heats while the outer layers swell and cool, so the star moves up and to the right to become a giant. What happens next depends on mass. Stars up to about 8 solar masses end by puffing off their envelopes as a planetary nebula, leaving a white dwarf. Heavier stars fuse elements all the way to iron, then their cores collapse in a supernova, leaving a neutron star or a black hole.
Two numbers place a star
Mass decides almost everything
Heavy stars live fast
Stars make the elements
How to use this visualizer
- 1Pick an initial mass. The dashed line shows the full track the star will follow; the dot shows where it is now.
- 2Press Play to run its life. Each phase gets a few seconds on screen, even though the real durations differ by factors of millions: read the Age readout.
- 3Use Next phase to stop at the end of each stage, or drag the Timeline slider to scrub back and forth.
- 4Compare the star with the labelled stars and the dashed lines of constant radius. The panel below the diagram draws the star in its true colour at a log-scaled size.
- 5Try 0.5 solar masses: its main-sequence life is longer than the current age of the universe, so the rest of its track is a prediction.
Key formulas
Mass-luminosity relation (approximate, main sequence)
L / L☉ ≈ (M / M☉)^3.5
- L
- luminosity in solar units, L☉ = 3.83 × 10²⁶ W
- M
- mass in solar masses, M☉ = 1.99 × 10³⁰ kg
Main-sequence lifetime (approximate)
t ≈ 10 billion years × (M / M☉)^−2.5
- t
- time spent fusing hydrogen in the core; fuel ∝ M and burn rate ∝ L, so t ∝ M / M^3.5
Stefan-Boltzmann law for a star
L = 4πR²σT⁴ so R / R☉ = √(L / L☉) × (5772 K / T)²
- σ
- Stefan-Boltzmann constant, 5.67 × 10⁻⁸ W m⁻² K⁻⁴
- R
- radius; T is surface temperature, and the Sun has T = 5772 K
Life stories by mass
| Initial mass | Main-sequence life | On the main sequence | Giant stages | Death | Remnant |
|---|---|---|---|---|---|
| 0.5 M☉ | ≈ 57 Gyr | K or early M dwarf | Red giant (predicted) | Sheds a thin envelope | Helium white dwarf |
| 1 M☉ (the Sun) | ≈ 10 Gyr | G dwarf | Red giant, helium flash, horizontal branch, AGB | Planetary nebula | Carbon-oxygen white dwarf, about 0.55 M☉ |
| 5 M☉ | ≈ 180 Myr | B dwarf | Red giant, blue loop (Cepheid), AGB | Planetary nebula | Massive white dwarf, about 1 M☉ |
| 15 M☉ | ≈ 11 Myr | Early B dwarf | Red supergiant | Core-collapse supernova | Neutron star |
| 25 M☉ | ≈ 3 Myr | O dwarf | Blue then red supergiant | Core-collapse supernova | Black hole (likely) |
Common misconception
Real-world applications
Ages of star clusters
Distances by main-sequence fitting
The Sun's future
Where we came from
Practice problems
Problem 1: A 4 solar mass star
Show solutionHide solution
L ≈ 4^3.5 = 4³ × √4 = 64 × 2 = 128 L☉
t ≈ 10 billion years / 4^2.5 = 10 billion / 32 = 0.3125 billion years
About 128 L☉ and about 310 million years
Problem 2: How big is Betelgeuse?
Show solutionHide solution
R / R☉ = √(L / L☉) × (5772 / T)²
√100,000 = 316.2 and (5772 / 3600)² = 1.6033² = 2.571
R ≈ 316.2 × 2.571 ≈ 813 R☉
About 800 R☉: placed at the Sun, it would reach past the orbit of Mars
Spotted a mistake on this page?
Wrong formula, broken animation or confusing wording. Tell us and we will fix it.