---
title: "How to calculate the cost of damaged products, semi-finished goods, and raw materials?"
canonical: "https://wiki.soft1.eu/space/SKEN/643076777/How%20to%20calculate%20the%20cost%20of%20damaged%20products%2C%20semi-finished%20goods%2C%20and%20raw%20materials%3F"
format: markdown
---
🌱  1. Use the* Cost Price Calculation *job *(Commercial Management → Stock Management → Cost Prices)*. For the preferred **period**, calculate the cost prices of **raw materials**, **semi-finished goods**, and **packaging materials**:

2. Run the **Create Costing Stages **job to prioritize and categorize costs. First, calculate the cost for semi-finished goods, then for final products, based on the Docs they are included in.
3. Run the **Production Costing** job and find in Stock Documents:
  1. the doc including the cost prices.
  2. The consumption doc for raw materials, semi-finished goods, and packaging materials.
4. Run again the **Cost Price Calculation** job. Activate the **Include Costing Elements **flag to charge the products with the cost value expenses.
5. Calculate Raw Material Costs with Costing Elements:

- Activate the **Include Costing Elements** flag when calculating raw material costs.
- Run the process to allocate the expense values to the products.

6. Check the Official Stock Ledger to display the quantities and values of items. Calculate the cost per item by dividing the total value by the quantity.

### FAQs

> Macro (contentbylabel)