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):

Both purchase and consumed units must belong to the same category; otherwise the calculator returns an error.

Example conversion

MaterialPurchase qtyPurchase unitConsumed qtyConsumed unit
Wax2kg1500g
Essential oil500ml0.3L

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.