The spectral intensity of a blackbody,  was first determined by Max Planck. It is given by Plancks law per unit wavelength as:This formula mathematically follows from calculation of spectral distribution of energy in quantized electromagnetic field which is in complete thermal equilibrium with the radiating object. Plancks law shows that radiative energy increases with temperature, and explains why the peak of an emission spectrum shifts to shorter wavelengths at higher temperatures. It can also be found that energy emitted at shorter wavelengths increases more rapidly with temperature relative to longer wavelengths. 
The equation is derived as an infinite sum over all possible frequencies in a semi-sphere region. The energy, , of each photon is multiplied by the number of states available at that frequency, and the probability that each of those states will be occupied.