The fundamentals of CNC machining
This page explains how a CNC machine actually removes metal, which machine geometry fits which part, and where the process stops being economical. It is written for design engineers and buyers who need to read a drawing, pick a process, and know when to ask for something else.

In this article
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Key takeaways
What the fundamentals of CNC machining really describe
A CNC machine is a rigid frame, a spindle or chuck that holds the tool or the part, and a control that turns coordinates into motion. The programmer writes a tool path in G-code. The control reads that path and drives ball screws and linear guides to follow it. Nothing about the shape is random. Every surface comes from a defined tool position at a defined feed and speed.
The cutting itself is a shearing action. The tool edge presses into the material until the stress exceeds the shear strength of the workpiece, and a chip separates. Soft aluminium shears cleanly at high surface speed. Titanium and Inconel work-harden at the cut zone, so the tool has to stay in the cut and take a real chip depth rather than rub. That single fact explains most of the difference in cutting parameters between materials.
Two motions dominate. In milling, the tool spins and the workpiece feeds past it. In turning, the workpiece spins and the tool feeds along or into it. A mill-turn center does both on one platform, which removes a second setup and the alignment error that comes with it. We run 16 mill-turn centers for exactly that reason on parts with both turned diameters and milled features.
Heat is the main limit. Friction at the edge and plastic deformation in the chip generate heat that flows into the tool, the chip and the part. Coolant or high-pressure air carries some away. The rest raises tool temperature and shortens edge life. When the tool dulls, cutting forces rise, the part deflects, and the tolerance drifts. This is why in-process monitoring matters more than a perfect first cut.
- 1Chip loadFeed per tooth. Too low and the edge rubs; too high and the tool breaks.
- 2Surface speedMeters per minute at the cutting edge. Governs heat and tool life.
- 3Depth of cutSets the load on the tool and the spindle, and the number of passes.
- 4RunoutTool wobble that makes one flute cut deeper than the others.
3, 4 and 5-axis: what each setup can reach
A three-axis machine moves the table in X and Y and the spindle in Z. The tool always approaches from one direction. You can mill pockets, slots, faces and profiles, but any feature on the side or underside of the part needs a second setup. Each new setup means re-fixturing, re-zeroing, and a fresh chance to lose alignment. For flat plates and simple housings, this is still the fastest and cheapest route.
A four-axis machine adds rotation around one axis, usually A, on a rotary table. That lets the part index to several faces without being unclamped. It suits shafts with cross-drilled holes, cylindrical parts with milled flats, and any geometry that repeats around a centerline. We run 12 four-axis mills and a Ø400 mm rotary table for this class of work. One setup replaces three or four.
Five-axis simultaneous motion tilts the tool as it cuts. The benefit is not only access to compound angles. It also lets a short, stiff tool reach down the wall of a deep pocket while keeping the shank clear of the side. Short tools deflect less, so the surface finish and the tolerance hold better. We run 16 simultaneous 5-axis centers, and they carry the parts that would otherwise need a long, flexible tool and a slow feed.
The trade-off is programming time and machine cost. Five-axis paths need collision checking and post-processor tuning. If your part is a flat bracket, three axes will make it faster and for less money. Reach for five axes when the geometry genuinely needs it, not by default.
Where tolerance comes from and how tight it can go
Published tolerance numbers describe a cap, not a routine. A shop that holds ±0.005 mm on a small part does so with temperature control, sharp tooling, light finishing passes and a metrology step that can actually measure the result. On a part 300 mm long, thermal expansion of aluminium alone is roughly 0.007 mm over a 3 °C swing. The number on the drawing is only meaningful if the measurement environment matches it.
Tolerance is also a stack, not a single value. Fixture error, spindle thermal growth, tool wear and material springback all add. A slot cut in one pass with a worn tool will drift on the second part. That is why we monitor in process and inspect 100% before shipment, with reports on request. For a run of parts, the question is not whether the first piece hits nominal. It is whether the tenth and the hundredth do.
Surface finish and tolerance pull in different directions. A light finishing pass improves Ra but takes time and a sharp edge. We work to Ra 0.2–0.8 μm for fine finishes, Ra 0.8–1.6 μm as a high standard, and Ra 1.6–3.2 μm as-machined. If a drawing calls for both a tight bore and a fine finish, the bore may need a reaming or honing step rather than a single milling pass.
The practical advice is to tolerance only what the assembly needs. A cosmetic face with a ±0.01 mm callout just adds inspection cost. A mating bore with a real clearance requirement earns its tight number. Engineers who mark up drawings with that discipline get lower quotes and fewer rejected lots.
- 1Small parts, tight bores±0.005 mm is realistic with control and finishing passes.
- 2Long partsThermal drift and deflection set a wider practical floor.
- 3Thin wallsCutting force flexes the wall; expect to leave a finishing pass.
How material choice changes the process
Aluminium is the default for machined prototypes and low-volume parts. Grades such as 6061, 6061-T6, 7075 and 6082 cut fast, hold a good finish and take anodizing well. The T6 tempers are stronger but less ductile, so heavy roughing can chip a thin wall. Cast grades like ADC12 behave differently again and are usually reserved for die-cast parts that need a machined face.
Stainless steel is a bigger commitment. Grades 303 and 316L machine with different chip behavior; 316L tends to work-harden and needs a constant feed to keep the edge cutting rather than rubbing. 17-4PH in the H900 condition is harder again and used where strength and corrosion resistance both matter. Tool life drops, cycle time rises, and the quote reflects it.
Titanium and nickel alloys sit at the top of the difficulty curve. TC4 (Ti-6Al-4V) has low thermal conductivity, so heat stays at the edge, and it is chemically reactive with many tool coatings. Inconel is worse. Both can be machined to tight tolerance, but only with rigid setups, low surface speeds and generous coolant. When a drawing moves from aluminium to Inconel, expect the process plan to change, not just the cutting parameters.
Plastics are their own case. POM and PEEK machine cleanly but move with temperature and clamp pressure, so a part measured hot may not pass when cold. ABS and PC can gum up if the feed is too light. Carbon fibre reinforced grades wear tools quickly and need carbide or diamond edges. The fundamentals of CNC machining stay the same across all of these, but the numbers do not.
When CNC machining is the wrong answer
CNC machining removes material one pass at a time. That makes it strong on accuracy and weak on repetition economics. For a part made in the tens of thousands with a simple shape, die casting or injection molding will beat it on piece price once the tooling is paid for. Machining wins at low volume, on tight tolerance, and on parts that change between revisions.
Geometry has hard limits too. A sharp internal corner cannot be milled by a round tool. The smallest corner radius equals the smallest tool radius you are willing to run, and small tools break. Designers who call a 0.5 mm internal corner on a 40 mm deep pocket are asking for a tool that will chatter or snap. A relief or a slightly larger radius solves it at no cost.
Deep, narrow pockets are the other common trap. The tool needs length to reach the floor, and length means deflection. Past a certain depth-to-diameter ratio, the finish and the tolerance both suffer. If the feature is truly deep and narrow, EDM or a redesigned geometry is the better route.
Very hard materials push the same way. Above roughly 45 HRC, carbide tooling wears fast and the process becomes slow and expensive. Hardened tool steel parts are often roughed soft, heat treated, then finished by grinding or EDM. Machining still has a role, but it is not the final operation.
- 1High volume, simple shapeCasting or molding wins on piece price.
- 2Sharp internal cornersSet by the smallest tool radius you can run.
- 3Deep narrow pocketsTool deflection sets the practical depth limit.
- 4Above 45 HRCGrinding or EDM often finishes the part.
The last steps that decide whether a part ships
Finishing is not decoration. Anodizing adds a thin oxide layer that can shift a dimension by a few micrometres, so masking or a pre-finish allowance matters on tight features. Hardcoat anodizing builds more than a cosmetic coat. Electroless nickel and plating change dimensions too. If a bore is at the top of its tolerance before plating, it will not pass after.
Deburring is where parts are quietly lost. A sharp edge on a medical or handling part is a reject even if every dimension is nominal. Bead blasting, tumbling, brushing and polishing all remove material to some degree. The shop has to know which faces are cosmetic and which are functional before it starts.
Inspection closes the loop. We check raw material on arrival, monitor in process, and inspect 100% before shipment. Reports are available on request. For a first article, a full dimensional report against the drawing is the fastest way to confirm that the process plan was right before a full run is committed.
Laser marking is the last operation on many parts. Minimum character height is 1.5 mm, so a drawing that asks for a 0.5 mm legend will not be legible. Plan the mark location on a face that is accessible at the end of the process, not one that gets covered by a later setup.
What to check before you send a drawing out
The fundamentals of CNC machining are mostly about physics, but the quote you get depends on how the drawing communicates. A file with a clear datum scheme, realistic tolerances and a note on which surfaces are cosmetic will be quoted faster and more accurately than one with a blanket ±0.01 mm title block. DFM feedback catches the rest before the spindle turns.
Capacity matters when the part is large or the schedule is short. A shop with 4,000 mm travel and 16 simultaneous 5-axis centers can take work that a small job shop cannot. We run 127 high-precision machines across three plants and quote with a free DFM analysis within 12 hours. Production can start within 24 hours, and parts ship in 3–5 days.
Volume is not a barrier. There is no minimum order quantity here, so one prototype and a 10,000-part run go through the same process planning. Uploads are confidential and an NDA is available on request. For engineers moving from a first article to production, that continuity removes the re-qualification step that comes with changing suppliers.
The last check is material and finish availability. Some grades and coatings have longer lead times than the machining itself. Flag the finish and the material on the RFQ, not in a note after the parts are cut. It keeps the schedule honest and avoids a finished part waiting on a coating line.
How a part moves from drawing to finished cut
The order of operations matters as much as the cutting parameters.
- 1Read the drawing for critical featuresMark every callout that affects assembly. Those drive the setup plan; everything else can be held loosely.
- 2Choose the stock and datumPick stock close to final size to cut cycle time, then define one datum face that survives every later operation.
- 3Plan the setupsMinimize the number of clamps. Each extra setup adds alignment error, so move as much as possible into one operation.
- 4Rough with real chip loadLeave 0.2–0.5 mm on finished faces. Too light a pass work-hardens stainless and burns the edge.
- 5Stress-relieve before finishingOn thin or asymmetric parts, let the part rest or relieve it so the finishing pass cuts a stable shape.
- 6Finish and inspectTake the final pass with a sharp tool, then measure against the drawing before the part leaves the machine.
Matching machine type to part geometry
Pick by the features on the drawing, not by habit.
| Part feature | Best setup | Why | Watch out for |
|---|---|---|---|
| Flat plate, through holes, simple profile | 3-axis | One approach direction reaches every face | Second setup for side holes |
| Shaft with cross holes and flats | 4-axis with rotary table | Indexes between faces without unclamping | Tailstock support on long parts |
| Compound angles, undercuts, deep pockets | 5-axis simultaneous | Tilts a short stiff tool into the cut | Higher programming cost |
| Turned diameter plus milled slots | Mill-turn center | Both operations in one clamping | Bar capacity limits part size |
| Very large frame, 4,000 mm class | Large-travel 3-axis | Travel of 4,000 × 400 × 150 mm | Thermal drift over long cycles |
The short version
For flat brackets and simple housings, use three axes and keep the tolerances loose. For compound angles, undercuts and deep pockets that need a short stiff tool, pay for five-axis and get the geometry in one setup. If the shape is simple and the volume is high, machine the prototype and then move to casting or molding.
Questions engineers ask next
What is the tightest tolerance you can hold?
We work to ±0.005 mm (±0.0002 in) on small parts with temperature control and a finishing pass. On long parts, thermal expansion and tool deflection widen the practical floor.
The number on the drawing only means something if it can be measured in the same conditions. Tell us which dimensions are critical and we will quote the inspection method with them.
How do I know whether my part needs five axes?
If every feature can be reached from one direction, three axes are cheaper and faster. If the part has compound angles, undercuts, or a deep pocket that forces a long tool, five-axis simultaneous motion lets a short tool do the work.
A quick test: count the setups on a three-axis plan. More than three usually means five axes will pay for themselves.
Why does the quote change so much between materials?
Aluminium cuts at high surface speed with long tool life. Stainless work-hardens and needs a steady feed. Titanium and Inconel hold heat at the edge and wear tools quickly.
The machine time, the tooling cost and the risk of a scrapped part all rise together. The process plan changes, not just the cutting parameters.
What is the smallest internal corner you can mill?
The corner radius cannot be smaller than the tool radius. A 1 mm radius means a 2 mm cutter, which is fragile at any real depth.
If the drawing needs a sharp corner for function, a relief or a slightly larger radius usually solves it at no extra cost. If it truly must be sharp, EDM is the alternative.
Does anodizing or plating change my dimensions?
Yes. Anodizing builds an oxide layer, hardcoat builds more, and plating adds metal. A bore at the top of tolerance before finishing will not pass after.
Flag the finish on the RFQ and we will allow for it in the pre-finish dimensions or mask the critical features.
What file format and information should I send?
A STEP or IGES model plus a 2D drawing with datums, tolerances and finish callouts is the clearest combination. Native CAD files work too.
Note the critical dimensions and the cosmetic faces. That single note often removes the need for a second round of questions.
Send a drawing and get a process plan back
Upload your model and drawing. We return a quotation and a free DFM analysis within 12 hours, with the setup plan and the tolerance calls we would question.
12-hour quote100% inspectionNo minimum order quantityNDA on request