The purpose of this article is to examine the difficulties associated with quality costing and propose a solution based upon the use of knowledge management techniques. A widely available software tool is used to create a quality costing ontology based upon the prevention appraisal failure classification of quality costs. This ontology is used for the collection, processing, sharing and use of quality cost-related knowledge. The ontology was evaluated using case study data and compared with conventional approaches to quality costing. The quality costing ontology is easier and more efficient than conventional quality costing methods. It has greater capability in terms of the analysis and use of quality costing knowledge and overcomes the barriers to quality costing due to poor understanding and awareness.