Streamline Your Complex Business Operations
with Cirumtech ERP

How to Calculate Manufacturing Costs Using ERP Software

Published 7 November 2026 · Cirumtech ERP team

Ask a factory owner what one unit of their best-selling product costs, and the answer is often an estimate made years ago. Material prices, wages, electricity and gas tariffs have all changed since then. Without an accurate cost, pricing is guesswork and some products may be selling at a loss.

This article explains the components of manufacturing cost, shows a simple worked example, and explains how ERP software keeps the numbers accurate.

The three components of manufacturing cost

1. Direct materials

Raw materials and packing materials that go into the product, including normal wastage. For example: fabric, thread and buttons in a garment, or resin and colorant in a plastic product.

2. Direct labour

Wages of workers who make the product, including overtime and benefits, assigned by hours worked, pieces produced or shift.

3. Manufacturing overhead

Factory costs that can't be traced to a single unit: electricity, gas, machine depreciation, maintenance, factory rent, supervisors' salaries and quality control. Overheads are allocated to products using a basis such as machine hours, labour hours or units produced.

Cost of production = direct materials + direct labour + manufacturing overhead

A worked example

Suppose a factory produces a batch of 1,000 units in a month:

Cost elementCalculationAmount (PKR)
Raw material A520 kg × 300156,000
Packing material1,000 × 1515,000
Direct labour400 hours × 250100,000
Overhead80 machine hours × 1,10088,000
Total cost of batch359,000
Cost per unit359,000 ÷ 1,000359

If the bill of materials expected 500 kg of material A but 520 kg was actually used, the extra 20 kg (PKR 6,000) is a material usage variance. That is exactly the kind of loss that stays hidden without a system.

Figures are illustrative only.

Standard cost vs actual cost

  • Standard cost is what a product should cost, based on the bill of materials, expected labour time and budgeted overhead rates. It is used for pricing and planning.
  • Actual cost is what it did cost, based on materials actually issued, hours actually worked and overheads actually incurred.

Comparing the two (variance analysis) tells management where money is being lost: material wastage, slow production, price increases or under-used capacity.

Why spreadsheets get product cost wrong

  • Material prices in the sheet are out of date.
  • Wastage, rejects and rework are not recorded.
  • Overheads are added as a rough percentage that hasn't been reviewed in years.
  • Stores issues, production output and accounts are in different files that don't reconcile.

How ERP software calculates manufacturing cost

  1. Material cost from real purchases: goods receipts record actual purchase prices, and inventory valuation (for example, weighted average) gives the cost of materials issued to production.
  2. Consumption from production orders: materials issued against a production order are compared with the bill of materials, so over-consumption is visible.
  3. Labour from attendance and payroll: hours, overtime and wages come from the HR & payroll module rather than estimates.
  4. Overheads from the ledger: utility bills, maintenance and machine depreciation are already recorded in accounts and can be allocated on a consistent basis.
  5. Finished goods at cost: completed production enters inventory at its calculated cost, so the cost of goods sold and gross margin per product are accurate.

Using cost data to make better decisions

  • Pricing: quote with confidence, knowing your real margin on each product.
  • Product mix: find the products and customers that are actually profitable.
  • Cost control: act on material, labour and overhead variances every month.
  • Make or buy: compare in-house cost with outsourcing.

Related reading

See C-BIS ERP working on your own business processes.

Book a free demo with a Cirumtech ERP consultant, or call 0321-9281812.

Request a Free ERP Demo

Go-live in days, not months

With Cirumtech, you can go live in days, not months.

Cirumtech is the world's #1 Enterprise Resource Planning (ERP) Software System


TRY NOW FOR FREE