Cost per Unit and Pricing Calculator

Work out what each unit really costs — materials, labour and a share of fixed costs — then the price that gives you the margin you want, or the margin your current price gives you.

Last updated: October 2026

Live calculatorNothing you type leaves your browser.
Raw materials, ingredients or stock bought for each unit.
Direct labour to make or deliver one unit. Include your own time if you want the price to pay you.
Packaging, shipping, card or platform fees — anything that rises with each unit sold.
Rent, salaries, software, insurance — costs that stay the same however many units you sell.
units
How many units you expect to make and sell in the same period as the fixed costs.
%
Profit as a share of the selling price, after all the costs above.
Selling price per unit
—
Variable cost per unit—
Fixed cost per unit—
Full cost per unit—
Profit per unit—

Assumptions appear here once every field is valid.

Reading this result: —

Amounts can be in any currency, as long as all of them use the same one. General information only, not financial advice.

What cost per unit includes

The cost of one unit is more than the materials that go into it. A useful cost per unit has two parts:

  • Variable costs rise with every unit you make or sell: materials, direct labour, packaging, delivery, and card or marketplace fees.
  • Fixed costs stay the same for the period whatever you sell: rent, salaries, software, insurance, equipment leases. Each unit carries a share of them.

Together they give the full cost per unit — what each unit really costs you at your planned volume. Pricing from materials alone is one of the most common reasons small businesses are busy but not profitable.

The formulas

MeasureFormula
Variable cost per unitMaterials + labour + other variable costs
Fixed cost per unitFixed costs for the period ÷ units in the period
Full cost per unitVariable cost per unit + fixed cost per unit
Price for a target marginFull cost ÷ (1 − target margin)
Profit margin(Price − full cost) ÷ price
Markup on cost(Price − full cost) ÷ full cost
Break-even unitsFixed costs ÷ (price − variable cost per unit), rounded up

Notice the price formula divides by 1 − margin. Multiplying cost by 1 + margin gives a markup, not a margin: a 35% markup is only about a 26% margin. If you already know your unit cost and want to convert between markup and margin, the Markup Calculator does exactly that.

Worked examples

1. Pricing a product for a 35% margin

A small candle business spends 6.50 on materials, 3.00 on labour and 1.20 on packaging and card fees for each candle. Its fixed costs are 18,000 for the year and it expects to sell 4,000 candles. These are the calculator’s example figures.

StepCalculationResult
Variable cost per unit6.50 + 3.00 + 1.2010.70
Fixed cost per unit18,000 ÷ 4,0004.50
Full cost per unit10.70 + 4.5015.20
Price for a 35% margin15.20 ÷ (1 − 0.35)23.38
Profit per unit23.38 − 15.208.18
Break-even units18,000 ÷ (23.38 − 10.70), rounded up1,420

At 23.38 each, 4,000 candles earn about 32,738.46 of profit. The markup on cost is 53.8%, even though the margin is 35%.

2. Checking an existing price

The same business currently charges 22.00. Using “Check my price”: profit per unit is 22.00 − 15.20 = 6.80, a margin of 6.80 ÷ 22.00 = 30.9% and a markup of 44.7%. It breaks even after 18,000 ÷ (22.00 − 10.70) = 1,593 candles, and 4,000 candles earn 27,200.00.

3. The same product at different volumes

Fixed costs do not change with volume, so the full cost per unit does — and so does the price needed for the same 35% margin:

Units per yearFixed cost per unitFull cost per unitPrice for 35% margin
2,0009.0019.7030.31
4,0004.5015.2023.38
8,0002.2512.9519.92

If the business priced at 23.38 expecting 4,000 sales but sold only 2,000, its margin would fall from 35% to 15.8%. Whenever you have fixed costs, the calculator’s explanation shows this “half the volume” effect.

Why volume matters so much

Your volume estimate is the most uncertain input, and it drives the fixed cost per unit. Be realistic: use what you actually sold last year, or a cautious forecast. If the price only works at an optimistic volume, it is a risky price. A business with high fixed costs is especially sensitive, because each missing sale leaves a larger share of fixed costs on the units that do sell.

Common costing mistakes

  • Leaving out your own time. If you do the work, put a fair hourly cost into labour or your salary into fixed costs, or the price will not pay you.
  • Forgetting the small per-unit costs. Card and marketplace fees, delivery, returns, breakage and waste add up across thousands of units.
  • Mixing periods. Fixed costs and units must cover the same period — a year’s rent divided by one month’s sales overstates the cost per unit twelve times.
  • Including VAT or sales tax in the margin. Price before tax; the tax is not your income. The VAT Calculator adds or removes it.
  • Stopping at cost-plus. The cost-based price is your floor. Check it against what customers pay for similar products — you may be able to charge more.

Cost per unit and pricing in Excel

With materials in B1, labour in B2, other variable costs in B3, fixed costs in B4, units in B5 and the target margin in B6 (for example 35%):

  • Variable cost per unit: =B1+B2+B3
  • Full cost per unit: =B1+B2+B3+B4/B5
  • Price for the target margin: =(B1+B2+B3+B4/B5)/(1-B6)
  • Break-even units at price P in B7: =ROUNDUP(B4/(B7-(B1+B2+B3)),0)

Frequently asked questions

How do you calculate cost per unit?

Add the variable costs of one unit (materials, direct labour, packaging, fees) to its share of fixed costs, which is the period’s fixed costs divided by the number of units in that period. For example, 10.70 of variable cost plus 18,000 of fixed costs spread over 4,000 units (4.50 each) gives a full cost of 15.20 per unit.

How do I set a price from cost per unit?

Divide the full cost per unit by one minus your target margin. For a 35% margin on a full cost of 15.20, the price is 15.20 ÷ 0.65 = 23.38. Multiplying cost by 1.35 instead would give a 35% markup, which is only about a 26% margin.

What is the difference between margin and markup?

Margin is profit as a percentage of the selling price; markup is profit as a percentage of cost. A product that costs 15.20 and sells for 23.38 has a margin of 35% and a markup of about 53.8%. The same profit gives a smaller margin percentage than markup percentage.

Why does my cost per unit change with volume?

Variable costs per unit stay the same, but fixed costs are shared across however many units you make. Selling fewer units means each one carries a bigger share of rent, salaries and other fixed costs, so the full cost per unit rises.

Should my price include VAT or sales tax?

Work out the price before VAT or sales tax, because the tax is collected for the government and is not part of your income or your margin. Add the tax on top for the customer-facing price if you are registered.

Should I include my own time in the cost?

Yes, if you want the price to pay you. Owners often leave out their own time, which makes products look more profitable than they are. Add it as labour per unit, or include your salary in fixed costs.

Is cost-plus pricing the right way to set prices?

It is the right way to find your minimum sensible price, because a price below full cost loses money at your planned volume. The final price should also reflect what customers will pay and what competitors charge, which can be well above your cost-based price.

Once you have a price, the next question is how many units you must sell to cover your fixed costs. The Break-Even Analysis Template is a paid spreadsheet that works out break-even units, revenue and margin of safety, with price scenarios. Browse all templates

Keep going

Written and reviewed by Ghayas Uddin, MS (Finance), financial analyst. Last reviewed 4 October 2026. Found an error? Email support@babadigit.com and we will correct it.

Scroll to Top