Shenzhen Alu Rapid Prototype Precision Co., Ltd.

Industry News

  • Home
  • News
  • GD&T Datums for CNC Machining: Design and Inspection Guide

GD&T Datums for CNC Machining: Design and Inspection Guide

GD&T datums create the reference system used to machine, measure and assemble precision parts. A drawing can contain accurate dimensions and still produce inconsistent results when its datum structure does not represent how the part functions.

This guide explains primary, secondary and tertiary datums, datum reference frames, datum targets, feature-of-size modifiers, fixture planning, CMM inspection and practical drawing rules for CNC machined prototypes and low-volume production parts.

What Is a Datum in GD&T?

A datum is a theoretically exact point, axis, line or plane from which geometric relationships are established. The physical surface or feature identified on the drawing is a datum feature; inspection equipment or a fixture contacts that feature to establish the simulated datum.

The distinction matters. A real machined surface contains form error, while the datum derived from it is an ideal reference used to orient and locate the part.

Why Datums Matter in CNC Machining

Datums connect design intent with manufacturing and inspection. They tell the supplier which surfaces establish orientation, which feature locates the part and which remaining feature controls rotation.

When datums match the assembly, tolerances can protect function without making every dimension unnecessarily tight. When they do not, a part may pass inspection yet fail to assemble.

Datum Feature, Datum and Datum Simulator

TermMeaningExample
Datum featureThe real feature identified by a datum symbolA machined mounting face
DatumThe theoretically exact reference derived from the featureAn ideal plane
Datum feature simulatorThe inspection or fixturing element that contacts the partA granite plate, chuck or gauge pin
Datum reference frameThree mutually perpendicular reference planesThe coordinate system A-B-C

The 3-2-1 Locating Principle

A free part can move in six degrees of freedom: translation along three axes and rotation about three axes. A common 3-2-1 setup uses three contacts on the primary datum, two on the secondary datum and one on the tertiary datum.

The contacts progressively constrain the part. This principle helps designers visualize how datum precedence controls orientation and location.

Primary Datum

The primary datum is contacted first and normally constrains three degrees of freedom. It is often a broad, stable mounting surface, but it can also be an axis or another feature when that best represents function.

Choose a feature that is repeatable, accessible and important to the assembly. A small cosmetic pad is rarely a good primary datum for a large precision housing.

Secondary Datum

The secondary datum is established after the primary datum and generally constrains two additional degrees of freedom. A side face, bore or slot commonly serves this role.

Its relationship to the primary datum should match the way the part is located in the product or manufacturing fixture.

Tertiary Datum

The tertiary datum removes the final remaining degree of freedom. It may be an end face, a hole, a slot or another feature that establishes clocking or axial position.

A tertiary datum does not need to be large; it needs to provide the final functional location clearly and repeatably.

Datum Precedence

The order in a feature control frame is significant. A-B-C and B-A-C do not create the same setup because the first datum receives precedence and constrains the part before the next datum is applied.

Review the physical assembly sequence before selecting the order. Do not arrange datum letters alphabetically unless that order also represents function.

Datum Reference Frames

A datum reference frame creates the coordinate system for a geometric tolerance. The controlled feature is evaluated relative to the referenced datums and in their stated order.

Different feature control frames on one drawing may use different datum reference frames when features serve different functional relationships.

How to Choose Functional Datums

Start with the features that physically contact mating components. Ask which surface seats first, which feature locates the part and which feature prevents rotation.

Then check whether those features are stable enough to manufacture and inspect. The most functional choice should also be practical to simulate.

Mounting Faces as Datums

Flat mounting faces are common primary datums for brackets, plates and housings. They provide stable contact and relate hole patterns or bosses to the assembly interface.

Remove burrs and identify whether raised pads or the full surface establish the datum. Interrupted or flexible faces may require datum targets.

Bores as Datum Features

A cylindrical bore can establish a datum axis. This is useful for bearing housings, rotating components and parts centered on a pilot diameter.

The bore must have sufficient length and form quality to generate a stable axis. A short or irregular bore may not locate the part as reliably as the drawing implies.

Shafts as Datum Features

An external cylindrical feature can establish an axis in the same way. Turned parts often use a main shaft diameter as the primary datum and an end face as the secondary datum.

Consider whether the axis should be derived from one diameter, multiple coaxial diameters or a common datum feature.

Hole Patterns as Datums

A pattern of holes may establish a datum when the mating part is located by multiple fasteners or pins. The pattern can define a collective datum rather than treating one hole as the entire reference.

This approach should reflect the actual interface and the applicable GD&T standard. Inspection software must be configured consistently with the drawing.

Slots and Width Features as Datums

A slot can establish a center plane and is often used to clock a part while allowing movement in one direction. This is useful in assemblies that need thermal expansion or adjustable alignment.

Control slot size and orientation so the datum is stable enough for function and measurement.

Datum Targets

Datum targets identify specific points, lines or areas used to establish a datum. They are valuable for castings, forgings, weldments, curved surfaces and large flexible parts that should not contact an entire ideal plane.

Target locations and sizes must be clearly defined. Manufacturing and inspection should use the same target scheme.

When to Use Datum Targets

Use targets when full-surface contact would be unstable, unrealistic or different from the actual assembly support. Three target areas can establish a primary plane on an otherwise irregular casting.

Targets should not be added merely to make a drawing look sophisticated. They need a physical reason and an accessible inspection method.

Movable Datum Targets

A movable target can accommodate variation while still constraining the required degree of freedom. It may represent an adjustable support, expanding locator or self-centering fixture element.

Only use this method when the standard, gauge design and functional requirement are understood by both customer and supplier.

Planar Datum Quality

The flatness of a datum feature influences how repeatably it seats against a simulator. A rocking surface can change the orientation of every feature measured from it.

Add a flatness tolerance when function requires better form than the size or process normally provides. Flatness does not reference another datum.

Datum Feature Size

When a datum feature is a feature of size, its limits affect how a simulator contacts or locates it. The material boundary modifier applied to the datum reference can permit datum shift.

Coordinate the size tolerance, geometric control and mating condition rather than treating them as independent requirements.

RMB, MMB and LMB

ModifierBasic conceptTypical effect
RMBRegardless of material boundarySimulator adapts to the actual datum feature
MMBMaximum material boundaryFixed boundary can allow datum shift
LMBLeast material boundaryUsed when minimum material condition protects function

The correct interpretation depends on whether the datum feature is internal or external and on the applicable drawing standard.

Datum Shift

Datum shift is the permissible movement between an actual datum feature and a fixed-boundary simulator. It can increase the usable positional tolerance while still protecting assembly.

This is especially useful for clearance-hole patterns. However, designers and inspectors must calculate it correctly rather than assuming every datum at MMB provides the same amount.

Basic Dimensions and Datums

Basic dimensions define theoretically exact locations or orientations. The associated geometric tolerance supplies the allowed variation.

Do not add a plus-minus tolerance to the same basic dimension. Keep the drawing scheme clear so the supplier knows which requirement governs acceptance.

Position Tolerance

Position is frequently used to locate holes, pins, bores and patterns from a datum reference frame. It creates a tolerance zone around the theoretically exact location.

Position can control location and, depending on the feature and datum structure, orientation. Select material condition modifiers from assembly requirements.

Profile Tolerance

Profile can control complex surfaces, contours and multiple related features from datums. It is powerful for CNC housings and sculpted parts because it can replace many coordinate dimensions.

The CAD model or basic dimensions must define the true profile. State whether the tolerance is equally disposed or intentionally offset.

Perpendicularity to a Datum

Perpendicularity controls a surface, axis or center plane at 90 degrees to a datum. It is common for mounting shoulders, bores and guide features.

Use it when orientation is the functional requirement; do not tighten position unnecessarily just to obtain perpendicularity.

Parallelism to a Datum

Parallelism controls orientation relative to a datum and does not directly locate the feature. It is useful for slide surfaces, cover faces, rails and opposed mounting planes.

For surfaces, the tolerance zone consists of parallel planes. The part's size or thickness is controlled separately.

Runout and Datum Axes

Circular and total runout evaluate rotating surfaces relative to a datum axis. They can combine effects of roundness, coaxiality, straightness and orientation in a functional measurement.

Choose a datum axis that represents the actual bearings or journals used during rotation.

Datums for CNC Milled Parts

Milled parts often use a broad base as primary datum, a perpendicular side as secondary and an end or hole as tertiary. This arrangement is easy to visualize and fixture.

It is not automatically correct for every part. A housing centered by a pilot bore may need the bore axis to take precedence over an outer wall.

Datums for CNC Turned Parts

Turned parts commonly use a functional shaft or bore axis as primary datum and a shoulder face as secondary. A keyway, cross-hole or flat may establish clocking as a tertiary datum.

Long slender parts require consideration of how the datum axis is simulated and how deflection affects inspection.

Datums for Five-Axis Machining

Five-axis machining can produce features from multiple directions in one setup, but the drawing datums should still represent function. Machine coordinates are manufacturing references, not necessarily design datums.

A supplier may use temporary fixture features or soft jaws while preserving the relationships required by the final datum reference frame.

Raw Stock Is Not a Functional Datum

Unmachined stock may be used for rough setup, but it is generally unsuitable as a precision datum when its form and location are uncontrolled.

Create stable machined references early in the process, then use them to finish critical relationships.

Fixture Design from the Datum Scheme

A good fixture approximates the drawing's datum precedence and supports the part without overconstraining it. Locators should be accessible, clean and positioned on sufficiently rigid areas.

Clamping force should push the part toward the locators rather than bending it away from its natural seated condition.

Avoiding Overconstraint

Too many rigid locators can make a fixture unstable because real surfaces are not perfect. Parts may rock, distort or seat differently between cycles.

Use the minimum contacts needed to constrain motion, with relief or compliant support where additional load capacity is required.

Soft Jaws and Custom Fixtures

Soft jaws can conform to a previous machining operation and protect finished surfaces. Their locating features should be machined and maintained to support the critical datum relationships.

Record jaw revision, setup method and wear checks for repeat production.

Temporary Machining Datums

A process may need temporary pads, tabs or pilot features that are removed later. These manufacturing datums help establish the final functional datums accurately.

Plan their removal so it does not distort or damage the finished part.

Datum Transfer Between Setups

Every setup change introduces potential error. Datum transfer should use accurate, repeatable features created in an earlier operation.

Critical features are best machined in one setup when possible. When that is not practical, inspect the relationship across setups rather than only individual dimensions.

Thin and Flexible Parts

A thin part may conform to a fixture during machining and spring back after unclamping. The drawing should clarify whether the part is inspected in a restrained or free state.

Use distributed support and controlled clamping. Datum targets may better represent the assembly supports than full-surface contact.

Castings and Forgings

Cast and forged parts often combine irregular raw surfaces with machined interfaces. Datum targets can establish a repeatable starting position while allowing stock for machining.

Coordinate the casting datum scheme, machining plan and finished-part datums to avoid insufficient material on critical surfaces.

Surface Finishes and Datum Contact

Coatings, paint, anodizing and plating can change datum feature size or seating behavior. A masked mounting face may locate differently from a coated one.

Specify whether the datum applies before or after finishing and define masked areas clearly.

Burrs and Edge Conditions

A small burr can prevent a part from seating against a datum simulator. Edges near locating faces, holes and slots should be deburred without rounding functional boundaries excessively.

Inspection fixtures also need regular cleaning because chips and dust can create false errors.

Heat Treatment and Datum Stability

Heat treatment can change flatness, straightness and feature position. Critical datum features may require finish machining or grinding after treatment.

The drawing and purchase order should state the condition in which geometric requirements apply.

CMM Datum Alignment

A coordinate measuring machine creates a software alignment from measured datum features. The probing strategy must reproduce the drawing's datum precedence and material boundary conditions.

Point distribution, filtering and fitting algorithms affect the result. A default best-fit alignment is not a substitute for the specified datum reference frame.

Fixture Inspection

A functional fixture can evaluate assembly-related requirements quickly. It may use a base plate, pins and fixed-boundary simulators that represent the datum structure.

Fixtures are efficient for repeated production but require design validation, calibration and wear monitoring.

Surface Plate Inspection

A flat primary datum can often be simulated on a granite plate. Height gauges, indicators and angle plates then measure related features.

The method is practical, but it must reproduce secondary and tertiary constraints when the tolerance depends on the complete datum reference frame.

Optical and Vision Inspection

Vision systems can inspect profiles and feature locations without contact. They work well for small flat components and delicate features.

Lighting, edge detection and part alignment must be controlled to ensure the reported datum setup matches the drawing.

Inspection Disagreements

Customer and supplier results may differ when they use different alignment methods, numbers of probe points or datum simulators. The drawing alone may not resolve a poorly defined inspection strategy.

For critical parts, agree on datum simulation, software settings, restraint and reporting before production.

Common Datum Mistakes

  • Choosing cosmetic surfaces instead of assembly interfaces

  • Using an unstable or flexible feature as the primary datum

  • Listing datums in the wrong precedence

  • Referencing a datum that is inaccessible for inspection

  • Overconstraining the part with redundant datums

  • Ignoring coatings or heat treatment on datum features

  • Applying material boundary modifiers without understanding datum shift

  • Using machine setup coordinates as the only design logic

How Datums Affect CNC Machining Cost

Complex datum schemes can require custom fixtures, multiple setups, CMM programming and dedicated gauges. Very small datum features may be difficult to contact repeatably.

Cost can often be reduced by using broad functional interfaces, keeping critical features in one setup and limiting tight geometric controls to relationships that affect assembly.

Drawing Review Checklist

  • Do the datums represent how the part mounts and locates?

  • Is datum precedence physically realistic?

  • Are the datum features large, rigid and accessible enough?

  • Are size and form controls adequate for repeatable simulation?

  • Are datum targets needed for irregular or flexible surfaces?

  • Are material boundary modifiers functionally justified?

  • Can the supplier fixture and inspect the part consistently?

  • Do coating and heat-treatment notes define the final condition?

Information to Send for a CNC Quote

  • Native 3D CAD model and controlled 2D drawing

  • Applicable GD&T standard and drawing revision

  • Mating-part or assembly information

  • Material, heat treatment and surface finish

  • Critical datum relationships and inspection needs

  • Prototype and production quantities

  • Required CMM report, first article report or gauge plan

  • Any restrained-state or special fixturing requirements

Questions to Ask a CNC Supplier

  • How will the primary, secondary and tertiary datums be simulated?

  • Can the critical features be machined in one setup?

  • Which datum features need post-treatment finishing?

  • How will datum shift and material boundaries be evaluated?

  • What CMM or functional-gauge method will be used?

  • Can a less complex datum structure protect the same function?

Frequently Asked Questions

Does every GD&T tolerance need a datum?

No. Form controls such as flatness, straightness, circularity and cylindricity do not reference datums. Orientation, location and runout controls normally use datums to establish their relationship.

Can one feature have more than one datum letter?

A single physical feature may participate in different datum schemes when it serves different functional requirements, but the drawing must remain unambiguous. A common datum may also be established from multiple features under the applicable standard.

Should the largest surface always be datum A?

No. Size helps stability, but function determines the best primary datum. A pilot bore or shaft axis may be more important than a large outer face.

Can a rough casting surface be a datum?

Yes, but full-surface contact may be unstable. Datum targets are often a better way to define how a casting or forging is located.

Why does a CMM result differ from a functional gauge?

The devices may simulate datums differently or apply different fitting algorithms and material boundary behavior. The inspection strategy should be reviewed against the drawing and assembly function.

Final Design Recommendations

Build the datum reference frame from the real assembly sequence. Select a stable primary feature, use secondary and tertiary features to complete location, and make the order match physical contact.

Keep machining and inspection practical, define finished-condition requirements and discuss critical alignments with the CNC supplier before manufacturing. A clear functional datum scheme usually improves both part quality and quotation accuracy.

Request a Precision CNC Machining Quote

Aluprototype provides precision CNC milling and turning for prototypes and low-volume metal and engineering plastic parts. Our team can review datum structures, GD&T tolerances, fixturing, surface treatment and inspection requirements before production.

Explore our CNC machining capabilities, read the related CNC prototype machining guide, or request a quote with your CAD model, drawing and quantity.