Class G main-sequence stars like our Sun make up about 7.5%, nearly one in thirteen, of the main-sequence stars in the solar neighborhood. Such a star has about 0.8 to 1.2 solar masses and surface temperature of between 5,300 and 6,000 Kelvin.
K-type stars are orangish stars that are slightly cooler than the Sun. They make up about 12%, nearly one in eight, of the main-sequence stars in the solar neighborhood.
Class M stars are by far the most common. About 76% of the main-sequence stars in the Solar neighborhood are class M stars.
In astronomy, stellar classification is the classification of stars based on their spectral characteristics. Showing the relationship between the stars’ luminosities versus their spectral classifications is done in the Hertzsprung-Russell diagram.