Profit Margin vs Markup: Formulas, Examples and Common Mistakes

Open the Profit Margin CalculatorFree, no sign-up.

Margin and markup both describe profit as a percentage, but they divide it by different numbers, so the same sale can show a 25% markup and a 20% margin. Mixing them up is one of the most common pricing mistakes in small businesses. Here are the formulas, a conversion table and worked examples. The maths is the same in every currency, so the examples use plain amounts: read them as dollars, euros, pounds, rupees or whatever you trade in.

The two formulas

Start with profit, which is the same in both cases:

Profit = Selling price - Cost

Markup compares profit with what you paid:

Markup % = Profit ÷ Cost × 100

Margin (gross margin) compares profit with what you sold for:

Margin % = Profit ÷ Selling price × 100

Government business advice uses the same definitions: Business Queensland divides gross profit by total revenue for the margin, and New Zealand's business.govt.nz works out markup as the amount charged above a job's costs, divided by those costs.

Example: you buy a phone case for 40 and sell it for 50. Profit is 10. Markup is 10 ÷ 40 = 25%. Margin is 10 ÷ 50 = 20%. Same sale, two different percentages.

When you make a profit, the selling price is always bigger than the cost, so margin is always the smaller number. Margin can never reach 100%, because that would mean the item cost nothing, while markup can go well past 100%.

Converting between margin and markup

Work in decimals (25% = 0.25):

Margin = Markup ÷ (1 + Markup)

Markup = Margin ÷ (1 - Margin)

So a 25% markup is 0.25 ÷ 1.25 = 0.20, a 20% margin. A 40% margin needs a markup of 0.40 ÷ 0.60 = 0.667, or 66.7%.

MarkupMargin
10%9.1%
20%16.7%
25%20%
33.3%25%
50%33.3%
66.7%40%
100%50%
150%60%
200%66.7%
300%75%

Pricing for a target margin

If you know the margin you want, divide the cost by one minus that margin:

Selling price = Cost ÷ (1 - Target margin)

Example: a café's ingredients and packaging for one sandwich cost 4.80, and the owner wants a 60% gross margin. The price is 4.80 ÷ 0.40 = 12.00. Check: profit is 7.20, and 7.20 ÷ 12.00 = 60%.

The classic mistake is to apply the margin as if it were a markup: 4.80 × 1.60 = 7.68. That gives a profit of 2.88 and a margin of only 37.5%, well short of the target.

Going the other way is just as easy. If you know the markup you want, multiply: a 50% markup on the same 4.80 cost is 4.80 × 1.50 = 7.20.

Keep VAT, GST and sales tax out of the calculation

In countries with VAT or GST, a registered business collects the tax from its customers for the government. As the EU's Your Europe portal explains, a business can usually deduct the VAT it paid on its own business purchases from the VAT it charges, and in Australia a GST-registered business can claim GST credits on business purchases that include GST. The tax passes through the business, so work out margin and markup on prices excluding VAT or GST.

Example at a 20% VAT rate: you sell a lamp for 240 including VAT, and your supplier charged you 120 plus VAT. The net selling price is 240 ÷ 1.20 = 200. Profit is 200 - 120 = 80, so the margin is 40% and the markup is 66.7%. If you had used the VAT-inclusive price, you'd get (240 - 120) ÷ 240 = 50%, which flatters the business by 10 points.

If you aren't registered, you generally can't reclaim the tax on what you buy, so the VAT or GST you pay suppliers is a real cost and belongs in the cost figure. Where a sales tax is added at the checkout instead, keep it out of the selling price too: you collect it for the tax authority, and it isn't income.

Rates, registration thresholds and reclaim rules differ by country and change over time. Our guide to VAT and sales tax shows how to take tax out of a price. This is general information, not tax or financial advice, so check with your tax authority or an accountant for your own business.

Common mistakes and pricing tips

  • Quoting markup as margin. A supplier who says "we work on 50%" could mean either. A 50% markup is only a 33.3% margin, so ask which one they mean.
  • Discounting without checking the margin. With a 25% markup, a 20% discount wipes out the whole profit: cost 100, price 125, and 20% off brings it back to 100.
  • Leaving out costs. Delivery, card processing fees, packaging and marketplace commissions all eat into margin. Decide which costs you include and be consistent.
  • Averaging percentages. The overall margin on two products isn't the average of their two margins unless their sales are equal. Add up total profit and total sales, then divide.
  • Confusing gross and net margin. Gross margin covers the cost of the goods sold. Net margin also takes off operating costs such as rent and salaries, so it's usually much lower.

Pricing tips

  • Decide your target margin first, then work out the price, rather than picking a price and hoping.
  • Round prices after the calculation (12.00 or 11.99 rather than 11.93), then recheck the margin.
  • Know your maximum discount. The largest discount you can give without making a loss equals your margin, so with a 40% margin, anything beyond 40% off loses money.
  • Review costs regularly. If a supplier raises prices by 10% and you don't adjust, a 30% margin on an item priced at 100 drops to 23%.

Working it out with our calculators

Both calculators run in your browser and update as you type. The Currency menu only changes the symbol shown; nothing is converted.

From a cost and a price, use the Profit Margin Calculator:

  1. Enter the Cost price, excluding VAT or GST if you're registered.
  2. Enter the Selling price, also excluding tax. If you only have the tax-inclusive price, use the VAT Calculator with Remove VAT from my price first.
  3. Read the profit, profit margin and markup. If the price is below cost, it shows a loss and warns you.

To set a price, use the Profit Margin Calculator:

  1. Under I want to find, pick one of four jobs: the selling price from cost and markup, the markup from cost and price, the cost from price and markup, or the price for a target margin.
  2. Fill in the boxes that appear, such as Cost and Target margin (%).
  3. Read the selling price, profit, markup and margin together, then check the Markup and margin side by side table, which lists markups from 10% to 200% with the matching margin and the price for your cost.

Try the sandwich example: choose the price for a target margin, enter a cost of 4.80 and a target margin of 60, and it returns 12.00 with a 150% markup.

Both tools work on one item at a time. They don't split out overheads or model a sale, so to test a discount, run the new price through the Profit Margin Calculator, or use the Discount Calculator to find the sale price first.

Quick answers

Is a 25% markup the same as a 25% margin?

No. A 25% markup gives a 20% margin. To get a 25% margin you need a markup of 33.3%.

Which one should I use?

Margin is more common in financial reports and when comparing products, because it relates to revenue. Markup is handy for setting a price quickly from cost. Either works, as long as everyone knows which one you mean.

Should VAT or GST be included when I calculate margin?

Not if you're registered. Use figures excluding the tax. If you're not registered, include the tax you pay suppliers in your costs.

Can margin be more than 100%?

No. Margin always stays below 100%, while markup has no upper limit. Both turn negative if you sell below cost.

Sources

  1. Business Queensland: Break-even and profit
  2. business.govt.nz: How to price a job
  3. nibusinessinfo.co.uk: Calculate your profit margins
  4. Your Europe: Charging and deducting VAT & invoicing rules
  5. Australian Taxation Office: When you can claim a GST credit

Spotted a mistake or something out of date? Tell us and we'll fix it.

More guides