Free tool
Total manufacturing cost calculator
Total manufacturing cost is everything it cost to run production in a period: direct materials used, plus direct labor, plus manufacturing overhead. Enter those three, add work in process and the units you finished, and the calculator returns the total manufacturing cost, the cost of goods manufactured, the cost per unit and the overhead rate.
Direct materials usedequalsbeginning raw materials + purchases − ending raw materials
Total manufacturing costequalsdirect materials used + direct labor + manufacturing overhead
Cost of goods manufacturedequalstotal manufacturing cost + beginning work in process − ending work in process
Cost per unitequalscost of goods manufactured divided by units completed
Overhead rateequalsmanufacturing overhead divided by direct labor hours or machine hours
Cost of goods soldequalsbeginning finished goods + cost of goods manufactured − ending finished goods
Pre-filled with the worked example (illustrative). Use one period for every figure, such as a month. Costing conventions differ, so agree the method with Finance.
Total manufacturing cost
$299,000
$135,000 materials + $80,000 labor + $84,000 overhead.
Cost of goods manufactured
$290,000
Work in process up $9,000
Cost per unit
$29.00
$290,000 ÷ 10,000 units
Overhead rate per direct labor hour
$21.00
$84,000 ÷ 4,000 h
Overhead on labor cost
105%
Overhead ÷ direct labor cost
Prime cost
$215,000
Materials + direct labor
Conversion cost
$164,000
Direct labor + overhead
Cost of goods sold
$282,000
Start finished goods + COGM − end finished goods
Where the total manufacturing cost goes
- Cost per unit is the cost of goods manufactured divided by units completed, so work still in process is left out of it.
The cost of goods manufactured statement
The same figures laid out the way an accountant sets them down: materials used, then labor, then overhead, then the two work in process lines.
| Line | Amount |
|---|---|
| Raw materials at the start | $40,000 |
| + Materials purchased | $130,000 |
| − Raw materials at the end | $35,000 |
| Direct materials used | $135,000 |
| + Direct labor | $80,000 |
| + Manufacturing overhead | $84,000 |
| Total manufacturing cost | $299,000 |
| + Work in process at the start | $22,000 |
| − Work in process at the end | $31,000 |
| Cost of goods manufactured | $290,000 |
| + Finished goods at the start | $18,000 |
| − Finished goods at the end | $26,000 |
| Cost of goods sold | $282,000 |
What the $84,000 of overhead is made of
| Overhead line | Amount | Share |
|---|---|---|
| Indirect labor | $24,000 | 28.6% |
| Factory rent, property tax and insurance | $18,000 | 21.4% |
| Equipment depreciation | $14,000 | 16.7% |
| Factory utilities | $9,500 | 11.3% |
| Maintenance and repairs | $7,500 | 8.9% |
| Indirect materials | $6,500 | 7.7% |
| Other factory overhead | $4,500 | 5.4% |
Overhead is the factory cost you cannot trace to one unit. Sales, office and executive costs are left out: they are period expenses, not part of what a unit costs to make.
Next step
Want to track this every week?
Bring this result to a 45-minute demo and we will show where it fits in LeanSuite's Loss & Cost Management.
Before you enter numbers
Choosing the inputs
One period. Take a month, or a quarter, and use it for every line. Mixing a month of labor with a quarter of materials is the commonest reason a total looks wrong.
Direct materials. Raw materials and components that end up in the product. Use the inventory method: beginning raw materials plus purchases less ending raw materials. A count picks up scrap and waste that a bill of materials multiplied by units misses. If your system already reports materials used, switch to one figure.
Direct labor. The pay of the people who work on the product, at full cost: wages, overtime, payroll taxes and benefits. Wages alone understate it.
Manufacturing overhead. Every other factory cost: indirect materials, indirect labor, factory rent and insurance, utilities, equipment depreciation, maintenance. Leave the office out. A blank line counts as zero.
Work in process. The cost sitting in unfinished jobs at the start and at the end of the period. If you finish everything you start, enter 0 for both.
Units and hours. Units are the finished units of the period. Direct labor hours come from payroll or time sheets; machine hours from your run logs. Each is optional and each gives one result.
Worked example
Illustrative numbers, not a benchmarkA metal fabricator's month. Raw materials were $40,000 at the start, $130,000 was bought and $35,000 was left at the end. Direct labor cost $80,000 for 4,000 hours. Overhead: indirect materials $6,500, indirect labor $24,000, factory rent, tax and insurance $18,000, utilities $9,500, equipment depreciation $14,000, maintenance $7,500 and other $4,500. The machines ran 2,800 hours. Work in process was $22,000 at the start and $31,000 at the end. 10,000 units were completed. Finished goods were $18,000 at the start and $26,000 at the end.
- 1Direct materials used: 40,000 + 130,000 − 35,000 = $135,000.
- 2Direct labor: $80,000, which is $20 for each of the 4,000 hours.
- 3Manufacturing overhead: 6,500 + 24,000 + 18,000 + 9,500 + 14,000 + 7,500 + 4,500 = $84,000.
- 4Total manufacturing cost: 135,000 + 80,000 + 84,000 = $299,000. Materials are 45.2% of it, labor 26.8% and overhead 28.1%.
- 5Cost of goods manufactured: 299,000 + 22,000 − 31,000 = $290,000.
- 6Cost per unit: 290,000 ÷ 10,000 = $29.00.
- 7Overhead rate: 84,000 ÷ 4,000 labor hours = $21.00 an hour; 84,000 ÷ 2,800 machine hours = $30.00 an hour; 84,000 ÷ 80,000 = 105% of direct labor cost.
- 8Cost of goods sold: 18,000 + 290,000 − 26,000 = $282,000.
What counts as manufacturing overhead
Manufacturing overhead is every cost of running the factory that you cannot trace to one unit. IAS 2 lists the usual ones: indirect materials and indirect labor, depreciation and maintenance of factory buildings and equipment, and the cost of factory management (IAS 2 Inventories, paragraph 12).
In overhead: the supervisor's salary, the forklift driver, cutting oil and gloves, plant electricity, press depreciation, gauge calibration, plant insurance, factory property tax.
Not in overhead: sales commissions, head-office rent, executive pay and delivery to customers. They are expenses of the period, not part of what a unit costs to make.
A quick test. Ask whether the cost would stop if the factory closed while the office stayed open. If it would, and you cannot trace it to one unit, it is overhead. If you can trace it to a unit, it is direct materials or direct labor.
Some overhead is fixed, such as rent and depreciation, and some moves with output, such as power and consumables. The total does not need the split, but a cost reduction project does: a lower output cuts the variable part and leaves the fixed part to spread over fewer units.
Total manufacturing cost, cost of goods manufactured and cost of goods sold
Three numbers that people swap. Each answers one question, and each adds one inventory adjustment.
| Measure | Answers | Example |
|---|---|---|
| Total manufacturing cost | What did we spend on production this period, finished or not? | $299,000 |
| Cost of goods manufactured | What did the units we finished cost? Adds the work in process change. | $290,000 |
| Cost of goods sold | What did the units we shipped cost? Adds the finished goods change. | $282,000 |
Finish and ship everything you start in a period and all three match. On a real floor they rarely do, so state which one you mean when you quote a cost.
Actual and predetermined overhead rates
The calculator divides the overhead you had by the hours you worked. That looks back and tells you what the period cost. To cost jobs while they run, you need a rate before the period is over, so plants set a predetermined rate: estimated overhead for the year divided by estimated hours of the chosen base (OpenStax, 6.1).
Illustrative example. Estimated overhead for the year is $1,008,000 and the plant expects 48,000 direct labor hours. The rate is 1,008,000 ÷ 48,000 = $21.00 an hour. A job that takes 12 labor hours is charged 12 × 21 = $252 of overhead.
In a month with 4,000 labor hours, 4,000 × 21 = $84,000 of overhead is applied. If the month's actual overhead came to $88,000, then 88,000 − 84,000 = $4,000 is under-applied: the jobs were charged less than the factory spent.
How to clear a small balance is an accounting policy, so ask Finance. When the cause is low production, IAS 2 (paragraph 13) says the unallocated fixed overhead is an expense of the period rather than a reason to load more cost on each unit. Compare the hours you assumed with the hours you ran at least once a quarter and reset the rate when they drift. For a single machine, the machine hour rate calculator builds the rate from the machine's own costs.
Mistakes that skew the total
- Purchases instead of materials used. Stock fell by $5,000 in the example, so purchases of $130,000 understate the $135,000 used.
- Mixed periods. A month of labor, a quarter of materials and a year of rent give a number that means nothing.
- Supervisors in direct labor. They support production without making the product. Their pay is overhead. Counting it twice pushes the total up.
- Office costs in overhead. Head-office rent and sales pay load every unit with cost it did not cause.
- Dividing the total by units. When work in process changes, divide the cost of goods manufactured. In the example, 299,000 ÷ 10,000 is $29.90, 3.1% above the true $29.00.
- Units that include scrap. Count good units. Scrap carried by the good ones raises the cost of each; the scrap rate calculator shows how much.
- Wages only. Payroll taxes, benefits and overtime are labor cost too.
- Leaving out depreciation because it is not cash. A press that wears out is a cost of every part it makes.
Embed this calculator
Teaching this, or writing about it? Paste this code into your site, course page or intranet and the calculator works right there. It is free, with no sign-up.
<iframe src="https://www.theleansuite.com/tools/total-manufacturing-cost-calculator/embed" title="Total manufacturing cost calculator by LeanSuite" width="100%" height="4100" style="border:0;max-width:1000px" loading="lazy" allow="clipboard-write"></iframe>
<p style="font:13px/1.4 sans-serif"><a href="https://www.theleansuite.com/tools/total-manufacturing-cost-calculator">Total manufacturing cost calculator</a> by LeanSuite</p>How LeanSuite helps
LeanSuite does not calculate product costs or replace your accounting system. Its Loss & Cost Management imports your loss data, builds a loss tree that puts a cost on each loss and tracks the savings as you remove them, which is where the overhead and cost per unit you work out here get used.
See Loss & Cost ManagementRead more
- Free template: Cost per unit worksheet (manufacturing cost per good unit)
- Free template: Cost deployment matrix
- Free template: Cost savings tracker
- Cost per unit in the lean glossary
- How to Reduce Manufacturing Costs: 12 Practical Ways
- Manufacturing cost reduction: where the cost goes and how to take it out
- How to reduce manufacturing costs: 12 practical ways
- Cost per unit in the lean glossary
- Work in process in the lean glossary
- Machine hour rate calculator
- Scrap rate calculator
- Inventory turnover calculator
- Cost of poor quality calculator
- Cost per unit worksheet: one product by materials, labor, machine and overhead
FAQ
Total manufacturing cost calculator: common questions
Add three numbers for the same period: direct materials used, direct labor and manufacturing overhead. Direct materials used is beginning raw materials plus purchases less ending raw materials. In the example on this page, $135,000 of materials plus $80,000 of labor plus $84,000 of overhead gives a total manufacturing cost of $299,000.
Total manufacturing cost = direct materials used + direct labor + manufacturing overhead. To get the cost of the units you actually finished, add beginning work in process and subtract ending work in process. That result is the cost of goods manufactured.
Three groups. Direct materials that end up in the product. Direct labor of the people who make it, with payroll taxes, benefits and overtime. Manufacturing overhead: indirect materials, indirect labor such as supervisors and maintenance, factory rent and utilities, and depreciation of factory equipment. Selling, office and executive costs are left out.
List every factory cost that you cannot trace to one unit, then add them up for the period. Indirect materials, indirect labor, factory rent, property tax and insurance, utilities, equipment depreciation, maintenance and other factory costs all count. In the example the seven lines add to $84,000. Office and sales costs do not belong in the list.
Divide manufacturing overhead by an activity base, usually direct labor hours or machine hours. The example's $84,000 over 4,000 direct labor hours is $21.00 per hour, or $30.00 per hour over 2,800 machine hours. Plants usually set the rate in advance from estimated overhead and estimated hours, then charge jobs at that rate.
Total manufacturing cost is everything spent on production in the period, finished or not. Cost of goods manufactured is the cost of the units completed. You get it by adding the work in process at the start and subtracting the work in process at the end. With no work in process at either end, the two numbers are the same.
Divide the cost of goods manufactured by the units completed in the same period. The example's $290,000 over 10,000 units is $29.00 a unit. Dividing the total manufacturing cost instead gives $29.90, which overstates the cost because it includes work still on the floor.
Depreciation of factory buildings and equipment is, as part of manufacturing overhead. IAS 2 names depreciation and maintenance of factory buildings and equipment among the fixed production overheads. Depreciation of office equipment is not.
Direct labor is the pay of people who work on the product itself, such as machine operators and assemblers. Indirect labor is the pay of people who support production without touching the product: supervisors, inspectors, material handlers and maintenance technicians. Direct labor is its own line; indirect labor goes into overhead.
Use the base that moves with your overhead. In a hand assembly cell, overhead follows labor hours. In a plant where machines do most of the work, power, depreciation and maintenance follow machine hours. Pick one per department, write it down and keep it for the year.
More free lean tools
All tools- OEE calculatorOverall equipment effectiveness from shift time, downtime, ideal cycle time and part counts.
- Downtime cost calculatorWhat an hour, an event and a year of unplanned downtime cost, from lost output, idle labour, scrap and overtime.
- SMED changeover calculatorTime saved by moving changeover steps from internal to external, capacity freed per week and the smaller batch it allows.
- Takt time calculatorThe pace a line must hit to meet customer demand, from shift time, breaks and daily demand.
- Cycle time calculatorCycle time against takt, units per hour, capacity per shift and the gap to daily demand.
- Line balancing calculatorLine efficiency, balance delay and the minimum number of stations from station times and takt.
- Bottleneck calculatorThe step that limits your line, from each step's cycle time, machines and uptime, with daily capacity and the gap to demand.
- First pass yield (FPY) calculatorFirst pass yield at each step and rolled throughput yield (RTY) across the whole process.
- Cost of poor quality (COPQ) calculatorTotal COPQ and cost of quality, and each as a share of revenue, from the four quality cost categories.
- Process capability (Cp, Cpk) calculatorCp and Cpk against your specification limits, plus Pp and Ppk from pasted measurements, with a distribution chart.
- DPMO and sigma level calculatorDPMO, defects per unit, yield and sigma level from the defects found, units checked and opportunities per unit.
- MTBF and MTTR calculatorMean time between failures, mean time to repair and availability from operating time, failures and repair time.
- Lead time calculatorManufacturing lead time from WIP and throughput (Little's Law), and the share of it that adds value.
- Throughput time calculatorThroughput time from process, inspection, move and wait time, the share of it that adds value, and units per hour.
- Kaizen savings calculatorYearly savings, payback in months and first-year ROI of an improvement, from time saved, scrap avoided and its costs.
- TEEP calculatorTotal effective equipment performance: OEE multiplied by how much of all calendar time you plan to run.
- Overall labor effectiveness (OLE) calculatorHow well paid labor hours turn into good output: availability, performance and quality of the crew.
- Inventory turnover and days on hand calculatorHow many times stock turns over in a period and how many days of it you hold, from COGS and average inventory.
- Safety stock calculatorSafety stock and reorder point from the service level you want, average demand and lead time, and how much each varies.
- Scrap rate calculatorScrap rate, the cost of scrap per period and per year, and what reaching a target rate would save.
- TRIR and DART rate calculatorOSHA recordable and DART incident rates from your 300A case counts and hours, and what one more case does to them.
- NIOSH lifting equation calculatorRecommended weight limit and lifting index for a two-handed lift, with every multiplier shown so you can see what to redesign.
- Time study sample size calculatorHow many cycles of an element to time, from your first readings, with the t formula, the ILO formula and the range method.
- Maintenance strategy selectorAnswer the RCM questions for one failure mode and get the maintenance strategy, the reasoning and the check or test interval.
- Noise dose and TWA calculatorDose and 8-hour TWA for a shift of noise levels under OSHA and NIOSH, which limits are reached and how much loud time to cut.
- Risk matrix calculatorSeverity times likelihood on a 3 x 3, 4 x 4 or 5 x 5 risk matrix, the band and its action, editable banding, and the score after further controls.
- Repair or replace calculatorEquivalent annual cost of keeping and repairing an old machine against buying a new one, with each one's economic life and the break-even figures.
- Compressed air leak cost calculatorAir lost, kW and cost a year for each tagged leak from its size and the pressure, ranked so the biggest gets fixed first.
- Machine hour rate calculatorWhat one productive hour of a machine costs, with and without the operator, the cost per part and how utilisation moves the rate.
- Acceptance sampling calculatorRead the OC curve and the real risks of a sampling plan, find the plan for your AQL and LTPD, or size a zero-defect test.
- Shift schedule plannerTen shift patterns on real dates: calendar for each crew, hours a week, weekends off, coverage and the weeks over 40 hours.
- Pareto chart makerPaste categories and counts: sorted bars, cumulative percentage line and the vital few at the 80% line, as a PNG or SVG.
- Histogram makerPaste measurements: the histogram with automatic or chosen bins, plus mean, median and standard deviation, as a PNG or SVG.
- Box plot makerPaste one or more groups of numbers: box plots with quartiles, IQR, whiskers and outliers by the 1.5 IQR rule, as a PNG or SVG.
- Fishbone diagram makerName the problem, list causes under the 6M bones, and download the Ishikawa diagram as a PNG or SVG.
- 5 Whys canvasWrite the problem, answer up to five whys, state the root cause and countermeasure, then print the one-page canvas.
- Lean maturity self-assessmentScore 27 statements across nine dimensions and get a band for each, an overall band, where to start and the guides to read.
- Lean method navigatorSix questions about one problem, then the lean method to start with, the two that follow, why each fits, five steps for Monday and what it will not solve.
- Manufacturing ROI calculatorAnswer a few questions about your shop floor, shifts and downtime to estimate your potential ROI with LeanSuite.

