GreatLight CNC Machining Factory logo
CNC Machining
Rapid Prototyping
Materials
Industries
News
About GL

Get Instant Quote

Fit and tolerance guide

CNC Machine Parts Fit: Seven Proven Steps to Get It Right

Every part can pass inspection and the build still stalls on the bench. This guide is for engineers and sourcing teams who release mating parts to production. It walks through the datum, stack-up and inspection decisions that decide whether CNC machine parts fit the first time.

±0.005 mm tolerance16 five-axis centersDFM within 12 hours
CNC Knowledge: Calculations of dimensions and fit tolerances for CNC machine parts fit
The real problem

Why In-Tolerance Parts Still Fail to Assemble

A shaft measures 24.995 mm on the CMM. The housing bore measures 25.010 mm. Both sit inside their individual tolerances, and the clearance is theoretically 15 μm. Then the shaft refuses to seat. Nothing is out of spec. The problem is that the requirement that matters never appeared on either drawing.

That hidden requirement is the relationship between features, not the size of one feature. A print can tell you a hole is Ø8.00 ±0.05 mm. It does not tell you the hole has to sit 0.03 mm from a shoulder so a dowel lines up on the far side. The second number is what separates a conforming part from one that actually goes together.

Stack-up is where this shows up. Machine a bore to the middle of its band. Machine the mating boss to the middle of its band. In isolation both are fine. In the assembly the accumulated variation can push the fit past the clearance you designed. Repeat that across a bolted joint, a bearing seat and a dowel pattern, and a build that worked in prototype starts to drift in production.

So the goal is not tighter tolerances everywhere. Banding every dimension at ±0.005 mm raises cost fast and fixes nothing if the datums are wrong. The goal is the right tolerance in the right place, measured the right way. The rest of this guide covers the seven decisions that get you there.

Materials

Choosing Materials for Matched Assemblies

Mating parts should not always be the same material. Two 304 stainless surfaces in sliding contact are prone to galling. Pair 304 with a bronze bushing, or specify 316L on one side and a hard-coated 17-4PH on the other. The material choice is a wear decision, not just a strength decision.

Thermal expansion matters more than most engineers expect. Aluminium 6061 expands about 23 × 10⁻⁶ per °C. Steel 4140 expands about 12 × 10⁻⁶ per °C. A 200 mm aluminium housing with a steel shaft grows roughly 0.046 mm over a 10 °C shift. If your clearance is 20 μm, that shift alone closes the fit.

For bearing seats and press fits, hardness drives the interference you can hold. A 6061-T6 housing at H7 is fine for light loads. For a repeated press fit, move to 7075 or steel. The bore will hold size longer and resist brinelling at the seat edge.

Corrosion pairing is the last check. Aluminium and stainless in contact with moisture form a galvanic couple. Anodize the aluminium or add a barrier washer. It is a cheap fix at design time and an expensive one after the parts are in the field.

  • 1
    Same material, sliding contactRisk of galling. Break it with a coating or a dissimilar pair.
  • 2
    Mixed expansionCalculate the fit at the highest and lowest service temperature.
  • 3
    Press-fit boresHarder material holds the seat and resists edge damage.
  • 4
    Galvanic pairsAnodize, plate or isolate. Do not rely on paint.
Fixturing

Setups, Fixturing and Workholding Tradeoffs

Every re-fixture adds error. A part that runs in two ops has two datum transfers, and each transfer adds its own position error. On a 5-axis machine with a tombstone, you can often finish three or four faces in one setup. For a mating part, that is usually worth the slower cycle.

Soft jaws machined in place beat a standard vise for second ops. Bore the jaws to the actual part diameter at the actual clamping pressure. A 6061 part will deform under a vise load that a steel part shrugs off. If the bore is measured while clamped and then released, the reading is wrong.

Thin-wall parts need support, not more clamping. Add a plug, a wax fill or a sacrificial web. Removing the support after machining releases the residual stress, and the bore moves. Plan the release before you cut the final pass, not after.

Temperature is the quiet variable. A 300 mm aluminium part grows about 0.07 mm over a 10 °C shop swing. If you machine in the morning and inspect in the afternoon, the numbers will not match. For large or tight parts, let the part stabilize and record the temperature.

Scaling

Prototypes Through Production Without Drift

The prototype build is a proof of concept, not a process. It usually runs on the most capable machine, with the most experienced operator, at a relaxed pace. Production runs on the machine that is free, at the takt time the schedule allows. If the datum scheme depends on the operator's judgment, it will drift.

Capture the process when it works. Which machine, which fixture, which tool, which offsets, which inspection method. Write it down in a traveler that follows the part. This is the cheapest insurance against a build that worked once and fails on the tenth run.

For volumes from one prototype to 10,000+ parts, the same rules apply. The difference is that at volume you can afford a dedicated fixture and a functional gage. At low volume you cannot, so the print has to carry more of the intent. Make the drawing unambiguous.

Incoming material is part of the stack. A change in bar stock supplier can change the machinability and the residual stress. If a mating part is sensitive, keep the material source fixed and note it. A cheaper bar that warps after machining is not cheaper.

Inspection

Inspection for CNC Machine Parts Fit

Inspection should answer one question: will this part assemble and function? That is not the same as checking every dimension on the print. Start with the datum features, then the features that control the fit, then the rest.

For position, use a functional gage where the volume justifies it. A gage that mimics the mating part catches stack errors that a CMM report can miss, because the CMM measures each feature in isolation. For low volume, a best-fit alignment in the CMM software is the next best thing.

Surface finish belongs in the inspection plan for any sliding or sealing surface. A bore at the right size but the wrong finish will leak or wear. Ra 0.8–1.6 μm is a common target for bearing seats and hydraulic bores. Ra 0.2–0.8 μm where a seal runs.

Record the results, not just pass or fail. A trend of bores drifting toward the high limit over a run tells you the tool is wearing. That data lets you change the tool before the parts go out of spec, not after.

Cost

Cost Drivers and Sourcing Coordination

Tolerance is the biggest cost lever on a mating part, and it is the one engineers control most directly. Going from ±0.05 mm to ±0.01 mm on a bore can double the cycle time and add a finishing op. Going from ±0.05 mm to ±0.1 mm often saves nothing, because the setup cost dominates.

The second lever is the number of setups. Each additional op adds fixture cost, handling and a datum transfer. Designing the part so it can be finished in one or two setups usually saves more than loosening a tolerance. It also improves the fit, because there are fewer transfers.

Sourcing coordination matters when mating parts come from different suppliers. If the housing and the shaft are made in different shops, the datum schemes have to be compatible. Send the mating drawing with the RFQ. A supplier who cannot see the mating part is guessing at the fit.

Lead time is part of the fit decision. If a prototype has to be in hand in three to five days, the design has to be simple enough to machine in that window. Complex datums and tight stacks take longer to plan and inspect. Build the schedule into the tolerance choices.

The seven steps

Seven Proven Steps for CNC Machine Parts Fit

Work through these in order. Skipping step 2 is the most common reason a build stalls later.

  • 1
    1. Define datums before the print is releasedPick the surfaces the part will locate on in the assembly, not the surfaces that are easiest to clamp. Mark primary, secondary and tertiary datums clearly. Ask one question: does this scheme match how the part sits in the fixture and later in the sub-assembly? If not, rework the scheme before anyone quotes.
  • 2
    2. Check the mating relationship, not just the featureFor every fit, write down the functional requirement: clearance, interference or transition. Convert it to a number. A Ø8 H7/h6 clearance fit gives 0 to 29 μm of slack at nominal sizes. If your stack eats 25 μm of that, you have almost nothing left.
  • 3
    3. Run the stack-up arithmeticAdd the worst-case contributors for each critical joint. For statistical stacks use RSS, but remember RSS assumes independent, centered distributions. A machinist chasing mid-tolerance on a manual lathe is not a normal distribution. Worst case is the safer default for low-volume work.
  • 4
    4. Assign tolerances where they earn their costTighten only the features that control position or fit. A bearing seat at Ø30 H7 with Ra 0.8–1.6 μm is worth the cycle time. A clearance hole for an M6 bolt at Ø6.6 mm does not need ±0.02 mm. Give the machinist room where the function allows it.
  • 5
    5. Match the setup to the datum schemeIf the drawing says datum A is the base face, the first op should hold on that base face or finish it first and re-fixture. Clamping on a different face because it is easier to reach shifts the coordinates. The part measures fine relative to the setup and wrong relative to the design intent.
  • 6
    6. Plan inspection around functionInspect the datum features first, then the positions relative to them. For a dowel pattern, check position with a functional gage or a CMM best-fit, not individual hole coordinates. Measure at the same temperature the shop runs at, and log it if the part is large.
  • 7
    7. Freeze the process before scalingWhen a prototype build works, capture the setup, the tool list, the feeds and the inspection plan. Repeat the same process for the production run. Changing the fixture or the machine between prototype and production is the most common source of drift on mating parts.
Fit selection

Which Fit to Specify for Common Joints

Values are typical for nominal sizes up to Ø50 mm. Confirm against the functional requirement before you release the print.

Joint typeTypical fitClearance or interferenceWhen to use
Locating dowel pinH7/n60 to 20 μm interferenceRepeatable position, disassembly rare
Bearing outer raceH70 to 25 μm clearanceStandard bearing seat, moderate load
Sliding shaftH7/g66 to 34 μm clearanceFree motion, lubrication present
Press-fit bushingH7/r620 to 45 μm interferencePermanent joint, steel housing
Bolt clearance holeØ + 1.0 mm1.0 to 1.5 mm clearanceNon-locating fastener
Shoulder pilotH7/h60 to 29 μm clearanceConcentric location, hand assembly

The Verdict on Tolerance and Fit

If a joint only needs to locate and carry light load, use a clearance fit and spend the money on the datum scheme. If it has to transmit load or hold position under vibration, specify the interference fit and pay for the hard material and the finish. Tighten the fit, not the whole print.

FAQs

Questions Engineers Ask About Fit

How do I know if a press fit will hold without a retaining compound?

It depends on the interference, the material and the load. For a steel housing and a steel bushing at Ø25 mm, an H7/r6 fit gives roughly 20 to 45 μm of interference. That is usually enough for light to moderate torque. For high torque or shock loads, add a key, a pin or a retaining compound.

Check the hoop stress in the housing. A thin wall will yield before the joint reaches its rated load. If the wall is under about 1.5 times the interference in thickness, model it before you commit.

Can I just specify ±0.005 mm everywhere and be safe?

No. Uniform tight tolerances raise cost and do not fix a bad datum scheme. If the datums are wrong, a ±0.005 mm part can still fail to assemble. Put the tight tolerance on the features that control the fit, and let the rest run looser.

On a typical bracket, two or three features carry the function. The rest are clearance or non-critical. Spend the tolerance budget there.

How much does temperature affect a large aluminium assembly?

Aluminium 6061 expands about 23 × 10⁻⁶ per °C. A 500 mm dimension grows roughly 0.115 mm over a 10 °C change. If your fit has 0.05 mm of clearance, a warm shop afternoon can close it.

Specify the inspection temperature on the drawing for large parts, or design the fit to tolerate the full shop range. A 5 °C to 35 °C band is realistic in many plants.

What surface finish do I need on a bearing seat?

Ra 0.8–1.6 μm is a common target for a standard bearing seat. Smoother is not always better. Too smooth a bore can reduce the grip on the outer race and let it creep under load.

For a hydraulic or sealing bore, Ra 0.2–0.8 μm is typical. The finish has to be called out on the print, not left to the machinist.

Should mating parts be made by the same supplier?

It helps, but it is not required. What is required is a shared datum scheme and a shared understanding of the fit. Send the mating drawing with the RFQ so the supplier can see the other half of the joint.

If two suppliers are involved, agree on the inspection method and the datum reference frame in writing. A CMM report means nothing if the two shops align the part differently.

How do I inspect a dowel pattern that has to fit a mating plate?

Use a functional gage that mimics the mating plate if the volume justifies it. For low volume, use a best-fit alignment in the CMM and check position relative to the datums, not hole-to-hole distances.

Hole-to-hole distances do not tell you if the pattern will assemble. Position relative to the datum reference frame does.

Get Your Mating Parts Made as One Set

Send the full assembly drawing set. We review the datum scheme and the stack-up, flag the fits that will not assemble, and quote the parts together so the tolerances line up.

DFM in 12 hours±0.005 mm1 to 10,000+ partsISO 9001 / IATF 16949

Follow

More From the Shop Floor

We publish setup notes, tooling trials and inspection data from the factory floor.

FacebookTikTokYouTubeLinkedInInstagramThreadsPinterest

Trusted by engineers and manufacturers worldwide

Tesla Ford Motor Company BYD Auto Denso Magna International Boeing Airbus Medtronic KUKA FANUC