How to Calculate Manufacturing Cost Per Unit (Including the Variables Most Guides Miss)
Learn the manufacturing cost per unit formula, including yield loss, batch variance, and overhead allocation: the variables most pricing guides skip entirely.

Here’s how most product businesses discover their bestseller is losing them money: they’re doing well, orders are up, and then one day they actually sit down and work out what it costs to make the thing. Not the rough number they’ve been carrying in their head. The real number, with current material prices, actual yield from the last few batches, and their own time factored in.
The gap between the rough number and the real number is sometimes a few cents. Sometimes it’s a few dollars. Either way, it tends to be a shock.
The manufacturing cost per unit formula isn’t complicated in theory. But in practice, most guides teach you the basic version and skip the three variables that actually determine whether you’re profitable: yield loss, material price fluctuation, and overhead allocation. If your cost calculation ignores any of those, it’s giving you a number you can’t actually price from.
Why knowing your cost per unit matters
Product businesses tend to price by feel or by what the market seems to bear. Both approaches work until they don’t.
The problem with feel-based pricing is that your costs aren’t static. The fragrance oil you priced your body butter around last year might cost 15% more now. Your yield on that formulation might have dropped after you switched suppliers. If your price hasn’t changed but your inputs have, you might be making less margin than you think. Or none at all.
Knowing your real cost per unit is the foundation of every other financial decision. Which products are worth pushing. When to raise prices. Whether a wholesale account is actually profitable at the rates they’re asking. Without it, you’re guessing.
What is the manufacturing cost per unit formula?
The basic manufacturing cost per unit formula is: total production costs for a batch divided by the number of finished units produced in that batch.
Total production costs include raw materials used, direct labour, and any overhead allocated to production. Units produced means the actual finished units that came out of the batch, not what you planned to produce.
That last part is where most explanations stop. But for small-batch manufacturers, the distance between “planned” and “actual” is where your real costs hide.
Raw material costs: the biggest variable for most manufacturers
Use what you actually paid, not what you budgeted
When you’re building out a cost calculation, it’s tempting to use a standard price for each ingredient: the price you’re paying now or the price you paid when you set up your recipe. But material prices change.
If shea butter goes up 20% and you’re still costing your lotion bars at last year’s price, your cost number is wrong. Not slightly wrong. Actually wrong in a way that affects every decision you make about that product.
The right approach is to cost each batch at the price you paid for the materials used in that batch. That means tracking what you paid per purchase and updating your material costs when they change. Laborious if you’re doing it manually. But the alternative is pricing from fiction.
Track cost per unit of measure, not per purchase order
A purchase order might say $180 for a 5kg bag of a key ingredient. But for your cost calculation, you need the cost per gram (or per ml, per oz, whatever unit you use in your recipes). Work out the cost per unit of measure when the materials arrive: $180 ÷ 5,000g = $0.036 per gram.
That per-unit number is what flows into your recipe costing. When the price changes, you update that number and everything recalculates.
What is yield loss, and why does it inflate your real cost per unit?
Yield loss is the percentage of raw materials that doesn’t end up in your finished product. Waste from evaporation, trim, testing batches, materials that stick to equipment, products that don’t pass your QC check. It always increases your real cost per unit, often more than people expect.
If you make 1,000ml of a serum but only bottle 920ml of sellable product, your yield is 92%. That means your real material cost per unit is higher than the recipe math suggests, because you’re spreading your input costs across fewer outputs.
How to calculate your yield percentage
Track it from your production records. Weigh or measure the finished output from a batch and compare it to the theoretical maximum:
Yield % = (actual units produced ÷ theoretical units possible) × 100
Run this across several batches to get an average, since any single batch might be an outlier. Once you have a reliable yield percentage, build it into your cost calculation.
A worked example: 8% yield loss on a high-cost oil
Say you’re making a facial oil. Your recipe calls for 200ml of a premium botanical oil per batch, costing $48 (at $0.24/ml). Theoretically, the batch should yield 50 units at 4ml each.
But your actual yield is consistently 46 units, because of product that sticks to mixing equipment and a couple of units that get set aside during QC. That’s an 8% yield loss.
Without accounting for yield: your material cost for that oil is $48 ÷ 50 = $0.96 per unit.
With actual yield: $48 ÷ 46 = $1.04 per unit.
On a single ingredient, that’s $0.08 difference. Across a recipe with 10 or 12 ingredients and similar yield rates, the gap compounds fast. Ignoring yield loss is a consistent way small manufacturers underestimate their true cost per unit.
Should you include your own labour in the calculation?
Yes. You’re not working for free, even when it doesn’t feel like a wage.
The argument for leaving it out usually goes: “I’m the owner, my time is different.” And there’s something to that. Owner time is flexible, it doesn’t hit payroll, and in the early stages especially, it’s hard to separate production time from everything else you’re doing. But if you’re making pricing decisions without including labour, you’re subsidising your product with your time. At some point, that has to stop.
Setting a rate for your own manufacturing time
Pick a number that represents what you’d have to pay someone to do what you do in production. If you’d hire a production assistant at $20/hour, use $20/hour. If the work requires more skill or oversight, go higher. The point isn’t to be precise to the cent. It’s to stop treating your time as free.
Track your time per batch (even roughly) and multiply by your rate. That’s your labour component.
If direct labour adds up to, say, 45 minutes per batch of 60 units at $22/hour: labour cost = $22 × 0.75 = $16.50 for the batch, or $0.275 per unit.
Keep labour separate from material costs in your records. It makes it easier to see where your costs are coming from and to adjust when your labour efficiency changes.
Overhead allocation: what counts and how to spread it
Overhead is everything that goes into manufacturing but isn’t a direct ingredient or direct labour. Packaging materials, labels, jars, pouches, boxes. Utilities for production space. Equipment wear. Insurance on production equipment.
Simple allocation for small manufacturers
The simplest approach: estimate your total monthly overhead costs for manufacturing, then divide by the number of units you typically produce in a month.
If your packaging materials, labels, and utilities for production come to roughly $600/month, and you typically produce 300 units, your overhead per unit is $2.
That’s not a perfect number, and it will shift if your production volume varies. But it’s close enough to build a working cost per unit, and it’s vastly better than ignoring overhead entirely.
What to leave out
Don’t try to allocate your marketing spend, your website, or your admin time to your per-unit cost. Keep it to costs that are genuinely tied to manufacturing. And don’t get paralysed trying to make it perfect — a good-enough overhead allocation you actually use beats a perfect one you never finish.
Putting it together: a worked example
Let’s use a body butter brand making a batch of 60 units (90g tins).
Materials (for a batch of 60 units):
| Ingredient | Amount used | Cost |
|---|---|---|
| Shea butter | 3,200g | $54.40 |
| Cocoa butter | 800g | $19.20 |
| Fractionated coconut oil | 600g | $7.80 |
| Fragrance oil | 120ml | $14.40 |
| Vitamin E oil | 20ml | $4.00 |
| Tins + lids | 60 units | $36.00 |
| Labels | 60 units | $9.00 |
Total materials: $144.80
Yield adjustment: Recipe is designed for 60 units. Typical actual yield is 57 units (5% loss to equipment and QC). So cost is spread across 57, not 60.
Direct labour: 55 minutes to make + fill batch at $22/hour = 55/60 × $22 = $20.17
Overhead allocation: $1.80 per unit × 57 units = $102.60 (utilities, minor equipment costs)
Actually, overhead per unit should be calculated separately, not multiplied by yield units. Let’s be precise:
Total batch cost = $144.80 + $20.17 = $164.97
Overhead per unit = $1.80 (pre-calculated monthly average)
Cost per unit = ($164.97 ÷ 57) + $1.80 = $2.89 + $1.80 = $4.69
So the true manufacturing cost per unit is $4.69. If this product is selling wholesale at $9.50 and retail at $22, you can see immediately how the margins work at each channel, and whether that wholesale price is actually worth taking.
If you’d used the planned 60 units and skipped yield, you’d have calculated $144.80 ÷ 60 = $2.41 in materials per unit, which understates your real position by quite a bit.
If you’re calculating this by hand in a spreadsheet every batch, Stocksmith does it automatically. Every time you record a manufacturing run, it pulls your actual material costs and calculates your cost per unit. When supplier prices change, your cost numbers update across every product that uses that material. You can see what each product actually cost to make, batch by batch, not as an estimate you set up once and forgot about.
See how recipe costing works in Stocksmith →
How to track cost per unit across batches, not just once
A one-time cost calculation is better than nothing. But your costs drift. Material prices change. Your yield improves (or gets worse). Labour time shifts as you get more efficient or as you add new products.
Why cost per unit changes batch to batch
The fragrance oil price you locked in six months ago is probably not what you’re paying now. If you switched packaging suppliers to get a better price, your per-unit packaging cost changed. If a new employee is running production, their speed might be different from yours.
None of this means your calculation is broken. It means it’s a living number, not a set-and-forget figure.
Using batch records to track cost over time
The most reliable way to track real cost per unit is through batch records. For each production run, record: what materials you used and what you paid for them, how many units you produced, how long it took, and any notable issues (yield problems, batch failures, substitutions).
Over time, those records show you where your costs are trending. If your cost per unit on your top seller has crept up 12% over six months without a corresponding price adjustment, that’s a signal. If your yield on a particular formulation is consistently 8% below target, that’s a recipe or process issue worth investigating. Both things are invisible without the records.
Tools like Stocksmith track this automatically: every manufacture records the actual materials consumed, and you can see cost history across batches. But even a simple spreadsheet with batch dates and actual costs is better than none.
When to update your pricing
There’s no fixed rule, but a sensible approach: review your cost calculations every time you do a major material purchase, and do a full pricing review quarterly. If your cost per unit has gone up more than 10% since you last set prices, that’s usually worth addressing.
Material prices can move fast, particularly for natural ingredients. If you don’t have a trigger to review, it’s easy to let six months go by while your margins quietly erode.
And if you’re adding products (a new fragrance variant, a reformulation, a seasonal SKU), always calculate cost before you set the price, not after. Pricing from gut feel and then calculating cost is exactly backwards. Know the number first. Then decide whether the margin makes sense for the channel, the volume, and the time it takes to make.
You can also use your reorder point calculations to factor material costs into your buying decisions: when to order in bulk to lock in a price, and when it’s not worth tying up the cash.
Frequently Asked Questions
What is included in manufacturing cost per unit?
Manufacturing cost per unit includes raw materials (at the actual price paid, not a budget estimate), direct labour (including your own time valued at a fair hourly rate), and manufacturing overhead such as packaging, labels, utilities, and equipment costs allocated across units produced. Importantly, it should be calculated against actual units produced, not planned units, to account for yield loss.
How do I calculate cost per unit if my batch sizes vary?
Calculate cost per unit for each individual batch rather than using an average. Add up all material costs for that batch (at what you actually paid), add labour for that run, then divide total batch cost by the actual number of units you produced. Variable batch sizes affect your overhead allocation slightly: if you produce fewer units, your fixed overhead gets spread thinner. But the core formula stays the same.
Is labour included in COGS for manufactured products?
Yes. Direct labour is part of COGS for manufacturers. This includes wages paid to production employees and, for sole operators, a reasonable rate for your own manufacturing time. For tax reporting purposes, consult your accountant on how to classify owner labour, as treatment varies. For internal pricing decisions, always include your own time: pricing as though your time is free systematically understates your cost per unit.
What is the difference between cost per unit and COGS?
Cost per unit is what it costs you to manufacture a single product. COGS (Cost of Goods Sold) is the total cost of all the products you actually sold during a period, so COGS = cost per unit × units sold. COGS appears on your income statement and is used for tax reporting. Cost per unit is the per-product number that feeds into COGS and drives your pricing decisions. Both flow from the same underlying manufacturing data.
How do material price increases affect my manufacturing cost per unit?
A material price increase raises your cost per unit by a proportional amount for every product that uses that ingredient. If a key ingredient rises 20% and accounts for 40% of your recipe cost, your total product cost rises by 8%. The compounding effect across multiple ingredients is why static, set-and-forget pricing eventually breaks down. Stocksmith recalculates cost per unit automatically when you update material costs, so you can see the impact immediately across all affected products.
What is average manufacturing cost per unit, and when should I use it?
Average manufacturing cost per unit is your mean cost across multiple batches, useful for setting prices, forecasting margins, and financial reporting when batch-to-batch costs vary. Calculate it by averaging costs from your last 3–6 batches to smooth out anomalies. For pricing decisions, use the average. For tax and inventory valuation purposes, your accountant may prefer a specific costing method (FIFO, weighted average), so check with them on what's required for your situation.
Know your costs. Price with confidence. Stocksmith gives you the batch records and cost tracking to make that the default, not the exception. Every manufacture records actual material costs, and your cost per unit updates automatically when supplier prices change.