Overall Equipment Effectiveness (OEE) measures how efficiently a machine or production line is running by combining three factors: availability, performance, and quality. You can calculate OEE in Google Sheets by entering planned production time, actual run time, ideal cycle time, total pieces produced, and good pieces, then multiplying the three percentage factors together. This guide walks you through every step, from setting up your data to publishing a live web calculator using the GSheetPress GS2Web add-on.
OEE = Availability × Performance × Quality, expressed as a percentage • You need five inputs: planned time, run time, ideal cycle time, total pieces, and good pieces • Build the calculator in Google Sheets using Extensions → GS2Web SaaS → Calculator → New Calculator • Result formulas reference runtime column G cells, never column E • Publish and test on the public calculator link before sharing with your team
OEE Calculator in Google Sheets: Step-by-Step Guide

Photo by Team Nocoloco on Unsplash

What OEE measures and why it matters

Overall Equipment Effectiveness is the manufacturing industry's standard metric for quantifying productive machine time. A score of 100% means your equipment ran every planned minute, at full speed, producing only good parts. In practice, most facilities target 85% as a world-class benchmark for discrete manufacturing, though the right target depends heavily on your process type. The metric is widely used in lean manufacturing and Total Productive Maintenance (TPM) programmes.

OEE is defined and published by the OEE Foundation, which provides a free reference for the standard calculation methodology used in this guide.

This guide assumes you are tracking a single machine or line over a single shift. It does not cover multi-machine aggregation, weighted OEE across a plant, or integration with MES or ERP systems. All time inputs must use consistent units — minutes are used throughout this guide. Verify any ideal cycle time against your own engineering standards before using results for production decisions.

Key terms explained

  • Planned Production Time (PPT): The total minutes in a shift that the machine is scheduled to run, after subtracting planned stops such as scheduled maintenance, meal breaks, and shift changeovers.
  • Run Time (RT): The actual minutes the machine was running and producing during the shift. Run time equals planned production time minus unplanned downtime losses.
  • Availability (A): The proportion of planned production time the machine was actually running. Calculated as Run Time divided by Planned Production Time.
  • Ideal Cycle Time (ICT): The fastest possible time in minutes needed to produce one unit under perfect conditions. This is an engineering or design standard, not an average observed time.
  • Total Pieces: Every unit the machine attempted to produce during the shift, including rejected parts.
  • Good Pieces: Units that passed quality inspection first time, with no rework counted.
  • Performance (P): How closely actual throughput matched the theoretical maximum. Calculated as Ideal Cycle Time multiplied by Total Pieces, divided by Run Time.
  • Quality (Q): The proportion of total pieces that were good on the first pass. Calculated as Good Pieces divided by Total Pieces.
  • OEE: The product of Availability, Performance, and Quality, expressed as a percentage. It represents the fraction of planned production time that was truly productive.
  • GS2Web SaaS: The GSheetPress add-on that converts a specially structured Google Sheet into a hosted web calculator. Installed from the Google Workspace Marketplace and accessed via the Extensions menu.

Prerequisites

  • A Google account with access to Google Sheets.
  • The GS2Web SaaS add-on installed on your Google account. Install it from the Google Workspace Marketplace by searching for GS2Web SaaS, then authorise it. Your Google account must match the account registered with GSheetPress. Check your entitlement at gsheetpress.com/pricing to confirm you have Calculator access.
  • A dedicated sample workbook created specifically for this calculator. Do not use a workbook that contains private production data.
  • Engineering documentation for your machine's ideal cycle time. This number should come from your process design specification, not from observed averages.

The OEE formulas

Before building the spreadsheet, it helps to see the three component formulas written out plainly.

Availability = Run Time divided by Planned Production Time

Performance = (Ideal Cycle Time multiplied by Total Pieces) divided by Run Time

Quality = Good Pieces divided by Total Pieces

OEE = Availability multiplied by Performance multiplied by Quality

All three component values are decimals between 0 and 1. Multiplying them together gives OEE as a decimal; the result cells in this guide display the value as a percentage. A common beginner mistake is entering performance inputs that push Performance above 1.0 (100%), which would mean the machine exceeded its theoretical maximum speed. If Performance exceeds 100%, your Ideal Cycle Time is set too high — go back to your engineering records and verify it.

Worked example values

The following shift data is used throughout this guide. Enter these exact numbers when testing your finished calculator.

InputValueUnit
Planned Production Time480minutes
Run Time400minutes
Ideal Cycle Time0.5minutes per piece
Total Pieces700pieces
Good Pieces630pieces

Expected results for the worked example:

MetricCalculationResult
Availability400 / 48083.33%
Performance(0.5 × 700) / 40087.50%
Quality630 / 70090.00%
OEE0.8333 × 0.875 × 0.965.63%

Alternative scenario: if Run Time increases to 450 minutes and Good Pieces rises to 660, Availability becomes 93.75%, Quality becomes 94.29%, and OEE rises to approximately 77.34%. This illustrates how reducing downtime and scrap together compound into a large OEE gain.

Build the OEE calculator in Google Sheets

The GS2Web Calculator template uses a fixed column structure in row 1, generated automatically by the add-on. The headers are: A — Labels, B — Input Type, C — Required, D — Data, E — Default, F — ToolTips (some older templates spell this ToopTips), G — Inputs, H — Rules. You do not type these headers yourself.

This calculator has five inputs. The layout is therefore:

RowPurpose
Row 1Generated column headers
Rows 2–6Five input rows (one per input)
Row 7Calculate / Reset button (generated)
Row 8Merged Results separator (generated)
Row 9Result column headings (generated)
Row 10 onwardYour result labels and formulas

Step 1 — Create the calculator template

  1. Open your dedicated sample workbook in Google Sheets.
  2. Click Extensions in the menu bar.
  3. Hover over GS2Web SaaS (or the installed add-on name as it appears in your Extensions menu).
  4. Click Calculator, then click New Calculator.
  5. When prompted, enter a name such as OEE Calculator.
  6. When asked for the number of inputs, enter 5. Do not count the button as an input.
  7. When asked whether to include graphs, choose according to your preference. Graphs are optional and do not affect the core calculation.
  8. Click Create (or the equivalent confirmation button). The add-on inserts the header row and five blank input rows into the active sheet.

Step 2 — Configure input row 2: Planned Production Time

  • A2 — Label: Planned Production Time (min)
  • B2 — Input Type: Number
  • C2 — Required: Tick the checkbox to mark this field as required.
  • D2 — Data: Leave blank.
  • E2 — Default: 480
  • F2 — ToolTips: Total scheduled run minutes in the shift, excluding planned breaks and changeovers.
  • G2 — Inputs: Leave blank before publishing. The add-on overwrites this column with web form submissions at runtime. To test your formulas locally before publishing, copy the value from E2 and paste it into G2 using Edit → Paste special → Values only.
  • H2 — Rules: Leave blank, or enter min:1 to prevent zero entries if your add-on version supports rule validation.

Step 3 — Configure input row 3: Run Time

  • A3 — Label: Run Time (min)
  • B3 — Input Type: Number
  • C3 — Required: Tick the checkbox.
  • D3 — Data: Leave blank.
  • E3 — Default: 400
  • F3 — ToolTips: Actual minutes the machine ran during the shift — planned production time minus all unplanned downtime.
  • G3 — Inputs: Leave blank for publishing; copy E3 value here for local testing only.
  • H3 — Rules: Leave blank.

Step 4 — Configure input row 4: Ideal Cycle Time

  • A4 — Label: Ideal Cycle Time (min/piece)
  • B4 — Input Type: Number
  • C4 — Required: Tick the checkbox.
  • D4 — Data: Leave blank.
  • E4 — Default: 0.5
  • F4 — ToolTips: Fastest possible time in minutes to produce one unit under perfect conditions. Use your engineering design standard, not an observed average.
  • G4 — Inputs: Leave blank for publishing; copy E4 value here for local testing only.
  • H4 — Rules: Leave blank, or enter min:0.001 to guard against accidental zero entry.

Step 5 — Configure input row 5: Total Pieces

  • A5 — Label: Total Pieces Produced
  • B5 — Input Type: Number
  • C5 — Required: Tick the checkbox.
  • D5 — Data: Leave blank.
  • E5 — Default: 700
  • F5 — ToolTips: All units produced during the shift, including rejects and any parts requiring rework.
  • G5 — Inputs: Leave blank for publishing; copy E5 value here for local testing only.
  • H5 — Rules: Leave blank.

Step 6 — Configure input row 6: Good Pieces

  • A6 — Label: Good Pieces (first pass)
  • B6 — Input Type: Number
  • C6 — Required: Tick the checkbox.
  • D6 — Data: Leave blank.
  • E6 — Default: 630
  • F6 — ToolTips: Units that passed quality inspection first time, with no rework included in this count.
  • G6 — Inputs: Leave blank for publishing; copy E6 value here for local testing only.
  • H6 — Rules: Leave blank.

Step 7 — Confirm the generated button row

Row 7 was created automatically by the add-on. Check that B7 contains Button and D7 contains main. The label in A7 may read Calculate or similar — do not change B7 or D7. If E7 reads Reset, leave it as generated; that is the reset button label produced by the template, not a value you should edit.

Step 8 — Enter result labels and formulas

Row 8 is the merged Results separator (generated by the add-on). Row 9 holds result column headings (also generated). Your result labels go in column A and your formulas go in column B, starting at row 10.

Important: column E holds the form defaults used at design time and column G holds the values submitted through the web form at runtime. All result formulas must reference column G (G2 through G6). Never store result formulas in column G itself, as the add-on overwrites that column with form submissions.

To test your formulas before publishing, copy the range E2:E6, click cell G2, then use Edit → Paste special → Values only. This places the default values into G2:G6 so your formulas calculate immediately.

For each result row below, click the cell in column A and type the label, then click the corresponding cell in column B, type the formula starting with =, and press Enter.

Result row 10 — Availability

Click A10 and type the label:

Availability

Click B10 and enter the formula:

=IF(OR(G2=0,G2=""),"Enter inputs",TEXT(G3/G2,"0.00%"))

This formula returns a readable error message if Planned Production Time (G2) is zero or blank, preventing a division-by-zero error. Otherwise it divides Run Time (G3) by Planned Production Time (G2) and formats the result as a percentage. With the worked example defaults, this returns 83.33%.

Result row 11 — Performance

Click A11 and type the label:

Performance

Click B11 and enter the formula:

=IF(OR(G3=0,G3=""),"Enter inputs",TEXT((G4*G5)/G3,"0.00%"))

This divides the product of Ideal Cycle Time (G4) and Total Pieces (G5) by Run Time (G3). If Run Time is zero or blank the formula returns a message instead of an error. With the worked example defaults, this returns 87.50%. If your result exceeds 100%, revisit your Ideal Cycle Time value — see the Troubleshooting section below.

Result row 12 — Quality

Click A12 and type the label:

Quality

Click B12 and enter the formula:

=IF(OR(G5=0,G5=""),"Enter inputs",TEXT(G6/G5,"0.00%"))

This divides Good Pieces (G6) by Total Pieces (G5). With the worked example defaults, this returns 90.00%.

Result row 13 — OEE

Click A13 and type the label:

OEE

Click B13 and enter the formula:

=IF(OR(G2=0,G2="",G3=0,G3="",G5=0,G5=""),"Enter inputs",TEXT((G3/G2)*((G4*G5)/G3)*(G6/G5),"0.00%"))

This multiplies Availability, Performance, and Quality in a single expression. The OR check catches any missing or zero denominator across all three components and returns a message rather than a propagated error. With the worked example defaults, this returns 65.63%.

Result row 14 — Downtime Loss (minutes)

Click A14 and type the label:

Downtime Loss (min)

Click B14 and enter the formula:

=IF(OR(G2="",G3=""),"Enter inputs",G2-G3)

This subtracts Run Time from Planned Production Time to give the total unplanned downtime in minutes. With the worked example, this returns 80 minutes.

Result row 15 — Reject Pieces

Click A15 and type the label:

Reject Pieces

Click B15 and enter the formula:

=IF(OR(G5="",G6=""),"Enter inputs",G5-G6)

This subtracts Good Pieces from Total Pieces. With the worked example, this returns 70 pieces rejected.

Step 9 — Review the complete cell map

Use this table to verify every cell before testing.

CellContent
A2Planned Production Time (min)
B2Number
C2Checkbox ticked
E2480
F2Total scheduled run minutes in the shift, excluding planned breaks and changeovers.
A3Run Time (min)
B3Number
C3Checkbox ticked
E3400
F3Actual minutes the machine ran during the shift.
A4Ideal Cycle Time (min/piece)
B4Number
C4Checkbox ticked
E40.5
F4Fastest possible time in minutes to produce one unit. Use your engineering standard.
A5Total Pieces Produced
B5Number
C5Checkbox ticked
E5700
F5All units produced this shift including rejects.
A6Good Pieces (first pass)
B6Number
C6Checkbox ticked
E6630
F6Units passing quality inspection first time, no rework included.
B7Button (do not change)
D7main (do not change)
A10Availability
B10=IF(OR(G2=0,G2=""),"Enter inputs",TEXT(G3/G2,"0.00%"))
A11Performance
B11=IF(OR(G3=0,G3=""),"Enter inputs",TEXT((G4*G5)/G3,"0.00%"))
A12Quality
B12=IF(OR(G5=0,G5=""),"Enter inputs",TEXT(G6/G5,"0.00%"))
A13OEE
B13=IF(OR(G2=0,G2="",G3=0,G3="",G5=0,G5=""),"Enter inputs",TEXT((G3/G2)*((G4*G5)/G3)*(G6/G5),"0.00%"))
A14Downtime Loss (min)
B14=IF(OR(G2="",G3=""),"Enter inputs",G2-G3)
A15Reject Pieces
B15=IF(OR(G5="",G6=""),"Enter inputs",G5-G6)

Step 10 — Test locally with worked example values

  1. Select cells E2:E6 (the five default values you entered).
  2. Copy the selection (Ctrl+C or Cmd+C).
  3. Click cell G2.
  4. Open Edit → Paste special → Values only and confirm. This places the numbers 480, 400, 0.5, 700, and 630 into G2:G6 without overwriting any formulas.
  5. Check that B10 shows 83.33%, B11 shows 87.50%, B12 shows 90.00%, B13 shows 65.63%, B14 shows 80, and B15 shows 70.
  6. If any result shows an error or unexpected value, re-read the formula for that row and check the cell reference against the cell map table above.

Troubleshooting common OEE calculation problems

Performance result exceeds 100%

Performance above 100% means the formula calculates more output than the theoretical maximum allows. The most common cause is an Ideal Cycle Time (G4) that is too large — perhaps it was taken from an observed average rather than the engineering design rate. Check your machine specification or time-study records. A second cause is Run Time (G3) recorded shorter than it actually was; audit your downtime log entries.

OEE result shows zero or a very low number unexpectedly

Verify that Good Pieces (G6) is not zero. Also check that Run Time (G3) is not accidentally set equal to Planned Production Time (G2), which would make Availability 100% but could mask a data-entry error elsewhere. Work through each component (Availability, Performance, Quality) individually rather than jumping straight to the OEE result.

Formulas return the text "Enter inputs"

This means one of the guard conditions in the IF/OR block is true: a denominator cell is either blank or zero. For local testing, confirm you pasted the defaults from E2:E6 into G2:G6 using Values only paste. For web submissions, the Required checkbox on each input row (column C) should prevent blank submissions, but a user entering 0 manually can still trigger the message.

Run Time is greater than Planned Production Time

This is an infeasible input: a machine cannot run longer than the time scheduled for it. The formulas do not block this automatically. Add a note to your calculator instructions reminding users that Run Time must be equal to or less than Planned Production Time. If you want to surface a warning, you can add a helper result row with a formula such as:

=IF(G3>G2,"Warning: Run Time exceeds Planned Time — check inputs","")

Good Pieces exceeds Total Pieces

This is also an infeasible input that the formulas accept without error. Add a similar helper row:

=IF(G6>G5,"Warning: Good Pieces exceeds Total Pieces — check inputs","")

Double-counted losses

A common data integrity issue is subtracting downtime from both Planned Production Time (to arrive at Run Time) and also from Total Pieces. If downtime has already reduced your Run Time, do not also reduce your Total Pieces count for the same downtime period. Doing so double-counts the loss and understates OEE. Treat availability losses (downtime) and quality losses (rejects) as separate, non-overlapping categories.

Frequently asked questions

What is a good OEE score for manufacturing?

A score of 85% is widely cited as a world-class benchmark for discrete manufacturing. However, the right target depends on your industry and process type. Continuous process industries such as oil refining often operate above 90%, while complex assembly lines may target 60–70%. Use OEE as a trend indicator to track improvement over time rather than comparing raw scores between fundamentally different types of equipment or process.

Why does Performance exceed 100% in my OEE calculator?

Performance above 100% means the machine apparently produced more units than the theoretical maximum allows. The most common cause is an Ideal Cycle Time that is set too high, possibly reflecting an observed average rather than the true engineering design rate. Check your machine documentation or time-study records to find the correct minimum cycle time. Performance can also exceed 100% if Run Time is recorded shorter than it actually was, so verify your downtime logs as well.

Can I use this OEE calculator for multiple machines or shifts?

This guide covers a single machine over a single shift. To track multiple machines, you can build a summary sheet in the same workbook that references the result cells from individual shift tabs. However, multi-machine aggregation requires weighted averaging by planned production time, not a simple average of OEE scores. That extended model is outside the scope of this single-shift calculator. For more ways to structure calculation outputs in Google Sheets, see the GSheetPress calculator details page and the table details page.

Publish and test your web calculator

Before publishing, confirm that your local test in Step 10 returned the correct results: 83.33%, 87.50%, 90.00%, 65.63%, 80 minutes, and 70 pieces. Only proceed once your formulas are working correctly.

Step 1 — Share the workbook correctly

The GS2Web publishing process requires the workbook to be accessible. Click Share in the top-right corner of Google Sheets. Under General access, change the setting to Anyone with the link, then set the role to Editor, and click Done.

Important: Setting access to Editor means anyone who obtains the spreadsheet link can edit the workbook directly. Use only your dedicated sample workbook for this — never a file containing real production data or any other sensitive information.

Step 2 — Publish the calculator

  1. Make sure the calculator tab (the sheet containing your input rows and result formulas) is the active, selected tab.
  2. Click Extensions in the menu bar.
  3. Hover over GS2Web SaaS.
  4. Click Calculator, then click Publish Calculator.
  5. Wait for the confirmation message. The add-on processes the sheet and registers a public URL for your calculator.

Step 3 — Retrieve and open the public link

  1. After confirmation, click Calculator again in the GS2Web SaaS menu, then click Get Links (or the equivalent option in your version). This refreshes the links sheet within the workbook.
  2. Navigate to the links sheet. Find the row that matches your Sheet Name (the name of the tab you published, for example OEE Calculator).
  3. Column B contains the Edit Link — do not use this for sharing.
  4. Column C contains the public Link. Open this URL in a browser. This is the address you share with users.
  5. Column D contains the Iframe embed code, which you can optionally paste into an HTML block on a website to embed the calculator inline.

Step 4 — Test on the public calculator

  1. Open the public link in a browser.
  2. Clear any pre-filled values and enter the worked example inputs: 480, 400, 0.5, 700, and 630.
  3. Click the Calculate button on the form.
  4. Confirm that the results displayed match the expected values: Availability 83.33%, Performance 87.50%, Quality 90.00%, OEE 65.63%, Downtime Loss 80 minutes, Reject Pieces 70.
  5. If any result differs, return to the spreadsheet, re-check the formula in the relevant result row against the cell map table, correct it, and republish. Republishing the same existing calculator retains its public link — you do not need a new URL.

If you need help at any stage of the publishing process, visit the GSheetPress support page for documentation and contact options.