How CNC Machining Cost Is Calculated
What the hourly rate actually covers, how a quote is assembled line by line, and which levers move the number. If you've ever looked at a quote and wondered where it came from, this is the arithmetic.
The Five Lines on Every Quote
Most machine shops build a price from the same five components. Knowing them tells you where to look when a number surprises you.
| Component | How it's calculated | Scales with quantity? |
|---|---|---|
| Raw material | Stock size × material price per kg, plus cutting allowance | Yes |
| Machine time | Cycle time × hourly rate for that machine class | Yes |
| Setup & programming | Fixture design, CAM programming, prove-out, first-article | No — fixed |
| Inspection | Report setup (fixed) + per-part measurement | Partly |
| Finishing | Anodising, plating, coating, polishing — usually subcontracted | Mostly yes |
The single most useful thing on that table is the third column. Material, machine time and finishing scale with how many parts you order. Setup and programming do not.
That's the whole reason a one-off costs so much more per piece than a production run — and it's covered in more detail in our piece on why 40 parts cost more per piece than 4,000.
What the Hourly Rate Actually Covers
This is the number that causes the most confusion, because it looks large compared to a wage. A machine-hour rate has to carry far more than the person standing in front of the machine:
- The machine itself — a 5-axis machining centre is a major capital purchase with a finite working life, and its cost has to be recovered across the hours it actually runs.
- Floor space — rent, power, climate control, compressed air.
- Tooling and consumables — end mills, inserts, holders, coolant, filters. Tool wear is real and continuous.
- Programming — CAM time, usually by someone whose hourly cost is higher than the operator's.
- Quality control — CMM time, gauges, calibration, documentation.
- Idle time — no machine runs at 100% utilisation. The rate has to cover the hours it sits waiting for work.
So a higher hourly rate does not automatically mean a more expensive part. A shop with a faster machine, better tooling and a higher rate can finish a part in a fraction of the time.
Rates vary by machine class
A 3-axis mill, a 4-axis with a rotary, a 5-axis simultaneous centre and a turn-mill all carry different rates — because the capital cost, tooling cost and operator skill differ. When you're comparing quotes, ask which machine the part is planned on. That tells you more than the headline rate.
The Five Levers, Ranked
| Lever | Attacks | Impact | In your control? |
|---|---|---|---|
| Number of setups | Setup + machine time | Highest | Yes — at design stage |
| Cycle time | Machine time | High | Yes — via geometry |
| Order quantity | Amortises setup | High | Yes |
| Material choice (see our titanium guide for the extreme case) | Material + cycle time | Medium | Yes |
| Tolerance & finish | Machine time + inspection | Medium–high | Yes |
Note that material is fourth on this list, not first. It's the most visible cost and the one designers reach for first, but geometry and quantity usually dominate. We covered the design-side version of this in twelve design changes that cut machining cost.
Is 5-Axis Always More Expensive?
Not always, and this is the most common misconception we run into.
The hourly rate on a 5-axis machine is definitely higher. But consider a housing with features on five faces. On a 3-axis machine that might mean four or five separate setups — each with its own fixture, its own alignment, its own handling time and its own contribution to accumulated tolerance error.
On a 5-axis centre it can often be done in one or two. Add up the saved fixture time, the saved handling, the reduced scrap risk and the tighter achievable accuracy, and the total can come out lower despite the higher rate. This is why complex parts often surprise people.
The crossover isn't a fixed number — it depends on geometry. But if your part has features on more than three faces, it's worth asking for both quotes. More on this in our 5-axis machining capability page.
How to Tell If a Quote Is Padded
Two questions, and a shop that knows its own numbers will answer both immediately:
- "Can you split setup from unit price?" — This tells you what the second batch would cost, minus the setup you've already paid for.
- "What quantity does that unit price assume?" — A low unit price that assumes ten times your order quantity isn't a lower price.
Be aware the problem can run the other way too. A suspiciously low first-time quote on a complex part sometimes means the shop hasn't priced in the programming and prove-out risk it's about to absorb. Those orders tend to run late, come back with quality problems, or get quietly re-quoted after the first batch.
We wrote up a real case where we lost a job by 5x — worth reading if you're trying to work out whether a competitor's price is real.
Machining Cost Questions
What is a typical CNC machining hourly rate?
Why does the hourly rate seem high compared to the operator's wage?
How is a CNC quote calculated?
Is 5-axis machining always more expensive?
How can I tell if a quote is padded?
Does ordering more always reduce the unit price?
We'll Show You the Lines
Send the drawing and we'll quote it itemised — material, machining, setup, inspection and finishing as separate lines — so you can see exactly where the money goes. If something in the design is driving cost without adding function, we'll flag it in the quote rather than after the order. Want a rough number before the drawing is even finished? Try our free CNC cost calculator.
Keep Reading
Once you have a quote, read it line by line — and keep the CNC glossary open for any term you do not recognise.