Each business may have a slight variation in what costs they include in the cost of goods sold formula. However, most businesses will include; the raw material cost, a shipping cost, and any accessory cost involved in producing the final product for sale.