In a chemical or paint plant, the formula is a target and the reactor decides the result. That gap is exactly what batch costing software for process manufacturing exists to measure.
Batch costing software for process manufacturing calculates what each production batch actually cost: the raw materials really consumed, plus labour, utilities and overheads, minus the value of scrap or by-products, divided by the actual output. It then compares that figure against the standard formula to show yield variance batch by batch.
This guide covers what such a system has to capture, how ERPNext handles each piece, where it needs extra work, and what changes for plants in Gujarat’s chemical belt.
Why batch costing is harder in process manufacturing
In discrete manufacturing, a bill of materials is exact: a chair needs four legs. In process manufacturing, a formula is an expectation. Raw material purity, moisture, reaction time, temperature control and operator judgement all move the output from one batch to the next.
So two batches of the same product can land at very different costs per kg. If costing happens once a month by dividing total spend by total output, the average hides which batches lost money and why. By the time anyone notices, the raw material has been consumed and the product sold.
What batch costing software for process manufacturing has to capture
Actual consumption of each raw material, not just the formula quantity
Planned vs actual output, with process loss recorded separately
Scrap and by-products valued and credited back against the batch
Conversion costs: labour, power, steam, machine time
Batch or lot numbers, so the cost follows the product into stock and onto the invoice
How ERPNext handles batch costing
How the finished batch value is built
| Cost element | Where it comes from in ERPNext |
|---|---|
| Raw materials | Valuation rate of the materials actually issued to the work order |
| Operating cost | Workstation hour rates applied to operations and job cards |
| Other conversion costs | "Additional Costs" rows on the Manufacture entry (e.g. power, steam, fuel) |
| Scrap / by-products | Scrap items defined on the BOM, valued and deducted from the finished cost |
| Process loss | Expected loss % set on the BOM; actual loss quantity recorded on the entry |
The backflush decision
Yield variance tracking for chemical and process batches
Yield variance is the gap between the output the formula should give and what the batch actually produced. It is favourable when you get more than expected and unfavourable when you get less.
ERPNext’s BOM Variance Report compares BOM quantities against actual consumption per work order, and process loss data on the manufacture entry shows the output side. Read together, they tell you whether a bad batch was an input problem (too much consumed) or an output problem (normal inputs, low yield).
An illustrative example: a formula expects 1,000 kg of output with 2% process loss. The batch consumes normal inputs but yields 940 kg. Consumption is on target, so the problem sits in the reaction or recovery step, not in raw material handling. A different batch that yields 980 kg but consumed noticeably more of one intermediate points you at dosing or material quality instead.
A practical routine that works in most plants:
Set a realistic expected loss on each BOM, based on your own history rather than the theoretical figure
Record actual consumption for the inputs that drive most of the cost
Define a tolerance band per product
Review batches outside that band weekly, while the shift and raw material lot are still traceable
Getting this right is mostly configuration and discipline, not code. If your plant needs this batch-level view built around your own formulas and tolerances, that is what a tailored ERPNext implementation is for.
The Gujarat chemical-belt angle: Ankleshwar, Vapi and the GIDC estates
Job work between units
Many units send material out for a single step (a reaction, drying, milling) to a neighbouring plant. If the job work charge and the material movement sit outside the ERP, the batch cost is understated. ERPNext's subcontracting flow keeps both the material sent out and the job work charge inside the batch, and keeps the stock at the job worker visible.
Solvent recovery
Recovered solvent has real value. When it is ignored, every batch looks more expensive than it is and the recovery plant looks like a pure cost centre. Setting recovered solvent up as a valued scrap or by-product item credits it back to the batch that produced it.
Variable-assay raw materials
Intermediates bought from different suppliers often vary in purity, so the effective quantity needed per batch changes. ERPNext does not adjust consumption for assay natively. This usually needs a small custom calculation on the work order.
Month-end Excel costing
A common pattern is production in one register, purchases in the accounting package, and costing reconciled in Excel at month-end. Moving to batch costing in an ERP is as much a process change as a software change, and it goes smoother when the floor team is part of the design.
Where ERPNext needs configuration or custom work
True co-products
When one batch produces two saleable products, splitting cost between them by a rule you choose (weight, market value) needs configuration or custom logic.
Potency or assay-based consumption
Not native, as covered above.
Metered utility absorption
Charging power or steam to batches by actual meter readings needs a defined method and usually some automation.
Standard vs actual reporting across periods
The data is there, but a variance dashboard in the shape your management reads usually needs a custom report.
Frequently Asked Questions
Want a second look at your batch costing?
If you are evaluating batch costing software for process manufacturing, the useful first step is mapping one product: its formula, where losses happen, what gets recovered and what goes out on job work. That map tells you quickly what ERPNext handles as-is and what needs configuration.
Book a free ERPNext consultation and we will walk through one of your products with you. If you would like to see how other implementations approached similar problems first, our case studies are a good place to start.








