Die Casting: Process, Alloys, Tolerances & Design Rules
Die casting forces molten metal into a steel die for high-volume near-net parts. Learn hot- vs cold-chamber, alloys, tolerances, and design rules.
Die casting forces molten metal under high pressure into a steel mold, called a die, where it solidifies into a complex, near-net-shape part. It is a high-volume process: the die is expensive to build but lasts for tens or hundreds of thousands of parts, so the per-part cost at volume is very low, which makes die casting the standard for producing large quantities of metal components with complex geometry. As a process within extended manufacturing, die casting sits alongside injection molding as a near-net-shape route that trades high tooling cost for low per-part cost, and it competes with machining where volumes are high enough to justify the tooling.
The common die-cast alloys are zinc (Zamak), aluminum (A380, ADC12), and magnesium, each chosen for a balance of castability, strength, weight, and cost. Zinc casts to the finest detail and thinnest walls and plates readily, which suits small, precise, decorative parts. Aluminum is lighter and stronger, suited to structural and thermal parts like housings and heat sinks. Magnesium is the lightest structural metal, used where minimum weight matters. The alloy choice, along with the part’s design, sets what the die can produce and how the part performs.
How die casting works
Die casting has two main variants, hot-chamber and cold-chamber, suited to different alloys. The variants and the die itself below cover how the metal gets into the cavity and how the die is built.
Hot-chamber and cold-chamber variants
In hot-chamber die casting, the injection mechanism sits in a bath of molten metal, and a piston forces the metal through a gooseneck and nozzle into the die. This fast cycle suits metals with low melting points that do not attack the immersion equipment, primarily zinc and magnesium. In cold-chamber die casting, molten metal is ladled into a separate injection chamber, and a piston forces it into the die; this suits higher-melting alloys like aluminum that would dissolve or erode a hot-chamber immersion system. Both inject the metal under high pressure, typically tens to hundreds of megapascals (roughly 1,500 to 20,000 psi), which fills the die’s fine details quickly before the metal solidifies.
The die and the cycle
The die itself is a precision assembly of hardened tool steel, in two halves that close and clamp under high force during injection. The die contains the part’s cavity, the runners and gates that deliver metal, the cooling channels that manage solidification, and the cores and slides that form internal features and undercuts. After the metal solidifies, the die opens, ejector pins push the part out, and the cycle repeats, often in seconds for zinc parts. The trim, the removal of runners, gates, and flash, is a secondary step, and many die castings then move to machining, finishing, or assembly. The speed of the cycle, often hundreds of parts per hour on a zinc machine, is what gives die casting its low per-part cost at volume.
The alloys
The die-cast alloys differ in castability, properties, and cost, and the choice follows the part’s needs. Zinc alloys, the Zamak 3 and 5 grades, have low melting points and excellent fluidity, so they cast to the finest detail and thinnest walls, and they plate readily for decorative finishes; their trade-off is weight, since zinc is denser than aluminum. Aluminum alloys, A380 and ADC12, are the structural and thermal choice, lighter than zinc and strong enough for housings, brackets, and heat-dissipating parts, though their higher melting point requires cold-chamber casting and limits thin-wall detail compared to zinc. Magnesium alloys are the lightest practical structural die-cast metal, used where weight is critical, with castability similar to aluminum and the added need for safe handling of magnesium dust. Each alloy sets the part’s achievable wall thickness, detail, and mechanical properties.
Tolerances
Die casting holds tolerances tighter than many expect for a casting process, but looser than machining. The as-cast ranges and the machining pattern below cover what the die alone can hold and where post-cast machining takes over.
As-cast tolerance ranges
As-cast tolerances run about ±0.05 to 0.25mm, depending on the part size and on how the dimension relates to the die’s parting line and moving cores. Dimensions within one die half hold tightest, because they are defined by a single piece of steel; dimensions across the parting line or between moving cores run looser, because they include the variation in die closure and core position. The feature’s location in the die, more than the die’s overall precision, sets what the as-cast process can hold.
Machining critical features
Where a feature needs a tighter tolerance than the as-cast process can hold, it is machined after casting, with threads, tight-tolerance bores, and flat mating faces commonly machined to bring them to specification. This mix of as-cast bulk and machined precision is the standard pattern in die-cast parts that need both complex geometry and a few critical dimensions. Machining stock is left on those features in the die design, so the machining cut has material to work with.
Porosity, quality, and inspection
Die castings can contain porosity, small voids from gas trapped during the high-pressure injection or from shrinkage during solidification, and managing porosity is a central concern of die-cast quality. The porosity sources and the inspection methods below cover what causes voids and how they are caught.
Gas and shrink porosity
Gas porosity comes from air or vapor trapped in the die, controlled by venting, vacuum assistance, and careful injection profiles. Shrink porosity comes from the metal contracting as it solidifies, controlled by feeding extra metal under pressure during solidification (pack pressure) and by designing the part with uniform walls that solidify evenly. Porosity matters most where the part must hold pressure, be machined deeply, or meet a cosmetic surface standard, since a pore breaking the surface causes a defect or a leak, and die castings destined for those duties are designed and processed to minimize it.
Dimensional, surface, and internal inspection
Inspection of die castings checks dimensions, surface quality, and internal soundness against the specification. Dimensional inspection confirms the part meets the as-cast tolerances and the machined features meet their tighter specs. Visual and surface inspection checks for defects like cold shuts, sinks, flash, and porosity breaking the surface. For critical parts, X-ray or computed tomography inspects internal porosity and soundness, and pressure-tightness testing checks parts that must hold fluid. The inspection is matched to the part’s duty, with critical and safety parts receiving more thorough testing than commodity hardware, and the results feed back into die and process refinement to reduce defects over the production run.
Die design, simulation, and refinement
Die design is where most of a die-cast part’s quality and cost are determined, and it has grown into a sophisticated engineering discipline. Modern die design uses casting simulation software to model the flow of metal into the die, the solidification, and the cooling, predicting where porosity, cold shuts, and distortion will occur before any steel is cut. The simulation lets the engineer optimize the gating, the runners, the overflow wells, and the cooling channel layout to fill the die cleanly and solidify the part evenly, reducing the iterations needed in physical tooling. A well-designed die, refined through simulation and a few physical tryouts, produces sound parts from the first runs, while a poorly designed die produces defects that take many costly iterations to correct.
The die is also refined over the production run, as the casting engineer tunes the process to reduce defects and improve yield. Injection pressures and speeds, die temperatures, lubrication, and timing are adjusted to optimize the fill and the solidification for the specific part. Cooling channels may be modified to balance the die temperature, and gating may be tweaked to improve flow. This refinement, called die tryout or process optimization, is part of bringing a die-cast part into full production, and it is where the die and the process are matched to produce sound parts consistently. The investment in die design and refinement pays back over the die’s life in higher yield and lower per-part cost, which is why die engineering is treated as carefully as the part design itself.
Worked examples
The examples below show how the alloy choice, tolerance behavior, and post-cast machining on this page play out on real parts.
Example: zinc decorative hardware
A small decorative fitting, plated for a bright finish, needs fine detail and thin walls at high volume. A Zamak zinc alloy suits it, since zinc casts to the finest detail and thinnest walls (0.6 to 1.0mm) and plates readily for the decorative chrome look. The hot-chamber process runs the part at hundreds of cycles per hour, and 1 to 3 degrees of draft lets it eject cleanly from the die. The as-cast tolerance of ±0.05 to 0.25mm is good enough for the cosmetic surfaces, and the fitting moves to plating after a trim and tumble.
Example: aluminum structural housing
An electronic housing needs a lighter, stronger part with a few machined features. An A380 aluminum alloy is chosen for its strength and thermal behavior, cast by the cold-chamber process with uniform walls at 1.0 to 1.5mm. The as-cast body holds the bulk of its dimensions to ±0.05 to 0.25mm, while the threaded mounting bosses and the flat mating face are machined after casting, since the as-cast process cannot hold the tighter bore and flatness tolerances those features need. The result is a strong, light housing whose complex geometry comes from the die and whose critical features come from post-cast machining.
When not to use die casting
Die casting is the wrong choice at low volume, because the tooling cost does not amortize over a small number of parts. For hundreds of parts or fewer, CNC machining, investment casting, or another process with lower tooling cost is cheaper per part. Die casting is also wrong for parts that need properties the die-cast alloys cannot provide, like the highest strength or temperature resistance of forged or machined steel, or for parts whose geometry cannot be cast, like those with severe undercuts or internal cavities a core cannot form. And for very large parts beyond the capacity of die-cast machines, sand or investment casting takes over. Die casting earns its place at high volume, for complex near-net metal parts in zinc, aluminum, or magnesium, where its low per-part cost and complex geometry capability justify the tooling investment.
Applications
Die-cast parts include automotive and machinery housings, brackets, and covers; consumer electronics housings and heat sinks; power-tool and appliance components; hardware, fittings, and decorative trim; and toys and consumer goods in zinc. The common thread is a metal part with complex geometry needed at high volume, in an alloy die casting handles well, at a tolerance the as-cast process delivers or that machining brings to spec. For these applications die casting is the standard high-volume process, and its combination of complex geometry, good surface, and low per-part cost is why it produces many of the metal parts in everyday products.
Design rules for die-cast parts
The design rules for die-cast parts group into the geometry that lets the part eject and fill cleanly, and the planning for cores and machined features.
Draft, walls, and radii
Provide draft on all faces parallel to die movement, typically 1 to 3 degrees, so the part ejects cleanly without binding or damaging the die. Keep walls uniform, about 1.0 to 1.5mm minimum for aluminum and 0.6 to 1.0mm for zinc, since uniform thickness avoids shrink cavities, sink, and warpage as the part solidifies. Add radii to all corners, because sharp corners cause stress concentration and poor metal flow, while fillets improve both and help the metal fill the die.
Undercuts, cores, and machining stock
Avoid undercuts where possible, since undercuts need moving cores or slides in the die, which add cost and complexity, so design them in only where function requires. Design cores and slides deliberately, because internal features and side holes need cores or slides that move with the die cycle, so plan them to function reliably over thousands of cycles. Plan for machining stock on critical features, leaving material on threads, bores, and mating faces that will be machined after casting, so the machining can bring them to tolerance.
Tooling and die life
The die is the largest single cost and the longest-lead-time item in die casting, and its design and construction set the part’s quality and the process’s economy. A die is built from hardened tool steel, machined to the part’s cavity with precision, and fitted with cores, slides, ejectors, runners, and cooling channels. It must survive tens or hundreds of thousands of high-pressure, high-temperature injection cycles, so its material, heat treatment, and maintenance determine its life. Aluminum die casting wears dies faster than zinc, because of the higher temperature and the erosion of the aluminum alloy, so aluminum dies are built more heavily and may be treated or coated to extend life. The tooling cost amortizes across the parts the die produces, which is why die casting pays only at sufficient volume, and why die design, done well, lowers the per-part cost over the die’s whole life.
Trimming and secondary operations
After casting, a die-cast part carries runners, gates, overflow wells, and some flash, which must be trimmed off. Trimming is usually done in a trim die on a press, which shears the excess material cleanly while the part is held in a locating fixture. After trimming, the part may move to secondary operations: machining of critical features, deburring, surface finishing such as powder coat or plating, and assembly. The as-cast surface of a die casting is generally good enough for many non-critical surfaces, but visible or functional surfaces often need finishing. Planning the secondary operations as part of the process, rather than discovering them after casting, is part of producing a die-cast part economically and to specification.