A method for controlling rotational speed applied to a smart fan includes acquiring environmental temperature from a temperature sensor and radiation intensity of human body from an infrared sensor. A result of analysis is generated by determining whether the acquired environmental temperature is within a predetermined temperature range and the acquired radiation intensity is greater than a predetermined value. A working status of the smart fan can be changed according to the result when the smart fan is in automatic mode.