Available
MARGINS AND PRICING

Profit margin calculator

Work out how much you earn per sale, the margin on the price and the markup on your cost, without mixing in tax.

  • Instant calculation
  • No sign-up
  • Your data stays in your browser

Enter your figures

Change the amounts and the result updates.
Margin on sales
40.00%
Margin on sales and markup on cost are different percentages.
  • Cost · 60.00
  • Profit · 40.00
Profit per unit40.00
Margin on sales40.00%
Markup on cost66.67%
Total profit (1 unit)40.00
All commercial amounts are calculated before tax.
KEY FORMULAS

How it is calculated

  • ProfitSelling price − cost
  • Margin on salesProfit ÷ selling price × 100
  • Markup on costProfit ÷ cost × 100

This calculator tells you how much of every unit of currency you sell is left as margin once you have paid for what you sold. Enter the cost and the selling price, both before tax, and you get the margin on sales, the equivalent markup and the profit in money. You can also work backwards: start from the margin you want to find the price, or from the price to find the most you can pay for the product.

How to use the calculator

There are three ways to work with it:

  • I have cost and price. You get the margin, the markup and the profit.
  • I want a margin. Enter the cost and the margin you are aiming for, and the calculator gives you the selling price.
  • Maximum cost. Enter the selling price and the margin you want to keep, and you get the highest cost you can afford.

All amounts are entered before tax. The cost should include everything it takes to get the product ready to sell, such as the purchase price, transport or packaging. Results are rounded to two decimals when displayed, but the internal calculations are not rounded.

What is profit margin

Profit margin is the part of the selling price that is left after covering the direct cost of what you sell. It can be expressed as an amount, the profit per unit, or as a percentage of the selling price. When people talk about “profit margin” or “margin on sales” they usually mean the percentage, and on this page the two terms mean the same thing.

Keep its limit in mind: it is a margin before overheads. Rent, staff, advertising and utilities all come out of the margin afterwards. That is why a 40% margin does not mean you keep 40%.

The profit margin formula

Margin on sales is calculated like this:

Margin (%) = (Selling price − Cost) ÷ Selling price × 100

Profit per unit is the difference between the two:

Profit = Selling price − Cost

Example: a product costs 60 and sells for 100 (before tax). The profit per unit is 40 and the margin is (100 − 60) ÷ 100 = 40%. If you sell 120 units, the commercial profit is 120 × 40 = 4,800, still before other expenses.

Working out the price from the margin you want

If you know the cost and the margin you need, the price is:

Price = Cost ÷ (1 − margin)

With a cost of 80 and a margin of 25%, the price is 80 ÷ 0.75 = 106.67. The profit per unit is 26.67, which is 25% of 106.67.

Working out the maximum cost for a target margin

If the market sets your selling price, you can find out how much you can pay for the product:

Maximum cost = Price × (1 − margin)

If you sell at 150 and want a 30% margin, the maximum cost is 150 × 0.70 = 105.

Margin, markup and profit: three different measures

These three concepts are often confused and give different numbers from the same data. With a cost of 60 and a price of 100:

Concept What it measures Calculation Result
Margin on sales Share of the price that is profit (100 − 60) ÷ 100 40%
Markup on cost How much is added to the cost (100 − 60) ÷ 60 66.67%
Profit Amount of money 100 − 60 40

Margin and markup describe the same profit on a different base: margin is measured on the price and markup on the cost. That is why markup is always larger than margin (when the margin is positive). To convert from one to the other:

  • Markup = margin ÷ (1 − margin)
  • Margin = markup ÷ (1 + markup)
Margin on sales Equivalent markup on cost
10% 11.11%
20% 25.00%
25% 33.33%
30% 42.86%
40% 66.67%
50% 100.00%

If you prefer to work with markup, the table above does the conversion and this calculator shows both percentages at once.

Profit margin is not final profit

The commercial profit on a sale is not what is left at the end of the month. Picture a business that sells 100,000 a year with a 40% margin: it earns 40,000 of margin, and from that amount it has to pay all of its running costs. Whatever remains is the result of the business.

To follow that journey from gross margin down to net margin, use the gross and net margin calculator. And remember that sales tax is not part of any margin: it is a separate amount added to the price, not income of the business.

Common mistakes when calculating margin

Adding the margin to the cost

This is the most frequent error. If a product costs 60 and you add 40% thinking you will earn a 40% margin, the price is 84. But the profit is 24 and the real margin is 24 ÷ 84 = 28.57%. To get a 40% margin on sales you must divide by 0.60, not multiply by 1.40.

Calculating with tax included

If the customer pays 110 with 10% tax, the price before tax is 100. With a cost of 60, the margin is 40%. If you use 110 as the price, you would get 45.45%, a margin that does not exist.

Forgetting associated costs

If you add 5 of transport per unit to a cost of 60 and sell at 100, the real cost is 65 and the margin falls from 40% to 35%. The more complete the cost, the more reliable the margin.

Ignoring discounts

If the list price is 100 but you sell with a 10% discount, you collect 90. The margin goes from 40% to (90 − 60) ÷ 90 = 33.33%. Always calculate with the price you actually sell at.

A complete example, step by step

A shop buys an item for 18 and pays 2 of transport per unit. It wants a 35% margin.

  1. Total cost: 18 + 2 = 20.
  2. Price before tax: 20 ÷ (1 − 0.35) = 20 ÷ 0.65 = 30.77.
  3. Profit per unit: 30.77 − 20 = 10.77.
  4. Equivalent markup: 10.77 ÷ 20 = 53.85%.
  5. Price including 10% tax (an illustrative rate): 30.77 × 1.10 = 33.85. The 3.08 of tax is not margin.

With the selling price calculator you can add commissions or discounts and see the final price including tax.

How to read the result

There is no “right” margin that suits every business. It depends on the sector, the sales volume and the expenses you have to cover. These checks do help in any case:

  • Compare margin and total profit. A product with a lower margin can leave more money if it sells far more.
  • Calculate with the full cost. A margin inflated by an incomplete cost leads to prices that are too low.
  • Check that the margin covers your expenses. Commercial margin is only useful if, added up across all your sales, it exceeds what it costs to run the business.
  • Always use the same base. If you talk about margin with a supplier or a partner, agree whether it is on sales or on cost.
FREQUENTLY ASKED QUESTIONS

Frequently asked questions

What is the difference between margin and markup?

Margin is calculated on the selling price and markup on the cost. With a cost of 60 and a price of 100, the profit is 40: a 40% margin and a 66.67% markup.

Does the margin include tax?

No. Enter amounts before tax, because sales tax is neither a cost nor a profit for your business.

What does a negative margin mean?

That you are selling below cost: the profit per unit is negative and the calculator warns you.

Can I work out the price from a margin?

Yes. Use the “I want a margin” tab with the cost and the margin you are aiming for. If you already have the price and want the highest cost you can pay, use “Maximum cost”.