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

Intermediate

Initial mass

0 yr

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

Surface temperature (from colour) and luminosity (total power) give each star a point on the HR diagram. Radius follows from the two.

Mass decides almost everything

A star's birth mass sets where it sits on the main sequence, how long it lives and how it dies. Composition and rotation matter much less.

Heavy stars live fast

Luminosity rises roughly as M^3.5 while fuel only rises as M, so a 25 solar mass star burns out in about 3 million years.

Stars make the elements

Fusion in giants builds carbon, oxygen and up to iron. Supernovae and merging neutron stars spread them, and make heavier elements still.

How to use this visualizer

  1. 1
    Pick an initial mass. The dashed line shows the full track the star will follow; the dot shows where it is now.
  2. 2
    Press 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.
  3. 3
    Use Next phase to stop at the end of each stage, or drag the Timeline slider to scrub back and forth.
  4. 4
    Compare 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.
  5. 5
    Try 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 massMain-sequence lifeOn the main sequenceGiant stagesDeathRemnant
0.5 M☉≈ 57 GyrK or early M dwarfRed giant (predicted)Sheds a thin envelopeHelium white dwarf
1 M☉ (the Sun)≈ 10 GyrG dwarfRed giant, helium flash, horizontal branch, AGBPlanetary nebulaCarbon-oxygen white dwarf, about 0.55 M☉
5 M☉≈ 180 MyrB dwarfRed giant, blue loop (Cepheid), AGBPlanetary nebulaMassive white dwarf, about 1 M☉
15 M☉≈ 11 MyrEarly B dwarfRed supergiantCore-collapse supernovaNeutron star
25 M☉≈ 3 MyrO dwarfBlue then red supergiantCore-collapse supernovaBlack hole (likely)

Common misconception

Bigger stars do have more fuel, but they do not last longer. Luminosity grows much faster than mass, so a 15 solar mass star has 15 times the fuel yet burns it about 13,000 times faster and dies within about 11 million years. Also, a star does not travel along the main sequence as it ages: it stays near one spot until its core hydrogen runs out, then leaves.

Real-world applications

Ages of star clusters

All stars in a cluster formed together. The point where its main sequence turns off toward the giants tells you which mass is just running out of hydrogen, and so the cluster's age.

Distances by main-sequence fitting

Slide a cluster's observed main sequence up or down until it matches the standard one. The shift in brightness gives its distance.

The Sun's future

In about 5 billion years the Sun will leave the main sequence and swell into a red giant, probably engulfing Mercury and Venus.

Where we came from

The carbon in your cells and the oxygen you breathe were made inside earlier generations of stars and scattered by their deaths.

Practice problems

Problem 1: A 4 solar mass star

Using L ≈ M^3.5 and t ≈ 10 billion years × M^−2.5, estimate the luminosity and main-sequence lifetime of a 4 solar mass star.
Show 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?

Betelgeuse has a surface temperature of about 3,600 K and a luminosity of about 100,000 L☉. Estimate its radius in solar radii.
Show 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.