The colour of a star tells its temperature: blue stars are hot and red stars are cool. The star temperature calculator takes the B−V color index of a star and gives its surface temperature in kelvin and in degrees Fahrenheit, the wavelength of the peak of its light by Wien’s law, and a plain statement of its spectral class and colour.
How the calculation works
- Enter the B − V color index of the star, the difference between its magnitude in blue light (B) and in visual light (V). Blue stars have negative or small values and red stars have large ones.
- The calculator uses the formula of Ballesteros (2012), which treats the star as a black body: T = 4600 × (1 / (0.92 (B−V) + 1.7) + 1 / (0.92 (B−V) + 0.62)) kelvin.
- It gives the surface temperature, in kelvin and in Fahrenheit, and the wavelength of the peak of the light with Wien’s law, λmax = 2,897,772 nm·K / T.
- A short statement names the spectral class (O, B, A, F, G, K or M) and the colour of the star.
Example
The Sun has a color index of B − V = 0.65. The formula gives T = 4,600 × (1 / 2.298 + 1 / 1.218) = 5,778 K, which is 9,941 °F. The peak of its light is at 2,897,772 / 5,778 = 501 nm, in the blue-green, and the star is of class G, yellow.
Why it matters
The colour index is one of the first things measured about a star, and it is the base of the Hertzsprung–Russell diagram, which classifies the stars. Amateur and professional astronomers use it to find the temperature, and with the brightness it gives the radius and the luminosity. The calculator makes the link clear for students and for observers who read catalogues.
Good to know
The formula is a calibration for stars of the main sequence, valid for B−V between about −0.4 and 2.0, and it treats the star as a black body, which is only approximate. It does not correct for the reddening by interstellar dust or for the metal content, and it can be several hundred kelvin off for red giants and for very cool stars. The spectral classes given are the main classes without the subtypes.
Related tools
The stellar luminosity calculator gives the power of a star from its size and temperature, the star distance calculator gives the distance from parallax, the black hole temperature calculator covers a very cold object, and the photon energy calculator links wavelength to energy.