Casting inspection is not one test performed at the end of production.
A finished casting can have the correct shape but the wrong alloy, good chemistry but internal shrinkage, or sound metal but a critical bore outside tolerance. Each problem requires a different inspection method.
The practical approach is to decide what needs to be verified first, then choose the method that can actually measure or reveal it. This guide explains the main casting inspection methods and where each one fits.
What Casting Inspection Covers
Casting quality is usually evaluated in several different ways.
A visual inspection checks the visible surface. Dimensional inspection checks whether the part matches the drawing. Chemical and mechanical tests verify the material. Nondestructive testing looks for surface or internal discontinuities that ordinary inspection cannot see. Pressure or leak testing checks whether a component actually contains fluid or gas as required.
ASTM A1062, which covers sampling requirements for steel castings, reflects this broad view of inspection. It includes dimensional, machining, visual, magnetic particle, liquid penetrant, radiographic, ultrasonic, and leak testing as separate inspection categories.
That distinction matters because passing one test says nothing about areas the test does not evaluate.
A good spectrometer result cannot prove that a casting has no shrinkage cavity. A clean X-ray does not prove that a mounting hole is in the correct position.

Casting Inspection Methods: Quick Comparison
| Inspection Method | What It Checks | Best At Finding / Verifying | Main Limitation |
|---|---|---|---|
| Visual Inspection (VT) | Surface condition | Misruns, fins, obvious cracks, damage, workmanship | Cannot see internal defects |
| Dimensional Inspection | Size and geometry | Diameter, position, flatness, profile, GD&T | Does not prove material or internal soundness |
| Chemical Analysis | Alloy composition | Wrong alloy, chemistry outside specification | Does not measure casting soundness |
| Hardness Testing | Material hardness | Heat-treatment condition, hardness requirement | Does not fully define mechanical properties |
| Tensile Testing | Mechanical properties | Tensile strength, yield strength, elongation | Destructive; normally requires test specimens / sampling |
| Liquid Penetrant (PT/FPI) | Surface-breaking discontinuities | Fine cracks and other openings to the surface | Cannot detect internal defects |
| Magnetic Particle (MT) | Surface / near-surface discontinuities | Cracks in ferromagnetic materials | Only works on ferromagnetic materials |
| Radiography / X-ray (RT) | Internal structure | Porosity, shrinkage, inclusions and other volumetric indications | Cost, interpretation, geometry and orientation matter |
| Ultrasonic Testing (UT) | Internal reflectors / thickness | Internal discontinuities and section thickness | Geometry, coarse grain and surface condition can reduce sensitivity |
| Computed Tomography (CT) | Full 3D internal structure | Complex internal geometry, porosity distribution, wall-thickness mapping | Higher cost and part-size limits; usually reserved for high-value or development parts |
| Pressure / Leak Test | Functional sealing | Leakage in pressure-containing components | Shows leakage, not necessarily the exact defect mechanism |
No single row replaces the others. The inspection plan depends on what can cause the component to fail.
Visual Inspection for Casting Surface Condition
Visual inspection is usually the first examination because many casting problems are already visible.
An inspector can identify incomplete filling, fins, excessive flash, obvious cracks, adhering mold material, grinding damage, surface roughness, and other workmanship problems before more expensive tests are used.
The Steel Founders’ Society of America groups visual inspection with the primary methods for evaluating casting surface integrity and notes that agreed visual standards can be used to distinguish acceptable from unacceptable surface conditions. (SFSA Non-Destructive Testing Guide)
Visual inspection works best when the surface is clean, lighting is controlled, and the acceptance criteria are defined.
It is inexpensive and useful throughout production, but it can only evaluate what is accessible to the eye. A casting can look excellent externally while containing internal shrinkage or gas porosity.
For the mechanisms that create those defects, see our Investment Casting Defects guide.
Dimensional Inspection With Gauges and CMM
Dimensional inspection answers a different question:
Does the casting match the drawing?
Simple dimensions can be checked with calipers, micrometers, gauges, fixtures, height gauges, and other conventional instruments.
A coordinate measuring machine, or CMM, becomes valuable when the component contains multiple datums, hole positions, profiles, geometric tolerances, or three-dimensional relationships that are difficult to verify manually.
For production work, not every dimension necessarily needs CMM measurement on every part. Critical features can be identified from the drawing, while simpler dimensions may use gauges or sampling plans.
First-article inspection is particularly important after new tooling or a significant process change. ASTM A1062 specifically recognizes dimensional inspection as part of sample-casting approval before full production of applicable steel castings.
Dimensional inspection should also be performed at the correct manufacturing stage. A raw casting dimension and a finished CNC-machined dimension are not the same requirement.
Our Investment Casting Tolerances guide explains how as-cast, straightened, and machined dimensions should be separated.
Chemical Composition, Hardness, and Mechanical Property Testing
A casting can have perfect geometry and still be unacceptable if the material is wrong.
Chemical Composition Analysis
Chemical analysis checks whether the alloy composition matches the specified grade.
This is especially important when a foundry processes several steels, stainless steels, or other alloys with similar appearance. Chemistry provides evidence that the correct material was melted rather than relying on visual identification.
The required elements and allowable ranges should come from the applicable material specification.
Hardness Testing
Hardness testing is fast and useful for checking whether a casting falls within a specified hardness range.
It can also provide a practical check on heat-treatment condition. A quenched-and-tempered steel or heat-treated casting that misses its expected hardness range deserves further investigation.
Hardness does not replace tensile testing or metallurgical evaluation. Two materials can show similar hardness while differing in toughness, elongation, or microstructure.
Tensile Testing
Tensile testing measures properties such as tensile strength, yield strength, and elongation from a test specimen.
Unlike CMM inspection or X-ray, tensile testing consumes or permanently deforms the test specimen. It therefore requires an agreed sampling or coupon strategy rather than simply testing every finished component.
Casting Source groups chemical composition and mechanical testing alongside dimensional accuracy, casting finish, and soundness as distinct categories of casting quality verification.
The required tests should follow the material specification rather than automatically applying the same mechanical-test package to every casting.
Liquid Penetrant vs Magnetic Particle Testing
PT and MT are often discussed together because both are used to find discontinuities near the surface, but their material limitations are different.
Liquid Penetrant Testing
Liquid penetrant testing works by allowing a low-viscosity penetrant to enter discontinuities that are open to the surface.
After excess penetrant is removed, developer draws trapped penetrant back out and makes the indication visible. Fluorescent penetrant inspection, or FPI, uses fluorescent material viewed under suitable ultraviolet illumination.
ASTM E165 states that penetrant testing is applicable to nonporous ferrous and nonferrous materials and can reveal surface-connected discontinuities such as cracks, seams, laps, cold shuts and certain forms of surface-connected porosity. (ASTM E165 — Liquid Penetrant Examination)
The limitation is equally clear: PT only finds discontinuities that reach the surface.
An internal shrinkage cavity with no surface opening will remain invisible.
Magnetic Particle Testing
Magnetic particle testing magnetizes the casting and uses magnetic particles to reveal leakage fields created by discontinuities.
ASTM E709 describes MT as a method for detecting surface and near-surface discontinuities in ferromagnetic materials. Detection also depends on the direction of the magnetic field relative to the defect. (ASTM E709 — Magnetic Particle Testing)
This makes MT useful for suitable carbon steels, alloy steels, martensitic stainless steels, and other ferromagnetic castings.
It is not the normal choice for aluminum, copper alloys, or austenitic stainless steels.
For those materials, penetrant inspection is usually the more relevant surface-crack method.

Radiographic vs Ultrasonic Testing for Internal Discontinuities
When the concern is inside the casting, radiography and ultrasonic testing become more important.
They are both volumetric inspection methods, but they do not see the casting in the same way.
Radiographic Testing and X-ray Inspection
Radiography passes X-rays or gamma radiation through the casting and records differences in radiation absorption.
Changes in material thickness or density can reveal internal discontinuities such as gas porosity, shrinkage cavities, and non-metallic inclusions.
ASTM E1742/E1742M establishes the basic requirements for radiographic examination, but the standard specifically states that it controls the examination method and image quality—it does not establish acceptance criteria for the casting itself. (ASTM E1742/E1742M — Radiographic Examination)
For steel castings up to 2 in. (50.8 mm) thick, ASTM E446 provides reference radiographs showing categories and severity levels for gas porosity, sand and slag inclusions, shrinkage, cracks, hot tears, and other discontinuities. Purchaser and supplier can use agreed reference levels as part of acceptance requirements. (ASTM E446 — Reference Radiographs for Steel Castings)
Radiography is particularly intuitive for volumetric defects, but defect orientation, section thickness, geometry, image quality, and interpretation still affect what can be seen.
Ultrasonic Testing
UT sends high-frequency sound waves into the casting and evaluates echoes returning from internal interfaces or discontinuities.
It can be useful for internal reflectors and wall-thickness measurement without ionizing radiation.
For heat-treated carbon, low-alloy, and martensitic stainless-steel castings, ASTM A609/A609M provides specific pulse-echo ultrasonic examination procedures. The standard also makes an important point: UT and radiography are complementary rather than directly interchangeable methods. (ASTM A609/A609M — Ultrasonic Examination of Steel Castings)
Casting geometry, rough surfaces, grain structure, attenuation, and access can make UT easier on some parts and much harder on others.
The choice between RT and UT therefore comes from the expected defect type, alloy, section thickness, geometry, and governing specification—not from deciding that one method is universally more advanced.

Where a two-dimensional radiograph is difficult to interpret—for example, complex internal passageways or closely spaced features—computed tomography (CT) can reconstruct a full three-dimensional view of the casting’s internal structure. CT is usually reserved for higher-value or development parts because of its cost and size limitations.
Pressure and Leak Testing for Pressure-Containing Castings
A valve body or pump housing may pass visual inspection, dimensional inspection, chemistry, and even NDT but still need one additional question answered:
Does it leak?
Pressure and leak tests evaluate the functional integrity of pressure-containing castings.
Depending on the component and specification, the test medium may be liquid or gas, and the requirement will define pressure, hold time, permissible leakage, and test condition.
Leak testing does not necessarily identify the exact defect that caused leakage. It confirms whether the component performs its sealing function under the specified test.
That makes it complementary to NDT.
Radiography may show an internal indication without proving that it leaks. A pressure test can reveal leakage without fully characterizing the internal discontinuity that created the path.
How to Choose a Casting Inspection Method
The simplest approach is to start with the failure mode rather than with a list of available equipment.
| What Needs to Be Verified? | Inspection to Consider |
|---|---|
| Surface appearance / workmanship | Visual inspection |
| Dimensions, position, profile, GD&T | Gauges, fixtures, CMM |
| Alloy grade / chemistry | Chemical composition analysis |
| Heat-treatment hardness | Hardness testing |
| Tensile strength / yield / elongation | Tensile testing |
| Fine surface-breaking cracks on nonporous material | PT / FPI |
| Surface or near-surface cracks in ferromagnetic material | MT |
| Internal porosity, shrinkage, inclusions | Radiography / X-ray |
| Internal reflectors or section thickness | UT |
| Complex internal geometry requiring 3D volumetric analysis | CT, where justified |
| Pressure integrity / leakage | Pressure or leak testing |
Material can eliminate some options immediately.
Magnetic particle inspection requires a ferromagnetic material. Penetrant inspection needs a clean, nonporous surface. Ultrasonic inspection becomes difficult when casting geometry or material structure creates excessive signal attenuation.
The component function then determines how much inspection is justified.
A decorative bracket and a pressure-containing valve body should not automatically receive the same NDT plan.
First Article, Sampling, and 100% Inspection
Inspection coverage is separate from inspection method.
A customer can require one first article, statistical sampling, lot-based testing, or 100% inspection of a defined characteristic.
First-article inspection is particularly valuable after new tooling because it confirms that the real casting and machining process produces the intended geometry before a large batch is released.
Production sampling works well when the process is stable and the relevant specification allows lot-based verification.
Some requirements justify 100% inspection. A critical surface crack requirement, serialized aerospace component, or pressure-boundary feature may call for every part to be examined with a defined method.
Other tests cannot reasonably be performed on every finished component. Tensile testing destroys the specimen, so material specifications normally define test coupons or sampling rather than sacrificing every casting.
ASTM A1062 illustrates this distinction by treating sample casting inspection as an agreed set of dimensional, visual, NDT, machining, and leak-test requirements before full production.
The inspection plan should therefore define both:
method + coverage
not just the name of the test.
Acceptance Criteria and Casting Inspection Standards
Finding an indication and rejecting a casting are not the same action.
NDT reveals indications. The drawing, material specification, reference standard, or agreed acceptance criteria determine whether those indications are acceptable.
SFSA makes this point explicitly: NDT can reveal possible nonconformities, but the indication still has to be evaluated against the purchaser’s selected standard or requirements. (SFSA Non-Destructive Testing Guide)
This is especially important with radiography.
ASTM E1742 controls how radiographic examination is performed but does not itself tell the buyer what severity level is acceptable. ASTM E446, by contrast, supplies reference radiographs that purchaser and supplier can use to agree on discontinuity categories and severity levels for applicable steel castings.
A useful inspection requirement therefore specifies more than:
X-ray required.
It should identify the applicable standard, inspection area or coverage, acceptance level, sampling frequency, and report requirements.
Over-specifying inspection also adds cost without necessarily improving the function of the part. SFSA specifically cautions that specifying a quality level higher than the design requires can increase price and lead time without adding useful performance. (SFSA Non-Destructive Testing Guide)
Casting Inspection and Quality Control at YTD
At YTD, inspection requirements are reviewed against the drawing and application rather than applying the same test package to every casting.
For suitable projects, we can provide chemical composition analysis, hardness and tensile testing, dimensional inspection with CMM, fluorescent penetrant inspection, X-ray inspection, ultrasonic testing, and salt-spray testing according to the agreed project requirements. Reports can also be supplied for the tests defined for the order. (YTD Casting Quality Control & Inspection)
Inspection also begins before the finished casting exists. In our investment-casting workflow, wax patterns are inspected before tree assembly, and casting simulation can be used during tooling and process development to address filling and solidification risks before production.
This is the distinction between quality control and final inspection.
Inspection tells us whether the agreed requirement has been met. Process control is what gives the casting the best chance of meeting it consistently.
Final Thoughts
Casting inspection works best when each method is assigned a specific question.
Visual and dimensional checks verify the surface and geometry. Chemistry and mechanical tests verify the material. PT and MT find surface-related discontinuities, while radiography and UT examine internal integrity. Leak testing verifies pressure performance.
The most effective inspection plan defines the risk, method, coverage, and acceptance criteria before production begins—rather than adding every available test after the casting is made.
FAQs
What Is the Most Common Casting Inspection Method?
Visual and dimensional inspection are among the most widely applied because almost every casting needs its surface and dimensions checked. Additional NDT or material testing is added according to the alloy, application, and specified risks.
What Is the Best Method for Finding Casting Porosity?
Radiography is particularly useful for internal volumetric discontinuities such as gas porosity and shrinkage. The required sensitivity, coverage, thickness range, and acceptance level still need to be defined for the component.
What Is the Difference Between PT and MT?
Liquid penetrant testing detects surface-breaking discontinuities on suitable nonporous ferrous and nonferrous materials. Magnetic particle testing can detect surface and near-surface discontinuities but only works on ferromagnetic materials.
What Is the Difference Between X-ray and Ultrasonic Testing?
X-ray uses penetrating radiation to create an image based on material thickness and density. UT uses reflected sound waves to identify internal interfaces and discontinuities. Geometry, alloy, defect type, and the applicable standard determine which method is more suitable.
Does Passing X-ray Inspection Mean a Casting Has No Defects?
No. Every inspection method has a detection limit and responds differently to defect size, orientation, location, and geometry. Radiography also does not verify alloy chemistry, dimensions, hardness, or surface-breaking defects by itself.
Should Every Casting Receive 100% NDT?
Not automatically. Inspection coverage should follow the component’s function, applicable specification, failure risk, process history, and customer requirements. Some critical characteristics justify 100% examination; other tests are appropriately handled through first articles or sampling.



