Designing for CNC Milling

Inside corner radii, wall thickness, pocket depth, holes, threads, tolerances and what drives the cost of a part.

Principles

A part that is easy to machine is cheap, accurate and fast to make. Design for machining means making choices that fit what a rotating round tool can do. Three ideas explain nearly every rule: tools are round and finite (so inside corners have a radius, and deep features need long tools); tools can reach only from outside (so features must be visible from a few directions); and every set-up, tool change and tight tolerance costs time.

  • Design for the process you will use. A part designed for a 3D printer, with sharp inside corners and hidden cavities, needs redesign for milling.
  • Fewer set-ups: put as many features as possible on as few faces as possible, and orient them so that each can be reached from the top.
  • Use the standard: standard hole sizes, standard threads, the same radius throughout, and standard stock sizes.
  • Specify only what matters. Tolerance only the functional features; accept a general tolerance on the rest.

Inside corners and corner radii

Sharp corner (cannot be milled)The round tool leaves the shadedmaterial, at least its own radius.Corner radius = tool radiusThe tool turns the whole corner atonce: heavy load, chatter.Corner radius larger (best)About 1.2 × the tool radius keeps thetool moving smoothly.Orange dashed circle: the cutter. Rule: inside corner radius ≥ the tool radius (preferably 1.2 ×), the same radius at every corner.
A round tool cannot cut a sharp inside corner. Design the radius larger than the tool radius so that the tool can move smoothly.
  • Inside vertical corners always have a radius, at least that of the smallest tool that can reach: the tool’s diameter is at most twice the corner radius. A sharp corner needs a second process (EDM or broaching), which is expensive.
  • Make the radius at least one-third of the pocket depth (R ≥ depth ÷ 3). A deeper pocket needs a longer tool, a longer tool must be thicker to stay stiff, and a thicker tool needs a bigger radius.
  • Better: radius slightly bigger than the tool, about 1.2 × the tool radius, so that the tool cuts a smooth path. If the radius equals the tool radius, the tool is fully engaged in the corner and loads suddenly.
  • The same radius in every corner means one tool and no tool changes.
  • Where a mating part must fit into a square corner, add a relief (a dog-bone or T-bone) in the corner so that the mating part’s sharp corner fits. The relief makes the tool path simple and keeps the radius.
  • Floor corners. The corner between the floor and a wall can be sharp (flat end mill) or have a radius (bull-nose or ball). A radius equal to the tool’s corner radius is cheapest. A large floor fillet needs a ball or bull-nose tool.

Worked example: a pocket 15 mm deep

  • Rule: R ≥ depth ÷ 3 = 15 ÷ 3 = 5 mm. A radius of 5 mm lets a tool of up to 10 mm diameter in.
  • With an 8 mm tool (radius 4 mm), a corner radius of 1.2 × 4 = 4.8 mm keeps the cut smooth: use 5 mm.
  • The tool reaches 15 ÷ 8 = 1.9 × its diameter into the pocket: well within the comfortable range of 4 ×.
  • A 2 mm radius in the same pocket would need a 4 mm tool, reaching 3.8 × D. Stiffness falls as the cube of the length (see Milling: Operations and Tooling), so cycle time rises and the walls taper.

Pockets, walls and floors

tool widthdepth ≤ 4 × Dwall ≥ 0.8 mmfloorfloor radiushole depth ≤ 4 × diathread ≈ 1.5 × D deepRules of thumbPocket depth: up to 4 × the tooldiameter is easy; 6 × needs care;beyond 10 × is very difficult.Walls: at least 0.8 mm in metal,1.5 mm in plastic, and not tallerthan 8 × their thickness.Floor radius: small, or none,for a flat end mill.Holes: depth ≤ 4 × diameter isstandard; deeper needs pecking.Threads: engage 1.5 × diameter;more adds no strength.
A pocket in section, with the usual rules for depth, wall thickness, holes and threads.
FeatureGoodPossible with careWhy
Pocket depthUp to 4 × tool diameter6 × with a long reach tool; beyond 10 × is very difficultLong tools deflect and chatter; chips are hard to clear
Wall thickness (metal)1.5 mm or more0.8 mmThin walls vibrate and bend away from the tool
Wall thickness (plastic)2 mm or more1.5 mmPlastic is soft and flexible, and warms
Wall height-to-thicknessUp to 8 ÷ 110 ÷ 1 or more with a supportA tall thin wall acts like a cantilever
Floor thickness1.5 mm or more0.8 mmPrevents the floor flexing and breaking through
Slot widthStandard tool size (3, 4, 6, 8, 10 mm)Any, with a smaller toolMatches the tool diameter and avoids repeated passes
Floor radiusNone (flat) or equal to the tool corner radiusLarger with a ball noseA ball finish takes much longer
Boss and rib heightUp to 4 × the width10 × with careTall thin features chatter

Holes and threads

  • Use standard drill sizes. A hole at a standard size is drilled; any other size is bored or milled with a plain tool, which costs time. Metric: 3, 4, 5, 6, 8, 10 mm and so on; inch: fractions, number and letter drills.
  • Depth. Up to 4 × the diameter is standard (24 mm for a 6 mm hole); beyond about 10 × needs pecking and care; a deep, small hole needs a gun drill. The bottom of a drilled blind hole is conical (118° or 135° point), so allow for the point in the depth.
  • Through holes are cheaper than blind holes (no depth control, easier chips). If a hole is blind, make it only as deep as the thread or fit needs.
  • Threads. Engage about 1.5 × the diameter in steel and 2 × in aluminum; more adds no strength. Drill the tap hole a little deeper than the thread (about 1.25 × the thread depth, plus the drill point), so that the tap does not hit the bottom. For the tap drill see the Tap Drill Size & Thread Pitch Lookup.
  • Smallest thread: M3 or #4-40 is the practical minimum for hand or machine tapping in metal, and larger is better; very small threads break taps. Use a thread mill for small fine threads in hard metal.
  • Thread class. Do not specify a tight class (such as 4H/6g or 3B) unless needed; see Fits in Practice.
  • Hole position. Holes close to an edge (less than 1 × the diameter) are weak; keep at least 1.5 × the diameter from edges and from each other.
  • Counterbores and countersinks. Standard sizes for screw heads (ISO 4762, ISO 10642) use standard cutters.
  • Reamed holes (H7) cost more than drilled; specify only where a pin or bearing fits.

Tool access and set-ups

  • All features should be reachable by a straight tool from one of a few directions. On a 3-axis mill, a feature must be visible from above in its set-up. Features on several sides need a new set-up for each.
  • Undercuts and internal cavities cannot be cut with a normal tool; they need special T-slot or lollipop cutters, EDM, casting, or a split design.
  • Minimize set-ups. Each flip or re-clamp costs 15–60 minutes of labor and adds position error. A part with features on two sides can often be split into two simple parts that are screwed together.
  • Datum features first. Machine the face and holes you will use for locating in the first set-up, so that the second set-up can locate on them. Dimension from those datums on the drawing. See Datums and Datum Reference Frames.
  • Leave a way to hold the part. A flat of at least 5–10 mm around the edge, or an extra tab removed at the end, lets the vise grip it; see Workholding and Fixturing.
  • Avoid features that need a very long tool deep in a part, such as a small pocket at the bottom of a big one.
  • Allow for the tool holder. The holder is wider than the cutter; a deep pocket next to a tall wall may be unreachable.

Tolerances and surface finish

0×2×4×6×8×1.0×±0.51.1×±0.251.3×±0.1251.8×±0.052.6×±0.0254.5×±0.018.0×±0.005tolerance (mm) on a machined featurerelative cost (illustrative)Typical shop tolerance (standard milling and turning): about ±0.1 mm.Costs depend on the shop, the material and the part; the trend is what matters.
An illustration of how the cost of a feature rises as its tolerance tightens.
  • Standard tolerance for machined parts is often around ±0.1 mm (ISO 2768-m: ±0.2 mm for sizes 6–30 mm, ±0.3 mm for 30–120 mm). Tighter than ±0.05 mm raises the cost, and ±0.01 mm or tighter needs special measurement and often grinding. See General Tolerances and Drawing Notes.
  • Tolerance only what matters: holes for bearings and pins, mating faces, locating features. Let everything else take the general tolerance.
  • Surface finish. A normal milled surface is Ra 3.2 µm. Ra 1.6 µm needs a finishing pass; Ra 0.8 µm needs a fine pass and often a polished tool; below that, grinding or polishing. Do not specify a finish on a surface that does not need one.
  • Geometric tolerances (flatness, position) cost money in measurement and set-ups. See GD&T.
  • Thin or large parts move after machining as stress is released, so that a flatness of 0.02 mm may not be possible without a stress-relieving step.
  • Tolerance is a conversation with the shop. Ask what they hold routinely and design to it.

Edges, chamfers and fillets

  • Break all sharp edges. A sharp machined edge is a burr risk and cuts hands. Specify “break edges 0.2–0.5 mm” or a chamfer of 0.5 × 45°.
  • Chamfers are cheaper than fillets on outside edges, because a chamfer tool does the job in one pass.
  • Outside fillets on a profile (a rounded outside corner) are free with a profiling tool. Specify the same radius around the part.
  • Chamfer the tops of holes, to start a screw or a pin and to remove the burr.
  • Avoid a tangent fillet to a wall that stops short, which leaves a small step; run the fillet to the edge.
  • Text and logos. Engrave with a stroke at least 0.5 mm wide and 0.3–0.5 mm deep; small, fine text and a deep engraving cost more.

Material and stock

  • Pick a material that machines well if it meets the need: 6061 aluminum, free-machining brass and 1018 or 12L14 steel machine easily; stainless and titanium cost several times more in cutting time. See Machining Metals and Machining Plastics, Wood and Composites.
  • Use standard stock sizes (plate thickness and bar widths), so that the blank needs little facing: 3, 6, 10, 12, 20, 25 mm plate; 1/4, 1/2, 3/4, 1 in.
  • Plate against bar against casting. A pocketed part from solid turns a large share of the block into chips (a 60 × 40 × 15 pocket in a 70 × 50 × 20 blank removes 51 % of its volume). For big runs, a casting or extrusion near the final shape is cheaper.
  • Stress and flatness. Cold-rolled plate bends when one side is removed; use cast or stress-relieved plate for flat parts.
  • Finishes after machining (anodizing, plating, painting) change dimensions and affect fits; see Temperature, Coatings and Fit Problems.

What drives the cost

DriverEffectHow to reduce it
Set-up timeFixed per job; large for single partsFewer set-ups and tool changes; standard vise work
Machining timeProportional to material removed and the care neededLarger corner radii, shallower features, less material to remove
TolerancesExtra passes, inspection and scrapSpecify only where the function needs them
MaterialCost per kg and machinabilityStandard, easy-to-machine stock
Number of operationsEach extra process adds handlingCombine features; avoid EDM or grinding unless needed
FinishingAnodizing, plating, polishingSkip decorative finishes on non-visible surfaces
QuantitySet-up cost spread over the lotOrder in batches; design families of parts together

Router and sheet parts

  • Kerf and fits. The cutter is round, so slots and tabs need a compensated width. A tight finger joint needs a test cut; make a fit coupon first.
  • Inside corners on a joint: add a dog-bone relief where a square corner must fit, or round the mating corner to the tool radius.
  • Grain and tear-out. Cut with the grain where you can; tear-out is worst across it. Use a downcut or compression bit for clean faces; see Machining Plastics, Wood and Composites.
  • Tabs hold parts in the sheet; allow for removing them.
  • Minimum feature size. The smallest slot is the tool diameter (3 mm on a hobby router); the smallest hole you can cut by interpolation is about 1.5 × the tool diameter.
  • Part spacing. Leave at least one tool diameter between parts, and a margin from the sheet edge for clamps or screws.

Design review checklist

QuestionFix if the answer is no
Does every inside corner have a radius larger than the tool needs?Add radii; use one size
Is every pocket no deeper than about 4 × its smallest width?Widen it or reduce the depth
Are walls at least 1.5 mm (metal) and not very tall?Thicken or add a rib
Are holes standard sizes and not more than 4 × D deep?Change to a standard size or make it a through hole
Are threads no smaller than M3 and not deeper than 1.5 × D?Increase the size or reduce the depth
Can every feature be reached from a few directions?Split the part or reposition features
Can the part be held for every operation?Add flats or tabs
Are tolerances tight only where the function needs them?Loosen the rest
Are edges broken and the finish specified only where needed?Add a general note
Can the part be made from standard stock?Adjust the size to stock

Related

FAQ

Why can’t a mill cut a sharp inside corner?

The cutter is round, so it leaves a radius in every inside corner equal to its own radius. A sharp corner needs a different process (EDM, broaching) or a relief that lets the mating part fit.

What is the smallest wall I can machine?

About 0.8 mm in metal and 1.5 mm in plastic, but thin walls vibrate and bend away from the tool, so go thicker if you can: 1.5 mm in metal is much easier and cheaper.

Why are deep pockets expensive?

They need a long, thin tool, which deflects and chatters, so the shop takes light cuts at a slow feed, may need several tools, and risks breakage. Keep depth to 4 × the tool diameter or less.

How tight a tolerance should I specify?

As loose as the function allows. The general ±0.1 mm covers most features; reserve ±0.05 mm or tighter for fits, bearings and locating features. Each step tighter raises the cost.

Should I design a part for CNC or for 3D printing?

Choose the process first, then design for it. A part made for printing (internal channels, organic shapes, sharp internal corners) is hard to machine, and a part made for machining (tight tolerances, flat faces, threads) is usually stronger and more accurate.

References

  • Oberg, E. et al., Machinery’s Handbook, 31st ed., Industrial Press: milling, drilling, tapping, tolerances and surface texture.
  • ISO 2768-1, General tolerances: tolerances for linear and angular dimensions without individual tolerance indications.
  • Design-for-manufacturing guides from CNC service providers (for example Protolabs, Xometry, Fictiv, Hubs): corner radii, wall thickness, hole depth and tolerances.
  • Bralla, J., Design for Manufacturability Handbook, McGraw-Hill.
  • ASME Y14.5-2018, Dimensioning and Tolerancing.

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.