where L is the luminosity, R is the radius, σ is the Stefan-Boltzmann constant, and T is the surface temperature.