The effective temperature of a star can be calculated using the Stefan-Boltzmann Law, which relates the star's luminosity (L), radius (R), and effective temperature (Teff) through the equation:
L = 4πR2σTeff4
Here, σ represents the Stefan-Boltzmann constant. By rearranging the equation, one can solve for the effective temperature: