Free Spectral Class Estimator

Estimate which spectral class (O, B, A, F, G, K, M) a star belongs to based on its effective temperature.

K

Spectral Class Code

3

Peak Wavelength501.5 nm

Spectral Class Code vs Effective Temperature

Spectral Classification (OBAFGKM)

Stars are classified by surface temperature into spectral types:

ClassTemperature RangeColour O> 30 000 KBlue B10 000 - 30 000 KBlue-white A7 500 - 10 000 KWhite F6 000 - 7 500 KYellow-white G5 200 - 6 000 KYellow K3 700 - 5 200 KOrange M< 3 700 KRed

The output code: 7=O, 6=B, 5=A, 4=F, 3=G, 2=K, 1=M.

Example Calculation

The Sun at 5778 K.

  1. 015778 K falls between 5200 and 6000 K.
  2. 02Spectral class: G (code 3)
  3. 03Peak wavelength: 2897800 / 5778 = 501.5 nm (green)
  4. 04The Sun is a G2V star.

Frequently Asked Questions

Related Calculators