CNC Machining Cost Calculator
Estimate the per-part cost of a milled or turned part: material, machining time, setup amortization and tooling. Built for judging whether a machine shop's quote is plausible before you negotiate.
Total time per part — min (cutting + amortized setup)
Accuracy: ±30%. Machining cost depends heavily on the programmer, the fixture and the machine, far more than on geometry. Removal rate is a mid-range shop value, not a theoretical peak. Finishing operations, heat treatment, inspection and packaging are not included.
How the estimate is built
- Material — charged on the stock volume, not the finished part. The chips you remove were paid for at the same price as the part.
- Machining time — removal volume divided by material removal rate (MRR), plus setup time amortized over the batch. This is why batch size matters so much: 60 minutes of setup over 100 parts is 0.6 min each, over 5 parts it is 12 min each.
- Tooling — consumable cutters per part. For hard materials this is often the item that surprises buyers.
Formula
stock_weight_g = stock_volume_cm3 × density
material = stock_weight_g / 1000 × price_per_kg / (1 − scrap_rate)
cutting_min = removal_volume_cm3 / mrr_cm3_per_min
setup_min = setup_minutes × setups / batch_size
minutes = cutting_min + setup_min
machining = minutes / 60 × machine_rate_per_hour
total = material + machining + tooling Inputs explained
| Input | Meaning | Typical range |
|---|---|---|
| Stock volume | Raw block/billet before machining | 5–2000 cm³ |
| Removal volume | Stock minus finished part | 20–80% of stock |
| Setup time | Clamping, zeroing, tool changes per fixturing | 15–60 min |
| Setups | How many times the part is re-fixtured | 1–4 |
| Machine rate | 3-axis: ¥80–150/h, 5-axis: ¥200–400/h | 80–400 ¥/h |
| Tooling | Cutters consumed per part | ¥1–30 |
Worked example
6061 aluminium, 200 cm³ stock, 120 cm³ removed, 2 setups of 30 min, ¥120/hour, ¥5 tooling, 2 % scrap, batch of 100:
| Material (540 g @ ¥25/kg) | ¥13.78 |
| Machining (3.0 min cutting + 0.6 min setup) | ¥7.20 |
| Tooling | ¥5.00 |
| Total | ¥25.98 per part |
Change the batch to 5 parts and the setup term alone becomes 12 minutes per part: the same part costs over ¥55. Batch size, not the drawing, is usually what makes a quote look wrong.
What this does not include
- Surface treatment: anodizing, plating, painting, passivation
- Heat treatment and stress relief
- Inspection, CMM reports, material certificates
- Programming, CAM time and fixture fabrication
- Packaging, freight, overhead and margin
FAQ
Why does my quote differ by more than 30 %?
Machining is the most shop-dependent of the common processes. The same drawing can legitimately cost 2× more at a shop with older machines, manual programming, or a fixture that has to be built from scratch. Compare the machine rate and setup time assumptions before doubting the model.
Should I enter stock volume or finished volume?
Both matter, separately. Material is charged on stock; machining time is driven by the difference. Entering the finished volume as stock is the most common way to under-estimate cost by 30–60 %.
How do I estimate removal volume?
From CAD: stock bounding box minus part volume, plus holes and pockets. For a quick check, simple prismatic parts typically remove 40–70 % of stock; thin-walled parts can exceed 80 %.
Does this work for turning or EDM?
The model is generic for material removal. Turning is close enough; EDM and wire-cutting are much slower per cm³ and need their own removal rates — do not use the milling values.