Blog / Metrics
Metrics · Guide

Cost Per Unit: Formula and How OEE Changes It

OL By OEE Lab Editorial |Updated 14 November 2026 |6 min read
Short answer

Cost per unit = (material + labor + overhead) / good units. Higher OEE lowers it by spreading the same labor and overhead over more good units, but that saving only becomes cash if you sell the extra units or cut the hours.

Cost per unit calculator

Enter one line over one period, such as a shift or a month. The defaults are the example line below. Updates as you type.

Costs for the period
Labor, overhead and depreciation: costs that do not change with output.
Per unit started: material, energy.
Units in the period
Sellable units only.
Optional. Good plus scrap.
Optional the OEE link
%
%
Same planned time, ideal rate and quality, so good units grow with OEE.
Defaults: one 8-hour shift, hypothetical costs
Cost per good unit
- / unit
Total cost ÷ good units
0%fixed share of unit cost
Total cost
-
Fixed / unit
-
Variable / unit
-
Fixed share
-
Good at target
-
Cost / unit at target
-
Saving / unit
-
Saving on target units
-

Where the unit cost goes

Today-
At target-
Variable cost per good unitFixed cost per good unit

The working

The saving at a higher OEE is cash only if you sell the extra units or cut the hours. The section on flat demand below shows the other case.

The formula

Cost per unit = (material + labor + overhead) / good units
(4,800 + 1,200 + 1,800) / 11,520
7,800 / 11,520 = 0.677 per unit
Example: one 8-hour shift on one line. All costs and rates are hypothetical.

Use a matching period for every term, such as one shift or one month. Divide by good units only, since scrap costs money and cannot be sold.

Labor plus overhead is often called conversion cost, and it is the part OEE acts on most directly. Material behaves differently, as the example shows.

The example line

All numbers below are hypothetical, chosen to make the math easy to follow. Put your own costs in place of them, because a real plant's split can look very different.

  • Ideal rate: 2,400 units an hour, so an 8-hour shift could make 19,200 at most.
  • Labor: 6 people x 8 hours x 25 euros = 1,200 euros a shift, or 150 euros an hour.
  • Overhead for the line: 1,800 euros a shift for depreciation, space and support.
  • Material: 0.40 euros for each unit started, scrapped or not.
  • Today: OEE of 60%, with quality at 96%, so 12,000 units started and 11,520 good.

Total cost is 4,800 + 1,200 + 1,800 = 7,800 euros, which works out to 0.677 euros per good unit. Of that, 0.260 is conversion cost, and the rest is material, including the material lost in scrap.

How OEE changes conversion cost

Since the shift's labor and overhead stay at 3,000 euros, every extra good unit shares the bill. Here is that effect at five OEE levels, with quality held at 96%.

40% OEE, 7,680 good0.391
50% OEE, 9,600 good0.313
60% OEE, 11,520 good0.260
70% OEE, 13,440 good0.223
80% OEE, 15,360 good0.195
3,000 euros of labor and overhead divided by good units. Bars scaled to 0.40 euros. Each extra 10 points saves less than the one before.

The curve flattens as OEE rises. Going from 40% to 50% saves 0.078 euros a unit, while going from 70% to 80% saves 0.028.

So a line with low OEE usually has the most to gain per point. That is also why the same project may pay back quickly on one line and slowly on another.

A point of quality beats a point of availability

Not all OEE points are worth the same. Points gained in availability or performance only spread fixed costs, while points gained in quality also save the material that went into scrap.

CaseOEEStartedGoodTotal costPer unit
Today60.0%12,00011,5207,8000.677
Fewer stops70.0%14,00013,4408,6000.640
Quality 96% to 99%61.9%12,00011,8807,8000.657
Cost per unit in euros. The fewer-stops case buys 2,000 more units of material, which is why total cost rises.

Fewer stops saved 0.037 euros for 10 points of OEE, or about 0.004 per point. Better quality saved about 0.02 euros for 1.9 points, or about 0.011 per point, nearly three times as much in this example.

The ratio depends on your material share. The more expensive your material, the more a scrap reduction is worth, so test it with cost of poor quality.

The catch: what if demand does not grow?

The 0.640 above assumes you sell all 13,440 units. If you can only sell 11,520, the saving is real only for the costs you can actually remove.

Example: at 70% OEE the line makes 11,520 good units in 6.86 hours, so 1.14 hours of labor can go, worth about 171 euros. The overhead of 1,800 euros stays, so the total falls to 7,629 euros.

Today, 60% OEE0.677
70% OEE, demand flat, hours cut0.662
70% OEE, all units sold0.640
Same OEE gain, two outcomes. Bars scaled to 0.70 euros. Check which of these two your plant really is before you write the business case.

With demand flat, the saving is 0.015 euros per unit, which is less than half of the 0.037. If you also cannot reduce the hours, the total stays at 7,800 euros and the cost per unit does not move until new work fills the line.

A line with spare time also needs honest reporting, and OEE with no orders shows how to count it. If the line is sold out, the math turns the other way, since each extra unit also brings its margin.

What overtime does to the picture

If a line misses its plan and makes up the gap on overtime, the gain from OEE can be larger than the formula above suggests. Overtime hours usually cost more than normal hours, so each one you avoid saves more than the 150 euros an hour used here.

Check plan attainment first to see whether this applies. Then use real overtime rates in the labor line.

How to get the numbers

  • Good units: a trusted end-of-line count, from your good count rule.
  • Material: the standard cost per unit started, with actual scrap from your scrap rate.
  • Labor: clocked hours x loaded rate. Units per labor hour uses the same hours.
  • Overhead: ask finance how much is really tied to this line, and how much of it moves with hours or volume.

Where cost models go wrong

  • Treating all overhead as saved. Rent and depreciation stay when the line gets faster, so count them only if you sell more.
  • Dividing by total units. Scrap then lowers the cost per unit, which is backward.
  • Using one average across products. A slow product uses more machine time, so allocate by hours, or see OEE by product.
  • Ignoring energy that moves with run time. Some energy goes up with hours, and your finance team can split it.
  • Calling it cash too early. A lower standard cost is not a saving until hours fall or sales rise.

What to do next

Work out your own three cases for one line: today, plus 10 points of run time, and plus a few points of quality. Then decide with finance which of the two demand cases applies.

For the cost of a single stop, use the downtime cost calculator and read the cost of downtime. The hidden factory calculator shows what the lost capacity could be worth on a full line.

See it live in Fabrico

A cost model is only as good as its counts. Fabrico, a light MES for OEE, takes stops, speed and counts live from the line, so your per-unit math starts from OEE per line and shift as it happened. See how Fabrico shows OEE per line.

What people ask next

What is the formula for cost per unit in manufacturing?

Add material, labor and overhead for a period, then divide by the good units made in that period. In the example, 7,800 euros over 11,520 good units is 0.677 euros per unit.

How does OEE affect cost per unit?

Higher OEE spreads the same labor and overhead over more good units. Fewer scrap units also save material. See the guide to improving OEE for where to start.

Does a higher OEE always save money?

Only if you sell the extra output or cut the hours. With flat demand and fixed hours, the extra capacity has no cash value until new work fills it.

What is conversion cost per unit?

Labor plus overhead divided by good units, leaving out material. It is the part of the cost per unit that moves most directly with run time and speed.

Should I use actual or standard cost per unit?

Use standard cost for pricing and stable comparisons, and actual cost to see what really happened in a period. The difference between the two shows how far your losses have moved from what the standard assumed.

See OEE per line and shift on your own machines

Fabrico is a light MES for OEE. It takes stops, speed and counts from PLCs or IoT sensors, with add-on AI cameras counting output where a machine has no usable signal, and operators tag the cause at the line.

Book a Fabrico demo

Related guides: OEE vs Productivity: What Each One Tells You · Manufacturing KPI Tree: Build One That Adds Up

← More OEE Lab guides · Downtime cost calculator →

OEE essentials: OEE calculator · What is OEE · Six big losses · Availability · TEEP · Cost of downtime · OEE benchmark · Free OEE tracker · Free OEE software · How to track downtime · How to implement OEE · Light MES vs full MES