Login Register

Access the GIFSQ Portal

Select your user type to log in or register a new account.

Student Portal

Access your food safety courses and exams.

Instructor Portal

Manage courses, view student submissions, and grade quizzes.

Company Portal

Manage corporate setup, view employee logs, and access QA services.

Home / Resources / Tools Hub / Defect Rate Calculator

Defect Rate Calculator

Interactive Tool Free Resource

GIFSQ ID: CAL-0554

GIFSQ Tools : Quality : Version v1 : Technical review date: 2026-11-15

Percent defective in an inspected lot or period, and defects per million opportunities (DPMO) where the opportunity count is known.

Educational calculator: this is a calculation aid for learning and planning. It is not a validated food safety process and must not be presented as one. Confirm any value against your accredited method and your own process validation before using it in production.

Inputs

Enter values above to see results.

Formula

Percent defective = defective units / units inspected x 100. DPMO = total defects / (units inspected x opportunities per unit) x 1,000,000. The percent-defective formula is the definition of the term; the DPMO formula is the standard extension of it and is labelled as such.

Variable definitions and units

Units inspected: count. Defective units: count (a unit with at least one defect). Total defects: count (optional). Opportunities per unit: count (optional, only for DPMO). Percent defective: %. DPMO: count per million.

Assumptions

Each unit is classified defective or not by the same inspection criteria. Opportunities per unit are constant across units (for DPMO).

Input validation

Units inspected greater than 0. Defective units 0 to units inspected. Total defects greater than or equal to defective units. Opportunities per unit greater than 0 where DPMO is used.

Worked example

No worked percent-defective calculation with numbers is given in the books, so no book worked example is shown. Book definitions (Food Quality Assurance: Principles and Practices, glossary): Defective: a unit of product containing at least one defect or having several defects. Acceptable quality level (AQL): can also be expressed as the maximum percent defective that can be considered satisfactory for the average of the process. Illustrative calculation using the book definition (not a book worked example): 1000 units inspected, 12 defective, percent defective = 12 / 1000 x 100 = 1.20%. With 15 total defects and 5 opportunities per unit, DPMO = 15 / (1000 x 5) x 1,000,000 = 3000.

Expected output

Percent defective %, defective units, units inspected, DPMO where applicable. Illustrative inputs give 1.20% and DPMO 3000.

Calculation limitations

No book worked example. Percent defective does not distinguish one defect from several per unit (use DPMO or defects-per-unit for that). A percent-defective result must not be presented as an AQL decision without a sampling plan (see Q1).

Source

Food Quality Assurance: Principles and Practices, glossary (Defective; Acceptable quality level).