Skip to content

AI and data in industry

How to Calculate OEE for a Machine Step by Step

Learn how to calculate OEE with the formula, required data, loss classification and a worked example with spreadsheet formulas you can reuse.

Direct answer

To calculate OEE, multiply three ratios: availability (run time divided by planned production time), performance (ideal cycle time times total count, divided by run time) and quality (good count divided by total count). Collect planned time, stop durations, ideal cycle time, total and good counts for the same machine and period.

Institutional content: Authomathika

Published:

Calculating OEE is a matter of arithmetic once the data is clean. The hard part is agreeing on what counts as planned time, what counts as a stop and what the ideal cycle time is. This guide covers the formula, the inputs, a worked example with illustrative values and a spreadsheet layout. For the general concept and how to read the result, see what OEE is and how to interpret it.

What is the OEE formula?

OEE (Overall Equipment Effectiveness) is the product of three factors: availability, performance and quality. Each factor is a ratio between 0 and 1, so the result is also a number between 0 and 1.

  1. Availability is run time divided by planned production time. It captures stops.
  2. Performance is ideal cycle time multiplied by total count, divided by run time. It captures slow running and small stops.
  3. Quality is good count divided by total count. It captures scrap and rework.
  4. OEE is availability multiplied by performance multiplied by quality.

There is a shortcut that gives the same answer: good count multiplied by ideal cycle time, divided by planned production time. It is useful for checking your spreadsheet.

What input data do you need?

You need five inputs for one machine and one period, and all of them must refer to the same machine and the same time window.

  1. Planned production time: the scheduled time minus planned breaks, meetings and planned maintenance, in minutes or hours.
  2. Downtime: the duration of every stop inside planned production time, with a reason for each one.
  3. Ideal cycle time: the fastest cycle the machine can sustain for the product being run, per piece or per unit of output. Use the rated or demonstrated best value, not the average of last week.
  4. Total count: everything the machine produced, good or bad.
  5. Good count: the units that passed inspection the first time, without rework.

How do you classify stops and losses?

Classify every loss into the factor it belongs to, so each minute of lost time lands in exactly one place. A common structure uses six loss categories.

  • Availability losses: breakdowns, and unplanned setup or changeover time.
  • Performance losses: small stops (short interruptions that nobody logs as a failure) and reduced speed.
  • Quality losses: startup rejects and production rejects.

Planned stops, such as scheduled breaks or preventive maintenance, are excluded from planned production time rather than counted as losses. Decide this rule once, write it down and apply it to every machine. Otherwise two lines with the same real behavior will show different results. Setting a minimum stop duration for logging is also a decision to document, because it moves time between availability and performance.

What does a worked calculation look like, step by step?

The values below are illustrative, chosen to make the arithmetic easy to follow. They do not describe any real machine.

A packaging machine is scheduled for a 480 minute shift. Planned breaks take 30 minutes. Logged stops total 54 minutes. The ideal cycle time is 0.5 minute per piece. The machine produced 660 pieces, of which 627 passed inspection.

  1. Planned production time: 480 minus 30 gives 450 minutes.
  2. Run time: 450 minus 54 gives 396 minutes.
  3. Availability: 396 divided by 450 gives 0.88.
  4. Ideal production time: 0.5 multiplied by 660 gives 330 minutes.
  5. Performance: 330 divided by 396 gives about 0.833.
  6. Quality: 627 divided by 660 gives 0.95.
  7. OEE: 0.88 multiplied by 0.833 multiplied by 0.95 gives about 0.697.

Check with the shortcut: 627 multiplied by 0.5 gives 313.5 minutes of ideal good production, divided by 450 gives about 0.697. Both routes agree, so the arithmetic is consistent.

The breakdown also shows where to act. Performance is the weakest factor in this example, so slow running and small stops deserve attention before scrap does.

How do you set up the calculation in Excel?

A simple sheet with one row per shift or per day is enough. Put the raw inputs in columns and let formulas produce the ratios, so nobody types a calculated value by hand.

  1. Create input columns: scheduled time, planned breaks, downtime, ideal cycle time, total count and good count.
  2. Add a planned production time column equal to scheduled time minus planned breaks.
  3. Add a run time column equal to planned production time minus downtime.
  4. Add availability as run time divided by planned production time, for example =D2/C2 if run time is in column D and planned time in column C.
  5. Add performance as ideal cycle time multiplied by total count, divided by run time, for example =(E2*F2)/D2.
  6. Add quality as good count divided by total count, for example =G2/F2.
  7. Add OEE as the product of the three, for example =H2I2J2.
  8. Wrap the divisions in IF or IFERROR so an empty row or a zero run time does not show an error.

For a weekly or monthly figure, do not average the daily OEE values. Sum the planned time, run time, ideal time, total count and good count over the period, then calculate the ratios from the sums. Averaging ratios gives too much weight to short, quiet shifts.

Typed sheets work for a pilot. When you want the figure without manual entry, see how to measure OEE automatically from PLC and SCADA data. For other indicators worth tracking next to OEE, read industrial KPIs beyond OEE.

Which mistakes distort the result?

Most wrong OEE figures come from inputs, not from the formula.

  • An optimistic ideal cycle time or a pessimistic one. Using the average speed as the ideal makes performance look perfect and hides losses. Using a theoretical value nobody has ever reached makes the machine look permanently slow.
  • Mixing planned and unplanned stops. If planned maintenance is counted as downtime on one line and excluded on another, the comparison is meaningless.
  • Counting rework as good output. Quality should reflect first pass yield, otherwise scrap is hidden.
  • Mismatched windows. Counts taken at shift change and stop times taken from a different clock produce inconsistent ratios.
  • Unlogged small stops. If short interruptions are not recorded, they silently end up in performance, and the cause is lost.
  • Comparing different machines without context. A value from a bottleneck machine and one from a support machine answer different questions.

Automation and data projects, such as those described on the AI and data page of Authomathika, depend on this same discipline: definitions agreed first, data collected consistently second. If you are scoping such work, what to ask for in an industrial AI and data project proposal lists the points to settle.

Frequently asked questions

Can OEE be higher than 1?
No. If your result exceeds 1, an input is wrong, most often an ideal cycle time that is slower than the real best speed or a count that includes pieces from another period. Fix the input rather than capping the result.
Should planned maintenance be included in planned production time?
The common practice is to exclude it, since it is scheduled and not a loss of the production window. Whatever you choose, apply the same rule to every machine and document it, so results stay comparable.
How often should I calculate OEE?
Calculate it per shift or per day for operational follow up, and consolidate weekly or monthly from summed inputs. Shorter windows help find causes, and longer windows help see trends.
Do I need software to calculate OEE?
No. A spreadsheet with consistent inputs is enough to start and to validate the definitions. Software or automatic collection from controllers becomes useful when manual entry limits accuracy or volume.
What is a good OEE value?
It depends on the process, the product mix and how the indicator is defined, so a single target is not reliable. Compare each machine with its own history after the definitions are fixed, and focus on the largest loss factor.
How to Calculate OEE for a Machine Step by Step | Authomathika