Free tool · runs in your browser

Product pricing, margin and markup calculator

Work out a selling price from your cost and the margin or markup you want, or check the margin and markup of a price you already charge. An optional percentage fee covers marketplace or payment costs taken from the price.

Your numbers

Type numbers with a dot for decimals (0.80), not a comma. Commas are accepted only as thousands separators (1,200).

Cost and fee
Everything it costs you to make or buy and deliver one unit.
Marketplace, payment or commission fee as a percentage of price. Your own figure.
Check a price
Fill in to check margin and markup of a price.
Find a price
Profit as a share of the selling price.
Profit as a share of cost.

Results

Runs in your browser. Nothing you type is sent or stored.

How to use it

  1. Enter your cost per unit. Include everything it costs you to get one unit to the customer.
  2. Optionally enter a percentage fee that is taken from the selling price.
  3. To check a price, enter it and read the profit, margin and markup.
  4. To find a price, enter a target margin or markup and read the price that delivers it.

The formulas

Profit = price x (1 - fee) - cost
Margin = profit / price; markup = profit / cost
Price for target margin = cost / (1 - fee - target margin)
Price for target markup = cost x (1 + target markup) / (1 - fee)

Example only: cost 10, fee 15%, price 20. The fee is 3.00, profit is 20 x 0.85 - 10 = 7.00, margin is 7 / 20 = 35% and markup is 7 / 10 = 70%. For a 30% target margin the price would be 10 / (1 - 0.15 - 0.30) = 18.18.

Common mistakes

  • Adding a markup percentage when you meant margin. A 50% markup is only a 33% margin.
  • Leaving the marketplace or payment fee out of the price. The fee is taken from the price, not added to it.
  • Pricing from cost alone and ignoring what buyers will pay. The result is the minimum that meets your target.
  • Forgetting tax. Many places require prices shown to customers to include or exclude tax in a set way. Check your own rules.

Questions

What is the difference between margin and markup?

Both express profit as a percentage. Margin divides profit by the selling price. Markup divides profit by cost. A product bought at 60 and sold at 100 has a 40% margin and a 66.7% markup.

How do I price for a target margin?

Divide cost by one minus the margin you want, and also minus any percentage fee. This calculator does it for you.

Can I include marketplace fees?

Yes. Enter the fee as a percentage of price in the fee box. If a fee is a fixed amount, add it to the cost instead.

Does it save my numbers?

No. It runs in your browser and nothing is stored or sent.

Limits. A planning aid that does not include tax, currency conversion or discounts. Not financial, tax or accounting advice.