Once you have determined the operational definition of what constitues a defect:
The total number of defects counted on the population in question divided by the total population count.
Calculated as (1-Yield).
This dictionary provides useful terms and definitions for Six Sigma understanding.