Money
Margin vs Markup
Margin and markup measure the same profit against different bases. Margin divides profit by the selling price; markup divides it by the cost. A $60 item sold for $100 has a 40% margin and about a 66.67% markup. This guide covers the profit margin formula, how to calculate markup, how to convert between them, and how the difference affects pricing and discounts.
What is the difference between margin and markup?
Start with one sale. You buy an item for $60 and sell it for $100, so you make $40. Margin and markup both describe that $40; they just compare it with different numbers.
Neither number is wrong, and neither is better. They answer different questions. Margin answers “what share of every sales dollar do I keep?” Markup answers “how much did I add on top of what I paid?”
Because the price is always bigger than the cost when there is a profit, margin is always the smaller of the two percentages. That is the source of almost every pricing mistake involving them: someone means one, uses the other, and the price comes out too low. The margin calculator shows both percentages side by side for any cost and price, which is the quickest way to see them together.
The profit margin formula
To calculate profit margin, work in three steps:
- Subtract the cost from the price (or revenue) to get the profit.
- Divide the profit by the price.
- Multiply by 100 to turn the decimal into a percentage.
Example: margin on a month of sales
A small store sells $1,500 of goods in a month. Those goods cost it $975.
For every dollar that came in, 35 cents was left after paying for the goods.
The word “cost” decides which margin you get. Subtract only the cost of the goods and you have gross margin. Subtract running costs as well (rent, wages, software) and you have operating margin. Subtract everything, including interest and tax, and you have net profit margin. The formula is the same each time; only the cost figure changes, so always say which one you mean.
Margin is a plain “X is what percent of Y” calculation, the same method covered in how to calculate percentage, with profit as the part and revenue as the whole.
How to calculate markup
The steps match the margin ones, except that you divide by the cost. Markup is also the natural way to build a price up from a cost, because the formula rearranges into a single multiplication:
Example: a 45% markup on a $24 item
A 45% markup leaves a margin of only about 31%. That gap is what catches people out.
Markup is a percentage increase from cost to price, which is why it can be any size. Doubling the cost is a 100% markup; tripling it is 200%. The markup calculator solves for any one of cost, markup, price or profit when you know two of them.
Converting margin to markup and back
You do not need the cost or the price to convert. One percentage fixes the other, because both come from the same ratio of profit to cost.
Here is why. Take a price of 1. With a 40% margin, the profit is 0.4 and the cost is the remaining 0.6. Markup is profit over cost, so 0.4 ÷ 0.6 ≈ 0.6667, about 66.67%. Going the other way, a markup of 0.6667 on a cost of 1 gives a profit of 0.6667 and a price of 1.6667, and 0.6667 ÷ 1.6667 = 0.4.
| Margin | Equivalent markup | Markup | Equivalent margin |
|---|---|---|---|
| 10% | ≈ 11.11% | 10% | ≈ 9.09% |
| 15% | ≈ 17.65% | 20% | ≈ 16.67% |
| 20% | 25% | 25% | 20% |
| 25% | ≈ 33.33% | 30% | ≈ 23.08% |
| 30% | ≈ 42.86% | 40% | ≈ 28.57% |
| 40% | ≈ 66.67% | 50% | ≈ 33.33% |
| 50% | 100% | 60% | 37.5% |
| 60% | 150% | 75% | ≈ 42.86% |
| 75% | 300% | 100% | 50% |
| 80% | 400% | 200% | ≈ 66.67% |
At small percentages the two are close: a 10% margin is only about an 11.11% markup. As the numbers grow they pull apart quickly, because margin is capped below 100% while markup is not. Between a 50% and a 75% margin, the markup triples, from 100% to 300%.
Pricing to a target margin
Most pricing goals are set as margins, since that is the number that shows up on a profit and loss statement. The tempting shortcut is to treat the target as a markup and multiply the cost by 1 + margin. It always undershoots.
Example: a 40% margin target on a $60 cost
The shortcut leaves $16 on every unit and lands about 11.43 percentage points below the target.
The reason is the denominator. A 40% margin means the cost is 60% of the price, so the price has to be the cost divided by 0.6. Multiplying by 1.4 assumes the profit is 40% of the cost, which is a 40% markup, and the table above shows that a 40% markup is only about a 28.57% margin.
The reverse question, how much you can pay for an item with a fixed selling price, is simpler: maximum cost = price × (1 − margin). For a $100 price and a 40% margin target, that is $60. This is a plain percentage of the price, and the percentage calculator handles it directly.
How discounts eat into margin
A discount comes off the price but not the cost, so all of it comes out of the profit. That makes the effect much bigger than the discount percentage suggests. Take the $60 item normally sold for $100, a 40% margin:
A 20% discount halved the profit per unit and therefore doubled the sales needed to stand still. The general rule for a product with margin m and a discount d off the original price is that sales must rise by d ÷ (m − d) to keep gross profit the same.
| Discount on a 40% margin item | New margin | Extra sales needed to keep the same gross profit |
|---|---|---|
| 5% | ≈ 36.84% | ≈ 14.29% |
| 10% | ≈ 33.33% | ≈ 33.33% |
| 15% | ≈ 29.41% | 60% |
| 20% | 25% | 100% |
| 25% | 20% | ≈ 166.67% |
| 30% | ≈ 14.29% | 300% |
At a 40% discount the profit disappears entirely, and no amount of extra volume brings it back. The lower the starting margin, the faster this happens, which is why low-margin products tolerate only small discounts. The percent off calculator gives the sale price, and the drop from 40% to 25% here is a fall of 15 percentage points, not 15% — the distinction covered in percentage of a percentage.
When to use margin and when to use markup
- Use margin for financial reporting, comparing products or businesses, and setting profit targets. It is tied to revenue, so margins from different products can be compared directly and combined (as total profit over total revenue).
- Use markup when building a price from a cost, especially on the shop floor or in a quote. Multiplying by a single factor such as 1.45 is quick, and it is easy to apply consistently across a price list.
Problems start only when the two are mixed. If a price list is built from markups, translate them into margins before comparing against a margin target. If a target is a margin, divide by 1 − margin to set the price, or convert it to the equivalent markup first using the table above.
Common mistakes
- Multiplying the cost by 1 + target margin. This applies a markup, not a margin, and always underprices. Divide by
1 − margin. - Reporting a markup as a margin. A 66.67% markup and a 40% margin are the same sale. Label the number.
- Expecting a 100% margin to be possible. It needs a cost of zero. Markups can exceed 100%; margins cannot.
- Averaging margins. Two products at 50% and 20% do not average to 35% unless they bring in the same revenue. Use total profit over total revenue, which is a revenue-weighted average that the weighted average calculator can check.
- Treating a margin drop as a percent. A margin falling from 40% to 25% is down 15 percentage points, which is a 37.5% decrease in the margin itself, as the percentage change calculator will show.
- Ignoring per-sale costs. Shipping, card fees and packaging belong in the cost when working out a realistic margin or markup.
Frequently asked questions
What is the profit margin formula?
Profit margin equals (revenue − cost) ÷ revenue × 100. For an item that costs $60 and sells for $100, the margin is $40 ÷ $100 × 100 = 40%. Gross margin uses only the cost of goods; net margin subtracts every expense, including overheads, interest and tax, before dividing by revenue.
How do you calculate markup?
Subtract the cost from the price, divide by the cost and multiply by 100. A $24 item sold for $34.80 has a markup of $10.80 ÷ $24 × 100 = 45%. To set a price from a markup, multiply the cost by one plus the markup as a decimal: $24 × 1.45 = $34.80.
Is a 50% markup the same as a 50% margin?
No. A 50% markup on a $60 cost gives a $90 price, and the $30 profit is only about 33.33% of that price. A 50% margin needs a price of $120, which is a 100% markup. The same percentage means a much higher price when it is a margin.
How do you convert markup to margin?
Divide the markup by one plus the markup, using decimals. A 25% markup is 0.25 ÷ 1.25 = 0.2, a 20% margin. To go from margin to markup, divide the margin by one minus the margin: a 20% margin is 0.2 ÷ 0.8 = 0.25, a 25% markup.
What markup do I need for a 30% margin?
About a 42.86% markup. Using the conversion 0.3 ÷ (1 − 0.3) = 0.3 ÷ 0.7 ≈ 0.4286. On a $70 cost that gives a price of $100, and the $30 profit is exactly 30% of the price. A 30% markup would only produce a margin of about 23.08%.
Why is margin always lower than markup?
Both use the same profit, but margin divides it by the price and markup divides it by the cost. When there is a profit, the price is larger than the cost, and dividing the same number by something larger gives a smaller result. A $40 profit is 40% of a $100 price but about 66.67% of a $60 cost.
How do I calculate profit margin on several products?
Add up the profit from every product and divide by the total revenue. If product A earns $50 profit on $100 of sales and product B earns $60 on $300, the overall margin is $110 ÷ $400 = 27.5%. Averaging the two margins, 50% and 20%, would wrongly give 35%.
Calculators for this
Every one of these shows the working, so you can check the method as well as the answer.
More guides
https://fourfunctioncalculator.com/margin-vs-markup/