H-R Diagram Explorer
Three modes: place any star on the Hertzsprung-Russell diagram by entering its temperature, radius, and mass. Compare up to 8 stars side by side or browse the complete spectral classification atlas from O-type blue giants to M-type red dwarfs. 23 real reference stars are plotted for context.
Mode
Presets
Hertzsprung-Russell Diagram
Temperature increases to the left (astronomers' convention). Each major gridline represents a factor of 10 in luminosity. 23 reference stars are shown as small dots.
Computed Properties
Formulas Used
Spectral colour
Reference Guide
The HR Diagram
The Hertzsprung-Russell (HR) diagram is the single most important tool in stellar astronomy. It plots stellar luminosity against surface temperature, revealing that stars are not randomly distributed but cluster into distinct groups.
Developed independently by Ejnar Hertzsprung (1911) and Henry Norris Russell (1913), the diagram showed for the first time that stars follow predictable patterns governed by their mass and evolutionary stage.
The main sequence runs diagonally from hot, luminous stars (upper left) to cool, dim stars (lower right). About 90% of all stars lie on the main sequence at any given time.
Spectral Classification
The Morgan-Keenan (MK) system classifies stars into spectral types O, B, A, F, G, K, M based on their surface temperature and absorption line patterns. Each class is subdivided 0-9 (e.g. G2 for the Sun).
Mnemonic: Oh Be A Fine Girl/Guy, Kiss Me.
Stefan-Boltzmann Law
The Stefan-Boltzmann law relates a star's luminosity to its radius and surface temperature. It is the key equation that connects a star's position on the HR diagram to its physical size.
In solar units this simplifies to:
σ = 5.670 × 10⁻⁸ W/(m²·K⁴), T☉ = 5778 K
Main Sequence Properties
Stars on the main sequence fuse hydrogen in their cores. Their luminosity scales steeply with mass, while their lifetime scales inversely, because massive stars burn fuel far faster.
Absolute magnitude measures intrinsic brightness: