CNC Machines and Workflow

Routers, mills, lathes and mill-turn machines, how they differ, and how a design becomes a finished part.

What a CNC machine does

CNC stands for computer numerical control. A controller reads a program of coordinates and commands and drives motors that move a cutting tool, or the workpiece, along exact paths. Because the program is a file, the machine can cut the same part again and again, hold tight tolerances, and make shapes that are hard to cut by hand. Most CNC machines are subtractive: they start with a block, bar or sheet and remove material until the part is left. This guide concentrates on milling, routing and turning; for lasers see Laser Cutting, and for adding material see 3D Printing.

Machine types

MachineHow it cutsTypical materialsTypical accuracyNotes
CNC routerSpinning cutter on a gantry, usually 3 axesWood, MDF, plastics, foam, composites, soft aluminum±0.05–0.2 mmLarge work area, fast, flexible frame; dusty; less rigid than a mill
Milling machine (vertical or horizontal)Spinning cutter on a rigid column; table movesAluminum, steel, stainless, titanium, brass, plastics±0.01–0.05 mmRigid and accurate; high torque; coolant; tool changers on bigger machines
Lathe (turning center)The work spins; a tool moves in X and ZRound parts in metal and plastic±0.01–0.025 mmFast for shafts, pins, bushings, spacers; the cheapest way to make round parts
Mill-turn / SwissLathe with live (spinning) tools and sub-spindleSmall, complex round parts in metal±0.005–0.02 mmFinishes a part in one set-up; used for production
Wire or sinker EDMElectrical sparks erode the metalAny conductive metal, including hardened steel±0.002–0.01 mmNo cutting force; slow; for sharp corners, hard materials
Laser, plasma, waterjetBeam, plasma or abrasive water cuts sheetSheet and platevariesFlat profiles; see Laser Cutting for lasers

The accuracies shown are typical for a well-maintained machine and a competent operator; they depend on the setup, the tool and the part. The accuracy a shop will quote is almost always a tolerance of around ±0.1 mm for ordinary work.

Axes and zero points

Mill or router: X, Y and ZLathe: X (diameter) and Z (length)tablespindlework zero (G54)machine zero (home)XZYZ up is positive; cutting is at negative Zchuckcenterlinetoolwork zero: face of the part,on the centerlineZ (along the spindle)X(diameter)
The axes of a mill or router (X, Y, Z) and of a lathe (X is the diameter, Z the length). Machine zero is fixed by the home switches; work zero is chosen on the part.
  • 3-axis: X, Y and Z. Cuts everything the tool can reach from the top. The great majority of milling and routing.
  • 4-axis: a rotary axis (A) turns the part around X, so the tool can reach several sides, or cut wrapped features such as a helix, in one setup.
  • 5-axis: two rotary axes. 3+2 machining tilts the part to a fixed angle, then cuts in 3 axes. Simultaneous 5-axis moves all five together for impellers, blades and sculpted surfaces. Much more complex to program and set up.
  • Machine zero and work zero. Machine zero (home) is a fixed point the controller finds with limit switches. Work zero (G54) is a point on the part, such as a corner or the center, which you set so the program is written relative to the part, not to the machine. See G-code and Programming.
  • Convention. +Z moves the tool away from the work, so cutting happens at negative Z. On a lathe, X is a diameter on most controls (the tool moves half as far as the number changes), and Z along the spindle axis, negative toward the chuck.

Cutting basics: speed, feed and removal rate

Every cut is set by a few numbers. Cutting speed Vc is how fast the cutting edge moves past the material (m/min); it sets the spindle speed for a given tool diameter. Feed per tooth fz is how far the part advances while each tooth cuts: it sets the chip thickness. Together they give the feed rate. The depths of cut, axial ap (depth) and radial ae (width), set how much material each pass removes.

n = 1 000 × Vc ÷ (π × D)    Vf = n × z × fz    MRR = ae × ap × Vf    Pc = ae × ap × Vf × kc ÷ (60 × 106)

Here n is the spindle speed in rpm, D the tool diameter in mm, z the number of flutes, Vf the feed rate in mm/min, MRR the material removal rate in mm³/min, kc the specific cutting force of the material in N/mm², and Pc the power at the cutter in kW.

Worked example: a 10 mm, 3-flute carbide end mill in 6061 aluminum

  • Cutting speed 200 m/min (typical for carbide in aluminum). Spindle speed n = 1 000 × 200 ÷ (π × 10) = 6 366 rpm.
  • Feed per tooth 0.05 mm. Feed rate Vf = 6 366 × 3 × 0.05 = 955 mm/min.
  • Cut a 10 mm deep, 5 mm wide slice (ap = 10, ae = 5): MRR = 5 × 10 × 955 = 47 746 mm³/min, or 47.7 cm³/min.
  • With kc = 700 N/mm² for aluminum, the cutting power is 10 × 5 × 955 × 700 ÷ 60 000 000 = 0.56 kW. Allowing for 80 % efficiency, the spindle must supply about 0.70 kW at that speed.
  • The force on each tooth along the cut is P ÷ speed = 557 W ÷ 3.3 m/s = 167 N. This is the force the workholding and the machine must resist (see Workholding and Fixturing).
  • Start with the tool maker’s data and adjust: see Speeds & Feeds and the CNC Feeds & Speeds Calculator.
  • Too little feed rubs instead of cutting. The edge slides, heats and wears. Low feed is a common cause of tool wear and of burn marks on wood and plastic.
  • Power is rarely the limit on a small machine; rigidity is. A hobby spindle with a few hundred watts will chatter or stall long before the formula says it should.

From design to finished part

1Design the part (CAD)Model it with the tolerances, materials and features the machine can actually make.2Plan the processChoose the stock, the set-ups, how to hold the part, the tools and the order of operations.3Create toolpaths (CAM)Choose strategies, speeds, feeds and depths for each operation.4Post-process to G-codeThe post processor writes the program in your controller’s dialect.5Simulate and checkLook for crashes, gouges, clamps in the way and wrong units.6Set up and runFix the stock, set work zero and tool lengths, air-cut, then cut with your hand near the stop button.7Inspect and improveMeasure the first part, adjust offsets, and record what worked.
The steps from design to finished part. Each step can send you back to an earlier one.
StepCheckCommon error
DesignInside corners have a radius, features are reachable, walls are thick enoughA design made for a 3D printer: sharp inside corners, deep narrow pockets
PlanStock is large enough, the part can be held, set-ups are fewNo way to hold the last operation without damaging the part
CAMTool, speeds and depths suit the material and the machineCutting data copied from a bigger machine
PostCorrect post for the controller, units and arcsInch program on a metric machine, or the wrong arc format
SimulateTool holder and clamps clear the partHolder hits a clamp that the simulation did not show
RunWork zero and tool offsets are right; air-cut firstWrong Z zero: the most common crash

Choosing a process and a machine

If your part is…ConsiderWhy
Round (shafts, pins, bushings, spacers)LatheTurning is faster and more accurate for round shapes than milling them
Prismatic with pockets, holes and flats in metalMillRigid, accurate, with the right tools for metals
A large sheet part in wood, plastic or soft aluminumRouterLarge work area and fast cutting of soft materials
Flat, thin sheet profileLaser or waterjetNo cutting force and fast profiles
Complex shape with internal channels or lattices3D printingCannot be machined; see 3D Printing
One or two prototypes of a simple partPrinting, or hand toolsCNC set-up time can exceed the cutting time for single parts
Hundreds or thousands of identical partsCNC with fixturesSet-up cost is spread; cycle time and tool life become important

Hobby machines and production machines

Hobby / desktopIndustrial
FrameAluminum extrusion or steel tube; lightCast iron or welded steel; very stiff
SpindleRouter (0.5–2.2 kW) or small spindle, 10 000–24 000 rpmSpindle (7–30 kW), torque at low speed; often 8 000–12 000 rpm, geared or direct
DrivesStepper motors, belts or lead screwsServos, ball screws, linear guides
Cuts wellWood, plastics, foam, brass, aluminum with small cuttersAll metals, including steel, stainless and titanium
Typical depth of cut in aluminum0.5–2 mm, small cutters5–20 mm or more
LimitsRigidity and spindle torque, not control accuracyCost, space, power and skill
  • Choose the cut to suit the machine. A hobby machine can cut aluminum well with a small cutter, shallow passes and fast feed; the same machine will chatter or stall in steel.
  • Resolution is not accuracy. A step of 2.5 µm on the drive does not mean 2.5 µm parts; the frame, the tool and the setup decide the result. See G-code and Programming for steps per mm and Troubleshooting, Accuracy and Safety.
  • Learn on scrap. Wood and plastic are cheap, forgiving and let you learn workholding, zeroing and CAM before you try metal.

Related

FAQ

What is the difference between a mill and a router?

Both spin a cutter, but a mill is built stiff, heavy and slow-moving for metal, with high torque, while a router moves fast over a large, lighter frame and is built for wood, plastics and composites. A router can cut soft aluminum with small cutters, but it cannot take the heavy cuts a mill can.

Can I make parts on a CNC machine without knowing G-code?

Yes. CAM software writes the G-code from your CAD model. Learning to read G-code still helps you check programs and fix problems; see G-code and Programming.

How accurate is a CNC machine?

The controller can position to a few micrometers, but the part is only as accurate as the machine’s stiffness, the tool, the set-up and the temperature. Hobby machines typically hold ±0.1 mm; good mills ±0.01–0.025 mm.

Should I buy a CNC machine or send the parts out?

For a handful of parts, ordering from a shop is cheaper and faster. A machine pays off when you make parts often, iterate designs quickly, or want to learn the process. Allow for tooling, workholding, software, dust and noise control, and the time to learn.

Do I need coolant?

For plastics and wood, no (use air). For aluminum, a mist or air blast clears chips. For steel, stainless and titanium, flood or mist coolant extends tool life significantly. See Machining Metals.

References

  • Oberg, E. et al., Machinery’s Handbook, 31st ed., Industrial Press: cutting speeds and feeds, milling and turning formulas, tolerances.
  • Sandvik Coromant, Metal Cutting Technology: Formulas and Definitions (spindle speed, feed, removal rate and power formulas).
  • NIST, The NIST RS274NGC Interpreter, Version 3 (the reference definition of G-code).
  • Kalpakjian, S. and Schmid, S., Manufacturing Engineering and Technology, Pearson.
  • Smid, P., CNC Programming Handbook, Industrial Press.

Last reviewed: October 2026. Cutting data are starting points: machines, tools and materials differ, so test on scrap and follow the tool maker’s data.