Markup vs Margin Calculator

This markup vs margin calculator takes unit cost and selling price and shows profit margin, markup percentage and profit per unit side by side.

Markup vs Margin Calculator
US$
US$
Profit margin —
Markup —
Profit per unit —

We always strive to use the latest data for every variable so our results and reports are as accurate as possible. Even so, errors are possible — you should not rely on this tool or its report alone, and we accept no liability for any decision made based on it.

What it does

The Markup vs Margin Calculator turns a unit cost and a selling price into the two figures that are constantly mixed up: profit margin, which is profit as a share of the price, and markup, which is the same profit as a share of the cost.

Data sources & parameters

This calculator uses standard financial formulas and runs entirely in your browser. It needs no external rate data — your result is computed only from the values you enter above.

We always strive to use the latest data for every variable so our results and reports are as accurate as possible. Even so, errors are possible — you should not rely on this tool or its report alone, and we accept no liability for any decision made based on it.

The formula

profit = price − cost; margin % = profit ÷ price × 100; markup % = profit ÷ cost × 100

How it works

Profit is the selling price minus the unit cost. Dividing that profit by the price gives the margin; dividing it by the cost gives the markup. Because the denominators differ, the markup is always the larger number for a profitable sale.

Where it is used

  • Setting a selling price from a target margin or markup
  • Checking whether a supplier quote still leaves the margin you need
  • Translating a markup a vendor quotes into the margin it actually earns

Worked example

An item that costs $60.00 and sells for $100.00 earns … of profit. That is a margin of … of the price but a markup of … on the cost — the same money, two very different percentages.

What the markup vs margin calculator does

Markup and margin are easily confused, and pricing a product with the wrong one erodes profit. Enter a unit cost and a selling price, and the calculator reports the profit margin, the markup, and the cash profit per unit, with a donut chart that splits the selling price into the cost you recover and the profit you keep. Each result is labelled, so you do not have to remember which base goes with which name.

The core difference

Markup and margin describe the same profit measured against different bases.

  • Margin is profit as a share of the selling price. If you sell for 100 and keep 40, your margin is 40%.
  • Markup is that same 40 of profit as a share of the cost. If the item cost 60, the markup is 40 ÷ 60 = 66.67%.

The money you keep is identical; only the reference point changes. For a profitable sale the cost is smaller than the price, so markup is always the larger percentage.

The formula

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

No tax, overhead or external rate enters the calculation, so the same cost and price give the same answer in every country and currency.

A worked example

A shop buys a product for 60 and sells it for 100, a profit of 40 per unit. Dividing 40 by the price of 100 gives a 40% margin; dividing it by the cost of 60 gives a 66.67% markup. A shopkeeper who applies a 40% markup when they meant a 40% margin sells the item for 84 instead of 100, earning 24 in place of 40 and giving up 40% of the intended profit on every sale.

Converting between the two

  • Markup to margin: margin = markup ÷ (1 + markup). A 50% markup is 0.5 ÷ 1.5 = 33.3% margin.
  • Margin to markup: markup = margin ÷ (1 − margin). A 25% margin is 0.25 ÷ 0.75 = 33.3% markup.

A 50% markup and a 33.3% margin are the same deal, and so are a 25% margin and a 33.3% markup.

Which figure to use

  • Use markup when you build a price. Retailers and wholesalers usually start from a supplier cost and add a percentage on top, which is exactly what markup measures.
  • Use margin when you judge profitability. Accountants, lenders and investors think in margin because it shows how much of each unit of revenue remains after the cost of the goods, and it is comparable across products and industries.

A common approach is to price up using a target markup, then check the resulting margin against your business's benchmark, raising the markup if the margin is too thin.

Common mistakes

A "40% product" means very different things depending on whether that 40% is a margin or a markup, and the gap widens as the percentage grows. At 20% the two figures are fairly close; by 50% they diverge sharply, and a 50% margin already needs a 100% markup. Quoting a markup to a customer or partner who reads it as a margin can also make a deal look far more generous than it is.

Testing scenarios

Enter the cost and price in the same currency. Raise the price by a small amount and watch the markup climb faster than the margin. Set the cost close to the price to see how thin margins look, then widen the gap to see what a healthy split looks like in your line of work.

About This Markup vs Margin Calculator

Use this markup vs margin calculator to get an instant estimate based on the figures you enter. Adjust the inputs above to match your situation, or browse all our calculators to plan your next step.

Frequently asked questions

What is the difference between markup and margin?
Both measure the same profit, but against different bases. Margin is profit divided by the selling price, so it can never exceed 100%. Markup is profit divided by the cost, and it has no upper limit. A product bought for 60 and sold for 100 has a 40% margin and a 66.67% markup.
How do I convert markup to margin?
Divide the markup by one plus the markup. A 66.67% markup becomes 0.6667 ÷ 1.6667 = 0.40, or a 40% margin. To go the other way, divide the margin by one minus the margin: 0.40 ÷ 0.60 = 0.6667, a 66.67% markup.
Why is markup always higher than margin?
Markup divides profit by the cost, which is smaller than the price, while margin divides the same profit by the larger price. A smaller denominator produces a larger percentage, so for any profitable sale the markup figure exceeds the margin figure.
Which one should I use to set prices?
Retailers often work in markup because they price up from a known cost, while accountants and investors watch margin because it shows how much of each sale is kept. Use markup to build the price and margin to judge the profitability that results.
Can margin be more than 100%?
No. Margin is a share of the selling price, so the most you can keep is the whole price, which is 100% margin and only happens when the cost is zero. Markup has no ceiling because it is measured against the cost, not the price.
Does this calculator work in any currency?
Yes. Markup and margin are pure ratios, so the result is identical whatever currency you use. Enter the cost and price in the same currency and the percentages hold true worldwide.

About the author

Taha Kheirandish

Written and reviewed by

Taha Kheirandish

Economics student and independent researcher

Taha Kheirandish reads tax codes the way other people read maps — to find out where a system actually leads, not where it claims to go.

He is an economics student, and his work here is comparative by design. A pension deferral bonus in Quebec, a commuting allowance in Germany, a rent-increase ceiling in the Netherlands: each is a decision a government made about how money should move, and each reads differently once you set it beside eight others. He builds and checks these calculators across nine markets from primary sources — the regulation rather than a summary of it, the ministry’s own circular rather than a news item quoting it.

That is the editorial standard of the site as well as his habit. Every rate, threshold and bracket here carries the document it was read from and the date it takes effect, and gets re-checked when the law moves rather than when someone happens to notice.

He is a researcher, not a licensed adviser, and nothing on this site is personal financial advice. It is arithmetic done carefully with its sources shown — so that you can check it, and take it to someone who is.

Leave a Reply

Your email address will not be published. Required fields are marked *