CNC Machining calculator
Machining Cost Per Part Calculator
Machining cost per part is the all-in cost to produce one finished part once you spread fixed setup and overhead across the whole batch. Estimators and shop owners use it to price jobs, decide minimum order quantities, and see how much of the price is fixed versus variable. It matters because the same part can cost wildly different amounts at quantity 10 versus quantity 1,000, since setup, programming, and fixturing are paid once but divided among every piece. Understanding this curve is the difference between winning a large order profitably and losing money on a small one.
What this calculator does
- Estimate machined-part cost from batch quantity, variable cost per part, setup cost, and machining labor or overhead adders.
- quoting machined parts, checking routing standards, or comparing lot sizes and process alternatives
- It computes the true per-piece cost of a machined batch by adding variable run cost across all parts to one-time setup and overhead adders, then dividing the total by quantity.
Formula used
- Total machining batch cost = quoted or produced part quantity × variable machining cost per part + setup, programming, and fixture cost + inspection, handling, and overhead adder
- Machining cost per part = total machining batch cost ÷ quoted or produced part quantity
Inputs explained
- quoted or produced part quantity: Use the batch size, order quantity, or good-piece quantity that will absorb setup and fixed costs.
- variable machining cost per part: Include run-time machine cost, material, standard tooling, coolant, and direct labor assigned per part.
- setup, programming, and fixture cost: Include one-time setup, CAM programming, first article, fixture prep, or workholding cost for the batch.
- inspection, handling, and overhead adder: Include inspection, deburr, handling, packaging, or overhead not already included per part.
How to use the result
- Use it when quoting a job, setting a minimum order quantity, or explaining to a customer why small batches carry a higher unit price.
- It assumes a single variable cost per part and lumped fixed costs, so it does not model scrap, rework, or learning-curve speedups across a long run.
Current U.S. benchmarks
- The producer price index for steel mill products stands at 348.53 (BLS, May 2026), up 6.7% 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
- How do you calculate machining cost per part? Multiply quantity by the variable cost per part, add setup and overhead adders, then divide by quantity. For 250 parts at $18.50 plus $650 setup and $275 overhead, total is $5,550, so $5,550 / 250 = $22.20 per part.
- Why does cost per part drop with higher quantity? Setup, programming, and fixturing are paid once no matter how many parts you make. Spread $925 of fixed cost over 250 parts and it adds $3.70 each; spread it over 1,000 parts and it adds only $0.93, so the unit price falls.
- What is a good machining cost per part? It depends entirely on part size, material, and tolerance. The useful test is margin: if your all-in cost is $22.20, your sell price should cover that plus target margin. Compare your number against past similar jobs rather than an industry constant.
- Should setup cost go in cost per part or quoted separately? Amortize it into cost per part when the customer wants a single unit price, but always know the split. At quantity 250 the $650 setup adds $2.60 per part, which becomes a deal-breaker at quantity 10 ($65 each).
- Machining cost per part vs price per part, what is the difference? Cost per part is what it costs you to make ($22.20 here); price per part adds your margin and is what the customer pays. Quoting at cost loses money, so always layer margin on top of this figure.
Last reviewed 2026-05-12.