HR Diagram and Star Life Cycle Explorer

An interactive Hertzsprung-Russell diagram with 27 well-known stars, a Stefan-Boltzmann calculator with worked steps, a life-cycle view by mass and practice questions.

S'executa al teu navegador. Els fitxers mai no surten del dispositiu. Mira com comprovar-ho

…

Com es fa

  1. 1
    Explore the diagram

    Open the HR diagram tab, tap any plotted star to see its temperature, luminosity, radius, class and peak wavelength.

  2. 2
    Add your own star

    Tap an empty spot on the chart, then rename it and fine-tune its values in the My stars tab.

  3. 3
    Calculate a missing quantity

    In the calculator tab choose what to find, enter the other two values and read the worked steps.

  4. 4
    Follow a life cycle

    Move the mass slider in Star life cycle to see the lifetime, luminosity and each stage up to the final remnant.

  5. 5
    Practise

    Use the Practice tab for generated questions, the 60-second sprint and a printable sheet with answers.

  6. 6
    Export

    Save a PNG of the diagram, a CSV of all stars or print the chart with its data table.

Sobre aquesta eina

The Hertzsprung-Russell diagram is the single most useful picture in stellar astronomy, and it is on almost every physics and earth-science syllabus. It plots a star's luminosity against its surface temperature, with hot blue stars on the left and cool red stars on the right. Most stars fall on a diagonal band called the main sequence, while giants, supergiants and white dwarfs sit in their own regions. This explorer draws the diagram on logarithmic axes, plots 27 bright and nearby stars from the Sun to Betelgeuse, and lets you tap anywhere to add your own. A calculator tab solves the Stefan-Boltzmann relation for luminosity, radius or temperature and shows each step, a life-cycle tab follows a star from nebula to remnant according to its mass, and a practice tab generates exam-style questions with instant marking.

What the axes mean

The vertical axis is luminosity in solar units (L☉), running from one hundred-thousandth of the Sun to a million Suns. The horizontal axis is surface temperature in kelvin, and by tradition it runs backwards: 40 000 K on the left, 2 000 K on the right. Spectral letters O, B, A, F, G, K and M are printed under the axis in the colour a star of that temperature would appear. Dotted diagonal lines join points of equal radius, from 0.01 to 1000 solar radii, which is why white dwarfs sit bottom left (hot but tiny) and red supergiants top right (cool but enormous).

The physics behind each point

A star radiates roughly like a black body, so its luminosity follows the Stefan-Boltzmann law L = 4πR²σT⁴. Dividing by the same expression for the Sun removes the constants: L/L☉ = (R/R☉)² × (T/T☉)⁴. The tool uses the IAU 2015 nominal solar values, L☉ = 3.828 × 10²⁶ W, R☉ = 6.957 × 10⁸ m and an effective temperature of 5772 K. Doubling the radius makes a star four times as luminous; doubling the temperature makes it sixteen times as luminous. The peak wavelength comes from Wien's law, λmax = 2.898 × 10⁻³ m·K ÷ T, and the absolute bolometric magnitude from M = 4.74 − 2.5 log₁₀(L/L☉), the zero point fixed by IAU Resolution B2.

Regions and spectral classes

Spectral class is assigned from temperature with the usual textbook boundaries: O above 30 000 K, B from 10 000 K, A from 7 500 K, F from 6 000 K, G from 5 200 K, K from 3 700 K and M below that. The region label (white dwarf, main sequence, subgiant, giant or supergiant) compares the star's luminosity with a smooth main-sequence curve fitted to well-known dwarfs. It is a teaching guide; professional luminosity classes come from the widths of spectral lines, not from position alone.

Life cycle by mass

Mass decides almost everything about a star's future. The life-cycle tab uses the classroom approximations t ≈ 10¹⁰ years × M⁻²·⁵ for the main-sequence lifetime and L ≈ M³·⁵ for luminosity. A star like the Sun lasts about ten billion years and ends as a white dwarf after a red-giant phase and a planetary nebula; a 15-solar-mass star lasts only about ten million years and ends in a core-collapse supernova that leaves a neutron star; the most massive stars can leave black holes.

Worked example

A star has a radius of 2 R☉ and a surface temperature of 8000 K. Then L = 2² × (8000 ÷ 5772)⁴ = 4 × 3.690 = 14.8 L☉. Its peak wavelength is 2.898 × 10⁻³ ÷ 8000 = 362 nm, in the near ultraviolet, its spectral class is A, and its bolometric magnitude is 4.74 − 2.5 log₁₀(14.8) = 1.82. On the diagram it lands inside the main-sequence band, slightly brighter than Altair.

Limits

Star data are rounded published values; measurements of distance, radius and temperature differ between sources, and variable stars such as Betelgeuse change. The mass-lifetime and mass-luminosity rules are approximations that work best between about half a solar mass and ten solar masses, and they are not a substitute for stellar-evolution models.

Exemple resolt

R = 2 R☉, T = 8000 K → L = 4 × (8000/5772)⁴ ≈ 14.8 L☉, class A, peak 362 nm, M(bol) ≈ 1.82.

En resum

Preguntes freqüents

Why does the temperature axis run backwards?

Hertzsprung and Russell originally plotted spectral class in the order O, B, A, F, G, K, M, which goes from hot to cool. The convention stuck, so hot stars are on the left.

How can a cool star be very bright?

Luminosity depends on radius squared as well as temperature to the fourth power. A red supergiant such as Betelgeuse is cool but hundreds of times wider than the Sun, so its huge surface outshines hotter stars.

What solar values does the calculator use?

The IAU 2015 nominal values: luminosity 3.828 × 10²⁶ W, radius 6.957 × 10⁸ m and effective temperature 5772 K.

Is the region label the same as a luminosity class like V or III?

Not exactly. The tool estimates the region from position on the diagram. Astronomers assign luminosity classes from details of the spectrum, so some borderline stars are labelled differently.

Can I plot my own data from a lab or textbook?

Yes. Tap the chart to place a star, edit its temperature and luminosity in the My stars table, or import a CSV with name, temperature and luminosity columns.

How accurate is the main-sequence lifetime?

It is a scaling rule good to within a factor of about two for Sun-like stars. Real lifetimes depend on composition, rotation and mass loss.

Totalment gratisSense cost, sense registre
Els fitxers es mantenen privatsTot funciona al teu navegador
Fàcil en el teu idiomaDisponible en molts idiomes