CNC Machining Cost Calculator

Estimate CNC machining cost per part and total order cost using cycle time, setup time, machine rate, material, tooling, labor, overhead and profit margin.

Production Quantity

Machining Time

Minutes.
Cost per machine hour.
Total setup hours for the order.
Cost per setup hour.

Material Cost

Percentage added to material cost.

Tooling & Other Costs

Overhead & Profit

Percentage of direct production cost.
Percentage of final selling price.

Cost Breakdown

Total order cost
—
Cost per part
—
Machine cost
—
Setup cost
—
Material cost
—
Tooling + other
—
Overhead
—
Profit
—

Production Summary

Cost Formula

Machine cost: Machine Cost = (quantity × cycle time ÷ 60) × machine hourly rate Setup cost: Setup Cost = setup hours × setup hourly rate Material cost: Material Cost = quantity × material cost per part × (1 + waste % ÷ 100) Tooling and other: Tooling Cost = quantity × (tooling/part + other/part) Direct production cost: Direct Cost = Machine + Setup + Material + Tooling + Other Overhead: Overhead = Direct Cost × overhead % ÷ 100 Cost before profit: Cost Base = Direct Cost + Overhead If profit is a margin of the selling price: Selling Price = Cost Base ÷ (1 − profit margin ÷ 100) Profit = Selling Price − Cost Base Cost per part = Selling Price ÷ quantity
This is an estimating calculator. Actual CNC job costs can also include programming, inspection, fixturing, workholding, deburring, finishing, rejected parts, maintenance, electricity, consumables, shipping and administrative costs.

Example

Quantity
10 parts.
Cycle time
8 minutes per part at $75/hour.
Machine cost
10 × 8 ÷ 60 × $75 = $100.
Setup
1 hour × $35 = $35.
Material
$8 × 10 × 1.10 = $88.
Tooling
$2 × 10 = $20.
Direct cost
$243 before overhead and profit.

Frequently Asked Questions

How do I calculate CNC machining cost? Combine machine time, setup, material, tooling and other direct costs. Add overhead, then apply the desired profit margin.

Why does quantity matter? Setup costs are distributed across the number of parts. Producing more identical parts can therefore reduce setup cost per part.

What is CNC machine hourly rate? It is the cost assigned to one hour of machine operation. Businesses may calculate it from equipment ownership, depreciation, maintenance, energy, facility and other expenses.

What is cycle time? Cycle time is the time required to produce one part, normally excluding separate setup time.

Should setup time be included? Yes. If setup is required for the order, its cost should normally be included in the job estimate.

How should material waste be calculated? Enter the expected percentage increase over the nominal material cost per part. For example, 10% waste makes an $8 material cost become $8.80 per part.

What is the difference between markup and profit margin? Markup is normally calculated as a percentage of cost. Profit margin is calculated as a percentage of selling price. This calculator uses profit margin.

Does the calculator include tooling? Yes. Enter tooling cost per part. Tooling can also be estimated separately and allocated across a batch.

Does CNC machining cost include programming? Not automatically. Programming can be entered as part of setup or another cost component if required.

Does this calculate a customer selling price? Yes. Enter a profit margin and the calculator estimates the selling price required to achieve that margin after the listed costs and overhead.

What costs are commonly missed in CNC estimates? Inspection, deburring, fixturing, programming, tool wear, scrap, secondary operations, finishing, packaging and administrative costs are common additional considerations.