The invention discloses a hub motor for an 
electric vehicle, which comprises a 
stator, a rotor and a connecting shaft, wherein the 
stator comprises an iron core and a bracket, the iron core is fixed on the bracket and is formed by laminating 
stator sheets in a spiral winding manner, and the 
notch width of a tooth socket, the outer 
diameter of the iron core, the thickness of the tooth lip of the iron core, the inner 
diameter of the iron core, the thickness of the yoke part of the iron core, the number of the tooth sockets of the iron core and the 
notch width of the stator sheet meet the following relation: the 
notch width of the tooth socket = pi x [the outer 
diameter of the iron core - 2 x the thickness of the tooth lip of the iron core - 2 x alpha x (the inner diameter of the iron core +the thickness of the yoke part of the iron core)] / the number of the tooth sockets of the iron core + the notch width of the stator sheet, wherein the value scope of alpha is 0.45~0.55, and the notch width value scope of the stator piece is 0~2 mm. The hub motor for the 
electric vehicle has the advantages that: the stator structure optimizes the tooth socket structure of the motor, improves the 
power density and the working efficiency of the motor, enhances the short-time overload capacity of the motor, reduces the temperature rise and the manufacturing cost of the motor, and prolongs the service life.