How to Calculate Material and Labor Costs
Purchase vs. consumption
Materials are bought in bulk (purchase quantity). Only a portion is used for a specific batch (consumed quantity). The engine converts both quantities to a common base unit before calculating the cost proportion.
Supported unit categories
The engine recognises three categories (see Markup vs. Profit Margin for details):
- Mass: mg, g, kg, oz, lb
- Volume: ml, L, fl oz
- Count: pieces, units
Both purchase and consumed units must belong to the same category; otherwise the calculator returns an error.
Example conversion
| Material | Purchase qty | Purchase unit | Consumed qty | Consumed unit |
|---|---|---|---|---|
| Wax | 2 | kg | 1500 | g |
| Essential oil | 500 | ml | 0.3 | L |
2 kg of wax = 2000 g. Consumed 1500 g → cost proportion = 1500 / 2000 = 0.75 of the purchase price.
Labor cost
Labor rows contain an hours field and an hourly rate field. The cost is simply hours × rate. Multiple labor rows are summed.
Process loss and double‑counting
Wastage is handled by specifying a consumed quantity that is lower than the purchase quantity. Do **not** also add a separate “wastage” line; the conversion already accounts for the proportion used.
See the main cost guide for a full example.