A milling machine is a machine tool used for the shaping of metal and other solid materials. Milling machines exist in two basic forms: horizontal and vertical, which terms refer to the orientation of the cutting tool spindle. Unlike a drill press, in which the workpiece is held stationary and the drill is moved vertically to penetrate the material, milling also involves movement of the workpiece against the rotating cutter, the latter of which is able to cut on its flanks as well as its tip. Workpiece and cutter movement are precisely controlled to less than 0.001 inches (.025 millimeters), usually by means of precision ground slides and leadscrews or analogous technology. Milling machines may be manually operated, mechanically automated, or digitally automated via computer numerical control (CNC).
Milling machines can perform a vast number of operations, some very complex, such as slot and keyway cutting, planing, drilling, diesinking, rebating, routing, etc. Cutting fluid is often pumped to the cutting site to cool and lubricate the cut, and to sluice away the resulting swarf.