A fan includes a frame, a stator and a rotor. The stator is disposed in the frame, and the rotor is disposed in the frame and coupled with the stator. The rotor includes a connecting element, an impeller and a shaft. The connecting element has a flange. The impeller is disposed on a periphery of the connecting element. The flange is embedded with the impeller. One end of the shaft is connected to the connecting element and the impeller is rotated when the shaft rotates.