How to Calculate Manufacturing Cost: Formula and Per-Unit Calculator
Total manufacturing cost is direct materials plus direct labor plus manufacturing overhead. This calculator applies that formula per unit, adds the two parts estimators forget, scrap loss on material and setup time spread over the batch, and shows the price you need at a target margin.
Your numbers
Quantity per unit times unit price, including freight-in.
Share of material started that does not become good product.
Taxes, benefits, and paid leave as a percent of wages.
Total factory overhead divided by total direct labor hours.
Your results
This is an estimating model. Overhead is applied on direct labor hours. If your costing system uses machine hours or activity-based rates, replace the overhead input with your own rate per driver.
Cost per unit vs batch size
Sweeps Batch size from 1 to 500, holding your other inputs fixed.
Compare estimated and actual job cost
Optional: an expert review of how routings, BOMs, and overhead rates in your ERP could feed this estimate and be checked against actual job costs.
Optional. The tool and every export work without this. No spam.
The manufacturing cost formula
Total manufacturing cost = direct materials + direct labor + manufacturing overhead. Prime cost is the first two. Conversion cost is direct labor plus overhead. For one unit: material is the quantity times price, adjusted for scrap by dividing by yield (material divided by one minus the scrap rate); labor is hours times the loaded wage rate; overhead is the overhead rate times the driver, here direct labor hours. Selling, general and administrative costs are not manufacturing cost.
- Direct materials: parts and raw material that become the product
- Direct labor: wages of people who work on the product, plus burden
- Overhead: indirect labor, utilities, depreciation, maintenance, supplies, factory rent
- Do not include sales commissions or office salaries
How to use the calculator and read the chart
Enter costs per good unit, then set the batch size and your overhead rate. The result shows the unit cost, the batch cost, and the price at your target margin. The chart sweeps batch size from 1 to 500 and shows how setup time is spread: at small batches the setup labor and its overhead dominate, and the curve flattens as the batch grows. If your real jobs sit on the steep part of the curve, batching, quick changeover, or minimum order quantities have the biggest effect.
Worked example
With the defaults, material per good unit is 14.50 divided by 0.96, about 15.10. Loaded labor rate is 24 times 1.28, about 30.72, so 0.35 hours is about 10.75. Setup of 2.5 hours over 100 units adds about 0.77. Overhead applies to 0.375 hours per unit at 38, about 14.25. The total is roughly 40.87 per unit and about 4,087 for the batch. At 30 percent margin the price is about 58.39. Change one input at a time to see what drives cost.
Common mistakes and ERP notes
Frequent errors are leaving scrap out of material cost, using the wage without burden, applying overhead to the wrong driver, and spreading setup across too many units. For total cost of a period rather than a unit, use the cost of goods manufactured schedule, which adds the change in work in process. In ERP systems, the same model lives in the item cost roll-up, the routing with setup and run times, and the overhead rates on work centers, so check that those master data values match what you enter here.
Frequently Asked Questions
What is the formula for total manufacturing cost?
Total manufacturing cost equals direct materials plus direct labor plus manufacturing overhead. Divide by the number of good units to get cost per unit. To get the cost of goods manufactured for a period, also add beginning work in process and subtract ending work in process.
How do I calculate the overhead rate?
Estimate total manufacturing overhead for the period and divide by the expected total of the allocation base, such as direct labor hours or machine hours. The result is a predetermined rate that you apply to each job or unit. Revisit it when volumes or costs change.
Should scrap be included in manufacturing cost?
Normal, expected scrap should be included in the cost of good units, as this calculator does by dividing material by yield. Abnormal scrap, such as a major process failure, is usually reported separately as a loss so that it does not distort standard costs.
Is this the same as COGM?
It uses the same cost elements but works per unit and for an estimate. Cost of goods manufactured is a period schedule from your ledger balances, including work in process. Use the COGM calculator for period reporting and this one for quoting and what-if analysis.
If your bills of material, routings, and overhead rates live in an ERP, we can help you compare this estimate to actual job costs privately on your own servers. Ask for an expert review.
Related Tools
Cost of Goods Manufactured (COGM) Calculator
Build the schedule of cost of goods manufactured from raw material, direct labor, overhead and work in process balances, and get the unit cost.
ERP OperationsProduct Cost Rollup Calculator
Roll material, direct labor, applied overhead, machine time, and scrap loss into a single defensible unit cost the way your ERP cost rollup should.
Costing & FinanceManufacturing Cost Accounting Formulas Reference
A searchable lookup of the cost accounting formulas used in manufacturing: cost flows, overhead absorption, variances, break-even and pricing maths.
Costing & FinanceScrap Adjusted Product Cost and Price Calculator
Calculate cost per good unit after material scrap and process yield, then the selling price needed for a target gross margin.
More Costing & Finance tools
See all- Manufacturing KPI Formula and Definitions Reference
- Manufacturing Cost Variance Types Reference
- Price, Volume and Cost Margin Variance Calculator
- Month End Reporting Readiness Checklist for Manufacturers
- OEE Improvement Value Calculator
- Improve OEE vs Buy a New Machine Calculator
- Six Sigma Project Savings Tracker Worksheet
- Should Cost Model Worksheet for Machined Parts
- Quote Assumptions and Exclusions Template
Keep exploring
Free tools
- Total Manufacturing Cost Formula CalculatorCalculates total manufacturing cost, cost of goods manufactured and cost per unit from materials, labor hours, overhead rate and work in process.
- Total Manufacturing Cost CalculatorAdd direct materials, direct labor and manufacturing overhead to get total manufacturing cost, cost of goods manufactured and cost per unit. Shows how unit cost falls with volume.
- Scrap Adjusted Product Cost and Price CalculatorCalculate cost per good unit after material scrap and process yield, then the selling price needed for a target gross margin.