How to Calculate CNC Machine Efficiency
This guide shows how to calculate CNC machine efficiency from data you already collect: run time, cycle time, part counts and scrap. It is written for process engineers, manufacturing managers and buyers who need to judge whether a quoted cycle time and price are realistic.

In this article
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
Key takeaways
What efficiency means on a CNC machine
Efficiency on a CNC machine is not one number. It is the ratio between what a machine could produce in a given window of time and what it actually produced, counted in good parts. A mill that runs 20 hours a day but scrapped one in ten parts is less efficient than a mill that runs 14 hours and ships everything. That is why almost every machine shop and every customer audit falls back on OEE.
OEE stands for Overall Equipment Effectiveness. It combines three losses into a single percentage: time lost to stops, speed lost to slow cycles, and output lost to defects. When an engineer asks how to calculate CNC machine efficiency, OEE is the answer they are usually looking for, because it names the loss instead of hiding it inside one vague percentage.
You can also track simpler numbers. Utilization is run time divided by available time, and it ignores speed and quality. Yield is good parts divided by total parts, and it ignores time. Both are useful on a daily board, but neither tells you whether the machine earned money. Use them as inputs, not as the headline.
One warning before you start. Efficiency figures are only comparable when the part number, the material and the fixture are the same. Comparing a 6061 aluminum bracket to a 17-4PH stainless housing tells you nothing about the machines. Compare like with like, or compare each machine against its own history.
Collect the raw data before you calculate anything
Write down four numbers for the shift or the week you want to measure. First, planned production time: total shift minutes minus planned breaks, scheduled maintenance and any deliberate idle time with no work available. Second, actual run time from the machine log or the CNC monitoring feed. Third, total parts produced. Fourth, good parts after final inspection.
Get these from the control, not from memory. Most modern controllers timestamp program start, program end and alarm events, so the run time is already there. If the machine has no logging, a simple paper sheet per shift works, but the operator has to record stops as they happen. Reconstructed logs are always optimistic.
Decide up front what counts as planned downtime. A tool change inside a program is a stop. A changeover between two jobs is planned downtime only if the schedule included it. This single decision moves OEE by 5–10 points, so write the rule down and apply it to every machine the same way.
Set the measurement window to at least one full week of normal production. A single good day after a setup is not data. If a machine runs three shifts, capture all three, because the night shift often has a different stop pattern and a different scrap rate.
Calculate availability, performance and quality
Availability is run time divided by planned production time. If the machine was planned for 450 minutes and alarms, chip clearing and tool changes consumed 50 minutes, availability is 400 / 450 = 88.9%. This is the easiest of the three to inflate, because unplanned stops are easy to forget, so pull the alarm log rather than asking the operator.
Performance is the total parts produced multiplied by the ideal cycle time, divided by run time. If the CAM program says 1.4 minutes per part and 250 parts came off in 378 minutes of run time, performance is (250 × 1.4) / 378 = 92.6%. Take the ideal cycle time from the verified program at the feeds and speeds you actually run, not from a supplier catalog or a theoretical maximum.
Quality is good parts divided by total parts. If 250 parts were made and 8 were scrapped at final inspection, quality is 242 / 250 = 96.8%. Count rework as a defect, because the second pass consumes machine time that the schedule never budgeted for.
Multiply the three: 0.889 × 0.926 × 0.968 = 79.7%. That number is your OEE for the period. Anything above 85% is world class, 60–70% is typical for general job-shop work, and below 50% usually points to a scheduling problem rather than a machine problem.
Which of the three losses to attack first
Fix the smallest number first, not the largest loss in minutes. If quality is 92% and performance is 96%, the defects are costing you more per point than the speed loss, and they also carry inspection and rework time that never appears in the OEE formula.
For availability, look at the stop list in order of total minutes. Changeovers, tool changes and chip evacuation usually top it. Moving a job to a 5-axis machine that machines five faces in one setup removes most of the re-clamping time, and that shows up directly as availability. Reducing setup time is the fastest lever in most shops.
For performance, check whether the program is running at the posted feeds and speeds. Operators often dial back feed override to protect a thin wall or a long tool, and the cycle time quietly grows. If the override sits at 70% all day, the program is wrong, not the operator.
For quality, group defects by cause before you change anything. Tool wear, chatter on deep pockets and burrs on cross-holes have different fixes. On a 10,000-part run, a 1% scrap reduction is worth more than a 1% speed increase, because scrap also consumes the time of the parts that were made correctly.
When the OEE number misleads you
OEE punishes low-volume, high-mix work. A shop running one-off prototypes will never reach 85%, because setup and programming dominate the clock. Judge prototype work by quote-to-ship time and first-part accuracy instead, not by OEE.
The formula also treats all parts as equal. One good part on a 4,000 mm gantry job and one good part on a Ø20 mm fitting both count as 1 in the quality term, even though one represents twenty times the machine time. Weight the parts by cycle time when you compare across very different jobs.
A high OEE is not automatically good. If the schedule is full of parts the shop should have declined, a 90% OEE just means you are efficiently making the wrong things. Read OEE alongside on-time delivery and first-pass yield before you draw conclusions.
Finally, do not compare your OEE with a published number from another industry. A die-casting cell, a grinding cell and a 5-axis milling cell have different loss structures. Compare your machines against your own baseline, month over month.
Step by step: run the calculation this week
Six steps, roughly two hours of work on a single machine.
- 1Pick one machine and one weekChoose the machine with the lowest output, not the newest. Use one calendar week of normal production with no holiday and no plant shutdown.
- 2Fix the planned production timeSubtract breaks, scheduled maintenance and deliberate idle from total shift time. Write the rule down so the next audit uses the same definition.
- 3Pull run time and stop eventsExport program start, program end and alarm timestamps from the controller. Group stops under 5 minutes separately, because many of them are chip clearing or a quick measure.
- 4Record the ideal cycle timeOpen the CAM file and read the verified cycle time at the cutting parameters you run. If the program was optimized since, re-post before you trust the number.
- 5Count total and good partsUse the counter for total parts and the final inspection record for good parts. Include every scrapped and reworked part, wherever it failed.
- 6Multiply and record the resultMultiply availability, performance and quality to get OEE. Log it against the part number, material and fixture, then repeat the same measurement next week.
Efficiency methods compared
Pick the method that matches the question you are trying to answer.
| Method | Formula | Best used for | Watch out for |
|---|---|---|---|
| OEE | Availability × Performance × Quality | Machine-level improvement projects | Needs reliable stop and scrap data |
| Utilization | Run time / available time | Capacity planning and quoting | Ignores speed and defects |
| Yield | Good parts / total parts | Quality-driven processes | Hides downtime completely |
| Takt vs cycle | Cycle time / takt time | Line balancing and staffing | Not a machine health metric |
| Cost per good part | Total cost / good parts | Make-or-buy decisions | Blends labor, tooling and machine |
The short version
Measure availability, performance and quality on one machine for one week. Fix the smallest of the three numbers first. Repeat monthly against your own baseline, not against a published industry figure.
Frequently asked questions
What is a good OEE score for a CNC machine?
Around 85% is generally treated as world class for discrete machining. 60–70% is normal for job-shop work with frequent changeovers. Below 50% usually means scheduling, staffing or material flow is the real constraint, not the machine.
Can I improve CNC machine efficiency without buying new equipment?
Yes, and it is usually the cheaper path. Start with setup reduction, tool life management and chip evacuation, then verify that programs run at the posted feeds and speeds. On many machines these three changes recover several points of availability and performance before any capital spend.
Does 5-axis machining improve efficiency compared to 3-axis?
It reduces the number of setups, which cuts re-clamping time and the position error that comes with it. On parts with features on four or five faces, one 5-axis setup often replaces three or four 3-axis operations. On simple prismatic parts with tight cycle times, a 3-axis machine can still be the faster and cheaper choice.
How do I separate machine loss from scheduling loss?
Log the reason for every stop. If the machine waits for material, a fixture or an operator, that is a scheduling loss and it belongs in a different column. Only count stops caused by the machine, the tool or the program against machine efficiency.
How often should efficiency be recalculated?
Weekly for a machine under active improvement, monthly once the process is stable. Recalculate whenever the fixture, the program or the material changes, because the ideal cycle time and the scrap pattern both move with them.
Does efficiency measurement ever hurt quality?
It can, if operators are pushed on cycle time alone. Keep quality as a separate term in the formula and never let a speed target override a tolerance call. A part scrapped at ±0.005 mm costs far more machine time than the seconds saved.
Send us the drawing and the cycle time you were quoted
Our engineers review the part, the fixture and the machining strategy, then return a quotation with a DFM analysis within 12 hours.
12-hour quote100% inspectionNo minimum order quantity