top of page
Search

Datum Selection in CNC Machining: Part Accuracy Guide

carystraley
Nov 6
11 min read

When a machined part fails inspection, the root cause is often not the toolpath. It is the decision about where the part is located from, and that decision often gets made in a few seconds by someone thinking about how to clamp the stock. Datum selection in CNC machining is where drawing intent meets shop-floor reality. Get it wrong and you see stack-up, scrap, and parts that pass one inspection and fail the next. This guide walks through how reference features are chosen, how they map to GD&T, and where shops usually go wrong.


Table of Contents



Quick Takeaways


Key Insight

Explanation

Choose datums from function, not convenience

Start with the surface that seats the part against its mating part, then confirm it can be accessed and held in the same setup.

Machine the datum feature, prove the datum

You cut datum features, but inspection simulates datums with gauge pins, surface plates, or CMM fits. Plan for both.

Match the fixture order to the frame

The primary, secondary, and tertiary letters in the feature control frame should follow the order you locate the part in the fixture.

Use three points for the primary datum

Three support points define a plane. A part resting on four supports that rocks is balanced, not located.

Do not set zero on raw stock

Establish zero from a finish-machined or repeatable reference, or stock variation will move every dimension referenced to it.

Record the datum setup and probe the first piece

A documented zero and a first-piece probe make the datum reproducible across operators, shifts, and machines.


What a Datum Really Is


A datum is a theoretical reference, such as a point, axis, line, or plane, that the rest of the part is measured from. Its physical counterpart is the datum feature, the real surface or feature of size that the drawing points to. The GD&T Basics reference describes datums as anchors for the entire part, and notes that they are usually functional features that need control during measurement as well.


Machined aluminum bracket with reference faces resting on a granite surface plate for datum selection in CNC machining.

In practice, the datum scheme decides which surfaces the machinist is allowed to treat as the real starting point. If the program zero sits on a surface the drawing never called out, every dimension inside the part is tied to a reference nobody inspects. That is how a part can look correct on the machine and still fail a functional check.


Why the Reference Matters More Than the Zero


Work offsets are easy to change and easy to forgive. A datum is harder, because the entire measurement chain depends on it. A recent industry article on CNC accuracy lists datum planning alongside workholding, tool rigidity, chip control, inspection, and material behavior as factors that shape the final part. That matches what we see on the floor: datum problems rarely announce themselves until the part reaches a gauge.


A useful test is to ask what the part would look like if you measured it from somewhere else. If the answer changes the functional fit, the datum was never a choice you should make casually.


Reading the Drawing Before the Program


Start with the mating function. Find the surface that seats against another part, the bore that takes a pin, or the face that carries a seal. Those features usually drive the datum scheme. Cosmetic faces and clamping ears rarely should. A machinist who reads the drawing for function first will usually pick the datum the designer intended, and the program will follow from that.


Datum Features Versus Datums


The distinction trips up even experienced programmers. Datums are theoretical, simulated by measurement equipment such as gauge pins, granite surface plates, and angle plates. Datum features are the real, tangible surfaces the equipment physically touches.


Why does this matter at the machine? You machine datum features, but you can only prove datums at inspection. If the datum feature is a rough casting surface you never face off, the simulated datum on the CMM will wobble, and every tolerance that references it becomes a guess.


Surface Datums and Feature-of-Size Datums


A datum feature can be a planar surface or a feature of size, such as a bore or a slot, depending on how the symbol is applied on the drawing. That choice changes what the inspector does. A surface datum establishes a plane, while a feature-of-size datum establishes an axis or center plane that the CMM fits to the actual hole or slot. Reading symbol placement carefully is the difference between constraining the intended feature and constraining its neighbor.


When Datum Features Are Hard to Reach


Some datum features sit where a probe or gauge pin cannot easily get to them, such as an internal face under a flange, or a back surface that only appears after a second setup. In those cases, we would rather change the setup plan than accept a datum the inspector cannot simulate. A datum you cannot measure is a datum you cannot defend in a PPAP review.


Choosing the Primary Datum


The primary datum does the most constraining, so it should be the most stable and most functional surface you can access. Pick a large planar face where possible, since it gives the greatest stability when seated on support points. Small, flexible, or thin surfaces rarely make good primaries.


The ordering in the feature control frame matters too. Datum precedence tells you which reference locks first, and the machining setup should respect that order rather than fight it.


Function First, Then Access


Our rule of thumb is to choose the functional surface first, then check whether it can be accessed and held in one setup. If the best primary datum requires flipping the part twice, weigh whether the extra setup adds more error than the datum mismatch would. Sometimes a slightly less ideal surface that machines in the same setup as the critical features beats a perfect surface that requires a second flip.


Why Corner Datums Get Argued About


Corner datums, where the part is located from the intersection of two faces, are common in shops that want a simple, repeatable zero. The debate is whether a corner datum matches how the part is actually built and inspected. A corner zero is excellent for consistent fixturing, but it only controls design intent if the drawing's datums are truly those faces. Corner zeros are a machining convenience, not a substitute for the drawing's datum scheme.


A part is only as well located as the surface you chose to measure it from. Everything else is a matter of repeating that choice.

The 3-2-1 Locating Principle


The 3-2-1 locating principle is the workhorse for constraining a prismatic part. Three support points on the primary datum establish a plane and remove three degrees of freedom. Two points on the secondary datum remove two more, and one point on the tertiary datum removes the last. Published guides on CNC datum selection cover this principle alongside tolerance stack-up and design for manufacturability, and the logic holds whether you fixture in a vise, a modular fixture, or a zero-point system.


Why Three Points Beat a Flat Plate


Three points define a plane, and a plane is far more repeatable than a large flat surface sitting on uneven chips, burrs, or casting bumps. A part that rocks on four supports is not located, it is balanced, and cutting forces will move it. We check the support points for chips and burrs before every setup, because a single chip under one locator can tilt a part enough to throw a bore off position.


Where Shops Break the Principle


The most common break is clamping the part against a locator that is not a designated datum. The clamp pushes the part into the fixture, and the machined features end up referenced from wherever the part happened to settle. Another break is overconstraining with more locators than the datum needs, which pushes the part around each time you tighten. Both failures look fine on the first piece and drift across a lot.


Reading the GD&T Datum Structure


A datum reference frame is built from the datum letters listed in a feature control frame. Each letter identifies a feature that locks degrees of freedom, and the order of the letters sets precedence. The GD&T Basics reference notes that a feature control frame will reference as many datum features as needed to lock in all necessary degrees of freedom, which is what creates the datum reference frame.


The governing standard for this is ASME Y14.5. The practical consequence for machinists is that the order of datums in the frame is not decorative. Primary, secondary, and tertiary letters should map directly to the order you locate the part in the fixture.


Steel workpiece clamped on a CNC mill table with locating pins showing machining reference features setup.

Primary, Secondary, and Tertiary in the Frame


Read the frame left to right. The first letter is the primary datum, and it should be the surface that seats the part with the most constraint. The secondary datum rotates the part into position, and the tertiary datum stops that rotation. If your fixture locates in a different order than the frame, the inspector will measure a part that was never fixed the way the drawing intended.


Material Condition Modifiers and Setup


Modifiers such as MMC or LMC on datum features of size change how the feature can shift, and they change the gauge you need. A bore referenced at maximum material condition behaves differently from one referenced at RFS. You do not need to memorize every modifier, but you do need to know which datums carry them so the fixture and the inspection plan both respect the same rules.


Pro tip: Before you write the fixture plan, circle every datum letter on the drawing and write its order on the setup sheet. If the order on the sheet does not match the frame, stop and clarify with engineering before you cut.


Comparing Datum Strategies


Three approaches come up constantly in shop discussions. They are not mutually exclusive, but each one suits a different part and carries a different risk.


Datum Strategy

Where It Works Best

Main Risk

Drawing-defined datums (located from the designated faces and features on the print)

Functional parts with GD&T callouts and parts that go through PPAP

Requires fixturing built around the print, which takes more planning up front

Corner or machine-zero datums (program zero set from accessible corners or a probed reference)

Fast repeat production of simple prismatic parts

Can drift from the drawing's intent if the zero is not tied to a designated datum

Part-center datums (program zero at the geometric center of a symmetric feature)

Symmetric and turned parts with a dominant axis

Breaks down when the center is not a functional feature, such as an offset bore on an outer-diameter part


For anything that will be reviewed against a controlled drawing, we default to drawing-defined datums and then add machine-zero convenience on top of them. The part-center approach gets questioned most often. It is convenient for turned parts, but it can be the wrong reference when the functional feature sits off the geometric center.


The choice should be written down, not assumed. A setup sheet that names the datum strategy lets the next operator understand why the zero sits where it does, and it gives quality a clear place to check when results shift.


Datum Mistakes That Cost Accuracy


Most datum failures are not exotic. They are small decisions that repeat across a production run, which is why they are expensive. Datum planning, workholding, and chip control all change where the part actually sits during cutting, and a mistake in any one of them shows up as dimensional drift.


Setting Zero on an Unmachined Surface


If the program zero is set on a raw casting or forged face, the location will shift as the stock varies. Tolerances that reference that surface will depend on the stock, not the machine. Finish-machine the datum first, or establish a reference you can repeat from part to part.


Locating From Something the Drawing Does Not Call Out


A common shop habit is to locate from whatever surface is easiest to clamp, then machine the callouts from there. If the drawing says datum A is a face the part never touches in the fixture, every dimension referenced to A is now tied to a surface the customer never asked for. Ask the question on the setup sheet: which surface does the drawing say everything comes from?


Pro tip: Probe the primary datum after the first setup and record the reading. A two-minute check on the first piece will catch a fixture problem before it reaches the whole batch.


Setup, Fixturing, and Machine Zero


Good datum selection on paper falls apart if the setup cannot reproduce it. The fixture has to hold the datums you chose, and the machine zero has to be established from those same surfaces. Machine rigidity and thermal stability also matter here. Industry guides on high-precision machining point out that rigidity, thermal stability, spindle accuracy, and calibration all directly affect results, and a datum that shifts as the spindle warms up is not much of a datum.


Coordinate measuring machine probing a precision machined part to verify GD&T datum structure and part accuracy.

Matching Fixture Locators to Datum Features


Each locator should touch a datum feature, and each datum feature should be touched by a locator. Mismatches, like a locator under a cored-out area or a clamp pressing on a thin wall that deflects the datum, are where setups go wrong. A simple sanity check is to put a dial indicator on the primary datum while you tighten the clamps and watch whether the reading moves. If it does, the clamping sequence needs work before you cut anything.


Establishing Machine Zero From the Datum


Set the work offset from the datum features the print designates, not from convenient corners that happen to be easy to touch. When you use an edge finder or probe, record which surfaces you used and in what order. That record lets a second operator or a second machine reproduce the zero, which is what keeps a lot consistent over weeks of production.


Verifying Datums at Inspection


A datum is only as good as the way it is proven at inspection. On a CMM, the inspector builds the datum reference frame by establishing datums in the order the drawing specifies, then measures the features referenced from them. If the machining setup and the inspection setup use different datums, a part can pass one and fail the other, and both results will look correct on their own sheets.


Programming the CMM to the Frame


Your CMM program should follow the datum precedence in the frame, not the order that is fastest to probe. Build the primary datum plane first, then the secondary, then the tertiary, and check that the alignment makes sense before measuring features. If the program aligns to a different surface than the drawing designates, your inspection results describe a different part.


Documentation That Survives a Customer Review


For PPAP and first article inspection, the datum scheme should appear in the documentation, along with the fixture and the method used to simulate each datum. When a customer asks why a bore reads differently between two lots, the answer is usually in the datum records. A short, specific note about datum simulation saves hours of argument later.


Frequently Asked Questions


What is the difference between a datum and a datum feature?


A datum is the theoretical reference, a point, axis, line, or plane, that is simulated by measurement equipment. A datum feature is the real surface or feature of size on the part that the drawing indicates. You machine the datum feature, and you prove the datum at inspection.


How do I choose the primary datum for a prismatic part?


Start with the functional surface that seats against a mating part, then check whether it is large, stable, and accessible in the same setup as the critical features. Avoid surfaces that are rough, small, or hard to probe. The primary should be the surface that does the most constraining.


Is a corner datum wrong for production machining?


Not by itself. Corner zeros are efficient and repeatable for machine setup. They become a problem only when the corners do not correspond to the datums the drawing designates, so verify that mapping before you use them for a controlled dimension.


Why does my part pass machining checks but fail the customer's gauge?


The most likely cause is a mismatch between the datums used in machining and the datums used by the gauge or CMM. Compare the datum order on your setup sheet with the feature control frame, and confirm the inspection alignment follows the same order.


Do I need a datum for every feature?


No. Datums are needed for features that are controlled by GD&T callouts referencing them. Features that are not toleranced relative to a datum still need dimensional control, but they do not need to be tied into the datum reference frame.


What does the 3-2-1 principle achieve?


It fully constrains a prismatic part with three support points on the primary datum, two on the secondary, and one on the tertiary, removing all six degrees of freedom. It gives you a repeatable location, but it does not replace the datum scheme defined on the drawing.


Which datum mistake has cost your shop the most time, and how did you finally track it down?


References


Comments


 Precision Machined Components - Fort Wayne, IN                                                      

Join our Email List

  • facebook
  • youtube

©2020 by Summit City Precision Machining Inc. SCPM. • ISO 9001:2015 Certified

bottom of page