To work out your total product costs, you add your direct material and labor costs, plus your manufacturing overheads.
However, to understand the true cost of a product and your actual profit margins, you must understand cost accounting. This includes various factors like ingredient and material prices, market conditions, and supplier location, which help you predict potential changes that could impact your products.