Scale 03 · Stars

Stellar Classification

OBAFGKM. Seven letters that organise 400 billion stars in our galaxy by temperature, from white-hot O-type giants to red M-dwarf embers barely warm enough to shine. Combine spectral type with luminosity class and a single spectrum tells you a star's size, age, and fate.

The Harvard spectral sequence

The spectral classification system was developed at Harvard Observatory in the early 20th century, with women computers — particularly Annie Jump Cannon — classifying hundreds of thousands of stellar spectra. Cannon classified over 350,000 stars and developed the OBAFGKM sequence that is still used today. The original alphabetical sequence was reorganised by temperature, with O being the hottest class. Cannon's work, published in the Henry Draper Catalogue (1918–1924), remains a foundational astronomical dataset. Her colleague Cecilia Payne-Gaposchkin then used the spectral sequence to show in 1925 that stars are overwhelmingly composed of hydrogen and helium — a result initially resisted but now considered one of the most important findings in astrophysics.

The sequence subdivides each class into 10 numerical subclasses (0–9), so the Sun is G2, slightly hotter than a G5 and cooler than a G0. Class O stars are rare — less than 0.00003% of all stars — but dominate the ultraviolet luminosity of galaxies. Class M stars are the most common, comprising ~75% of all stars in the Milky Way, yet the nearest M dwarf (Proxima Centauri, M5.5 Ve) is invisible to the naked eye despite being just 4.24 light-years away. See our stars overview and guide to the Sun.

The Sun in context

The Sun (G2 V) is a middle-aged, middle-mass, middle-luminosity star — not remarkable by any stellar standard, which is why it is often used as a benchmark. Its surface temperature is 5,778 K, luminosity 3.83 × 10²⁶ W (defined as 1 L☉), radius 696,000 km (1 R☉), and mass 2 × 10³⁰ kg (1 M☉). On the HR diagram it sits in the middle of the main sequence. It has been fusing hydrogen for ~4.6 billion years and has roughly 5 billion years remaining before it evolves into a red giant, then a white dwarf. The most massive O-type stars live only ~3 million years; the least massive M-type dwarfs may live for trillions of years — longer than the current age of the universe. See our star life cycle guide for how spectral type determines stellar fate.

Stellar mass, radius, luminosity, and temperature

Stellar classification encodes far more than colour. From a star's spectral type and luminosity class, astronomers derive its fundamental physical properties. Stellar mass — the most important predictor of a star's life and death — ranges from roughly 0.08 M☉ (the hydrogen-burning limit) to over 100 M☉ for the most luminous O-type supergiants. Stellar radius varies from neutron-star-sized white dwarfs (~Earth radius) to red supergiants exceeding 1,000 R☉. Stellar luminosity spans more than 10 orders of magnitude, from faint red dwarfs at 0.0001 L☉ to hypergiants above 10⁶ L☉. Stellar temperature determines the peak wavelength of emission (Wien's law) and thus the star's colour. Together, these parameters map every star onto the Hertzsprung-Russell diagram, the single most powerful visualisation tool in stellar astrophysics. The ESA Gaia mission has produced the most precise HR diagram to date, plotting over a billion stars.

Magnitude, metallicity, and star clusters

Stellar magnitude quantifies brightness on a logarithmic scale. Apparent magnitude measures how bright a star looks from Earth — Sirius, the brightest star in the night sky, has an apparent magnitude of -1.46. Absolute magnitude standardises brightness to a distance of 10 parsecs, enabling fair comparison. Stellar metallicity — the fraction of elements heavier than helium — records the chemical enrichment history of the gas from which a star formed: low-metallicity stars are ancient, while high-metallicity stars formed from material recycled through multiple generations of supernovae.

Star clusters are natural laboratories for stellar classification because all members share the same age, distance, and composition. An open cluster (like the Pleiades) contains a few hundred young stars in a loosely bound group within the galactic disc. A globular cluster (like Omega Centauri) contains hundreds of thousands of ancient stars in a tightly bound sphere orbiting the galaxy's halo. Variable stars — stars whose brightness changes periodically — provide crucial distance indicators. The most important are Cepheid variables, whose pulsation period is directly linked to their luminosity, making them indispensable standard candles for the cosmic distance ladder. For more on how the OBAFGKM sequence connects to stellar evolution, see Sky & Telescope's classification guide.

Frequently asked questions

Explore all space guides.

All guides →