Design for CNC Machining: DFM Rules That Cut Cost Without Cutting Function
Design rules that cut CNC machining cost without cutting function: corner radii, wall thickness, hole depth, threads, tolerances and a pre-RFQ checklist — with a free DFM review and quote in 24 hours.

Design for CNC Machining: DFM Rules That Cut Cost Without Cutting Function
Design for CNC machining — also called DFM, design for manufacturability — means shaping a part's geometry, tolerances, and material choice around how a CNC machine cuts stock, so the part machines faster, costs less, and passes inspection on the first run. Two physical rules govern every machining operation: cutting tools are round, and they can only reach a feature from above.

1. What DFM Means — and What It Saves You
DFM is not a check you run after the drawing is finished. It is the habit of designing the part around tool access and cutter geometry before you freeze the drawing. Once a drawing goes out for quotation, every sharp corner, thin wall, and tight tolerance in it has already locked in the cost. Changing geometry later forces new CAM programming and new fixtures. The cheapest time to fix a design is before it leaves your desk.
Every guideline in this article traces back to two physical facts. First, a milling cutter is round. Because an end mill spins, it leaves a radius wherever it turns an inside corner — a truly sharp internal vertical corner cannot be milled at all. Second, the tool can only reach a feature from above, along the spindle axis. A wall or cavity the cutter cannot see is a feature that cannot be milled, no matter how cleanly it sits in CAD.
Good DFM lowers part cost in four ways: fewer setups, shorter cycle times, fewer tool changes, and higher first-pass yield. Features sit on accessible faces, cutters stay short and rigid, radii match standard end mills, and holes match standard twist drills. Each decision shows up twice: once in the unit price, and once in the lead time. Design is the primary cost driver of any machined part — see our breakdown of the numbers in CNC machining cost in China.
2. The DFM Quick-Reference Table
Keep this table beside your CAD screen. Check your drawing against these eight rows before sending an RFQ — roughly 90% of the issues flagged in a DFM review come from these parameters.
Feature | Recommended | Feasible limit | What it costs if you ignore it |
Pocket depth | ≤ 4× pocket width | Deeper with long tools, case by case | Chatter, poor chip evacuation, broken tools |
Internal corner radius | ≥ 1/3 of pocket depth | Smaller radius with small tools or EDM | Extra operations, slow cutting, higher quote |
Wall thickness | Metal 0.8 mm; plastic 1.5 mm | Metal 0.5 mm; plastic 1.0 mm | Vibration, distortion, parts out of size, scrap |
Hole depth | ≤ 4× hole diameter | 10× typical; 12× maximum standard; 40× special deep-hole only, case by case | Drill wander, poor hole finish, broken drills |
Thread length | 1.5–3× thread diameter | 1× engagement is enough; beyond 3× adds no strength | Broken taps, scrapped parts, longer cycle time |
Thread size | Standard metric sizes, M6 and up where possible | M3–M5 workable with care; below M3 is fragile | Custom taps, slower tapping, higher breakage risk |
Tolerances | Standard ISO 2768-mK (±0.13 mm on metals); precision ±0.025 mm only on functional faces | Tighter than ±0.025 mm: specialist work, confirm first | Tightening every feature can add 25–60% to the quote |
Engraving | Engraved text, sans-serif, 20 pt or larger | Smaller text possible on flat, well-supported faces | Illegible marking, extra finishing passes |
The sections below break down each row. Tolerances are covered in detail in CNC machining tolerances, and surface treatments in CNC machining surface finishes.
3. Tolerances: Tighten Only Where Function Needs It
The most expensive habit on engineering drawings is applying a blanket tight tolerance across the whole part. A title block calling for ±0.01 mm on every dimension does not produce a better part. It produces a part that takes longer to machine, requires more CMM inspection time, and generates higher scrap — with zero functional benefit on 95% of its features. You pay for tolerances per feature, not per part: ten tight callouts require roughly ten precision passes, whereas two require two.
At HAFO Mould, we quote two practical tolerance tiers aligned with ISO 2768-mK, the general-tolerance standard used on most production drawings. Our standard tier is ±0.13 mm on metals and ±0.25 mm on plastics, suited for non-mating features such as housings, brackets, and covers. Our precision tier is ±0.025 mm on metals and ±0.05 mm on plastics, reserved for functional geometry: bearing seats, press fits, sealing faces, and alignment datums. Hold most of the part to standard tolerances, and restrict precision callouts to the surfaces that locate, seal, or carry load.
Tightening tolerances increases cost in distinct steps. Moving from ±0.25 mm to ±0.13 mm on metal usually adds no cost because it sits inside standard milling capability. Tightening from ±0.13 mm to ±0.05 mm requires slower finishing passes and extra in-process checks. Stepping down to ±0.025 mm enters the precision tier — requiring dedicated finish passes and CMM verification — which directly raises the quote. Applying precision tolerances across an entire drawing instead of isolating functional faces can add 25–60% to machining and inspection cost, making it the single largest avoidable expense in CNC machining cost in China.
Geometric dimensioning and tolerancing (GD&T) also controls feature relationships more economically: a true-position callout on a bolt-hole pattern is easier to hold and verify than tight ± coordinate tolerances on individual holes. Apply GD&T where parts must mate, rotate, seal, or slide, and leave non-critical geometry to the general tolerance block — see CNC machining tolerances explained for full guidance. Always state your tolerance standard in the RFQ, as missing tolerance blocks are the single most common omission in incoming drawings. Our guide to an accurate CNC machining quote covers everything required for a complete quote package.
4. Internal Corners: The Round Tool Rule
Because a milling cutter is cylindrical, every internal vertical corner it cuts will have a fillet radius equal to or larger than the cutter radius. When a drawing specifies a sharp 90° internal corner, the machine shop has only three ways to make it: step down to a tiny end mill at very slow feed rates, send the part for EDM (electrical discharge machining), or leave stock and hand-file the corner. All three options add hours and cost that a modelled corner radius avoids completely.
Follow a simple rule: design every internal vertical corner radius to at least one-third of the pocket depth. A 12 mm deep pocket needs at least a 4 mm corner radius, because an end mill long enough to reach 12 mm deep requires a tool diameter rigid enough to resist deflection. A generous radius lets the machinist run a shorter, stiffer tool at full feed rates. Just as important, keep internal corner radii uniform across the part whenever possible. One consistent radius lets one cutter finish every pocket without a tool change; five different radii force five separate cutters and tool-change cycles.
One legitimate exception arises when a square-cornered mating block must sit flush inside a machined pocket. Instead of specifying a sharp internal corner, add a corner relief — a T-bone or dogbone undercut cut into the pocket corner. The relief gives the square corner of the mating part clearance to seat flat while letting the end mill maintain its natural radius. It looks unusual in CAD, but any machinist will recognise its function immediately.

5. Walls and Pockets: Keep the Tool Short and the Part Stiff
Thin walls and deep pockets cause machining failures for the same mechanical reason: either the workpiece lacks rigidity or the cutter lacks rigidity, causing deflection under cutting loads. A thin wall pushes away from the end mill during a pass and springs back once the tool moves on, leaving a dimension out of specification. The result is visible chatter marks, a wall that tapers or measures thin at the centre, and parts that warp as soon as clamping pressure is released.
On metal parts, keep wall thickness at 0.8 mm or above, and treat 0.5 mm as an absolute minimum — feasible only on short spans in free-machining alloys. On plastics, roughly double those figures: aim for 1.5 mm or thicker, with 1.0 mm as the lower limit, because polymers deflect more under tool pressure and shift with heat. When a wall must remain thin, reduce its unsupported height or length. Adding a stiffening rib across a tall, thin wall increases rigidity far more effectively than thickening the entire wall, while saving both raw stock and cycle time.
Pockets follow the same stiffness principle from the cutter's perspective. Keep pocket depth at four times the pocket width or less. Beyond a 4:1 depth-to-width ratio, the end mill requires excessive stick-out, which invites tool deflection, chatter, and poor chip evacuation. Add a small fillet radius along the pocket floor — 0.5 to 1 mm is sufficient — because a sharp floor-to-wall intersection concentrates stress and forces an extra tool change just to clean out the bottom corner. If your assembly strictly requires a deep, narrow cavity, flag it before releasing the drawing so the quote accounts for extended-reach tooling, reduced feeds, and extra inspection.

6. Holes and Threads: Standard Sizes, Sensible Depths
Holes frequently add hidden cost when drawn to arbitrary dimensions. A hole modelled at a non-standard diameter requires either a custom drill bit or circular interpolation with an end mill — both slower and more expensive than calling out the nearest standard metric drill size. Stick to standard drill diameters wherever your design allows. Avoid placing holes where they break into pocket walls or intersect existing cavities, as partial engagement causes the drill to deflect and leaves thin, fragile burrs that are difficult to inspect.
Hole depth matters just as much as diameter. Keep drilled hole depth at four times the diameter or less. Beyond 4× diameter, standard twist drills begin to wander off-axis, pack with chips, and leave poor surface finishes. Deeper holes are achievable — 10× diameter is routine, 12× is the practical limit for standard twist drills, and up to 40× requires dedicated deep-hole drilling setups — but none should be used as default geometry. Consult the shop before locking in deep holes. For blind holes, remember that a standard drill point ends in a conical tip that does not provide full-diameter engagement; add roughly 25% extra depth past your required usable length. Whenever function permits, specify a through hole rather than a blind hole so chips evacuate freely, coolant reaches the cutting edge, and tapping runs cleanly.
Threads follow the same rules: use standard coarse metric pitches and practical engagement lengths. A thread depth of 1.5 to 3 times the nominal diameter carries full design load; threading deeper than 3× adds zero holding strength while increasing cycle time and tap-breakage risk. In blind tapped holes, leave at least 1.5× the thread diameter of unthreaded drill depth below the thread for chip clearance and tap lead. Model threaded holes in CAD using the tap drill diameter rather than the major thread diameter, using the reference values below. A 0.5 mm error in hole diameter is the difference between a thread that passes a go/no-go gauge and one that strips under torque. Softer alloys displace more metal during tapping and take slightly smaller tap drills than harder alloys in larger sizes, as listed below. For help choosing between the two most common grades, see 6061 vs 7075 aluminum.
Thread | Tap drill — soft metals (e.g. 6061 aluminium) | Tap drill — hard metals (e.g. steel, 7075 aluminium) | Maximum tapping depth |
M3 × 0.5 | 2.5 mm | 2.5 mm | 9 mm |
M4 × 0.7 | 3.3 mm | 3.3 mm | 12 mm |
M5 × 0.8 | 4.2 mm | 4.2 mm | 15 mm |
M6 × 1.0 | 5.0 mm | 5.0 mm | 18 mm |
M8 × 1.25 | 6.8 mm | 6.9 mm | 24 mm |
M10 × 1.5 | 8.5 mm | 8.6 mm | 30 mm |
M12 × 1.75 | 10.2 mm | 10.3 mm | 36 mm |
7. Tool Access and Setups: Design So the Cutter Can Get There
A part requiring five machine setups costs substantially more than one finished in two, and not only because of operator labour. Every time a machinist unclamps, rotates, and re-zeroes a workpiece, positional datum accuracy resets, introducing slight stack-up variation between features cut in different orientations. The most economical CNC part is one completed in a single clamping.
A 3-axis milling centre approaches the workpiece from above, machining features oriented along the spindle axis. Geometry angled off-axis or shadowed behind overhangs requires additional setups or multi-axis indexing. Group features onto the six orthogonal faces of the part envelope whenever possible, and place mutually critical mating faces so they can be machined in the same setup. Provide flat, accessible clamping surfaces and clear datum faces — never design a part that forces the vice jaws to clamp directly onto a finished functional surface.
Evaluate every undercut carefully before committing it to a print. Features such as T-slots and dovetails require specialised side-cutting tools that approach horizontally and leave surfaces difficult to measure. Where an undercut is functionally unavoidable, specify standard cutter geometry — T-slots in whole-millimetre widths from 3 to 40 mm, and dovetails at 45° or 60° — and leave adequate tool clearance for entry and exit. Non-standard undercut profiles require custom-ground form tools, which drive up tooling charges and lead time.
A 5-axis machining centre accesses multiple faces in one setup and interpolates complex 3D contours that a 3-axis mill cannot reach. However, 5-axis machining still obeys the two physical rules in Section 1: fully enclosed internal cavities remain impossible to mill, and machine hourly rates are higher than 3-axis work. Reserve 5-axis geometry for parts where multi-axis access eliminates multiple setups or produces required contoured surfaces. Explore our 5-axis CNC machining and CNC turning pages to match your geometry to the right process.
8. Material Choice Is a DFM Decision
Material selection is an active DFM decision, not a box to tick after modelling is complete. The alloy or polymer you specify dictates cutter selection, surface speeds, workholding strategy, and achievable tolerances — so evaluate machinability alongside mechanical requirements from the start.
Begin with free-machining grades that shops keep in regular bar and plate stock: 6061 aluminium for general enclosures and brackets, 7075 aluminium where higher yield strength is required, 304 stainless steel for corrosion resistance, and POM (acetal) where a polymer must hold tight dimensional stability and low friction. Standard stock grades cut predictably and shorten lead times because raw material is ready on the rack. Compare the two flagship aerospace and structural grades in 6061 vs 7075 aluminum, or browse our full list of grades on the aluminum alloys page.
Harder or tougher materials remain fully viable, provided you adjust the geometry and tolerances to match. Titanium and hardened tool steels cut at slower surface speeds, accelerate tool wear, and generate higher cutting heat, so parts in these alloys should carry looser general tolerances and simpler pocket geometry than identical parts in aluminium. Specifying aluminium tolerances on a titanium drawing can easily double the quote. Always call out the exact alloy grade on your drawing — writing simply "aluminium" or "stainless steel" forces the estimator either to quote a conservative, higher-cost grade or to delay your quote with clarification questions. Our mold steel page covers tool-steel specifications in detail; the same rule applies across every material family: name the exact grade, and design around its machining behaviour.
9. Surface Finish and Marking: Specify Them on the Drawing
Every post-machining surface finish adds processing steps, lead time, and dimensional change — so specify finishes only where function or appearance requires them. Sealing grooves, sliding interfaces, and external cosmetic faces justify dedicated finishing callouts; internal structural pockets usually do not. On small parts, a multi-step finishing specification can cost as much as the CNC machining itself.
Account for coating thickness on precision features. Anodising builds a thin oxide layer, while powder coating adds a significantly thicker film. Any precision bore or shaft that must hold a tight fit after finishing needs pre-plate machining allowances noted on the print. Specify the exact finish standard and apply it selectively by face on the drawing — omitting finish details until after machining causes either assembly interference or schedule delays. Our guide to CNC machining surface finishes details how each finish affects tolerances and appearance.
Apply the same discipline to part marking: specify what text is required and where it sits. Engraved text machines quickly with a pointed engraving cutter, whereas raised embossed text requires milling away the entire surrounding face, wasting machine hours. Choose a clean sans-serif font at 20 point or larger, with stroke widths and depths sized for standard engraving tools.
10. Before You Send the Drawing: The 6-Point DFM Checklist
Review your print against these six checks before releasing an RFQ. Every box you tick prevents a costly engineering query or quote markup later.
- Internal corners have a generous, uniform radius — at least one-third of the pocket depth, using the same radius across the part where possible.
- Hole and pocket depths stay within standard tool reach — drilled holes at 4× diameter or less, and pockets at 4× width or less.
- Walls meet minimum thickness guidelines — at least 0.8 mm in metal and 1.5 mm in plastic, reinforced with ribs where thin sections are unavoidable.
- Features align for minimal setups — oriented along the six primary orthogonal faces with accessible clamping surfaces.
- Holes and threads use standard metric sizes — standard twist-drill diameters and standard metric threads modelled at their tap drill size.
- Tight tolerances are restricted to functional faces — all non-critical geometry falls under the standard ISO 2768-mK tolerance block.
If a box cannot be ticked, that is the exact question to put in the RFQ. A note saying "this wall has to be 0.5 mm, can you hold it?" gets a useful answer; a drawing that silently demands it gets a quote padded for the risk. Our CNC machining services page explains how a job runs from drawing to shipped parts.

11. FAQ
Does a DFM check cost anything?
No. Every RFQ receives a complimentary DFM review from one of our 35 engineers alongside the quotation. If a corner radius, tolerance callout, or material grade adds cost without improving part performance, we highlight it before you commit to production.
My part is already drawn. Is it too late for DFM?
No. Send your current CAD file and drawing before requesting final pricing. Most DFM improvements — increasing an internal radius, relaxing non-functional tolerances, or switching to a standard thread — take minutes in CAD and produce immediate savings. The expensive time to discover manufacturability issues is after metal has been cut.
What is the most common DFM problem you see?
Three issues account for the majority of revisions: applying tight tolerances across the entire drawing instead of isolating functional faces, modelling sharp internal corners with zero radius, and designing walls too thin for their unsupported span. All three appear in the Section 10 checklist and are straightforward to fix before freezing the print.
Will DFM change my design?
Only with your approval. Our DFM review provides actionable recommendations with clear cost and lead-time reasons — for example, showing where a uniform radius eliminates a tool change or where a tight tolerance requires CMM inspection. You decide which changes to adopt; we always machine strictly to your approved drawing.
How long does a DFM review take?
We deliver your DFM feedback together with a firm quote within 24 hours of receiving your STEP file and 2D drawing. If you want an immediate ballpark figure while our engineers review your files, try our cost calculator.
Get a free DFM review and a firm quote within 24 hours. Send your STEP file and 2D drawing to HAFO Mould — one of our 35 engineers will review your geometry against the rules in this guide and return a firm quote with DFM notes within 24 hours. Explore our CNC machining services, see what to include for an accurate CNC machining quote, or run an instant estimate in our cost calculator first. The best time to optimise a design is before the first cut.



