Independent CNC machining knowledge for global buyersB2B Network
CNC Machining Hub
Design for Manufacturability

CNC Milling vs Casting: Which is Better for Your Part

Published 9 min read

A CNC milling machine cutting a metal block during manufacturing
Quick answer

CNC milling suits complex geometry and tight tolerances on existing stock. Casting suits high-volume, complex shapes with looser tolerances. Choose based on part volume, material, and quality requirements.

Key takeaways
  • CNC milling removes material from solid stock, making it ideal for tight tolerances and complex features on existing parts.
  • Casting forms material into shape, making it better for high-volume production of parts with complex internal or external geometry.
  • Cost per unit drops significantly with casting at scale, while CNC milling remains cost-effective for low volumes and prototypes.
  • Tolerance and surface finish requirements often decide the final choice.
  • DFAM checks, such as avoiding undercut features in machined parts, can save money before production starts.

Which process removes or adds material

CNC milling removes material from solid stock. The machine uses rotating cutting tools to subtract metal, plastic, or other material until the part reaches its final shape. The workpiece sits in a vise or fixture, and the tool follows a programmed path. Each pass takes a small chip away from the surface. The operator or the control system monitors the depth of cut, the feed rate, and the spindle speed.

Casting adds material by pouring liquid into a mold and allowing it to solidify into the desired form. The liquid flows into the cavity and fills the space between the mold walls. Once the material cools, it takes the shape of the mold. The part is removed from the mold, and the core pieces are broken away if internal channels were formed.

This difference shapes everything downstream. A machined part starts as a block or bar and ends as a part. A cast part starts as liquid and ends as a part. The starting point changes tooling, cycle time, material cost, and inspection needs.

A typical example is a housing. A machined housing may be milled from a bar of aluminum. The bar is held in a three-jaw chuck or a four-sided vise. The machine cuts the outside diameter, then the face, then the internal bore. A cast housing may be poured into a sand or investment mold. The sand mold is made from a pattern that represents the part. The metal is heated in a crucible, poured into the sand, and solidifies.

Both can look similar on a 3D model, but the manufacturing path differs. The machined housing requires a clean bar of stock. The cast housing requires a mold that holds its shape under heat and pressure. The machined part may have a uniform grain structure from the bar. The cast part may have directional grain flow that affects strength.

Another example is a valve body. A machined valve body starts as a billet. The machine mills the ports and the mounting flange. A cast valve body starts as molten bronze or iron. The liquid flows into the mold and forms the complex internal passages. The cast version allows for more complex internal geometry without multiple machining operations.

The choice between these two paths is not just about the final shape. It is about how you get to that shape.

Cost structure for cnc milling vs casting

Cost behavior differs by volume. CNC milling charges per setup, per tool, and per minute of machine time. The shop pays for the operator, the machine hour, the tooling, and the stock. If the part takes two hours to machine, the labor and machine costs are significant.

Casting charges per mold creation, per pour, and per inspection. The mold is a capital investment. It can be made of steel, aluminum, or ceramic. A steel mold is expensive but lasts for many thousands of pours. A ceramic mold is cheaper but wears out faster.

For low volumes, CNC milling usually wins on cost. There is no mold to build. The part can be cut from stock directly. The machine runs, the part comes off, and the process is complete. A shop can start machining a new part design within a day or two, depending on the complexity of the CAM program.

For high volumes, casting can become cheaper per unit. The mold cost is spread across many parts. One cast part may cost less than one machined part when thousands are needed. However, the mold must be built, maintained, and eventually retired. A steel mold can cost several times the cost of a machined part. But if that mold runs for ten years and produces a million parts, the per-unit cost drops significantly.

A practical rule is to compare total cost, not unit cost alone. Include setup, tooling, molds, scrap, and inspection. A machined part with tight tolerances may require more inspection. A cast part with porosity may require more rejection.

Consider a bracket. If you need ten brackets, milling is likely cheaper. You pay for the setup and the machine time. If you need ten thousand brackets, casting may be cheaper. The mold cost is high, but the per-unit machining time is low.

Scrap also matters. In milling, if the part is scrapped, you lose the cost of the stock and the machine time. In casting, if a part is scrapped, you lose the material cost and the pour time. Casting often produces smaller defects that can be repaired or trimmed. Milling produces clean parts, but if a tool breaks, the part is often scrapped.

Accuracy and surface finish

CNC milling delivers tighter tolerances. A well-run machine can hold features within a few microns. The precision depends on the machine’s backlash, the tool’s runout, and the operator’s setup. A five-axis milling center can hold features to a few microns easily. A basic three-axis mill may hold to a few tens of microns.

Casting tolerances are looser. The mold itself has thickness and wear. The material shrinks as it cools. The final part often needs finishing to reach drawing requirements. Casting tolerances are typically measured in tenths of a millimeter or millimeters, depending on the mold quality and the material.

If the drawing calls for a flatness tolerance of a few microns, milling is the straightforward path. If the drawing allows a few millimeters of variation, casting may be acceptable.

Surface finish matters in some applications. A machined surface can be smooth enough for assembly without further work. A cast surface often needs machining, grinding, or polishing to remove mold texture and scale.

In milling, the surface finish is determined by the tool geometry, the feed rate, and the speed. A sharp tool at high speed produces a smooth finish. A dull tool at low speed produces a rough finish. In casting, the surface finish is determined by the mold surface and the material flow. A smooth mold produces a smooth part. A rough mold produces a rough part.

A machined part may have a consistent grain direction if made from a bar. A cast part may have a directional grain flow that affects strength. If the part is a structural component, this grain flow matters.

Material selection and part geometry

Casting works with metals that pour well. Aluminum, iron, and some alloys behave predictably in a mold. The liquid fills the cavity and solidifies. Aluminum is easy to cast because it has low viscosity. Iron is harder to cast because it has high viscosity and requires high temperatures.

Milling works with a broader range of materials, but material hardness matters. Soft aluminum mills quickly. Hard tool steel mills slowly and wears tools. Some materials are simply difficult to machine because they are brittle or abrasive.

Geometry drives the choice. A part with deep cavities, thin walls, or internal channels is easier to cast. A part with fine features, threads, or complex contours on an existing stock may be easier to mill.

A common mistake is choosing a process without checking the part design. Thin walls in a cast part may crack. Undercuts in a machined part may require multi-axis moves or fixtures. Review the geometry before locking in the process.

Consider a manifold. A cast manifold can have complex internal passages that connect multiple ports. Milling a manifold with such passages would require multiple drilling and milling operations, which is slow and expensive. The cast manifold is formed in one pour.

Consider a gear. A machined gear has precise tooth profiles. A cast gear may have a rougher profile that needs finishing. If the gear needs high precision, milling is better. If the gear is large and low speed, casting may be better.

Production volume and lead time

CNC milling has short lead time for prototypes. No mold is needed. The part can be cut from stock within hours or days, depending on complexity. A simple bracket can be machined in a few hours. A complex housing may take a week.

Casting has longer lead time. The mold must be designed, built, and tested. The first cast part may need inspection. If defects appear, the mold may need correction. Building a steel mold can take several weeks. Building a ceramic mold can take a few days.

For prototypes, CNC milling is usually faster. For production, casting may be faster per part, but the overall timeline depends on mold readiness.

A good practice is to prototype in CNC first. If the part works, then evaluate casting for production. This reduces risk and avoids committing to a mold before the design is stable.

If the design changes after the mold is built, the mold is obsolete. If the design changes before machining, you only lose the stock and the machine time.

When to pick each process

| Option | Best for | Limitations |
| Option | Best for | Limitations |
| CNC Milling | Tight tolerances, low volume, prototypes, complex geometry on solid stock | Higher per-unit cost at scale, material removal limits, tool wear |
| Casting | High volume, complex shapes, internal channels, low tolerance needs | Longer lead time, mold cost, looser tolerances, finishing needed |
| Hybrid Approach | Production part with machined features on a cast body | Requires coordination between two processes, extra handling |
| 3D Printing | Very low volume, functional prototypes, complex internal structures | Material limits, surface finish, cost at scale |

Pick CNC milling when the part needs precision, small batch size, or rapid iteration. Pick casting when the part needs high volume, complex shape, or lower cost per unit. Pick a hybrid approach when the part has both cast and machined features.

DFAM checks before choosing

Before committing to a process, review the part design for manufacturability. Check wall thickness, draft angles, and feature depth. A thin wall in a cast part can crack. A deep pocket in a machined part can slow cycle time.

Check the material. Some materials are easy to cast but hard to machine. Some materials are easy to machine but not suitable for casting. The material choice should align with the process choice.

Check the tolerance stack-up. If multiple parts must assemble, the total variation matters. A cast part may need a machined finish face to ensure fit. A machined part may need a cast core if internal channels are required.

A simple checklist helps. List the top ten features that drive cost or function. For each feature, ask which process handles it best. Then decide.

Look for features that are difficult to access. In milling, deep narrow slots may require long tools that flex. In casting, deep narrow slots may fill poorly with the liquid. Both processes have limits.

Final selection checklist

  1. Define the part volume. Low volume favors milling. High volume favors casting.
  2. Define the tolerance. Tight tolerance favors milling. Loose tolerance favors casting.
  3. Define the material. Check which process suits the alloy or polymer.
  4. Define the geometry. Complex internal features favor casting. Fine external details favor milling.
  5. Define the budget. Compare total cost, not just per-unit cost.
  6. Define the timeline. Milling is faster for prototypes. Casting is faster at scale.

The answer depends on the part, not the process. A housing may be cast for production and milled for the first ten units. A bracket may be milled for prototypes and cast for long run production. The best choice is the one that fits the design, the volume, and the budget.

Frequently asked questions

Is CNC milling always more expensive than casting?

No. For low volumes, CNC milling is often cheaper because no mold is needed. For high volumes, casting can be cheaper per unit.

Can a part be both cast and machined?

Yes. Many production parts are cast for the base shape and then machined for precision features such as flat faces and holes.

What tolerance range does casting usually support?

Casting typically allows looser tolerances than milling. The exact range depends on the mold, material, and finishing.

How does material affect the choice between cnc milling vs casting?

Some materials pour well in a mold, while others machine well. The material choice should align with the process choice to avoid extra cost.

Should I always prototype in CNC before casting?

Yes, when possible. Prototyping in CNC helps confirm fit, function, and manufacturability before committing to a mold.