Gas Porosity in Die Casting -Causes, Detection & Prevention | KastMfg
Complete guide to gas porosity in die casting: how it forms, how to detect it (X-ray, CT, cross-section), what ASTM E505 classes mean, and how vacuum-assisted HPDC reduces it by 60-70%.
Supporting Visuals
Production images for this page
These images are pulled from your current KastMfg asset library. Page-specific files automatically override shared fallback visuals when you add them later.

Defect Example Image
Reserve one clear defect photo, X-ray, CT scan, or sectioned sample that visually identifies the defect being discussed.
Best as a technical reference image

Corrective Action Image
Use a second image for tooling changes, gating adjustments, leak testing, or inspection steps that show how the defect is controlled.
Best as a process-improvement photo
Gas Porosity in Die Casting -Complete Guide
Gas porosity is the most common die casting defect -and the most misunderstood. It is often described simply as "holes in the casting," but the mechanism, distribution, size, and consequences of gas porosity differ fundamentally from shrinkage porosity. Understanding the distinction leads to the correct process intervention.
What Gas Porosity Is
Gas porosity consists of round or nearly round voids distributed throughout the casting cross-section. Under X-ray, they appear as bright round areas against a darker background. Under metallographic cross-section, they show smooth, spherical walls -distinct from the angular, dendritic walls of shrinkage porosity.
These voids contain compressed gas -primarily air entrapped during injection, plus hydrogen released from the aluminum melt.
How Gas Porosity Forms
Air entrapment mechanism: Standard HPDC injects metal at 20-30 m/s at the gate. This turbulent, high-velocity flow folds the cavity air into the metal stream as bubbles. The bubbles cannot escape before the metal solidifies -they are frozen into the casting as distributed gas porosity.
Hydrogen mechanism: Aluminum melt absorbs hydrogen from atmospheric moisture, from wet or contaminated ingot, and from die lubricant decomposition. As the metal solidifies, hydrogen solubility drops sharply -hydrogen gas precipitates out of solution, forming small distributed pores throughout the casting.
Gas Porosity vs Shrinkage Porosity
| Characteristic | Gas Porosity | Shrinkage Porosity |
|---|---|---|
| Shape | Round, smooth walls | Angular, branching, dendritic |
| Location | Distributed throughout section | Concentrated in thick sections |
| Cause | Entrapped gas | Solidification shrinkage |
| X-ray appearance | Round bright spots | Irregular branching patterns |
| Prevention | VADC, gate optimization | Uniform wall thickness, intensification |
ASTM E505 Classification
ASTM E505 defines reference radiographs for aluminum die casting porosity classification (Class 1 = least porosity, Class 5 = most):
| Class | Porosity Level | Typical Application Acceptance |
|---|---|---|
| Class 1 | Near-zero | Pressure-tight hydraulic, T6 structural |
| Class 2 | Very low | EV structural, safety-critical |
| Class 3 | Low-moderate | General structural, pneumatic |
| Class 4 | Moderate | Non-structural enclosures |
| Class 5 | High | Cosmetic / decorative parts only |
Consequences of Gas Porosity
For pressure-tight applications: Interconnected pore networks form leak paths through casting walls. At 100 bar, a pore network connecting an internal passage to the exterior surface is a functional failure.
For T6 heat treatment: During solution treatment at 480-540°C, gas in pores expands. If the surface is thin, this expansion creates visible blisters -destroying the part. Standard HPDC A380 cannot be T6 treated reliably because of this.
For fatigue life: Pores act as stress concentrators. Fatigue cracks initiate at pore surfaces under cyclic loading, reducing fatigue life compared to a pore-free casting.
Detection Methods
X-ray (digital radiography): Standard production screening. Detects pores >=.3 mm diameter. Classification per ASTM E505. Fast enough for 100% production inspection on qualifying programs.
CT scanning: Volumetric mapping of porosity distribution. Used for tooling qualification and root cause investigation. Not practical for 100% production inspection.
Metallographic cross-section: Destructive. Provides definitive characterization of pore morphology, size, and distribution. Used for process development and failure analysis.
Pressure/helium leak test: Detects interconnected porosity (leak paths). Does not detect isolated closed pores. The most functionally relevant test for pressure-tight applications.
Prevention Strategies
Vacuum-assisted HPDC (VADC): Evacuates die cavity to <30 mbar before injection. Metal enters a near-vacuum -no air to compress and entrap. Reduces gas porosity 60-70%. The primary approach for Class 1- requirements and T6 programs.
Gate velocity optimization: Slower gate velocities produce less turbulence and less air entrainment. Trade-off: slower fill increases cold shut risk in thin sections. KastMfg optimizes gate velocity per program to balance fill quality and porosity.
Overflow wells: Capture cold metal and entrained air from the flow front before it reaches the main casting section. Relocates the worst porosity from the casting to the overflow, which is removed.
Degassing: Rotary degassing with argon or nitrogen removes dissolved hydrogen from the melt before casting. Standard practice on all KastMfg aluminum programs.
Alloy selection: A413's near-eutectic composition produces inherently lower shrinkage porosity than A380 -combined benefit when both gas and shrinkage porosity must be minimized.
Porosity consultation: yaoqingpu1983@gmail.com | +86 138 1403 4409
Related Resources
Continue the research path
Shrinkage Porosity in Die Casting -Causes, Locations & Solutions | KastMfg
Shrinkage porosity in die casting: why it forms in thick sections, how it differs from gas porosity, how to identify it on X-ray, and how wall thickness uniformity eliminates it.
Quality GuideDie Casting Defects
Compare common defect types, causes, and corrective actions from a buyer and engineering perspective.
CapabilityQuality Control
Review inspection workflow, traceability support, and process control standards before launch.
Process GuideDie Casting Process
See how casting, trimming, machining, finishing, and inspection fit together in production.
Need a Quote for Your Project?
Our engineering team is ready to review your requirements and provide competitive pricing with fast turnaround.
Request a Quote