CNC Machining Cost Calculation Guide
A working guide to CNC machining cost calculation for engineers and buyers. We break down the seven drivers that actually move a per-part price, show where quotes diverge, and give the checks that tell a low quote from a low-risk one.

In this article
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
Key takeaways
How the same part is priced at different order quantities
Ranges below are typical for an aluminum bracket, 80 × 60 × 20 mm, three setups, anodized.
| Cost bucket | 1 piece | 100 pieces | 1,000 pieces |
|---|---|---|---|
| Material and stock prep | High per part | Mid per part | Low per part |
| Setup and programming | Dominates the quote | Amortized over 100 | Nearly invisible |
| Cycle time | Small share | Largest share | Largest share |
| Custom fixture or tooling | Usually avoided | Sometimes needed | Almost always justified |
| Inspection | 100% check, high share | Sampling plus final | Gauges and SPC |
| Finishing | Batch minimum applies | Batch minimum applies | Priced per part |
| Quote risk | Fast and rough | Predictable | Committed to routing |
Get the routing before you compare the total
Send a drawing and we return a quote with a free DFM analysis within 12 hours. You get the setup count, the machines, the inspection method, and the finishing line as separate items, so you can see exactly what you are paying for.
The seven cost drivers behind any CNC machining cost calculation
Every CNC machining cost calculation reduces to seven inputs. Material and stock preparation, setup and programming, cycle time, tooling and fixtures, surface finishing, inspection, and order-level overhead such as documentation and packing. If a supplier cannot name which of these they are pricing, the quote is a guess with a number attached.
Material cost is not the catalog price. It is the price of the smallest standard stock size that contains the part, plus the material you machine away. A part that fits inside a 100 × 100 mm block but is quoted from a 150 × 150 mm plate carries 125 percent more material cost for no reason. Ask what stock size was quoted.
Setup cost is fixed per operation, not per part. Each new face, each new fixture, each new machine adds one. A part machined on three faces needs three setups on a 3-axis machine and one on a 5-axis center. That is why a five-axis quote sometimes beats a three-axis quote on complex geometry.
Cycle time is the only driver that repeats with every unit. Roughing and finishing passes, tool changes, and in-process checks all sit inside it. Reducing cycle time by 20 percent saves 20 percent on a 1,000-piece run and almost nothing on a one-off.
- 1MaterialSmallest stock size that contains the part, not the nearest round number.
- 2SetupCost per operation. Fewer faces machined means fewer setups.
- 3Cycle timeScales with quantity. This is where volume savings come from.
- 4ToolingStandard cutters are free; custom profiles and fixtures are not.
Which part features raise the price before machining starts
Cost is decided at the design stage more often than on the shop floor. Deep pockets, thin walls, tight corners, and features that can only be reached from one direction all add time. None of them are impossible. They simply cost more, and it helps to know which ones you are paying for.
A pocket deeper than four times its width forces longer reach tooling and lighter passes. A wall thinner than 1 mm in aluminum or 1.5 mm in stainless deflects under cutting force, so the machinist has to slow down or add a support operation. Both show up as cycle time.
Internal corners are the classic case. A cutter leaves a radius equal to its own radius. If your drawing calls for a sharp internal corner, someone has to add EDM or a corner-relief operation. Specifying the largest acceptable corner radius lets a bigger, stiffer cutter run faster.
Threads and holes follow the same logic. Standard metric and imperial threads cost nothing extra. Non-standard pitches, deep tapped holes under M3, and holes that break into a slanted surface add tool changes and scrap risk. On a high-volume part, that risk is priced in.
- 1Deep pocketsOver 4:1 depth-to-width needs long-reach tooling and lighter cuts.
- 2Thin wallsUnder 1 mm aluminum or 1.5 mm stainless invites chatter and rework.
- 3Sharp internal cornersSpecify a radius. Sharp corners force EDM or hand work.
- 4Non-standard threadsExtra tool changes and a higher scrap rate on small taps.
Why tolerance and inspection drive the biggest jumps in price
Tolerance is the driver most often underestimated at the quoting stage. A general tolerance of ±0.1 mm is routine on a 3-axis mill. At ±0.005 mm the same feature needs a temperature-stable environment, a warm-up cycle, and a probe check. The machining time may not change, but the inspection time does.
Not every dimension needs to be tight. A common mistake is to apply one tight tolerance across the whole drawing. Engineers who mark only the three or four functional dimensions get a lower price and a part that still works. The rest can sit at ±0.1 mm.
Inspection scales with the number of controlled dimensions, not with the number of parts. A first article on a 40-dimension drawing with GD&T callouts takes real time on a CMM. On a 1,000-piece run that cost is spread thin. On a single prototype it can be a visible line in the quote.
Surface finish follows a similar curve. As-machined at Ra 1.6–3.2 μm is standard cutter output. Ra 0.8–1.6 μm needs a finishing pass and a different insert. Ra 0.2–0.8 μm usually means additional lapping or polishing, and it applies to sealing faces, not to the whole part.
- 1Tolerance selectivelyTighten only functional dimensions. Everything else at ±0.1 mm.
- 2Inspection is per dimensionMore callouts means more CMM time, especially on low quantities.
- 3Finish by areaSpecify fine finish only where a seal or bearing touches.
Buyer checks that separate a low quote from a low-risk one
Once you have two quotes, the difference is usually not the hourly rate. It is what each supplier included. One quote prices machining only. The other prices machining, deburring, inspection reports, and packing. Both are honest. Only one matches what you will actually receive.
Ask for the routing. A quote built from a real process plan names the machine, the number of setups, and the inspection method. A quote built from a part volume and a material price cannot answer those questions. The routing is the quote's evidence.
Check the certification list against your industry. ISO 9001:2015 covers general quality management. IATF 16949:2016 applies to automotive production. ISO 13485:2016 applies to medical devices. ISO 27001:2022 covers information security, which matters when you send CAD files to an overseas supplier.
Confirm what happens when a dimension is out. A supplier with 100 percent inspection before shipment and reports on request will catch it. Ask whether the report is standard or an extra line item, and ask it before the order, not after.
- 1RoutingNamed machines, setups, and inspection method.
- 2CertificationsMatch the certificate to your industry, not to the logo page.
- 3Inspection reportsConfirm whether they are included or billed separately.
- 4Reject handlingKnow the rework and replacement terms before the run starts.
How quantity changes the cost structure, not just the total
At one piece, the quote is mostly setup, programming, and a custom fixture if the geometry needs one. Material is a small line. The machinist is paid to think as much as to cut. This is normal, and it is why prototype prices look high per unit.
At 100 pieces, setup is spread over 100 units and cycle time becomes the largest share. Fixture design becomes worth doing. This is also where a DFM review pays for itself, because any change you make now repeats 100 times.
At 1,000 pieces and above, material sourcing and cycle time decide the price. Custom gauges, dedicated fixtures, and sometimes a second operation on a mill-turn center all make sense. Suppliers start quoting cycle time in seconds rather than in minutes.
Volume does not fix a bad design. A part with a 0.5 mm wall and a sharp internal corner stays expensive at any quantity. Fix the geometry first, then negotiate on quantity. Our production floor runs from a single prototype to 10,000+ part runs with no minimum order quantity, so the same routing question applies at every size.
- 11–10 piecesSetup and programming dominate. Expect a rough per-part number.
- 2100–500 piecesCycle time leads. Fixtures and DFM changes are worth doing now.
- 31,000+ piecesMaterial and seconds per part decide. Gauges and hard tooling pay off.
Step by step: build a CNC machining cost calculation you can defend
Use this sequence when you compare quotes or sanity-check a supplier's number.
- 1Fix the geometry firstFinish DFM before you ask for prices. Every drawing revision after quoting resets the setup and invalidates the comparison.
- 2List the controlled dimensionsMark only functional dimensions as tight. Count them. That count is your inspection cost driver and it should stay under 10 on most parts.
- 3Pick stock by the smallest containing blockCompare the part envelope to standard plate and bar sizes. Going up one stock size can add 30–50 percent to material cost.
- 4Count the setupsOne setup per machined face on a 3-axis machine. If the part has features on four faces, ask whether a 5-axis center or a mill-turn center removes two operations.
- 5Estimate cycle time in minutes, then in secondsRough at 3–5× the finishing feed for aluminum, slower for stainless and titanium. Convert to seconds per part once quantity passes a few hundred.
- 6Price finishing and inspection separatelyAnodizing, plating, and bead blasting have batch minimums. Inspection has a per-dimension cost. Keep them as separate lines so you can see what to drop.
- 7Ask for the routing and compare it line by lineIf two suppliers list different setup counts for the same drawing, one of them has not read the part. Resolve that before you compare the totals.
Questions buyers ask about CNC machining cost calculation
Is there a simple formula for CNC machining cost?
There is a working formula: material plus setup plus cycle time multiplied by quantity, plus tooling, finishing, inspection, and order overhead. It is accurate enough to compare quotes.
It is not a price list. Two shops can run the same formula and land 40 percent apart because they route the part differently. Ask for the routing, not just the total.
Why do two suppliers quote the same drawing so differently?
Usually because they priced different scopes. One included inspection reports, deburring, and packing. The other priced machining only and will invoice the rest later.
The second common reason is machine choice. A shop that runs the part in one 5-axis setup will quote fewer operations than a shop running it in three 3-axis setups.
Does a tighter tolerance always cost more?
Not automatically. If the tight dimension is a bore that a reamer already produces, the added cost is small. If it is a flatness or position callout on a large face, the cost can be significant.
The expensive part is usually verification, not cutting. Every controlled dimension adds CMM time, and that time does not shrink with quantity as fast as cycle time does.
How does order quantity change the price per part?
Below about 10 pieces, setup and programming dominate and the per-part price is high. Between 100 and 500 pieces, cycle time becomes the largest share. Above 1,000 pieces, material and seconds per part decide the quote.
The shape of the curve is the same for every shop. The absolute numbers depend on the routing, so compare suppliers at the quantity you will actually order.
What should be in a complete quote?
A defensible quote names the material and stock size, the number of setups, the machines used, the finishing process and its batch minimum, the inspection method, and the delivery terms.
If a line is missing, ask about it in writing. An omission is not a discount. It is work that has not been priced yet.
When does a 5-axis quote beat a 3-axis quote?
When the part has features on three or more faces, or when a single compound angle would otherwise need a custom fixture. One 5-axis setup can replace three 3-axis setups and the fixtures that go with them.
For simple prismatic parts with features on two faces, 3-axis milling is faster and cheaper. The geometry decides, not the machine's specification sheet.
Price your part against a real routing
Upload a STEP file and get a line-item quote with free DFM feedback in 12 hours. No minimum order quantity, from one prototype to 10,000+ parts.
12-hour quoteNo MOQ100% inspectionNDA on request