The research aims to study the factors affecting the cost of quality, namely the costs of prevention and evaluation, internal and external failure costs, budget for quality, loss of quality (poor quality costs), and estimation of general trend function, and the quality budget in terms of the time element, where there is a general trend of the cost of prevention and the costs of external failure, while a general trend of time was found to contradict the other variables. It has been used analysis methods of statistical quantitative to determine the most independent variables affect the actual costs of quality and show that Poor quality costs are more effective in the actual total cost of quality variables, and this is consistent with the logic where the poor quality costs reflect both internal and external costs of failure, therefore, they mask the effect of both the actual total cost of quality, and the results indicate that the increase in poor quality by one thousand pounds costs lead to increase the overall quality of the actual costs by 510 pounds, has multiple regression equation estimates suggested using the analysis method only. The logistic regression is used to estimate the effect of factors influencing the consumer choice of quality of agricultural and food commodities after excluding the profession variable because of strong correlation between the profession and the consumer's income to a positive relationship at a significant level of 0.01 between consumer income and preference for high quality goods. Education degree to consumers by 1% greater the degree of orientation to buy high quality goods by 1.45%. The results also showed that independent factors combined explain about 74% of the changes occurring in the dependent variable. The study recommended that the budget allocations for prevention and evaluation costs should be increased, thus reducing the cost of poor quality (internal and external failure). The gap between the quality budget and the total actual quality costs will be reduced, thus reducing quality loss resulting from poor quality. Assessments such as tests and experiments conducted in order to ensure the safety and quality of products and compliance with standards and quality standards to reduce the size of the returns costs.