CNC Machining calculator
Machining Cost per Part Calculator
Spread a run's variable cost and one-time adders across every part. The per-part cost falls as the batch grows, because the adders stay flat in total.
What this calculator does
- Fully loaded machining cost per part from variable run cost plus setup, programming, fixture, inspection, and overhead adders.
Formula used
- Variable run cost = batch quantity × variable cost per part
- Adders = setup, programming, and fixture cost + inspection, handling, and overhead
- Total batch cost = variable run cost + adders
- Machining cost per part = total batch cost ÷ batch quantity
- Gap to target = target cost per part − machining cost per part
Inputs explained
- Batch Quantity: Parts in the run that absorb setup and fixed costs.
- Variable Cost per Part: Per-part run cost: material, machine time, tooling, coolant.
- Setup, Programming, and Fixture Cost: One-time setup, CAM programming, and fixture cost.
- Inspection, Handling, and Overhead: Inspection, deburr, handling, and overhead for the batch.
- Target Cost per Part: Quoted or budgeted cost per part for this job.
How to use the result
- Best suited to quoting a batch at volume, testing how lot size moves unit cost, checking a per-part cost against target.
- A first run often carries more setup than a repeat batch. Scrap and rework inside the batch are not separated here.
Current U.S. benchmarks
- The producer price index for steel mill products stands at 381.162 (BLS, Aug 2026), up 23.4% from a year earlier. Quotes priced off last quarter's material cost miss this move.
- The U.S. has 17,154 machine shops establishments employing about 223,303 workers (Census County Business Patterns, 2023).
Common questions
- Why does the per-part cost fall as the batch grows? The variable cost scales with every part, but the setup, programming, fixture, and inspection adders do not. A longer batch spreads those fixed adders over more parts, so each part carries less.
- What belongs in the variable cost per part? Run-time machine cost, material, standard tooling, coolant, and direct labor. Anything charged once per batch belongs in the adders instead.
- Is a bigger batch always cheaper per part? For this model, yes, because the adders spread further. Real limits include storage, cash tied up in inventory, and demand that may not absorb the whole run.
- Where does scrap enter this calculation? This model spreads cost over the parts in the batch, so expected scrap raises the effective cost per good part. Raise the variable cost per part to cover it, or use a good-part basis.
Related guides
Last reviewed 2026-10-01.