Free tool

Profit margin and markup calculator

Enter your cost and selling price, or the margin you want, and see the profit, margin and markup instantly. It runs in your browser and nothing is sent anywhere.

Profit margin and markup calculator

Prices here exclude VAT. Nothing you type leaves your browser.

Margin and markup are not the same thing

Margin is profit as a share of the selling price. Markup is profit as a share of what the item cost you. Because the divisor is different, the same sale has two different percentages, and mixing them up is the commonest pricing mistake in small shops.

The formulas

  • Profit = selling price − cost
  • Margin % = profit ÷ selling price × 100
  • Markup % = profit ÷ cost × 100
  • Price for a target margin = cost ÷ (1 − margin ÷ 100)
  • Price for a target markup = cost × (1 + markup ÷ 100)

Example: an item costs 80 and sells for 100. Profit is 20, margin is 20% (20 ÷ 100) and markup is 25% (20 ÷ 80). If you add 20% to the cost you charge 96, and your real margin is only 16.7%.

Margin and the markup that gives it
Margin Markup needed
10% 11.1%
20% 25%
25% 33.3%
30% 42.9%
40% 66.7%
50% 100%

How to use the result

Use margin when you compare shops, read a report or set a profit goal, because it is always capped at 100%. Use markup when you price from the supplier’s invoice, because you start from cost. Remember that the price here excludes VAT, and that your running costs such as rent and salaries come out of the profit, so ask what the margin is after expenses too.

Let Circle do it on every sale

In Circle you enter the cost and selling price once for each product. Every sale then shows its profit, and the reports add profit up by day, week and month, so you do not need to calculate it by hand. See the guide to margin and markup for pricing tips, or the VAT calculator for the tax side.

Questions shop owners ask

What is the difference between margin and markup?
Margin is profit divided by the selling price. Markup is profit divided by the cost. A 25% markup is a 20% margin.
How do I price an item for a 30% margin?
Divide the cost by 0.70. For a cost of 70 the price is 100. The calculator does this in the "Selling price for a target margin" mode.
Does the calculator include VAT?
No. Enter prices without VAT. Add the tax with the VAT calculator afterwards.
Is my data stored?
No. Everything is calculated in your browser and nothing is sent to a server.

Track margin on every sale automatically

Circle is a free cashier and inventory app: enter cost and price once, and every sale shows its profit.

QR code: justacircle.com/download On your computer? Scan with your phone camera to download.