The Hertzsprung-Russell diagram, or HR diagram, is a scatter plot that maps stars by their surface temperature and luminosity, revealing distinct patterns that tell astronomers almost everything important about a star: its size, its life stage, its age, and even its distance from Earth. Developed independently by Ejnar Hertzsprung and Henry Norrell Russell in the early 1900s, it remains one of the most powerful tools in astronomy. Think of it as a star’s résumé, plotted on a single chart.
How the Diagram Is Set Up
The HR diagram has two axes. The horizontal axis shows surface temperature, measured in Kelvin, and it runs backward from what you might expect: the hottest stars (above 30,000 K) sit on the left, and the coolest (around 3,000 K) sit on the right. This axis also corresponds to spectral class, labeled with the letters O, B, A, F, G, K, and M from left to right. Each letter represents a temperature range and a characteristic color, from blue-white O stars to deep red M stars.
The vertical axis shows luminosity, or how much total energy a star radiates, measured in units of solar luminosity. The Sun sits right in the middle at 1. The scale is enormous. It spans from 0.0001 (one ten-thousandth of the Sun’s output) at the bottom to 10,000 solar luminosities at the top. That’s a factor of 100 million from bottom to top, which is why the axis uses a logarithmic scale rather than a linear one.
The Sun itself lands in the middle of the diagram: a G-type star with a surface temperature of about 5,800 K and a luminosity of 1. Rigel, a blue B-type star in the upper left, burns at roughly 15,000 K and outshines the Sun by more than 10,000 times. Proxima Centauri, a dim red M-type star in the lower right, has a temperature of 3,000 K and a luminosity less than 1/10,000 of the Sun’s.
The Main Sequence
When you plot thousands of stars on the diagram, most of them don’t scatter randomly. They fall along a broad diagonal band running from the upper left (hot and bright) to the lower right (cool and dim). This band is the main sequence, and it represents stars in the longest, most stable phase of their lives: fusing hydrogen into helium in their cores. The Sun is a main sequence star, and so are about 90% of all observable stars.
What makes the main sequence especially useful is a tight relationship between a star’s mass and its luminosity. Heavier stars burn hotter and brighter, lighter stars burn cooler and dimmer. This relationship holds only on the main sequence, not in other regions of the diagram. Astronomers classify main sequence stars as luminosity class V, also called “dwarfs,” though that label can be misleading since it includes stars far larger and brighter than the Sun.
Giants, Supergiants, and White Dwarfs
Stars that have left the main sequence populate three other key regions. Each one represents a different stage of stellar life.
Red giants cluster in the middle-right portion of the diagram, above the main sequence. These are stars that have exhausted the hydrogen in their cores and begun to expand. As their surfaces grow, they cool and redden, but their sheer size makes them far more luminous than they were on the main sequence. Stars between roughly 0.8 and 8 times the Sun’s mass pass through this phase. Mira, for example, has a surface temperature of only 3,000 K (about half the Sun’s) but shines 400 times brighter because of its enormous size. Giants can fuse heavier elements up to carbon in their cores.
Supergiants occupy the extreme upper portion of the diagram. Stars heavier than about 8 solar masses evolve horizontally across the top, starting as blue-white O and B types on the main sequence and expanding into red supergiants. These are among the most luminous stars in the galaxy.
White dwarfs sit in the lower-left corner: hot but incredibly faint. They are the remnant cores of medium-sized stars that have shed their outer layers. Sirius B is a classic example, with a surface temperature of 24,000 K (four times hotter than the Sun) but only 0.04 times the Sun’s luminosity. They’re so dim because they’re physically tiny, roughly the size of Earth. No white dwarf exceeds 1.4 solar masses, a limit set by the physics of electron pressure inside the star.
Luminosity Classes
Astronomers refined the HR diagram by adding luminosity classes, labeled with Roman numerals. Class I stars are supergiants, classes II and III are giants, class IV stars are subgiants (a transitional zone between the main sequence and the giant branch), and class V stars are main sequence dwarfs. The Sun is a class V star. These classes are determined by looking at how broad or narrow certain lines are in a star’s spectrum. Higher surface gravity (which you find in smaller, denser stars) produces wider spectral lines, so a main sequence star and a giant of the same temperature can be distinguished by the thickness of their spectral features alone.
Measuring Distance With the Diagram
One of the HR diagram’s most practical applications is estimating how far away a star is, using a technique called spectroscopic parallax (which, despite the name, has nothing to do with actual parallax measurements). The process works in a straightforward sequence. First, you take a spectrum of the star and identify its spectral class, which tells you its temperature and horizontal position on the diagram. Then you examine the thickness of its spectral lines to determine its luminosity class. Together, these place the star at a specific point on the HR diagram, which gives you its intrinsic brightness, or absolute magnitude.
Once you know how bright the star actually is and compare it to how bright it appears from Earth, the difference tells you the distance. This method works for individual stars far beyond the reach of direct parallax measurements, making it a critical rung on the cosmic distance ladder.
Dating Star Clusters
The HR diagram is also the primary tool for determining the age of star clusters. The logic is simple: massive stars burn through their hydrogen fuel faster than smaller ones. In a cluster where all the stars formed at roughly the same time, the most massive stars leave the main sequence first, peeling off to the right toward the giant branch. Over time, progressively lower-mass stars follow.
The point where stars are just now leaving the main sequence is called the main sequence turnoff. If you can identify which type of star sits at that turnoff, and you know (from models) how long that type of star takes to exhaust its hydrogen, you have the age of the cluster. In practice, astronomers generate theoretical HR diagrams for populations of stars at specific ages, producing curves called isochrones (“same age” lines). They then overlay the observed data from a real cluster and find the best-fitting isochrone.
This technique reveals dramatic differences. Open clusters, the loose groups of stars found in the disk of the Milky Way, are typically a few tens of millions to a few hundred million years old. Globular clusters, the dense spheres of stars orbiting in the galaxy’s halo, are ancient, generally 12 to 13 billion years old.
Identifying Variable and Pulsating Stars
Certain regions of the HR diagram correspond to stellar instability. As stars transition from the main sequence to the giant or supergiant branches, some pass through temperature and luminosity ranges where they begin to pulsate, rhythmically expanding and contracting. These zones are called instability strips.
Cepheid variables, among the most important stars in astronomy, occupy an elongated horizontal strip on the diagram. These are massive stars (around 8 solar masses) that cycle between spectral class F at their brightest and classes G or K at their dimmest. RR Lyrae stars pulsate in a similar way but at lower luminosities, while long-period variables like Mira occupy their own region among the cooler giant stars. Because Cepheids have a known relationship between their pulsation period and their luminosity, identifying them on the HR diagram allows astronomers to use them as distance markers for galaxies millions of light-years away.
New Precision From Space Telescopes
The European Space Agency’s Gaia mission has transformed the HR diagram from a useful sketch into an extraordinarily detailed map. Gaia’s third data release provided precise distances and brightnesses for nearly two billion stars, allowing astronomers to construct HR diagrams with resolution and completeness that were previously impossible. The Milky Way is now the only galaxy where the three-dimensional distribution of stars can be mapped across thousands of light-years with precision down to a few tens of light-years.
With this data, researchers can fit theoretical models of stellar populations to the observed diagram and extract the star formation history of different regions of the galaxy. In other words, the HR diagram now functions not just as a snapshot of what stars look like today, but as a tool for reconstructing when and where stars formed over the past 13 billion years.

