Costing & FinanceFree calculatorPDF, Excel, Word exportDiscrete Manufacturing

Total Manufacturing Cost Formula Calculator (Direct Materials + Direct Labor + Overhead)

Total manufacturing cost is direct materials used plus direct labor plus manufacturing overhead. Adjust for the change in work in process to get cost of goods manufactured, and divide by units for cost per unit. This calculator works through each step.

Your numbers

hours
per hour

Wage plus payroll burden

per hour

Budgeted overhead divided by budgeted labor hours

units

Your results

Total manufacturing cost
$453,800
Direct materials + direct labor + overhead
Cost of goods manufactured
$449,800
Adjusted for the change in work in process
Direct materials used
$185,000
Beginning inventory plus purchases minus ending inventory
Direct labor cost
$117,600
Manufacturing overhead applied
$151,200
Cost per unit
$47
Prime cost
$302,600
Direct materials plus direct labor
Conversion cost
$268,800
Direct labor plus overhead

Educational calculation. Follow your own cost accounting policy and applicable accounting standards for reporting.

Save results:

Cost per unit vs overhead rate

Sweeps Overhead rate per direct labor hour from 5 to 80, holding your other inputs fixed.

Reconcile this with your ERP cost report

Optional: see how job cost and WIP data in your ERP can be queried on-prem.

Optional. The tool and every export work without this. No spam.

The formulas

Direct materials used equals beginning raw materials plus purchases minus ending raw materials. Total manufacturing cost equals direct materials used plus direct labor plus manufacturing overhead. Cost of goods manufactured (COGM) equals total manufacturing cost plus beginning work in process minus ending work in process. Cost per unit equals COGM divided by units completed. Overhead is usually applied with a predetermined rate, such as budgeted overhead divided by budgeted direct labor hours.

  • Direct materials used = opening + purchases - closing
  • Total manufacturing cost = DM + DL + overhead
  • COGM = TMC + opening WIP - closing WIP
  • Cost per unit = COGM / units completed

How to use the calculator

Enter the raw material inventory balances and purchases for the period. Enter direct labor hours and the cost per hour including payroll burden. Enter your overhead rate per direct labor hour, then the opening and closing work in process and the units completed. The results show each cost layer plus prime cost (materials and labor) and conversion cost (labor and overhead). The chart sweeps the overhead rate to show how sensitive unit cost is to it, which is useful when budgets change.

Worked example

With 40,000 opening materials, 180,000 purchases and 35,000 closing, materials used are 185,000. Direct labor is 4,200 hours at 28, which is 117,600, and overhead at 36 per hour is 151,200. Total manufacturing cost is 453,800. Opening WIP of 22,000 and closing WIP of 26,000 reduce COGM to 449,800. With 9,500 units completed the cost per unit is about 47.35. Materials make up about 41% of total manufacturing cost in this example.

Pulling the inputs from ERP

In an ERP, direct materials are issues to production orders, labor comes from reported operation time, and overhead is absorbed through burden rates on work centers. The WIP balance is the open production order cost. Differences between this calculation and your ERP usually come from variances: overhead under or over-absorbed, scrap, or costing at standard rather than actual. Run it for a period and compare with the ERP cost of goods manufactured figure.

  • Check that material issues match inventory movements
  • Separate overhead absorbed from overhead incurred
  • Report variances rather than hiding them in unit cost

Frequently Asked Questions

What is the formula for total manufacturing cost?

Total manufacturing cost equals direct materials used plus direct labor plus manufacturing overhead. Direct materials used is beginning raw materials plus purchases minus ending raw materials. This excludes selling and administrative expenses.

What is the difference between total manufacturing cost and COGM?

Total manufacturing cost is what was spent in the period on materials, labor and overhead. COGM adjusts it for work in process: add the beginning WIP and subtract the ending WIP, giving the cost of units completed.

How do I find manufacturing overhead?

Overhead includes indirect materials, indirect labor, depreciation, utilities, maintenance and factory rent. Apply it to products using a predetermined rate, for example budgeted overhead divided by budgeted direct labor hours or machine hours.

How do I calculate cost per unit?

Divide cost of goods manufactured by units completed in the period. If you have partially completed units, use equivalent units for process costing. This calculator uses completed units and is suited to job or batch production.

If your job costs and work in process are in an ERP, Netray can add a private AI layer on your own servers that answers cost questions from live data. The calculator works independently of it.