Star Type Classifier
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="https://starfyi.com/iframe/entity//" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://starfyi.com/entity//
Add a dynamic SVG badge to your README or docs.
[](https://starfyi.com/entity//)
Use the native HTML custom element.
Classify stars by their spectral type and luminosity
How to Use
-
1
Input the star's temperature and luminosity
Enter the surface effective temperature in Kelvin (ranging from below 3,000 K for M dwarfs to above 30,000 K for O stars) and the luminosity in solar units or absolute magnitude. These two parameters place the star precisely on the Hertzsprung-Russell diagram.
-
2
Identify the spectral type and luminosity class
The tool applies the Morgan-Keenan (MKK) classification system to return the spectral type (O, B, A, F, G, K, or M) and luminosity class (Ia, Ib, II, III, IV, V, VI, or VII) based on your inputs. The Sun classifies as G2V: a G-type main sequence star at subtype 2.
-
3
Review the HR diagram placement and stellar properties
Examine the interactive HR diagram showing your star's position relative to the main sequence, giant branch, supergiant region, and white dwarf sequence. The tool also provides estimated mass, radius, age on the main sequence, and the most likely evolutionary fate for your star.
About
Stellar classification is the systematic categorization of stars by their spectral features, temperatures, and luminosities, providing the observational foundation for understanding stellar physics and populations. The Harvard spectral classification system, developed primarily by Annie Jump Cannon between 1901 and 1924, assigned the OBAFGKM sequence based on the strengths of hydrogen and metal absorption lines in tens of thousands of stellar spectra. Cannon classified over 350,000 stars in the Henry Draper Catalogue, a monumental achievement that remains a primary reference.
The two-dimensional Morgan-Keenan-Kellman (MKK) system added luminosity classes in 1943, enabling the distinction between dwarfs, giants, and supergiants that share similar surface temperatures but differ enormously in radius and intrinsic brightness. This distinction was critical for understanding the physical mechanisms of stellar evolution: giant and supergiant classification indicated that stars of similar spectral type could be in very different evolutionary phases. The combined spectral type plus luminosity class encodes the approximate mass, age, and destiny of any star in a compact notation.
Modern automated spectroscopic surveys including APOGEE, GALAH, and 4MOST classify millions of stars per year using data-driven methods that extract temperature, surface gravity, metallicity, and individual element abundances simultaneously. Machine learning classifiers trained on high-resolution spectral libraries can reproduce human expert classifications with high accuracy and extend them to chemical dimensionality beyond the classical system. These surveys are revealing the chemo-dynamical history of the Milky Way with unprecedented statistical power.