ERPNext builds finished-goods cost from three parts: raw material cost, operation cost (labour and machine time) and overheads, less any saleable scrap. The BOM gives the standard cost; the Work Order and its manufacture entry record the actual cost of a real run. Together they tell you what a product costs to make.
Costing is where a careless ERP setup shows. If material, labour and overhead are not modelled, ERPNext still produces a "cost", but it is wrong, and prices set on it lose money without anyone noticing. An accurate finished-goods cost is a strong reason to run manufacturing on an ERP at all.
A finished-goods cost is only as good as the three inputs behind it: material, operations and overhead. Model all three and ERPNext gives you a cost you can defend; model only material and you are pricing on a guess. I am Manoj, and I lead ERPNext and Frappe manufacturing implementations at MithTech, a team of Frappe specialists in Bengaluru. This guide explains how the costing works.
Material + operations + overheads, less scrap
Cost Component Summary. Finished-goods cost = material (valuation rate × quantity consumed) + operations (workstation hour rate × operation time) + overheads (in the hour rate, or as additional costs on the Work Order or manufacture entry) − saleable scrap.
How does ERPNext calculate finished-goods cost?
ERPNext adds the raw material cost, the operation cost from the routing (workstation rate multiplied by time) and any overheads, then subtracts the value of saleable scrap. The BOM holds these as a standard cost per unit. When you produce, the Work Order and its manufacture entry record the quantities and times actually used, which gives the real cost of that run.
The three inputs are:
- Material cost: the rate of each raw material (valuation rate, last purchase rate or price list, as the BOM's "Rate Of Materials Based On" says), at the quantity consumed.
- Operation cost: each routing operation's time multiplied by its workstation's hourly rate (labour and machine). A BOM without routing can carry a flat "Finished Goods based Operating Cost" instead.
- Overheads: built into the workstation hour rate, or added as "Additional Operating Cost" on the Work Order or "Additional Costs" on the manufacture Stock Entry.
Saleable scrap is then netted off. The result is a finished-goods valuation that posts to stock and the general ledger.
Skimmable summary: ERPNext adds material, operations (workstation rate × time) and overheads, less saleable scrap. The BOM gives standard cost; the Work Order and manufacture entry record the actual cost of a run, which posts to stock and the ledger.
How do I add labour and machine cost to a BOM?
You add labour and machine cost in ERPNext by defining operations and workstations, setting an hourly rate on each workstation, and adding those operations to the BOM's routing with a time per operation. ERPNext then multiplies the operation time by the workstation's hourly rate to produce the operation cost, which becomes part of the finished-goods cost.
The workstation's net hour rate is built from electricity, consumables, rent and wages, so one rate can carry labour, machine and a share of overhead. Getting these rates right turns a material-only cost into a real manufacturing cost. Skip it and margins won't match reality: the missing operation cost is usually why.
Skimmable summary: Define operations and workstations, set an hourly rate per workstation, and add operations to the BOM routing with a time. ERPNext multiplies time by rate for operation cost; skipping this step is a common reason costs look wrong.
What is the difference between standard cost and actual cost?
Standard cost in ERPNext is the planned cost from the BOM before production; actual cost is what a specific Work Order really consumed in material, time, and overhead. Standard cost is used for planning, quoting, and inventory valuation; actual cost tells you whether a real run performed as expected. The gap between them is where you find inefficiency.
| Standard cost | Actual cost | |
|---|---|---|
| Source | BOM (planned) | Work Order (as produced) |
| Used for | Quoting, planning, valuation | Performance review, variance |
| Captures | Expected material and operation cost | Real consumption and time |
| Reveals | The target | Whether you hit it |
Reviewing standard against actual across Work Orders is the payoff of costing in an ERP: it turns a number into a management tool. For a fixed standard cost and variance reporting, see standard costing in ERPNext.
Skimmable summary: Standard cost is the BOM's planned cost for quoting and planning; actual cost is what a Work Order really consumed. The variance between them shows where a run lost money.
Why is my ERPNext product cost wrong?
An ERPNext product cost is usually wrong because one of the three inputs is missing or set up wrongly, most often the operation cost (no workstation rates or routing) or stale raw-material rates. ERPNext will still calculate a cost from whatever it has, so a material-only BOM produces a confident but incomplete number that under-states true cost.
The common culprits are: no operations or workstation rates defined, so labour and machine cost is zero; outdated item valuation rates that no longer match purchase prices; overheads never added; and multi-level BOMs where a sub-assembly's cost was never rolled up. Fixing costing is usually a configuration review, not a software problem. Multi-level products in particular need correct sub-assembly costing — covered in my multi-level BOM guide.
Skimmable summary: Product cost is wrong when an input is missing: usually zero operation cost (no workstation rates), stale material rates, no overheads, or sub-assembly costs never rolled up. It is a configuration fix, not a software fault.
Frequently asked questions
+How does ERPNext calculate the cost of a manufactured item?
ERPNext adds the raw material cost, the operation cost from the routing (workstation hourly rate multiplied by operation time) and any overheads, then subtracts the value of saleable scrap. The BOM holds this as a standard cost, and the Work Order and manufacture entry record the actual cost of each run, which posts to stock and the ledger.
+How do I include labour cost in ERPNext manufacturing?
Define operations and workstations, set an hourly rate on each workstation, and add the operations to the BOM's routing with a time per operation. ERPNext multiplies the time by the rate to produce the operation cost, which includes labour and machine cost. Without workstation rates and routing, ERPNext treats operation cost as zero, which understates the true finished-goods cost.
+Why does my finished-goods cost look too low in ERPNext?
The usual reason is a missing input: no operation cost because workstations and routing were not set up, overheads never added, or stale raw-material valuation rates. ERPNext calculates a cost from whatever data exists, so a material-only BOM produces a low, incomplete figure. Review the BOM's operations, workstation rates, overheads, and item valuations to correct it.
+What is the difference between BOM cost and Work Order cost?
BOM cost is the standard, planned cost of producing one unit before you make it; Work Order cost is the actual cost of a specific production run, based on real material consumed and time taken. BOM cost is used for quoting and valuation; Work Order cost shows whether the run performed to plan. The variance between them highlights inefficiency.
+Does ERPNext handle overheads in product costing?
Yes, in three places. The workstation hour rate includes electricity, consumables and rent as well as wages; the Work Order has an "Additional Operating Cost"; and the manufacture Stock Entry has an "Additional Costs" table for charges such as power or supervision for that run. Adding overheads gives a fuller finished-goods cost than material and labour alone. Related reading: how to handle scrap, wastage and by-products in an ERPNext BOM and the ERPNext platform overview.
+Can we set up finished-goods costing ourselves, or do we need outside help?
For one plant with clean item and BOM data, a capable in-house team can follow this guide. Several plants or companies, multi-level BOMs with routings, or costing that feeds statutory reports are where an experienced implementer saves time. Be honest about the scope before you decide.
Comments & ratings
No comments yet. Start a new discussion.
Manoj · Published on 11 July 2026
Worked with us? Leave a Google review