Profit Margin Calculator

Profit margin is profit divided by the selling price. Margin % = (price − cost) ÷ price × 100. An item that costs 600 and sells for 800 has a profit of 200 and a margin of 25%. Its markup, which divides profit by cost, is 33.3%. They are not the same number.

Inputs

Result
–

Results are estimates for planning and education, not financial advice. Real lenders, banks and tax rules may differ — confirm figures with your provider.

How do you calculate profit margin?

Profit = selling price − cost Margin % = profit ÷ selling price × 100 Markup % = profit ÷ cost × 100

Example: cost 600, price 800. Profit is 200, margin is 200 ÷ 800 = 25% and markup is 200 ÷ 600 = 33.3%.

This is the gross margin, because it only subtracts the direct cost of the item. Net margin also subtracts overheads such as rent, wages, marketing and tax, so it is always lower.

Margin versus markup

People mix these up, and it costs real money. Margin is measured against the selling price, markup against the cost, so the same profit gives a smaller margin than markup.

Markup on costMargin on price
10%9.1%
25%20.0%
33.3%25.0%
50%33.3%
100%50.0%

If you want a 25% margin on an item that costs 600, the price is 600 ÷ (1 − 0.25) = 800.00, not 600 × 1.25 = 750. A 40% markup on 600 gives 840.00, which is a margin of 28.6%.

Using margin to price products

  • Start from your costs, including delivery, packaging, payment fees and returns.
  • Pick the margin your business needs to cover overheads and leave a profit.
  • Check the resulting price against competitors and what customers will pay.
  • Review it whenever your costs change.

Percentages are explained step by step in our percentage guide, and the percentage calculator handles discounts and increases. See the guide to profit margin and markup for more examples.

Complete guide to the Profit Margin Calculator

How to use the Profit Margin Calculator, step by step

  1. Choose what you know: cost and price, or cost and a target.
  2. Enter the numbers.
  3. Read the margin, markup, profit and selling price.
  4. Check that the cost includes delivery, fees and returns.

Common mistakes to avoid

  • Adding the target margin to the cost instead of dividing.
  • Leaving out shipping, payment fees and returns.
  • Quoting markup when the buyer expects margin.

Key terms explained

Gross margin
Profit after direct costs only.
Net margin
Profit after all expenses and tax.
Markup
Profit as a percentage of cost.
Cost of goods sold
The direct cost of producing or buying what you sell.

Frequently asked questions

How do I calculate profit margin?

Subtract cost from the selling price, divide by the selling price and multiply by 100.

What is the difference between margin and markup?

Margin divides profit by the selling price, and markup divides it by cost. A 25% margin equals a 33.3% markup.

How do I find the selling price for a target margin?

Divide the cost by (1 − margin). For a 25% margin on a cost of 600, the price is 600 ÷ 0.75 = 800.

What is a good profit margin?

It varies by industry. Retail and food often have low margins, while software and services can be much higher. Compare with similar businesses.

What is the difference between gross and net margin?

Gross margin only subtracts the direct cost of goods. Net margin also subtracts overheads, interest and tax.

Related calculators

Guides worth reading