Cost of Quality (COQ) sums four buckets: prevention costs (training, mistake-proofing), appraisal costs (inspection, testing), internal failure costs (scrap, rework), and external failure costs (warranty, recalls, lost customers).
The strategic insight is that money spent on prevention is far cheaper than money lost to failure; typically the "hidden factory" of failure costs dwarfs the visible inspection budget. COQ makes the financial case for quality improvement.
Example. A line scraps 2% of 50,000 units a year at $40 of material and labour each: $40,000. Rework on another 5% takes 0.5 hours each at $35 an hour: $43,750. Two warranty returns a month cost $1,500 each: $36,000. Failure costs total about $120,000 a year, against an inspection budget of $60,000 and $8,000 spent on training. Doubling prevention spend to cut failure costs by a quarter pays back inside the year.
Collect it from systems you already have: scrap transactions, rework labour bookings, warranty claims and inspection hours. Report it as a percentage of sales so sites can be compared. The usual finding is that external failure is understated, because lost repeat business never shows up as a cost line. The cost of quality guide covers the four categories in detail.