How Does CNC Machining Work?
This page walks through how does CNC machining work, from a CAD model to a measured part on the bench. It is written for design engineers, mechanical engineers and buyers who need to read a process sheet and judge whether a part is suited to milling, turning or 5-axis work.

Key takeaways
How does CNC machining work: the cutting loop
CNC stands for computer numerical control. A controller reads a program of coordinates and moves the machine axes to those points. The cutter spins at a set speed while the table or spindle moves along X, Y and Z. Material leaves the workpiece as chips, so the final shape is whatever the tool path leaves behind.
The loop is simple to describe and fussy to run. A cutter has a diameter, a helix angle and a number of flutes. Each flute takes a bite of material called the chip load. If the chip load is too small, the tool rubs and work-hardens the surface. If it is too large, the tool deflects or breaks. The sweet spot depends on material, tool material and how rigidly the part is held.
Cutting speed is the surface speed of the tool edge, usually written in m/min. Feed rate is how fast the tool moves through the material, in mm/min. These two numbers, plus depth of cut and stepover, define the cut. For aluminium 6061 on a carbide end mill, a common range is 200–500 m/min surface speed with a feed per tooth of 0.05–0.15 mm. For 304 stainless, drop to 60–120 m/min and 0.03–0.08 mm per tooth.
Heat is the quiet constraint. Most of it leaves with the chip, which is why chip evacuation matters so much in deep pockets. Flood coolant, air blast or through-tool coolant all work, but the wrong choice for the material can cause thermal cracking or poor finish. Titanium and Inconel need low surface speeds and steady coolant, or the edge fails early.
- 1Climb millingThe cutter tooth enters at maximum chip thickness. Standard for CNC work because it reduces rubbing and improves finish.
- 2Conventional millingThe tooth enters at minimum thickness. Used mainly on older machines with backlash or on cast skin surfaces.
- 3Roughing vs finishingRoughing removes volume fast with larger stepovers; finishing uses small stepovers and higher speed for size and finish.
From CAD model to G-code
The process starts with a 3D model. STEP and IGES are the safest neutral formats for machining; native files from SolidWorks, Creo or NX are also fine. Send the model with a 2D drawing that carries tolerances, datums and surface finish callouts. A model alone does not say which face is the datum or where the ±0.05 mm applies.
The CAM programmer imports the model, chooses a stock size and defines the work coordinate system. Tools are selected from the shop library. The programmer then generates roughing, semi-finishing and finishing passes. Simulation runs before anything is cut. This is where a clash, a too-long tool or a missing fixture is caught for free.
Post-processing converts the tool paths into G-code for a specific controller. Fanuc, Siemens, Heidenhain and Haas all read G-code, but the canned cycles and tool change macros differ. A correct post-processor is not optional. A wrong one produces a program that looks fine on screen and alarms out on the machine.
For simple 2.5D parts, a programmer can write the code by hand. For contoured surfaces, impellers or mold cavities, CAM is the only practical route. Once the program is proven, it is stored with the setup sheet so repeat orders run from the same file.
- 1Model checkLook for open surfaces, zero-thickness walls and features smaller than the smallest available cutter.
- 2Stock allowanceLeave 0.3–0.5 mm on finishing surfaces for aluminium, 0.2–0.3 mm for steel.
- 3SimulationRun the full program with fixture and tool holder geometry, not just the tool path.
Which machine does which job
A 3-axis mill moves the table in X and Y and the spindle in Z. It handles plates, brackets, housings and any part where features sit on accessible faces. It is the most economical choice and should be the default unless the geometry says otherwise. Our shop runs 27 three-axis machines for exactly this reason.
A 4-axis mill adds a rotary axis, usually around X. That lets the part rotate while the tool cuts, so holes on four sides can be drilled in one setup. It is a good fit for shafts with cross holes, valve bodies and long parts that would otherwise need three or four re-fixturings.
A 5-axis machine adds a second rotary axis. Simultaneous 5-axis motion lets the cutter stay normal to a curved surface, which is how impellers, turbine blades and complex medical instruments are made. It also lets a short, stiff tool reach features that a long 3-axis tool could not. We run 16 simultaneous 5-axis machining centers, including a Ø400 mm rotary table for round parts.
Mill-turn centers combine turning and milling in one machine. A part like a hydraulic manifold can be turned to diameter, then milled and drilled without losing concentricity. That removes a setup and a re-clamping error. Our 16 mill-turn centers cover parts up to 4,000 mm in the largest configuration.
- 13-axisFlat or prismatic parts, one face at a time. Lowest cost per part.
- 24-axisCylindrical or box parts with features on multiple sides. One rotary setup.
- 35-axisContoured surfaces, deep cavities and tight angular tolerances.
- 4Mill-turnRound parts with off-axis holes or milled flats. Fewer setups, better concentricity.
When CNC machining is the wrong choice
CNC is subtractive, so every feature needs tool access. A deep pocket with a sharp internal corner cannot be milled with a round cutter. Either the corner gets a radius, the part gets split, or the feature goes to EDM. Deep holes with a high depth-to-diameter ratio, say 10:1 or more, need special drills and peck cycles, and the hole may drift.
Undercuts are another limit. If a feature is wider below the surface than at the surface, a standard end mill cannot reach it. A T-slot cutter or a custom form tool can, but the setup gets expensive. For one-off parts, redesigning the feature is usually cheaper than buying a tool.
Volume matters too. CNC is efficient from one piece to a few thousand. Above that, die casting, investment casting or injection molding usually wins on unit cost. We run die casting and vacuum casting alongside machining, so a program can start as a machined prototype and move to a cast production part with the same drawing datums.
Finally, consider material behavior. Some plastics machine cleanly with sharp, polished tools; others gum up and need high speed and air blast. Carbon fiber and glass-filled resins wear carbide quickly, so tool life, not cycle time, becomes the cost driver.
- 1Internal corner radiusMinimum radius equals the cutter radius. Smaller radius means a smaller, slower tool.
- 2Wall thicknessBelow about 0.8 mm in aluminium, deflection and chatter become the main risk.
- 3Surface finishRa 0.8–1.6 μm is a normal machined finish; Ra 0.2–0.8 μm needs finishing passes and may need polishing.
How accuracy is held across a batch
Accuracy is not one number. It is the sum of machine geometry, tool wear, thermal drift and fixture rigidity. A machine that cuts a good first article can still drift over a long run. That is why in-process measurement matters more than a single final inspection.
We hold ±0.005 mm on critical features and inspect 100% of parts before shipment. That includes a raw material check, in-process monitoring and a final inspection, with reports available on request. For a first article, the report shows the actual measured values, not just a pass or fail.
Thermal drift is the usual cause of a slow shift in the afternoon. The spindle warms up, the ball screws expand and the zero point moves a few microns. A warm-up cycle at the start of the shift, plus a re-check of the first part after two hours, catches most of it.
Tool wear is the other long-run risk. A carbide end mill running aluminium can hold size for hundreds of parts, but the same tool in 17-4PH stainless may need changing after a few dozen. Tracking tool life by material and feature is how a shop keeps a run inside tolerance without inspecting every part.
- 1First article inspectionFull dimensional report before the batch is released.
- 2In-process checksCritical dimensions checked at set intervals during the run.
- 3Final inspection100% of parts checked before shipment, reports on request.
Step by step: running a CNC job
Use this sequence for a first article or a repeat batch.
- 11. Review the drawing and modelCheck datums, tolerances and finish callouts. Flag any feature smaller than 2× the smallest cutter, and any internal corner sharper than the tool radius. Ask before cutting, not after.
- 22. Choose stock and workholdingAllow 2–5 mm on faces you will machine. For thin walls, plan soft jaws, vacuum or a support plate. A part that moves in the vise will not hold ±0.005 mm no matter how good the program is.
- 33. Set the zero point and offsetsTouch off X, Y and Z, or use a probe. Record tool length offsets for every tool. Re-check the Z offset after any tool change; a 0.02 mm error here shows up on every feature.
- 44. Cut the first articleRun the program with coolant or air blast as planned. Listen for chatter and watch chip color. Blue chips on steel mean the speed is high; silver chips on aluminium usually mean the feed is low.
- 55. Measure and correctInspect the first part with calipers, micrometers and a CMM where needed. Adjust wear offsets, then re-cut one part before releasing the batch. Do not correct from the model alone.
- 66. Run production with in-process checksCheck critical dimensions at set intervals. Track tool wear, especially on long roughing cycles. Replace a worn tool before it drifts out of tolerance, not after.
- 77. Deburr and finishRemove sharp edges, then apply the specified finish. Bead blasting, anodizing, plating and laser marking all change the part slightly, so do the final dimensional check after finishing when the drawing calls for it.
CNC machining compared with other processes
Use this as a first filter, then check the geometry in detail.
| Process | Best for | Typical tolerance | Watch out for |
|---|---|---|---|
| 3-axis CNC | Prismatic parts, plates, brackets | ±0.005 mm | Multiple setups raise cost |
| 5-axis CNC | Contoured surfaces, deep cavities | ±0.005 mm | Programming time is higher |
| CNC turning | Shafts, bushings, round fittings | ±0.005 mm | Off-axis holes need a second op |
| Die casting | High-volume housings, 10,000+ parts | ±0.05–0.1 mm | Tooling lead time and cost |
| Sheet metal | Enclosures, brackets under 6 mm | ±0.1 mm | Limited 3D geometry |
| 3D printing | Early form checks, complex lattices | ±0.1–0.3 mm | Weaker material properties |
The short version
CNC machining works by removing material along a programmed path. If the feature has tool access and the setup is rigid, it will hold tolerance. If not, redesign the feature or pick another process before you cut metal.
Common questions
What file formats work best for a CNC quote?
Send a STEP or IGES model plus a 2D PDF drawing with tolerances, datums and finish callouts. Native CAD files are also acceptable. If you only have a sketch or a sample part, we can work from that and confirm the geometry before cutting.
A model without a drawing is workable for simple parts, but the shop has to assume tolerances. Stating them removes guesswork and usually lowers the price.
How tight a tolerance can CNC machining hold?
We hold ±0.005 mm (±0.0002 in) on critical features. That level needs a stable setup, a rigid fixture and a controlled temperature. Not every feature on a part needs that tolerance, and applying it broadly raises cost without adding function.
For general features, ±0.05 mm is usually enough and much cheaper to hold.
What surface finish can I expect as machined?
A normal as-machined finish is Ra 1.6–3.2 μm. Finishing passes bring it to Ra 0.8–1.6 μm, and careful finishing can reach Ra 0.2–0.8 μm. Below that, polishing or lapping is a separate operation.
Anodizing, bead blasting and plating change the surface texture, so specify the finish before the final dimensional check.
Can I order a single prototype?
Yes. There is no minimum order quantity, and runs go from one prototype to 10,000+ parts. Prototypes are usually machined from the same material grade as production so the test results carry over.
Uploads are secure and confidential, and an NDA is available on request.
How fast can parts ship?
Quotation and a free DFM analysis come back within 12 hours. Production can start within 24 hours, and parts typically ship in 3–5 days. The exact schedule depends on material availability and the number of operations.
Historical late-delivery probability is below 2%.
What causes chatter marks on a finished surface?
Chatter comes from vibration between the tool and the workpiece. Common causes are a long tool overhang, a loose fixture, too high a feed per tooth or a thin wall that flexes. Shorten the tool, stiffen the setup or reduce the radial depth of cut.
Changing spindle speed alone rarely fixes it because the vibration is structural, not a speed problem.
Send your model, get a manufacturable answer
Send a STEP file and a drawing. We return a quote and a free DFM analysis within 12 hours, with the tolerances and finishes we can actually hold.
12-hour quote100% inspectionNo MOQNDA on request