How to Calculate the Production Cost of a Machined Part
Material + machine hours isn't enough: the true cost of a machined part has at least 8 line items. Miss just two and you're working at a loss without knowing it.
The 8 Components of Production Cost
The complete cost of a machined part consists of: material (stock, not finished part), machine time (cycle × hourly rate), setup amortized over quantity, direct labor not masked by machine rate (loading/unloading, inspections), tooling (inserts, end mills, drills consumed), external treatments (heat treatment, anodizing, outsourced grinding), quality control and certifications, scrap and rework allowance.
- ■ Material: stock weight × €/kg + any supplier minimum order
- ■ Machine: cycle time × true hourly cost (see our dedicated guide)
- ■ Setup: tooling time × rate / batch quantity
- ■ Tooling: insert and cutter cost ÷ parts per regrind/tool life
- ■ Treatments: subcontractor price + transport + management time
- ■ Quality: CMM or manual inspection time, dimensional reports if required
- ■ Scrap: physiological percentage (1-3% on mature processes, more on first batches)
- ■ Commercial overhead: quoting time, order management, invoicing
The 'Material + Hours' Mistake
The most common shortcut is calculating only material and machine hours, covering everything else with a 'generous' margin. The problem: hidden costs aren't proportional to hours. A simple part with certified dimensional report can have more quality costs than machining costs. A titanium part has triple the tooling cost compared to the same part in aluminum.
Result: on some jobs the 'generous' margin is actually negative, and those are exactly the ones the customer keeps happily reordering.
Batch of 1 vs Batch of 100: Two Different Worlds
On single parts, setup and management dominate (often 50-70% of cost). On batches of 100, machine cycle and material dominate. This is why unit cost can easily halve between 1 and 100 pieces — and quantity-scaled pricing isn't a commercial discount, it's cost mathematics.
Structure the Calculation, Then Automate It
Practical advice: build a fixed calculation structure with all 8 line items, even when some are zero. It forces you to ask every time 'is there a treatment? is there a special inspection?' instead of discovering it after the order is placed.
MachinePilot implements exactly this structure: every quote shows the complete breakdown by operation — material, cycle, setup, tooling — with margin calculated in real time and automatic quantity discounts across 5 tiers. Every line item can be manually overridden, and the final PDF shows the customer only what you want to show.