An infrared thermometer can be used to calculate the temperature of a fire based on the thermal energy it produces. The Stefan-Boltzmann law provides a formula for this calculation. This law relates the total energy radiated per unit surface area of a black body to the fourth power of its temperature. Understanding these principles allows for accurate temperature measurements in various thermal applications. Utilizing these tools and formulas can enhance thermal analysis in practical scenarios.