Growing manufacturers face a unique challenge: knowing exactly what it costs to make their products.
Calculating total manufacturing cost means adding up three core components — direct materials, direct labor, and manufacturing overhead — using this formula: Total Manufacturing Cost = Direct Materials + Direct Labor + Manufacturing Overhead.
Get this number right, and you've got the foundation for smarter pricing, tighter margins, and better business decisions.
Think of it like this: if you don't fully understand your costs, it's like trying to find your way with an incomplete map. You might end up with gaps in your financial statements, unsure of where your money is really going. By knowing your manufacturing costs, you gain better visibility into your production processes, helping you spot opportunities to cut costs and boost profitability.
Imagine realizing that a small tweak in the way you use raw materials could save you thousands each year. Or that outsourcing certain operations could cut costs significantly. These kinds of insights are only possible when you really understand your total manufacturing costs.
In this guide, we'll break down exactly what goes into calculating these costs, walk through formulas with worked examples, and show you how to use this knowledge to become more efficient and profitable.
What are total manufacturing costs?
Total manufacturing cost is the sum of all the expenses you incur to produce your finished product. It includes the cost of raw materials, direct labor, and manufacturing overhead. Understanding these components is the key to calculating your production costs accurately and getting a good grasp on how your business runs.
To break it down, total manufacturing cost has three main components:
Direct Materials: These are the raw materials that go directly into making your product. For example, if you're making furniture, the wood, screws, and paint are all direct materials.
Direct Labor: This includes the wages you pay to workers who are directly involved in the manufacturing process. It also includes other expenses related to their employment, like payroll taxes and benefits.
Manufacturing Overhead: These are the indirect costs that come with production, like utilities, equipment maintenance, and factory rent. While they don't directly go into the product itself, they are necessary to keep the production process running smoothly.
Each of these components plays a crucial role in your overall cost structure, and by understanding them, you can better manage your production budget and make smart decisions to improve efficiency and profitability.
What is the total manufacturing cost formula?
The total manufacturing cost formula is straightforward:
Total Manufacturing Cost = Direct Materials Cost + Direct Labor Cost + Manufacturing Overhead
Here's a quick reference for each component formula:
| Component | Formula | What it captures |
|---|---|---|
| Direct Materials | Beginning Inventory + Purchases − Ending Inventory | Raw materials consumed in production |
| Direct Labor | Total Wages + Payroll Taxes + Benefits | Hands-on labor to create your product |
| Manufacturing Overhead | Sum of all indirect production costs | Rent, utilities, equipment maintenance, etc. |
| Total Manufacturing Cost | Direct Materials + Direct Labor + Overhead | Full cost to produce your goods |
Let's walk through each component in detail so you can apply these formulas to your own operation.
How to calculate direct materials cost
Direct materials are all the physical items that go into making your product. This could be anything from raw materials like wood for furniture, to parts and components like screws or bolts. It also includes any packaging materials that are essential to your finished product.
Think about it like this: if you're making a wooden chair, the wood, screws, and even the varnish are all considered direct materials. These are the materials you can easily trace to the final product.
Managing these materials well starts with solid inventory tracking. If you don't know what you have on hand, you can't calculate what you've used.
Direct Materials Cost Formula:
Direct Materials Cost = Beginning Inventory + Purchases During the Period − Ending Inventory
Example Calculation:
Let's say you start the month with $10,000 worth of wood in inventory. During the month, you purchase an additional $5,000 worth of wood. By the end of the month, you have $3,000 worth of wood remaining.
Direct Materials Cost = $10,000 (Beginning Inventory) + $5,000 (Purchases) − $3,000 (Ending Inventory) = $12,000
This means you spent $12,000 on materials during the month.
How to calculate direct labor cost
Direct labor refers to the wages paid to the workers who are hands-on in creating your product. These are the folks who assemble the parts, operate machinery, or perform tasks that directly add value to the finished product.
But direct labor costs go beyond just wages. They also include payroll taxes, insurance, and other employee benefits. Essentially, anything that adds to the cost of employing the people who make your product counts as direct labor.
Direct Labor Cost Formula:
Direct Labor Cost = Total Labor Wages + Payroll Taxes + Benefits
Example Calculation:
Imagine you have three workers who are each paid $20 per hour. Each worker worked 160 hours in the month. In addition, payroll taxes and benefits add an additional $5 per hour per worker.
Total Wages = 3 Workers × $20/hour × 160 hours = $9,600
Payroll Taxes and Benefits = 3 Workers × $5/hour × 160 hours = $2,400
Direct Labor Cost = $9,600 + $2,400 = $12,000
So, the total direct labor cost for the month is $12,000.
Still juggling work orders manually? See how Brahmin automates production scheduling →
How to calculate manufacturing overhead
Manufacturing overhead includes all the indirect costs that are still necessary for production. This could be things like electricity to run the machines, rent for the factory, or maintenance costs for the equipment. While these costs don't directly touch the product, they're crucial for keeping your operations running.
A good way to think about it is: if you turned off the power, could you still make your product? If the answer is no, then those power costs are part of your manufacturing overhead.
Common manufacturing overhead costs include:
Factory rent or mortgage payments
Utilities (electricity, water, gas)
Equipment depreciation
Maintenance and repairs
Quality control and inspection costs
Factory insurance
Indirect materials (lubricants, cleaning supplies)
Indirect labor (supervisors, maintenance staff)
How to Allocate Manufacturing Overhead:
Overhead costs are often allocated based on a predetermined rate. One common way to do this is by using a percentage of direct labor costs or machine hours.
Example Calculation:
Suppose your total overhead costs for the month are $15,000, and you produced 1,000 units. The overhead cost per unit would be:
Overhead Cost Per Unit = Total Overhead Costs / Total Units Produced
Overhead Cost Per Unit = $15,000 / 1,000 Units = $15 per unit
How to calculate overhead using a predetermined overhead rate
Many manufacturers allocate overhead before a period starts using a predetermined overhead rate. This is especially useful when overhead costs fluctuate month to month.
Predetermined Overhead Rate = Estimated Total Overhead / Estimated Total Allocation Base
For example, if you estimate $180,000 in overhead for the year and expect 12,000 direct labor hours:
Predetermined Overhead Rate = $180,000 / 12,000 hours = $15 per direct labor hour
If a particular job takes 50 direct labor hours, you'd allocate $15 × 50 = $750 in overhead to that job.
This method gives you a consistent way to assign overhead across products and jobs, even when actual costs aren't known yet. At the end of the period, you compare applied overhead to actual overhead and adjust for any over- or under-applied amounts.
How to calculate total manufacturing cost per unit
Once you know your total manufacturing cost, calculating the per-unit cost is simple — and it's one of the most useful numbers for pricing decisions.
Total Manufacturing Cost Per Unit = Total Manufacturing Cost / Total Units Produced
Worked Example:
Using our numbers from the previous sections:
| Cost component | Amount |
|---|---|
| Direct Materials | $12,000 |
| Direct Labor | $12,000 |
| Manufacturing Overhead | $15,000 |
| Total Manufacturing Cost | $39,000 |
If you produced 1,000 units:
Cost Per Unit = $39,000 / 1,000 = $39 per unit
This tells you that each unit costs you $39 to produce. If you're selling that unit for $55, your gross profit per unit is $16 — a 29% gross margin.
Knowing your per-unit cost is essential for setting prices that cover your expenses and leave room for profit. It also helps you compare costs across product lines to see which items are most and least profitable.
Direct vs. indirect manufacturing costs
When managing your production costs, it's important to understand the difference between direct and indirect costs. Direct costs are easy to trace directly to the production of your product, while indirect costs are necessary but not directly tied to each unit you produce.
| Direct costs | Indirect costs | |
|---|---|---|
| Definition | Traceable to a specific product or unit | Support production but not tied to one product |
| Examples | Raw materials, production worker wages | Factory rent, utilities, equipment depreciation |
| How tracked | Measured per unit or per batch | Allocated using an overhead rate |
| Variability | Typically variable — rise with output | Often fixed or semi-fixed |
Direct Manufacturing Costs are the raw materials and labor used to create your product. These are the costs that you can see and measure easily — things like the wood for a chair or the wages paid to the person assembling that chair. If the cost contributes directly to making the product, it's a direct cost.
Indirect Manufacturing Costs are the expenses that support the production process but aren't directly tied to a specific product. These include things like the electricity to power the machines or the rent for the building where production takes place. They are crucial for keeping everything running but aren't part of the product itself.
Understanding the difference between these two types of costs can help you avoid double-counting expenses and ensure you are accurately calculating the true cost of manufacturing your products.
Stop planning production in spreadsheets
Automated MRP, work orders, and production scheduling built for growing manufacturers.
Join 300+ manufacturers already using Brahmin
Total manufacturing cost vs. cost of goods manufactured
Total manufacturing cost and cost of goods manufactured (COGM) are closely related but not the same thing. Total manufacturing cost represents all production expenses incurred during a period. COGM adjusts that figure for work-in-process (WIP) inventory.
Cost of Goods Manufactured = Total Manufacturing Cost + Beginning WIP Inventory − Ending WIP Inventory
For example, if your total manufacturing cost is $39,000, you started the month with $4,000 in WIP, and you ended with $2,000 in WIP:
COGM = $39,000 + $4,000 − $2,000 = $41,000
COGM tells you the cost of units that were actually completed and transferred to finished goods inventory during the period. This is the number that flows into your cost of goods sold calculation.
Total manufacturing cost vs. cost of goods sold (COGS)
It's easy to confuse total manufacturing cost with the cost of goods sold (COGS), but they are different concepts. Total Manufacturing Cost refers to all the costs involved in creating your product during a period, including materials, labor, and overhead. COGS, on the other hand, is the cost of the finished goods inventory that was actually sold during a specific period.
Think of it like this: total manufacturing cost is about what it costs to make the product, while COGS is about the cost of the product that you've sold.
COGS = Beginning Finished Goods Inventory + Cost of Goods Manufactured − Ending Finished Goods Inventory
Here's how the three figures relate to each other:
| Metric | What it measures | Key formula |
|---|---|---|
| Total Manufacturing Cost | All production costs incurred during a period | Direct Materials + Direct Labor + Overhead |
| Cost of Goods Manufactured | Cost of units completed during a period | Total Mfg Cost + Beginning WIP − Ending WIP |
| Cost of Goods Sold | Cost of units sold during a period | Beginning FG + COGM − Ending FG |
Knowing all three figures is important for understanding your profit margins and financial health. COGS is the number that appears on your income statement and directly affects your gross profit.
How to reduce total manufacturing costs
Reducing manufacturing costs is key to increasing your profit margins. Here are some strategies to help you cut costs without compromising quality:
Optimize Material Usage: Look for ways to use materials more efficiently, such as reducing waste during production. Sometimes, a small change in design can result in significant material savings. Using a bill of materials system helps you track exactly what goes into each product and spot where waste is happening.
Negotiate with Suppliers: Building strong relationships with your suppliers can lead to better pricing, discounts for bulk purchases, or more favorable payment terms. Don't be afraid to shop around or negotiate for the best deals.
Improve Labor Efficiency: Cross-train your workers so they can handle multiple tasks. This not only helps with flexibility but can also reduce downtime. Additionally, investing in training can make your workforce more efficient and productive.
Invest in Technology: Manufacturing software can help reduce errors and minimize manual work. Implementing an MRP system can help you track costs in real-time and make informed decisions about your production.
Reduce Overhead Costs: Keep an eye on your overhead costs, such as utility bills and maintenance expenses. Implement energy-saving measures or preventive maintenance to keep these costs in check.
Improve Production Planning: Poor scheduling leads to overtime, idle machines, and wasted materials. A solid production plan ensures you're running at the right capacity without unnecessary costs.
By taking proactive steps to manage and reduce your manufacturing costs, you can improve your bottom line and make your business more competitive in the market.
Using manufacturing costs to improve productivity
Calculating your total manufacturing cost isn't just about understanding your expenses — it's also a powerful tool for improving productivity. By knowing exactly what each part of your production process costs, you can:
Identify Inefficiencies: Spot areas where you're spending more than you should and make changes to improve efficiency.
Set Better Pricing: Make sure your product pricing covers all your costs and includes a healthy profit margin.
Monitor Cost Trends: Track how your costs change over time to see where you might need to make adjustments. For example, if labor costs are rising, it might be time to invest in automation.
Benchmark Against Industry Standards: Knowing your cost breakdown lets you compare your performance against similar manufacturers and identify where you're falling behind.
Keeping track of your actual total costs against your estimated costs helps you stay on top of your business finances. Good inventory control practices play a big role here — when your inventory data is accurate, your cost calculations are too.
Frequently asked questions
What is the total manufacturing cost formula?
Total Manufacturing Cost = Direct Materials + Direct Labor + Manufacturing Overhead. Direct materials are the raw inputs consumed during production. Direct labor is wages and benefits for workers who build the product. Manufacturing overhead covers indirect costs like rent, utilities, and equipment depreciation.
How do you calculate total manufacturing cost per unit?
Divide your total manufacturing cost by the number of units produced. For example, if your total manufacturing cost is $39,000 and you produced 1,000 units, your cost per unit is $39. This number is essential for setting prices that cover your expenses.
What is the difference between total manufacturing cost and COGS?
Total manufacturing cost is what you spent to produce goods during a period. Cost of goods sold (COGS) is the cost of the goods you actually sold. COGS accounts for changes in finished goods inventory: Beginning Finished Goods + Cost of Goods Manufactured − Ending Finished Goods.
What is total manufacturing overhead and how do you calculate it?
Total manufacturing overhead is the sum of all indirect production costs — rent, utilities, equipment depreciation, indirect labor, and similar expenses. You calculate it by adding up every indirect cost related to your production facility. To allocate it per unit, divide total overhead by units produced or by direct labor hours.
What is the cost of goods manufactured formula?
Cost of Goods Manufactured (COGM) = Total Manufacturing Cost + Beginning Work-in-Process Inventory − Ending Work-in-Process Inventory. COGM represents the total cost of units that were completed during the period and moved into finished goods inventory.
How Brahmin Solutions can help
Brahmin Solutions is a cloud-based manufacturing ERP built for growing manufacturers doing $500K–$50M in revenue. It handles MRP, inventory, production planning, and cost tracking in one system — so you don't have to piece together spreadsheets to figure out what your products actually cost.
With real-time inventory data and built-in BOM costing, you can see your direct materials, labor, and overhead in one place and make pricing decisions with confidence. If that sounds like what you need, book a demo and see how it fits your operation.
About the author
Brahm Meka is Founder & CEO at Brahmin Solutions.



