Glossary · Accounting & finance

How to calculate cost price: formula, example and calculator

7 min read · Updated on 15 September 2026
Definition Cost price is the sum of the costs incurred to produce a good or deliver a service: purchases or production, direct costs and a share of indirect costs. Divided by the quantity, it gives the unit cost, the minimum selling price to avoid selling at a loss.
The full entry
The essentials in brief
  • Cost price = purchases or production + direct costs + share of indirect costs.
  • Unit cost price = total cost price / quantity produced or sold.
  • Direct costs: assigned to a product without any calculation (materials, production labour). Indirect costs: shared by several products (rent, insurance), allocated with a key.
  • Margin = selling price excl. VAT − cost price: the result earned on the product or the order.
  • Excluding VAT for a business that recovers VAT on its purchases.
Free calculator

Calculate a total and unit cost price

Production labour, subcontracting, transport.
Share of rent, insurance and overheads.

Results for the example

Total cost price
€8,500.00
Unit cost price
€17.00
Unit margin excl. VAT
€8.00
Total margin excl. VAT
€4,000.00
Markup rate (on cost)
47.06%
Margin rate (on selling price)
32.00%
Price multiplier
1.47

The calculation runs in your browser: no figure you enter is sent to Orizen or to anyone else. Amounts excluding VAT.

I The formula

The cost price formula

La Finance pour tous, the French financial education institute, defines it as the sum of the direct and indirect costs incurred to produce a good or provide a service, divided by the quantity produced:

Total cost price = purchases or production
                 + direct costs
                 + share of indirect costs
Unit cost price  = total cost price / quantity

In cost accounting the calculation is built in stages: the purchase cost of materials and goods, then the production cost, which adds manufacturing costs, then the cost price, which adds distribution and administration costs. The result earned on a product is its selling price minus its cost price.

The calculator reduces these stages to three amounts. Purchases are direct costs: they are shown separately because they are often the largest item.

II Direct or indirect

Direct and indirect costs: allocating the share

A direct cost is linked to a product or a service without any intermediate calculation: the materials for an order, an employee's hours on a job, a subcontractor hired for a customer.

An indirect cost serves several products at once: workshop rent, insurance, software, the accountant, management time. It has to be allocated. Full costing uses cost centres; a small business can start with a single allocation key:

  1. Add up the year's indirect costs, for example €60,000.
  2. Choose a base that follows activity, for example 4,000 production hours.
  3. Divide: 60,000 / 4,000 = €15 of indirect costs per hour.
  4. Assign each order its share: 100 hours × €15 = €1,500.

The choice of key changes the cost of each product, not the total costs. Keep the same key from one calculation to the next so you can compare.

III Worked example

Worked example: a batch of 500 boxes

A workshop makes a batch of 500 wooden boxes:

ItemAmount excl. VAT
Materials (wood, hardware, packaging)€4,000.00
Direct costs (manufacturing labour)€3,000.00
Share of indirect costs (100 h × €15)€1,500.00
Total cost price€8,500.00
Unit cost price          = 8,500 / 500    = €17.00
Unit selling price excl. VAT              = €25.00
Unit margin              = 25 − 17        = €8.00
Total margin             = 8 × 500        = €4,000.00
Markup rate              = 8 / 17 × 100   = 47.06%
Margin rate              = 8 / 25 × 100   = 32.00%

Without the share of indirect costs, the unit cost would drop to €14 and the margin would appear to be €11. The €3 difference, multiplied by 500 boxes, is the €1,500 of rent, insurance and administration that the batch must also pay for.

For a service, the reasoning is the same, in hours. A job with €1,200 of materials, 16 hours of labour at a €45 loaded hourly cost (€720) and a €280 share of overheads costs €2,200 excl. VAT. Sold at €3,000 excl. VAT, it earns an €800 margin, with a 1.36 multiplier.

IV Setting your price

From cost price to selling price

As Bpifrance Création points out, the cost price sets the minimum selling price to avoid selling at a loss. The price is set above it, with a margin that must also cover what the cost price leaves out, such as loan interest and tax.

Three checks before settling on a price:

  • A realistic quantity: the unit cost falls as the quantity rises, because indirect costs are spread over more units. Calculating on a volume that will not be sold underestimates the cost.
  • A complete cost: transport, packaging, scrap and rework time are all direct costs.
  • The right margin: compare the margin rate you get with your market's, then check with the break-even point that all your margins together cover your fixed costs.
V Frequently asked questions

Answers to the questions we get asked most.

How do you calculate cost price?

Add up purchases or production costs, other direct costs and the share of indirect costs, then divide by the quantity. With €4,000 of purchases, €3,000 of labour and €1,500 of indirect costs for 500 units, the unit cost price is 8,500 / 500 = €17 excluding VAT.

Are "coût de revient" and "prix de revient" the same thing?

Yes. Bpifrance Création uses both French expressions for the same notion: the sum of all the costs incurred to produce a good or a service. "Prix de revient" is the older term, "coût de revient" the one used in cost accounting.

What is the difference between production cost and cost price?

Production cost adds up the purchase cost of the materials used and manufacturing costs. Cost price goes further and adds distribution and administration costs. For a service business with no stock, the two are often the same.

How do you allocate indirect costs?

With an allocation key that follows activity: production hours, billed hours or revenue. Divide the annual total of indirect costs by the base (€60,000 / 4,000 hours = €15 per hour), then assign each product or order what it uses of the base (100 hours × €15 = €1,500).

Is cost price calculated including or excluding VAT?

Excluding VAT for a VAT-registered business: it recovers the VAT paid on its purchases, so that VAT is not a cost. A French business under the VAT exemption scheme cannot recover it: for that business, purchases go into the cost price including VAT.

Back to top ↑