CONTENTS

    Gas Porosity or Shrinkage Cavities: How to Tell Them Apart

    avatar
    Hunan Puka Engineering
    ·September 3, 2026
    ·18 min read
    Gas Porosity or Shrinkage Cavities: How to Tell Them Apart
    Image Source: pexels

    Key Differences Explained

    Learn to distinguish gas porosity from shrinkage cavities by shape, location, and more.

    Features

    Gas Porosity

    Shrinkage Cavities

    --

    --

    --

    Shape

    Round, spherical

    Angular, dendritic

    Wall surface

    Smooth, glassy

    Rough, frost-like

    Edges

    Soft, rounded

    Sharp, jagged

    Distribution

    Random, scattered

    Localized, clustered

    Internal structure

    Isolated, no branching

    Networked, dendritic

    Typical location

    Upper sections, cores

    Thick sections, hot spots

    Root cause

    Trapped gases

    Volumetric contraction

    Prevention method

    Degassing, venting

    Riser design, chills

    You've just pulled a casting from the mold and spotted a void. Is it gas porosity or a shrinkage cavity? The answer starts with shape. Gas porosity appears round and smooth, like tiny bubbles. Shrinkage cavities look jagged and angular, like cracked earth. Location offers the second clue. Gas porosity scatters randomly. Shrinkage cavities cluster in thick sections or near corners.

    Misdiagnosis costs you double: wasted time on the wrong fix and a defect that returns.

    This guide gives you a clear, step-by-step framework to identify voids correctly the first time. You'll learn what to look for, where to look, and how to act with confidence.

    The Quick Answer: Shape and Location

    Imagine you are a busy inspector. You need to decide quickly whether a void is gas or shrinkage. This is your executive summary. Focus on two things: shape and location. Shape tells you the defect type. Location confirms your guess. Together, they give you a reliable answer in seconds. You do not need a microscope or an X-ray machine for this first check. Your eyes and a simple rule are enough. This executive summary saves you from costly mistakes in the foundry.

    Here is a direct comparison of how these two defect types look:

    Feature

    Round Defects

    Angular Defects

    Shape

    Round, spherical

    Irregular, angular, dendritic

    Wall surface

    Smooth

    Rough

    Edges

    Soft, round

    Sharp, angular

    X-ray appearance

    Clean, discrete circles

    Irregular, branching networks

    Round vs. Angular: The Primary Visual Cue

    Start with the shape. You can often see the difference with your naked eye or a simple magnifying glass. One type forms round holes. Think of bubbles trapped in ice. The walls are smooth, and the edges feel soft to the touch. These voids are clean and spherical. They do not branch or connect to each other. This round shape is the most distinctive feature of a gas-related void. You can identify it within seconds of inspection.

    The other type looks completely different. It has sharp, angular walls. The edges are jagged, not smooth. You might see irregular shapes that look like cracks or branches. Under a microscope, you can see dendritic features inside these cavities. The metal fractured along its grain boundaries. This type of void often appears as a network rather than isolated holes. The angular shape signals a shrinkage problem.

    Shrinkage porosity defects have angular surfaces and are different from air entrapment holes, which have rounded shapes.

    This difference is highly reliable. A round hole nearly always means a gas-related defect. An angular, branched void nearly always means shrinkage. Use this as your first test every time. The term gas porosity applies specifically to the round, smooth-walled type.

    Random vs. Localized: The Distribution Clue

    Now look at where the defects appear. This second clue strengthens your diagnosis and helps you avoid mistakes. Location acts as a confirmation of what the shape already tells you.

    One type scatters across the casting. You see fine pores spread in a random pattern. They appear near cores, on upper surfaces, or in blind pockets. They also show up where two metal fronts meet during pouring. Broadly distributed fine pores often indicate dissolved gas in the melt. The distribution looks uniform and does not favor any particular section. This random pattern is a strong signal that gas is the cause.

    The other type behaves differently. These cavities cluster in specific locations. You find them in heavy sections, isolated bosses, and abrupt section changes. They appear at junctions and other regions that solidify last. These are the hot spots of the casting. Riser and chill placement directly controls where these hot spots form. For example, in low-pressure casting applications, risers and chills are critical elements. Their placement directly influences the contraction area of the casting. When you position risers and chills correctly, you eliminate shrinkage cavities at those locations. An automated CAE-based system designed risers and chills by identifying hot spots in a steel casting. When the sample was poured and dissected, the results showed no shrink defects. This empirically demonstrates that positioning risers and chills at hot spots effectively eliminates shrinkage cavities. Simulation results from sand casting studies of wind turbine cover parts confirm this. The correct number, size, and location of chills and risers directly influences mold filling smoothness and reduces shrinkage cavities. The evidence is clear that these elements control where solidification shrinkage occurs. The localized pattern confirms a shrinkage issue.

    So here is the rule. Random, scattered round pores point to a gas issue. Localized, clustered angular voids point to shrinkage. Use both clues together. You get a fast, accurate answer without advanced testing. This saves time and money on the foundry floor. Apply this framework to every void you find during your inspection. Your diagnosis becomes faster and more accurate with practice.

    Defining the Defects: Mechanisms of Formation

    To tell these voids apart, you first need to know why they form. The word "porosity" means any void in a casting. But gas porosity and shrinkage cavities come from very different physical processes. Learning the cause of each one helps you diagnose better. You will see why shape and location act the way they do.

    Gas Porosity: The Result of Trapped Gases

    Gas porosity begins when gas is dissolved in the molten metal. Hydrogen does this in aluminum alloys. Liquid aluminum can hold much more hydrogen than solid aluminum can at the melting point. This difference in solubility causes the whole problem. As the metal cools and starts to become solid, the liquid can no longer keep the hydrogen dissolved. The gas comes out of the liquid and makes bubbles. Those bubbles get trapped when the metal hardens around them. You get smooth, round pores scattered through the casting.

    Where does the hydrogen come from? Water vapor in the mold reacts with the aluminum. Dirty charge materials break down and release hydrogen too. Even a little moisture creates a measurable amount of gas. Foundries control this by adding hydrogen-free gases or by vacuum degassing. These methods remove the dissolved hydrogen before pouring. Without these methods, the gas stays in the liquid and causes problems later. Too much hydrogen can also create secondary pores, blisters, and damage during heat treatment. So the root cause is always the same: gas that was dissolved in the liquid and could not get out.

    Shrinkage Cavities: The Result of Volumetric Contraction

    Shrinkage cavities happen in a different way. No gas is involved. Instead, the problem is simple physics: metal gets smaller as it cools. When liquid metal becomes solid, it takes up less space than it did as a liquid. The solid metal front moves forward, but the remaining liquid cannot always fill the spaces that open up behind it. This creates a void that is like a vacuum. The metal actually pulls itself apart as it shrinks.

    Usually, aluminum alloys shrink by 6 to 8% (the exact rate depends on the alloy).

    That percentage may seem small, but it is enough to cause serious defects. The void forms in the last area to become solid, where liquid metal cannot reach. You see jagged, angular walls because the metal breaks along its grain boundaries. The shape shows the solidification pattern, not a bubble. That is why shrinkage cavities look branched and dendritic. They are a sign of a feeding problem, not a gas problem. Knowing this difference helps you pick the right fix every time.

    Visual Appearance: A Direct Comparison

    Visual Appearance: A Direct Comparison
    Image Source: pexels

    You have learned the quick clues. Now you need a deeper look. The visual differences between these two defects go beyond simple shape. Surface texture and internal structure give you definitive answers. These features remain visible even when the void sits deep inside the casting. You just need to know what to examine.

    Surface Texture and Wall Smoothness

    Run your finger along the inside of a void. You feel a clear difference immediately. One type has smooth walls. The surface feels glassy and clean. You might even see a slight oxidation layer that gives it a polished look. This smoothness tells you a bubble of gas created the void. The gas expanded evenly in all directions. It left behind a surface that feels almost slippery to the touch.

    The other type feels rough. The walls have a frost-like texture that resembles ice crystals. You can see and feel the jagged edges. This roughness comes from the metal tearing apart as it solidified. The void did not form from a bubble. It formed from a vacuum pulling the metal apart. That tearing action leaves behind a rough, irregular surface.

    The pores occurring in the preferred places have a rough-wall internal surface, while gas porosity has smooth-wall and blank internal surfaces.

    This texture difference gives you a reliable test. You can use a simple probe or borescope to check the wall surface. Smooth walls point to trapped gas. Rough walls point to shrinkage. The table below summarizes the key visual differences you will encounter during inspection.

    Feature

    Gas Porosity

    Shrinkage Porosity

    Shape

    Round, spherical, oval, or pear-shaped

    Angular, elongated, or dendritic (branching)

    Surface texture

    Smooth and oxidized, glassy appearance

    Rough and frost-like, resembling ice crystals

    Distribution

    Isolated and scattered, not connected

    Networked and interconnected, forming chains

    Edge character

    Soft, rounded edges

    Sharp, angular edges

    Typical location

    Upper and mid-sections of casting

    Thick sections and hot spots

    Internal Morphology and Dendritic Features

    Look deeper into the void structure. You will see another distinguishing feature. Gas porosity appears as isolated bubbles. Each pore stands alone. You do not see connections between them. They look like individual spheres scattered through the metal matrix. Under magnification, the internal walls remain smooth and featureless. No branching patterns appear inside these round voids.

    Shrinkage cavities tell a different story. They form networks. You see elongated channels that connect to each other. The structure branches like a tree or a river delta. These dendritic features appear because of how the metal solidified. As the last liquid metal cooled, it formed crystalline arms. These arms grew into the empty space. The result looks like a frost pattern on a window.

    Solidification of the adjacent spots to shrink porosity develops dendritic formation. It features sufficient empty dendrite spaces to let the gas or liquid make it through the atmosphere. This means you might see secondary features inside a shrinkage cavity. The dendrites create pathways that connect the void to other areas of the casting.

    You can see these features with a simple magnifying glass. For smaller voids, use a microscope. The dendritic structure appears as branching, tree-like patterns. Gas porosity shows no such patterns. The internal surface stays clean and blank. This distinction becomes critical when you need to confirm your diagnosis before choosing a fix.

    The shape of the void also matters. Shrinkage cavities have sharp, angular edges. They do not curve smoothly. You see corners and points where the metal fractured. Gas porosity has soft, rounded edges. The transition from void to solid metal happens gradually. These edge characteristics remain visible even after machining or surface treatment.

    Use these visual cues together. Check the wall texture first. Then examine the internal structure. Smooth walls with no branching mean gas. Rough walls with dendritic patterns mean shrinkage. This two-step examination gives you confidence in your diagnosis. You avoid the costly mistake of applying the wrong solution to the wrong problem.

    Location and Distribution Patterns

    Shape gives you the first clue. Location confirms it. Where voids appear in a casting tells you almost as much as how they look. You need both pieces of information for a confident diagnosis. The distribution pattern acts like a fingerprint for each defect type.

    Gas Porosity: Location Patterns

    Gas porosity scatters without logic. You find these round voids in no particular arrangement. They appear on the surface or deep inside the casting. They show up near cores and in blind pockets. They cluster where two metal fronts meet during pouring. The distribution looks uniform across the entire part. No single region attracts more pores than another.

    Regions with material accumulation, wall thickness transfer points and areas in the proximity of gates are particularly prone to porosity.

    This pattern makes sense when you think about the cause. Dissolved gas exists throughout the liquid metal. When solidification begins, bubbles form wherever the metal reaches the critical temperature. That happens everywhere at once. So you see pores spread randomly through the casting. Some specific areas do attract more attention:

    • Thick sections

    • Abrupt changes in wall thickness

    • Sharp edges

    These locations trap gas more easily. The metal cools unevenly there. But the overall signature remains random. If you see scattered, isolated round pores with no pattern, you are looking at gas porosity.

    Shrinkage Cavities: Location Patterns

    Shrinkage cavities tell a different story. They follow the rules of solidification. They appear exactly where the metal solidifies last. You find them in heavy sections that hold heat longer. They cluster near risers that failed to feed properly. They show up at internal corners where liquid metal cannot flow easily. These locations share one feature: they are the hot spots of the casting.

    The localized pattern gives you a strong diagnostic signal. Shrinkage voids do not scatter randomly. They group together in specific regions. You can predict where they will appear before you even cut open the casting. This predictability makes them easier to identify than gas pores.

    Here is a critical insight that many inspectors miss. A shrinkage cavity creates a local pressure drop. The vacuum pulls dissolved gas out of the surrounding liquid metal. This secondary gas then forms small round pores inside the angular shrinkage void. You end up with both defect types in one location. The jagged cavity contains smooth bubbles within its walls. Do not let this confuse you. The primary defect remains shrinkage. Fix the feeding problem first. The secondary gas porosity often disappears once you solve the shrinkage issue.

    Root Causes: Gas Porosity vs. Shrinkage

    Knowing why each defect forms helps you choose the right fix. You cannot solve a problem you do not understand. Gas porosity and shrinkage cavities come from very different root causes. One starts with contamination. The other starts with poor solidification design.

    Sources of Gas in the Mold and Melt

    Gas porosity begins when unwanted gas enters your molten metal. Moisture tops the list. Wet sand, damp ladles, and humid furnace air all bring in water vapor. That vapor breaks apart at high heat and releases hydrogen. Hydrogen dissolves easily into liquid aluminum or steel. When the metal cools, the hydrogen cannot stay dissolved. It forms bubbles that become round pores.

    Your charge materials also hide risks. Dirty scrap, foundry returns with sand, and oily turnings all break down during melting. They release hydrogen and other gases straight into the melt. Even your tools add to the problem. Scrapers, skimmers, and ladles with oxide buildup pull moisture from the air. Touching the melt with a damp tool creates an instant gas source.

    Poor degassing makes things worse. If you skip inert gas flushing or use too little, dissolved gas stays in the melt. Turbulent pouring also traps air. When you pour aggressively, you fold air into the metal stream. That air cannot escape before solidification. The result is scattered, smooth-walled pores throughout your casting.

    Causes of Inadequate Feeding and Solidification

    Shrinkage cavities trace back to a different issue: you failed to feed the solidifying metal. As liquid metal cools, it contracts. The solid outer shell forms first. The still-liquid interior needs fresh metal to fill the space left by contraction. If that feed metal cannot reach the shrinking region, a void forms.

    Poor riser design causes most shrinkage problems. Risers act as reservoirs of liquid metal. If you make them too small, they freeze before the casting does. If you place them wrong, they cannot feed the hot spots. Bad gating creates similar issues. A gate that chokes off flow starves the casting of feed metal during solidification.

    Pouring temperature plays a smaller role than many think. A full-factorial experiment covering 30 combinations showed that changing pouring temperature between 1350°C and 1400°C had a tiny effect, under 2% impact on shrinkage volume. However, very high pouring temperatures disrupt the heat gradient in the mold. This uneven heat distribution directly promotes shrinkage pore formation. So while temperature rarely causes the problem alone, too much heat can push a borderline design over the edge.

    Detection and Identification Methods

    You have several ways to find out which defect you have. Start with simple methods that cost nothing. Then use advanced tools only when you need a clear answer. Each method builds on the last one. Together, they give you a full picture of the void.

    Visual Inspection and Fracture Testing

    Begin with your eyes. A bright light and a magnifying glass show you a lot about a void. Look at the walls. Smooth, round surfaces mean trapped gas. Rough, jagged edges mean shrinkage. You can often make a confident call right here. You need no equipment beyond your own vision.

    For internal voids, you need a different approach. Cut the casting open along the area you think has the defect. Use a band saw or a cutoff wheel. Then look at the exposed surface. You will see the void clearly against the machined metal. This method works well for small castings or when you can spare a sample part.

    Fracture testing gives you even more information. Score the casting near the void with a hacksaw. Then break the part along that line. The broken surface shows the internal structure. Round, smooth pores appear as clean circles. Shrinkage cavities show rough, crystal-like faces. You can see the dendritic branches with your naked eye. This test takes minutes and needs only basic tools.

    A fracture test often answers the question faster than any expensive equipment. The broken surface tells the story clearly.

    Advanced Techniques: Radiography and Microscopy

    Sometimes visual methods leave doubt. Small voids hide deep inside thick sections. You cannot reach them with a saw. Radiography solves this problem. X-ray imaging shows the overall shape of every void in the casting. Round, separate circles appear for gas-related defects. Irregular, branching networks show up for shrinkage. You get a complete map without destroying the part.

    Microscopy takes you one step further. A metallurgical microscope shows the internal structure of the void walls. You see the dendritic features that confirm shrinkage. You also see the smooth, blank walls that confirm gas porosity. This level of detail removes all guesswork.

    Statistical analysis adds another layer of certainty. Researchers use nearest-neighbor analysis to tell the two defect types apart in a sample. This method measures the distance between pores. Gas porosity pores sit far apart from each other. Shrinkage pores cluster close together. The math confirms what your eyes already suspect. You get a number-based answer instead of a visual guess.

    Use these methods in order. Start with visual inspection. Move to fracture testing when needed. Bring in radiography and microscopy for final confirmation. This step-by-step approach ensures you never misdiagnose a void again.

    Prevention Strategies for Each Defect

    You now know how to spot both defect types. The next step is stopping them before they start. Each defect needs a different prevention approach. Gas problems mean you must control the melt and the mold. Shrinkage problems mean you must control solidification. You can solve both with the right strategy.

    Controlling Gas: Degassing and Mold Venting

    You control gas porosity by removing dissolved gas before pouring. Degassing is your first line of defense. You flush an inert gas through the molten metal. This process carries hydrogen out of the melt. You can also use vacuum degassing for the same result. Both methods lower the dissolved gas to safe levels.

    Your mold also needs attention. Moisture in the sand creates steam when hot metal touches it. That steam breaks down and releases hydrogen. You must dry your molds fully before pouring. You also need proper venting. Vents give trapped gases a path to escape. Without vents, gas builds up pressure and pushes into the metal. Place vents at the highest points of the mold. These spots collect gas naturally. You also want vents near cores and deep pockets where gas tends to gather.

    Your charge materials matter too. Dirty scrap and oily turnings release gas when they melt. Clean your charge materials before adding them to the furnace. Keep your tools dry. A damp skimmer or ladle adds moisture directly into the melt. These small habits stop gas problems before they start.

    Controlling Shrinkage: Riser Design and Chills

    Shrinkage prevention starts with your casting design. You need a feeding system that keeps liquid metal flowing until solidification finishes. Risers act as reservoirs of hot metal. They feed the casting as it shrinks. You must design them correctly for them to work.

    Follow these design principles when you plan your casting:

    • Keep wall thickness uniform throughout the design to avoid defects like segregation, porosity, and stress concentration.

    • Use fillets (rounded radii) instead of sharp corners to prevent shrinkage cavities and voids.

    • Locally thicken critical load-bearing areas, but ensure these sections are supported by an effective feeding system with properly designed risers.

    • Design the gating system (sprues, runners, risers) to promote directional solidification, so that areas near risers solidify last and minimize shrinkage defects.

    You also need to apply the Heuvers circle method. This technique ensures every cross-section of the casting connects to an equally sized or enlarging riser. Liquid metal can then feed solidifying sections without interruption. Aim for consistent wall thickness to minimize the number of risers and improve yield. In unavoidable material accumulations, extend the cross-section to create a riser attachment point. Avoid thick-walled sections and junctions. Prefer ribs over cavities to reduce feeding problems. Combine closely positioned offset faces into a single surface to simplify feeding.

    Chills work alongside risers. They speed up cooling in specific areas. This action creates the directional solidification you need. Place chills at hot spots to pull heat away faster. The metal solidifies in the right order, and shrinkage cavities never form.

    Start with shape. Round and smooth means gas porosity. Jagged and angular means shrinkage. This rule never fails you.

    Then check location. Random scatter points to gas. Localized clusters point to shrinkage. These two clues together give you a confident answer.

    Follow a systematic path: observe, analyze, act. This approach prevents wasted effort on the wrong fix.

    Remember, these defects can interact. A shrinkage cavity pulls gas from the melt, creating secondary pores inside. Fix the shrinkage issue first. The gas porosity often disappears with it.

    Apply this framework to your next casting inspection. Share your findings with your team. You will save time, money, and frustration on every pour.

    FAQ

    Can a casting have both gas porosity and shrinkage cavities at the same time?

    Yes, both defects can show up in one casting. A shrinkage cavity makes a vacuum that pulls dissolved gas from nearby metal. That gas forms small round pores inside the jagged shrinkage void. Fix the shrinkage issue first, and the extra gas pores often go away.

    How quickly can I identify the defect type without special equipment?

    You can make a sure diagnosis in seconds. Use a bright light and magnifying glass to check the void shape. Round, smooth walls mean gas porosity. Jagged, angular edges with rough surfaces mean shrinkage. Then look at where the defects sit to confirm your answer.

    Why do shrinkage cavities appear branched and dendritic?

    The branching pattern shows how the metal solidified. As the last liquid metal cooled, it made crystalline arms that grew into the open space. Those arms formed tree-like shapes you can see with a microscope. Gas porosity never shows this pattern because bubbles expand evenly in all directions.

    Does pouring temperature cause shrinkage cavities?

    Pouring temperature has a small effect. Studies show that changing temperature between 1350°C and 1400°C changes shrinkage volume by less than 2%. But very high pouring temperatures disrupt the heat gradient in the mold. That uneven heat distribution can promote shrinkage pore formation in borderline designs.

    What is the most common mistake inspectors make when identifying voids?

    Inspectors often mistake secondary gas pores inside a shrinkage cavity for a primary gas problem. They see round bubbles and treat the issue as trapped gas. The angular cavity walls around those bubbles reveal the truth. Always examine the overall void shape before deciding on a fix.

    See Also

    Understanding Shrinkage Porosity Causes in Metal Casting Processes

    Exploring Cavity Mold Functionality in Modern Manufacturing Operations

    Distinguishing Inert From Reactive Molds: Essential Differences Explained

    Explaining Casting Shrinkage and Machining Allowances in Production

    Pre-Production Inspection and Testing Procedures for Die Casting Molds

    About Hunan Puka

    Established in 2016 and based in Hunan, China, with a liaison point in Berlin, we are a Tier 2 supplier for the automobile industry. We specialize in the production of customized aluminum die-casting parts designed for machines with a closing force ranging from 280 to 1250 tons, with subsequent manufacturing process CNC machining and surface treatment. Our commitment to quality is reflected in our accredited quality management system, certified by ISO9001:2015 and IATF16949:2016 standards.