Cost Per Unit Calculator โ Know Your True Production Cost
Last reviewed:
Split total costs into fixed and variable components, divide by units produced, and see how cost per unit changes with volume.
Cost per unit = (Total Fixed Costs + Total Variable Costs) รท Number of Units. With $10,000 fixed costs, $5,000 variable costs, and 500 units, total cost per unit is $30 ($20 fixed CPU + $10 variable CPU). Fixed CPU drops as volume rises โ the economies-of-scale effect.
How it works
Enter your total fixed costs (rent, equipment depreciation), total variable costs (materials, labour, packaging), and the number of units produced. The calculator returns fixed CPU, variable CPU, and total CPU. The volume scaling table shows how CPU drops as you produce more โ the classic economies-of-scale effect.
Common mistakes
- Skipping owner labour in fixed costs โ a working owner who pays themselves through profit (rather than a salary) often leaves their own time out of total cost. The cost-per-unit number is then understated, sometimes by 30โ50%, and every margin downstream is wrong. Always plug in a market-rate salary for the founder before dividing by units.
- Using planned volume, not actual โ fixed cost per unit drops with volume only if you actually produce and sell that volume. Calculating CPU based on "100 units this month" when you sold 60 understates true cost by 67%. Use actual or realistic forecast volume, not the capacity number.
- Forgetting freight, duties, and wastage โ variable cost is more than the supplier invoice. Inbound freight, import duties, packaging, quality-control rejects, and damage in transit all add to the true variable cost per unit. A 5% wastage rate on a $40 input quietly adds $2 per good unit shipped.
When to use this calculator
Use this when production volume is decided and you want to know the per-unit floor your selling price must clear. It is the right tool when planning a manufacturing run, costing a new SKU, or modelling the cost benefit of larger batch sizes.
If you are trying to figure out the volume you need to hit to cover costs at a given price, use the Break-Even Calculator. Once you have the per-unit cost, the Pricing Calculator turns it into a selling price that hits your target margin.
See the formula
Fixed Cost Per Unit = Total Fixed Costs / Number of Units Variable Cost Per Unit = Total Variable Costs / Number of Units Total Cost Per Unit = (Total Fixed + Total Variable) / Number of Units Example: Fixed $10,000 | Variable $5,000 | 500 units Fixed CPU = $20 Variable CPU = $10 Total CPU = $30
Worked example
A UK furniture maker produces solid-oak dining chairs in a workshop outside Bristol. Monthly fixed costs total ยฃ18,000: ยฃ4,500 workshop lease, ยฃ11,200 for two craftsmen including employer NI, ยฃ900 insurance and utilities, ยฃ400 for design software and bookkeeping, and ยฃ1,000 for machinery depreciation. Variable cost per chair is ยฃ85: ยฃ52 of timber and joinery fittings, ยฃ20 of finish and fasteners, and ยฃ13 of consumables. The current production run is 60 chairs per month.
Total monthly cost = ยฃ18,000 + (60 ร ยฃ85) = ยฃ23,100. Cost per unit = ยฃ23,100 รท 60 = ยฃ385. The fixed-cost component is ยฃ300 of that ยฃ385; variable cost is ยฃ85. If the maker increases output to 100 chairs per month (same workshop, same craftsmen, longer hours), total cost becomes ยฃ18,000 + ยฃ8,500 = ยฃ26,500 and cost per unit drops to ยฃ265 โ a 31% reduction. Dropping to 40 chairs a month pushes cost per unit up to ยฃ535.
This is the operating leverage that defines small-scale manufacturing: at 60 units the maker needs roughly ยฃ540 a chair to earn a 40% gross margin; at 100 units the same margin only needs ยฃ440. Pricing based on variable cost alone is the most common manufacturing mistake โ an ยฃ85 chair priced at "40% markup" (ยฃ119) sells at a ยฃ266 loss against the full ยฃ385 cost-per-unit. Always price against the loaded cost-per-unit at a realistic production volume, not the variable cost in isolation.
What COGS actually includes โ by business model
Cost of goods sold (COGS) and cost-per-unit are not the same line item across business models. A manufacturer, an e-commerce retailer, and a professional services firm each draw the COGS boundary in a fundamentally different place โ and getting it wrong is the most common cause of cost-per-unit numbers that don't match what an accountant or investor expects to see.
Manufacturing
Manufacturing COGS comprises three components: direct materials (the raw inputs that physically become the product), direct labour (the wages of the people who physically build the product), and manufacturing overhead (factory rent, factory utilities, machinery depreciation, supervisor salaries, indirect production materials). US manufacturers above roughly $32 million in average gross receipts (the inflation-adjusted small-business exemption threshold under the Tax Cuts and Jobs Act โ verify against the current IRS schedule) are forced under Section 263A UNICAP rules to capitalise an even wider set of indirect costs into inventory, including a share of purchasing, handling, and storage costs. Below that threshold the small-business exemption lets you expense those indirect costs in the period incurred.
E-commerce and retail
E-commerce COGS is narrower and almost entirely landed-cost driven: inventory purchase cost from the supplier, inbound freight (ocean, air, last-mile to your warehouse), import duties and customs broker fees, and primary packaging that ships with the product. What does not belong in e-commerce COGS: customer acquisition cost (Meta and Google ad spend), affiliate commissions, marketplace listing fees on a percentage basis (those are sales expenses), platform subscription fees (Shopify Plus, BigCommerce), and outbound shipping if the customer is charged separately. Treating CAC as COGS โ a frequent first-year mistake โ overstates COGS and understates the marketing line, distorting both gross margin and contribution margin.
Professional services
Services-firm COGS is almost entirely billable labour (the loaded hourly cost of the people doing client work) plus direct project expenses (travel billed to the client, contractor pass-throughs, project-specific software licences). What stays out of services COGS: sales-team salaries, marketing, general administration, office rent for non-billable staff, and per-user SaaS subscriptions for back-office tools. The cleanest dividing line: if the cost would disappear when a client engagement ended, it belongs in COGS; if it persists regardless of whether a project is running, it belongs in SG&A.
Three industry worked examples
The same calculator answers very different questions in different industries. The three worked examples below show the cost-per-unit breakdown for a manufactured widget at production volume, an e-commerce SKU at landed cost, and a professional-services billable hour at fully-loaded cost.
1. Manufacturing โ $14 widget at 10,000 units/year
A US-based contract manufacturer produces 10,000 units a year of a small consumer-electronics widget. Per-unit variable cost: $6 of direct materials (PCB, enclosure, cable assembly), $3 of direct labour (12 minutes at a fully-loaded $15/hour line rate), and $5 of manufacturing overhead (factory rent, utilities, depreciation, supervision allocated per unit). Total cost per unit = $6 + $3 + $5 = $14. Total annual production cost = 10,000 ร $14 = $140,000.
2. E-commerce โ $22 landed SKU
A US Shopify retailer imports a houseware SKU from a Chinese supplier. Per-unit landed cost: $12 supplier cost (FOB Shenzhen), $3.50 inbound ocean and last-mile freight allocated per unit, $2.50 import duty and customs broker fee allocated per unit, $1.50 primary packaging, and $2.50 reserve for returns and breakage (5% of pre-reserve landed cost grossed up across saleable units). Total landed cost per unit = $12 + $3.50 + $2.50 + $1.50 + $2.50 = $22.00. Marketing CAC ($18/order at current Meta rates) is deliberately excluded โ it sits in SG&A, not COGS.
3. Professional services โ $95 fully-loaded hour
A 10-person consulting firm prices client engagements off a fully-loaded billable hour. The per-hour cost build for a mid-level consultant: $50 base hourly wage ($104,000 annualised at 2,080 hours), $15 employer benefits and payroll taxes (30% load on base โ health, retirement match, FICA, FUTA, SUTA), $20 dedicated software and desk allocation (Salesforce, project management, productivity suite, office space per FTE divided across billable hours), and $10 of practice-area overhead (training, certifications, professional liability insurance). Total fully-loaded cost per billable hour = $50 + $15 + $20 + $10 = $95. The firm's billing rate of $185/hour produces a gross margin of ($185 โ $95) / $185 = 48.6%.
The volume effect โ fixed costs and economies of scale
Cost-per-unit falls as volume rises because fixed costs are spread across more units. Variable cost-per-unit is approximately constant in the short run (set aside bulk-purchase discounts); fixed cost-per-unit follows a hyperbolic curve down. The slope of that curve is what drives the entire concept of economies of scale.
A worked example makes it concrete. Suppose a small manufacturer has $50,000 in monthly fixed costs (workshop lease, salaried staff, equipment depreciation, insurance) and variable cost of $20 per unit (materials, packaging, hourly production labour). The cost-per-unit at four production volumes:
| Monthly volume | Fixed CPU | Variable CPU | Total CPU | vs 1,000-unit baseline |
|---|---|---|---|---|
| 1,000 units | $50.00 | $20.00 | $70.00 | โ |
| 2,500 units | $20.00 | $20.00 | $40.00 | โ43% |
| 5,000 units | $10.00 | $20.00 | $30.00 | โ57% |
| 10,000 units | $5.00 | $20.00 | $25.00 | โ64% |
Note the curve's diminishing returns. The jump from 1,000 to 2,500 units delivers a $30/unit cost reduction; the jump from 5,000 to 10,000 only delivers another $5/unit. This is why scale alone stops being a competitive moat past a certain volume โ once fixed cost is spread thin enough, marginal-cost arguments (negotiating better variable cost) start dominating. For the inverse question โ what volume do I need to cover my fixed cost at a given price โ use the break-even calculator.
The make-vs-buy decision
One of the highest-stakes cost-per-unit decisions a growing business makes is whether to bring production in-house or continue outsourcing to a contract manufacturer or supplier. The answer is volume-dependent, and the break-even calculation is the same formula regardless of industry.
The structure: outsourcing has a higher variable cost per unit but no up-front capital commitment. In-house production has a lower variable cost but requires fixed-cost investment (tooling, equipment, dedicated staff). The two curves cross at a specific volume, and below that volume outsourcing wins; above it, in-house wins.
Worked example. A consumer-products company sells 25,000 units a year of a product currently outsourced to a contract manufacturer at a flat $14 per unit. Bringing production in-house would require $200,000 of tooling and equipment investment (amortised as fixed cost) plus $8 per unit of variable cost (materials and direct labour, lower than the contract price because the margin currently going to the contract manufacturer is captured internally). At what annual volume does in-house production become cheaper?
Set in-house total cost equal to outsourced total cost: $200,000 + ($8 ร V) = $14 ร V. Solving: $200,000 = ($14 โ $8) ร V = $6 ร V, so V = $200,000 / $6 = 33,333 units. Below 33,333 units annually, outsourcing wins. Above, in-house wins. At the company's current 25,000-unit volume, outsourcing is the right call by roughly ($14 โ $8) ร 25,000 โ $200,000 = $150,000 โ $200,000 = โ$50,000 (in-house would lose $50,000 versus outsourcing at this volume).
Three caveats to the textbook calculation. First, fixed-cost investments rarely sit at exactly the stated number โ add 15-25% contingency for installation, certification, and the learning curve before steady-state throughput. Second, in-house production adds operational complexity (HR, quality control, supply chain management) that doesn't show up in the cost-per-unit but absolutely affects management bandwidth. Third, contract pricing rarely stays flat at the stated $14 โ it tends to creep upward year-over-year, which shifts the break-even point downward and eventually justifies the in-house move regardless of current volume.
Marginal vs average cost โ when each matters
Two cost numbers describe the same production run from different angles, and confusing them leads to systematic pricing mistakes. Average cost per unit = total cost รท total units. Marginal cost per unit = the cost of producing exactly one more unit beyond the current volume. They are almost never equal, and they answer fundamentally different questions.
Worked example. A small manufacturer produces 1,000 units a month at $40,000 of total cost โ $20,000 fixed plus $20,000 variable at $20 per unit. Average cost per unit = $40,000 รท 1,000 = $40. Marginal cost of producing the 1,001st unit (assuming spare capacity and no new fixed cost) = $20 โ the variable cost of just that one extra unit, since the fixed cost is already covered by the existing 1,000 units. The same business could accept a one-off order at $25/unit and earn $5 of contribution per unit, even though that price is well below the $40 average cost.
Which number to use depends on the decision. Pricing decisions hinge on marginal cost โ a one-off contract or capacity-filling order is profitable any time the price exceeds marginal cost, even if it doesn't cover full average cost. Investment decisions hinge on average cost โ adding a new product line, expanding capacity, or entering a market is only profitable if the price clears full average cost across the planning horizon. Pricing every order on average cost leaves contribution on the table; pricing every order on marginal cost eventually bankrupts the business because fixed costs never get covered. The discipline is knowing which decision you're making and applying the right number.
Common cost-per-unit mistakes
- Missing import duty and customs-broker fees in e-commerce COGS โ a $12 FOB-China product looks like it should sell for $30 at a 60% margin until you remember that 5-25% duty, ocean freight, last-mile freight, and customs-broker fees can add $5-10 per unit. The "free" duty rate on most consumer goods imported into the US has narrowed since Section 301 China tariffs went into effect โ many SKUs now carry an additional 7.5% or 25% on top of the base HTS rate. Always price off landed cost, never off invoice cost.
- Treating CAC as COGS โ customer acquisition cost (paid ad spend, affiliate commissions, influencer fees) is an operating expense, not a cost of goods sold. Including CAC in COGS overstates COGS, understates marketing spend, and distorts gross margin into something that looks alarming to an investor or accountant. Keep them on separate lines: COGS gives you gross margin; gross margin minus CAC gives you contribution margin.
- Ignoring returns, refunds, and breakage โ retail and e-commerce see typical return rates of 2-5% (higher in apparel โ 10-30% โ and in mattresses, where free-return policies push effective rates to 15%+). A 5% return rate on a $20 landed-cost SKU adds roughly $1/unit of unrecoverable cost (return shipping, restocking labour, write-offs on damaged returns) that has to be allocated across the units that do sell. Build a returns reserve into the cost-per-unit calculation; don't ignore it and hope for the best.
- Using book depreciation for capex decisions โ book depreciation (straight-line, 5-year MACRS, whatever the accountant runs) is a financial-reporting convention, not a cash-flow reality. For decision-making on whether to buy a piece of equipment, the relevant number is the cash outlay and the cash savings it produces, not the depreciation expense. Use book depreciation for the GAAP cost-per-unit number that flows into the income statement; use cash-flow numbers for the make-vs-buy decision.
- Allocating overhead by units instead of by activity driver โ splitting $100,000 of factory overhead across all units equally treats a complex low-volume SKU the same as a simple high-volume one, but the complex SKU likely consumes far more setup time, machine hours, and supervision. Activity-based costing (ABC) allocates overhead by the activity that drives it (machine hours, setups, inspection time), producing materially different per-SKU cost numbers. For the conceptual mechanics, see the cost-plus pricing explainer at /blog/cost-plus-pricing-explained, which covers ABC overhead allocation in detail.
How cost-per-unit drives pricing decisions
Cost-per-unit plays a different role in price-setting depending on the competitive structure of the market. In a true commodity โ bulk materials, agricultural staples, generic components โ the market price is set externally and cost-per-unit is the floor: a producer must either sit below the market clearing price or exit. There's no room for cost-plus markup because the price is given exogenously. Cost-per-unit modelling in this context is about survival and operational discipline, not pricing.
In B2B services, customised manufacturing, and most professional work, cost-per-unit is the bottom of the value stack. The seller calculates a fully-loaded cost-per-unit, applies a target margin to get a floor price, and then layers value-based pricing on top โ pricing the same deliverable higher for clients where it produces outsize value. The cost number sets the walk-away threshold; value sets the achievable ceiling. The cost-plus method is covered in detail at /blog/cost-plus-pricing-explained; the trade-off versus pure value-based pricing is at /blog/value-based-pricing-vs-cost-plus.
In consumer products and software, cost-per-unit is often just one input among many. A SaaS product with $0.50/user marginal cost can price at $10/user, $100/user, or $1,000/user depending on the segment served and the willingness-to-pay it commands. Cost is not the floor in any operationally meaningful sense at low marginal-cost businesses; pricing is governed by willingness-to-pay, competitive substitutes, and unit-economics targets like LTV/CAC ratio. The cost-per-unit number still matters for gross margin reporting and for marginal-cost decisions on infrastructure scaling, but it's not the primary pricing input.
Related tools and reading
- Break-even calculator โ once you have the cost-per-unit, this tells you the volume needed at a given price to cover all costs.
- Markup calculator โ applies a markup percentage to cost-per-unit to derive a selling price.
- Pricing calculator โ turns a cost-per-unit and target margin into a recommended selling price.
- Cost-plus pricing explained โ the full method, ABC overhead allocation, and the trade-offs of margin- versus markup-based pricing.
- How to reduce cost-per-unit โ operational levers (volume, supplier negotiation, automation, waste reduction) that move the number down.
Frequently Asked Questions
What is cost per unit?
Why does my cost per unit decrease when I produce more?
What is the difference between fixed and variable costs?
How do I use cost per unit for pricing?
How does production volume affect profitability?
Does cost per unit work differently for service businesses?
What is the most common cost per unit mistake?
What if I produce zero units in the period?
I know my cost per unit โ what should I do with it?
How is cost per unit different from break-even price?
Glossary
- Fixed Cost Per Unit
- Total fixed costs divided by units produced. This number falls as volume rises โ the source of economies of scale.
- Variable Cost Per Unit
- The per-unit cost that scales directly with each item produced โ materials, packaging, freight, and direct labour.
- Loaded Cost
- The fully-allocated cost per unit including both variable and fixed components. The number a price must clear to earn a margin.
Related calculators
Methodology & sources
Rates last verified: May 2026Standard unit-cost formula: total CPU = (fixed + variable costs) / units produced. Scaling table assumes fixed costs stay constant and variable costs scale linearly with volume (no bulk discounts modelled).
Rates are reviewed annually or when a region changes its headline rate. If you spot one that's out of date, email [email protected].
For information only. This calculator does not constitute financial, accounting, or tax advice. Consult a qualified professional before making business decisions.
Try these scenarios
Pre-filled examples โ click any chip to load the inputs and result.
How to calculate cost per unit
- Enter total fixed costsCosts that don't change with production volume โ rent, equipment depreciation, management salaries.
- Enter total variable costsCosts that scale with each unit โ raw materials, direct labour, packaging.
- Enter number of units producedTotal units made or bought in the period.
- Read CPU and the scaling tableFixed CPU, variable CPU, and total CPU display together. The table shows what your unit cost would be at 50%, 100%, 150%, and 200% of current volume.
Found this calculator useful?
Save it to a Pinterest board for later, or share with your team.
Written by
James BlanckenbergFounder, BusCalcTools
Founder of BusCalcTools and FinnCalc. Builds practical financial calculators for small business owners and freelancers across the US, UK, and South Africa.
Editorial review by: James Blanckenberg, Founder & Editor
More about James โ