The elements of cost in manufacturing can be divided into three main categories: materials, labor, and expenses. These categories can further be separated into direct and indirect costs. Direct materials, direct labor, and direct expenses are summed to calculate the prime cost of manufacturing a product when converting raw materials into a finished good with labor and services.