OEE (Overall Equipment Effectiveness) is calculated as Availability × Performance × Quality. Availability is run time divided by planned production time; Performance is actual output divided by what the run time should have produced at ideal speed; Quality is good units divided by total units. The result is the percentage of planned time that was truly productive.

OEE is easy to define and easy to get wrong. The formula takes five inputs, and every one of them has a common failure mode, the wrong time base, a flattering "ideal" speed, rework counted as good. This guide walks the calculation step by step, works a complete example with made-up numbers you can check by hand, and lists the mistakes that make OEE numbers lie. If you want the arithmetic done for you, the free OEE calculator the ROI calculator runs this exact method.

What is the OEE formula?

OEE = Availability × Performance × Quality, where each factor is a ratio between 0 and 1:

Multiplying them matters. A line that is 90% available, at 90% speed, with 90% quality is not "about 90%", it is 0.9 × 0.9 × 0.9 = 72.9%. Losses compound, which is exactly why OEE is a harsher and more honest number than any of its parts.

OEE = Availability x Performance x QualityThe three factors and what each one losesAVAILABILITYrun time /planned prod. timetime losses×PERFORMANCEcount × ideal cycle/ run timespeed losses×QUALITYgood count /total countdefect losses= OEE  ·  0.90 × 0.90 × 0.90 = 72.9%, not 90%losses compound, three good-looking factors can hide a mediocre line
The A × P × Q structure. Each factor isolates one loss family, and multiplying them means no loss can hide behind the others.

Where does the time base come from?

The time base comes from a waterfall that starts with all time and removes what you deliberately excluded, then what you lost. Getting this waterfall straight, and keeping it consistent, is most of the battle:

Time waterfall: from calendar time down to fully productive timeThe time waterfall behind OEECalendar time (24/7)Scheduled time− unscheduled shiftsPlanned production time ← OEE denominator− breaks, planned PMRun time− downtime, changeovers (Availability)Net run time− slow cycles, micro-stops (Performance)Fully productive time− scrap, rework (Quality)OEE = fully productive time ÷ planned production time
Every OEE calculation is this waterfall in disguise. The first two steps are exclusions you chose; the last three are losses OEE measures.

How do you calculate OEE step by step?

Collect five numbers for the period, then run six divisions. Here is the procedure:

  1. Fix the period and the planned production time. Take the shift length and subtract planned non-production time (breaks, scheduled meetings). Write the exclusion rules down once and never vary them shift to shift.
  2. Total all downtime and changeover minutes. Everything unplanned, plus changeovers, counts against Availability. Subtract from planned production time to get run time.
  3. Establish the ideal cycle time. The machine's true best repeatable speed for that product, nameplate or best demonstrated rate, not the budgeted or "standard" rate.
  4. Count total units and good units. Good means right the first time; rework and scrap are not good, even if rework is later saved.
  5. Compute the three factors. Availability = run ÷ planned. Performance = (total count × ideal cycle time) ÷ run time. Quality = good ÷ total.
  6. Multiply and sanity-check. OEE = A × P × Q. Cross-check: good count × ideal cycle time ÷ planned production time should give the same answer. If it doesn't, an input is wrong.

A worked example, start to finish

The following numbers are hypothetical a made-up packaging line, invented for arithmetic you can verify by hand.

InputValue
Shift length480 min
Planned breaks30 min
Planned production time450 min
Downtime + changeovers63 min
Run time387 min
Ideal cycle time1.0 sec/unit (60/min)
Total count19,800 units
Good count (first pass)19,206 units

Now the three factors:

Cross-check with the shortcut: 19,206 good units × 1 second each = 320.1 minutes of fully productive time, and 320.1 ÷ 450 = 71.1%. The numbers agree, so the inputs are consistent. Punch the same inputs into the OEE calculator and you should see the identical result.

Worked example (hypothetical): 450 planned minutes become 320 fully productive minutesWhere the shift went, worked example (hypothetical)Planned production450 minRun time387 min · A = 86.0%Net run time330 min · P = 85.3%Fully productive320 min · Q = 97.0%OEE = 320.1 ÷ 450 = 71.1%
The worked example as a bar chart: each factor trims the bar, and the remaining 320 minutes over 450 planned is the 71.1% OEE. Hypothetical data.

How should you collect the five inputs?

Collect them as close to the machine as possible, at the highest frequency you can afford. The calculation is only as honest as its inputs, and the inputs degrade fast when they travel through memory and paper:

Frequency matters as much as accuracy. A monthly OEE number is an autopsy; a per-shift number is a scoreboard; a live number is a tool the crew can respond to while it still counts. This is the practical argument for wiring the calculation to the source instead of a spreadsheet, it is the difference between reviewing last month and acting on this hour.

Should you calculate OEE per machine or per line?

Calculate it at the constraint. OEE of a whole line is governed by its bottleneck; measuring the bottleneck machine gives you the number that actually limits output. Measuring every machine on the line produces a wall of percentages where upstream and downstream machines show poor Availability simply because they are starved or blocked by the constraint, that is the line's design, not their failure.

A sensible pattern: rigorous OEE at the constraint, simple downtime tracking everywhere else. If the constraint moves when the product mix changes, track the two or three machines that take turns being the constraint. And resist rolling machines up into a single plant OEE, the average of a bottling line and a machining cell is not a number anyone can act on.

What are the most common OEE calculation mistakes?

The most common mistakes are input choices that flatter the number. Seven show up constantly:

What should you benchmark against?

Benchmark against your own line's history, not against folklore. Two context numbers are worth knowing, with their provenance stated plainly:

The honest use of OEE is trend and decomposition: is this line's OEE rising, and which factor moved? A stable calculation you trust beats a flattering one every time. That trust is also why measurement method matters, OEE computed from machine signals at the source, the way Harmony computes true OEE from PLCs and sensors rather than end-of-shift estimates (see the platform), removes the input games entirely. For a deeper dive on the loss categories behind each factor, start with the six big losses then put your own numbers through the calculator.