Cost Per Unit (Fixed + Variable)

Excel Formulas › Business

All versionsDivision

Spread fixed costs over the units you make, add the variable cost per unit, and you have the true cost per unit — the number that tells you whether your price actually covers production.


Quick formula: for fixed costs B1, variable cost/unit B2, units B3:
=B1/B3 + B2
Fixed cost spread over units, plus the per-unit variable cost. Make more units and the fixed share shrinks.

Functions used (tap for the full reference guide):

The example

$10,000 fixed, $6/unit variable, 2,000 units.

AB
1ItemValue
2Fixed / unit$5.00
3Variable / unit$6.00
4Total / unit$11.00

The formula

Total cost per unit:

=B1/B3 + B2 // 10000/2000 + 6 = 11

How it works

Fixed costs spread; variable costs stay flat per unit:

  1. Fixed per unit = total fixed costs ÷ units. This falls as volume rises.
  2. Variable per unit stays the same no matter the volume.
  3. Add them for the full cost per unit. Compare to price to see profit per unit.
  4. Higher volume lowers the fixed share — the heart of economies of scale.

Profit per unit is price − cost per unit; multiply by units for total profit. Watch how the per-unit cost drops as you increase the volume input.

Try it: interactive demo

Live demo

Set fixed, variable, and units.

Cost/unit

Variations

Profit per unit

Versus price:

=price - (fixed/units + varCost)

Total cost

All-in:

=fixed + varCost*units

Units for a target cost

Solve volume:

=fixed / (targetCost - varCost)

Pitfalls & errors

Zero units divides by zero. Guard the volume, or the per-unit cost errors.

Step-fixed costs. Some “fixed” costs jump at higher volumes (a second shift, more space). Model those steps if volume changes a lot.

Variable cost may not be constant. Bulk material discounts lower it at scale — use a tiered cost if so.

Practice workbook

📊
Download the free Cost Per Unit (Fixed + Variable) practice workbook
A cost-per-unit sheet with profit-per-unit, total-cost, and target-volume variants, plus 4 challenges with answers. No sign-up required.

Frequently asked questions

How do I calculate cost per unit in Excel?
Spread fixed costs over units and add variable cost: =fixedCosts/units + variableCostPerUnit.
Why does cost per unit fall as volume rises?
Fixed costs are divided over more units, so each unit carries a smaller fixed share — the basis of economies of scale.
How many units must I make to hit a target cost?
Solve for volume: =fixedCosts/(targetCost - variableCost).

Stop fighting formulas. Learn them in a day.

This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.

See the Formulas & Functions Class

Related formulas: Contribution margin · Break-even point · Cost allocation

Function references: SUM