What Is CNC Machining?
Updated November 13, 2026
CNC machining is computer-controlled cutting: a machine follows a program to carve a part out of a solid block of metal or plastic. It needs no mold, works in real materials, and holds tight tolerances, which makes it a workhorse for prototypes and low-to-medium volume. This guide explains how it works, mills versus lathes, the axes, G-code, and when to use it.
Subtractive manufacturing
CNC machining: a subtractive manufacturing process in which a computer directs cutting tools to remove material from a solid block (the stock) until the finished part remains. "CNC" stands for Computer Numerical Control.
Where 3D printing builds a part up layer by layer and injection molding forms it in a mold, CNC machining starts with a solid block and cuts the part out of it, removing everything that isn't the part. Because there's no tooling to make first, you can get accurate parts fast and in real production materials, which is why CNC is a mainstay for functional prototypes and low-to-medium production.
How it works
The path from design to part has three stages:
- CAD: you model the part in 3D.
- CAM to G-code: software converts the model into G-code, the instructions that specify tool movements, speeds, and toolpaths, along with M-codes that control functions like coolant and tool changes.
- Machining: the machine follows the code, moving the cutting tool and the workpiece across its axes to slice away material until the part is done.
Early machinists wrote G-code by hand; today CAM software generates it from the CAD model automatically. (The name and history of "numerical control" are covered in what does CNC stand for.)
Mills, lathes, and axes
Two machine types cover most work:
- Mill: the cutting tool spins in a spindle while the workpiece moves beneath it. Mills suit boxy, prismatic, and complex shapes, and are the most common CNC machine.
- Lathe: the workpiece spins while a stationary tool cuts into it. Lathes suit round, symmetric parts, and the operation is called turning.
Machines are described by their axes. A basic mill moves in three (X, Y, Z); a five-axis machine adds two rotational axes, letting the tool reach a part from almost any angle to cut geometry a three-axis machine can't.
Materials and tolerances
CNC works in a broad range of real materials: aluminum (light and easy to machine), steel and stainless, titanium, and engineering plastics. It holds tighter tolerances than most other processes, which makes it the right pick for structural parts, threads, sealing faces, and precise fits. That accuracy, in the actual production material, is a big part of why machined parts can be trusted for functional testing.
The one geometry rule to remember
Because the cutting tool is round, every inside corner a mill cuts ends up with a radius; you can't machine a perfectly sharp internal corner with a round tool. Designing with that in mind (adding radii, avoiding deep narrow pockets) keeps parts machinable and cheaper, since simpler geometry means less machine time.
When CNC is the right process
CNC has no tooling cost but a per-part price that stays roughly flat with volume, so it shines from one to a few hundred parts, especially when you need real metals or tight tolerances. For very small quantities, 3D printing can be cheaper; above several hundred to a thousand simple plastic parts, a mold's low per-part cost wins. CNC is also the classic choice for a bridge run, a first batch in the real material before you commit to tooling. See how products are made for how CNC fits among the processes, and how to manufacture a product for the full path.
Working on your own product? The idea-to-shelf program is the step-by-step system behind these guides, from idea and prototype through manufacturing and launch.
Frequently asked questions
- What is CNC machining?
- CNC machining is a subtractive manufacturing process in which a computer controls cutting tools that remove material from a solid block (called stock) to produce a part. CNC stands for Computer Numerical Control. Because there's no mold or tooling to make, it produces accurate parts in real metals and plastics quickly, which suits prototypes and low-to-medium volumes.
- How does CNC machining work?
- A CAD model is turned into G-code (coordinates, speeds, and toolpaths) by CAM software. The machine follows that code to move a cutting tool and the workpiece across several axes, slicing away material until the part remains. A mill spins the cutting tool while the workpiece moves; a lathe spins the workpiece against a fixed tool.
- What's the difference between a CNC mill and a CNC lathe?
- A mill rotates the cutting tool and moves the workpiece beneath it, which suits boxy and complex shapes. A lathe rotates the workpiece against a stationary tool, which suits round, symmetric parts; this is called turning. Basic mills use three axes (X, Y, Z); five-axis machines add two rotational axes for complex geometry.
- When should I use CNC machining?
- When you need real production materials, tight tolerances, or strong functional parts, and especially at low to medium volume where a mold can't be justified. CNC has no tooling cost but a flat per-part price, so it's ideal from one to a few hundred parts, and it's the usual choice for a bridge run before committing to molding.
Keep learning
Ready to actually build it?
HANNAH.MFG teaches the complete path, from idea and prototype to manufacturing and launch, taught by someone who has actually shipped product.
See the programsNot ready to join today?
Join our mailing list to learn more about the program, and how it can help you bring your product to life, learn product development from the ground up, or advance a career that requires it.
