A star is pretty close to the idea of an ideal blackbody. Because of that, a variation of the Stefan-Boltzmann Law can be used to determine some basic stellar properties.
These properties are:
A stars luminosity is determined by surface temperature and radius: The equation is as follows
`L=4piR^2sigmaT^4`