Explainer: What Is Porosity in Investment Castings

Casting porosity refers to voids or gas pockets trapped inside a metal casting. It reduces strength and can leak fluid. Engineers must identify the cause, whether it is gas, shrinkage, or poor feeding, to specify correct prevention and inspection methods.
- Casting porosity is a common defect in investment casting that affects part strength and sealing.
- Porosity often stems from trapped gas, shrinkage during solidification, or poor core feeding.
- Engineers must specify the right inspection methods and process controls to prevent these flaws.
- A worked example shows how a small gas pocket in a valve body can fail under pressure.
- Clear communication of defect limits and inspection methods improves sourcing and acceptance.
What is casting porosity in investment castings
Casting porosity means voids or gas pockets inside a metal casting. These pockets form during solidification when gas cannot escape or when the molten metal shrinks and leaves empty space behind. In investment casting, this issue shows up in many shapes, from small valve bodies to complex pump housings.
A small pore may look like a tiny pit on the surface. A larger one can sit deep inside the part. The size, shape, and location of the void all matter. A shallow pore on a non-stressed area may not affect function. A deep pore near a weld zone or a pressure boundary can be a serious failure point.
Porosity is one of the most common casting defects. It appears across many alloys and part sizes. The problem is not just that the defect exists. It is that the defect may be invisible without proper inspection. Engineers must know what causes the void and how to catch it before it reaches the customer.
Why porosity forms in investment casting
Several processes create casting porosity. Each one affects how the part is made and how it must be inspected.
Gas entrapment is a major cause. Molten metal carries gases from the melt or from the atmosphere. If the metal cools too fast or if the part cools unevenly, gas can get trapped. In investment casting, the ceramic shell and core can also release gases if the molding compounds are not clean. These gases form bubbles that remain in the casting.
Shrinkage porosity is another common cause. Metal shrinks as it solidifies. The solid part contracts, while the liquid metal in the feeder or the hot spot of the part remains. If the liquid cannot flow back into the solid part, a void forms. This is common in thick sections or where the part cools slowly.
Core feeding problems can also cause porosity. The core supports the inside of the part. If the core shifts or if the core material is weak, the metal may not feed properly. This creates voids near the inner surfaces. A core shift is a related issue that can move the core and change the cooling pattern.
Poor surface finish on the mold or core can also trap gas. If the surface is rough or has small pits, gas can be trapped in those spots. This leads to small surface porosity. The fix is to improve the surface finish of the mold and core.
How porosity affects part performance
Porosity changes how a casting behaves. A part with porosity may look fine on the surface but fail under stress.
Strength drops. A pore acts as a stress riser. When the part bends or twists, the stress concentrates at the edge of the pore. This can start a crack. In structural parts, this is a direct safety issue.
Leakage becomes possible. A pore that reaches the surface or connects to another pore can let fluid or gas pass through. In a valve, this means a leak. In a pump housing, it means a pressure failure. Even a small internal pore can leak if it is in the wrong place.
Fatigue life reduces. Vibration and repeated stress make small pores grow. A part that would last years in a clean condition may fail early if it has porosity. This is a common complaint in rotating or vibrating applications.
How to inspect for casting porosity
You need the right inspection method to find porosity. The choice depends on the part size, the depth of the defect, and the cost.
Visual inspection catches only surface defects. A trained inspector looks for pits, rough spots, or small holes. It is fast and cheap. It misses deep internal voids.
X-ray inspection is the standard for internal defects. X-rays pass through the metal and show density differences. A pore appears as a darker area on the film. It is effective for finding internal porosity. The cost and lead time depend on the part size and the required coverage.
Ultrasonic inspection works well for thick sections. It sends sound waves into the metal and detects changes. It is good for finding deep voids. It is less useful for small parts or very small pores.
Magnetic particle inspection is for ferrous parts. It uses a magnetic field and a powder to show surface defects. It can find small surface cracks and porosity. It does not find internal voids.
Worked example: a pressure valve body
Consider a valve body for a hydraulic system. The part is made of cast iron. The inner surface has a bore where fluid flows. The outer surface has a mounting flange.
The engineer specifies the part with a small tolerance for porosity. The spec says no pores larger than a certain size in the bore area. The foundry uses an X-ray inspection to check the bore. The X-ray shows a small dark spot near the inner wall.
The engineer reviews the X-ray image. The spot is small and not in a high-stress area. The foundry confirms it is a gas pocket. The part is rejected because it is in the fluid path.
The foundry then checks the process. They find that the mold was not preheated enough. The gas from the mold did not escape. They adjust the preheating process and re-investigate. The next batch passes.
This example shows why inspection and process control matter. The defect was small, but it was in the wrong place. The engineer caught it with X-ray. The foundry fixed the process. The part met the spec.
How to prevent casting porosity in sourcing
Prevention starts with the design and the spec. Engineers can reduce porosity risk by designing for even cooling. Thick sections should be avoided or fed from a larger area. Parting lines should be placed where porosity is less likely to affect function.
The spec must define the inspection method. A drawing that says “free of defects” is not enough. The spec must say what size of pore is acceptable and how it will be checked. X-ray, ultrasonic, or visual inspection each has a different level of detection.
The foundry must control the process. Preheating the mold, controlling the pour rate, and using clean molding compounds all help. The foundry should have a documented process for preventing porosity. The buyer should ask for this documentation during qualification.
Communication is key. If the engineer finds a problem, the foundry needs to know the cause. If the foundry finds a process issue, the engineer needs to know how to fix the spec. This back-and-forth reduces rework and improves quality.
| Defect type | Main cause | Typical location | Inspection method |
|---|---|---|---|
| Gas porosity | Trapped gas from melt or mold | Surface and near-surface | Visual, X-ray |
| Shrinkage porosity | Metal shrinks and leaves void | Thick sections, hot spots | X-ray, Ultrasonic |
| Core porosity | Poor core feeding or core shift | Inner surfaces | X-ray, Visual |
| Surface porosity | Rough mold surface | External surfaces | Visual, Magnetic particle |
| Deep porosity | Large void in thick area | Center of thick sections | Ultrasonic, X-ray |
What to ask your foundry
When you source investment castings, ask the foundry about their porosity control.
- What is your preheating process for the mold?
- How do you control gas in the melt and the mold?
- What inspection method do you use for internal porosity?
- Can you provide the X-ray or ultrasonic report for each part?
- How do you handle a part that shows a defect in the fluid path?
These questions show you understand the defect. They also show you are serious about quality. A good foundry will answer clearly. A weak foundry will give vague answers.
How porosity fits into the bigger picture
Casting porosity is not the only defect. Shrinkage pits, core shifts, and hot tears are other issues. But porosity is the most common and the most dangerous if it is in the wrong place. It can fail a part quietly. It can leak under pressure. It can start a crack under vibration.
Engineers must treat porosity as a system issue. It is not just a surface flaw. It is a sign of a process problem. The fix is not just to reject the part. The fix is to understand why the pore formed and how to stop it.
The buyer and the foundry must work together. The buyer defines the limits. The foundry controls the process. The inspector finds the defect. The engineer reviews the result. This loop keeps the part safe and functional.
Casting porosity is a manageable issue. It requires knowledge, the right inspection, and clear communication. When handled well, it becomes a normal part of quality control. When ignored, it becomes a field failure.
How to specify porosity limits in a drawing
A drawing should not just say “no porosity.” That is too broad. It should define the size, location, and inspection method.
The size limit should be based on the part function. A small part may allow a tiny pore. A pressure part may allow none. The location limit should exclude the fluid path and the high-stress areas. The inspection method should match the defect depth.
The spec should also define the acceptance criteria. A pore of a certain size in a non-critical area may be accepted. A pore of the same size in a critical area may be rejected. This prevents unnecessary rejection and also prevents acceptance of bad parts.
The foundry should be able to meet the spec. If the spec is too tight, the cost goes up. If the spec is too loose, the risk goes up. The goal is a balance. The engineer must know the function of the part to set the right limit.
How to use this in your sourcing process
Start by understanding the part. Know where the stress is high. Know where the fluid flows. Know where the part is mounted. These are the areas where porosity matters most.
Next, define the inspection. Choose the method that finds the defect you are worried about. X-ray for internal, visual for surface, ultrasonic for deep. Combine methods if needed.
Then, qualify the foundry. Ask about their process. Ask for their inspection reports. Ask about their history with porosity. A good foundry will have a plan. A bad one will not.
Finally, review the results. If a defect is found, do not just reject it. Ask why it happened. Fix the process. Update the spec if needed. This is how you build a reliable supply chain.
Casting porosity is a common problem. It is also a solvable one. The key is to know what it is, how it forms, and how to catch it. Engineers who understand porosity make better sourcing decisions. They get parts that work. They avoid failures. They reduce cost.
Frequently asked questions
What is the difference between gas porosity and shrinkage porosity?
Gas porosity is caused by trapped gas in the melt or mold. Shrinkage porosity is caused by the metal contracting as it solidifies. Gas porosity is often smaller and more surface-related. Shrinkage porosity is often larger and found in thick sections.
Can visual inspection find internal porosity?
No. Visual inspection only sees defects on the surface. Internal porosity requires X-ray, ultrasonic, or another non-destructive method.
What is the best inspection method for casting porosity?
It depends on the part. X-ray is the most common for internal defects. Ultrasonic is good for thick sections. Visual is only for surface defects. The right method depends on the defect size and location.
How does porosity affect the cost of a casting?
It can increase cost. More inspection is needed. More parts may be rejected. Process changes may be needed. A part with porosity may fail in the field, which is more expensive than rejecting it at the foundry.
Can porosity be prevented completely?
No. It is difficult to eliminate all porosity. But it can be reduced to acceptable levels with good process control and design. The goal is to keep defects below the limits defined by the spec.


