A soymilk machine or juicer with grinding function comprises an upper body and a lower body. The upper body includes a concentric pair of rotor and stator. Screw threads are distributed on an outer surface of the rotor body. The screw threads are distributed evenly on the body of the rotor, and a gap between the screw threads of the rotor and the inner wall of the stator reaches a minimum of about 1 mm at a grinding section in a lower portion below the middle portion of the body of the rotor corresponding to a lower portion of the grinding plate of the stator. A grinding gap defined by the height of the screw threads is gradually decreased from top to bottom and has a length of 10 mm to 25 mm.