The process of determining the costs associated with ensuring the quality of products or services, including prevention, appraisal, and failure costs.