Skip to content
thecalculatorstudio

Profit Margin Calculator

Margin is profit over the price; markup is profit over the cost. They are different numbers, and mixing them up is expensive. This shows both, whichever you enter.

Last reviewed

$
$

Profit margin

40%

$40.00 profit on a $100.00 sale

Margin
40%
Markup
66.67%
Cost
$60.00
Price
$100.00

Margin is not markup. To make a 40% margin you must add 66.67% to your cost, not 40%. Adding 40% would price it at $84.00 and leave you a margin of only 28.57%, losing $16.00 of profit on every unit.

Margin and markup are not the same number

Both measure the same profit. They divide it by different things.

  • Margin = profit ÷ price
  • Markup = profit ÷ cost

An item costs you $60 and you sell it for $100. The profit is $40. So:

  • Margin: 40 ÷ 100 = 40%
  • Markup: 40 ÷ 60 = 66.67%

One sale, one profit, two correct answers. Which you quote matters, and mistaking one for the other is the most expensive arithmetic error in small business.

The mistake, and what it costs

You decide you want a 40% margin. Your item costs $60. You add 40%:

$60 × 1.40 = $84

Your actual margin on that price is ($84 − $60) ÷ $84 = 28.57%.

To get the 40% you wanted, you needed to add 66.67%, bringing the price to $100. You are $16 light on every single unit, forever, and nothing about the sale looks wrong.

You wanted You got
Price $100 $84
Profit $40 $24
Margin 40% 28.57%

Sell 2,000 units a year and that is $32,000 of profit that never existed. The calculator above shows this comparison automatically, because it is the single thing most people come to this page needing to know.

Pricing for a target margin

Price = cost ÷ (1 − margin)

Divide, do not multiply. A $60 item:

Target margin Price Markup needed
20% $75.00 25%
30% $85.71 42.86%
40% $100.00 66.67%
50% $120.00 100%
60% $150.00 150%

The conversion table

Markup = margin ÷ (1 − margin) Margin = markup ÷ (1 + markup)

Worth keeping to hand if you buy at one and sell at the other:

Margin Markup
10% 11.11%
20% 25.00%
25% 33.33%
30% 42.86%
40% 66.67%
50% 100.00%
60% 150.00%

Notice how they pull apart. At 10% the two are almost the same, so the mistake costs little. At 50% the markup is double the margin. The higher your margin, the more the confusion costs you, which is exactly backwards from where people are careful.

Why margin is the more useful number

Markup tells you how you priced. Margin tells you what the business keeps.

Margin is measured against revenue, which is the number everything else is measured against too, rent, wages, marketing. If you know your margin is 40%, you know that every $100 of sales leaves $40 to cover overheads. A markup of 66.67% does not tell you that without a conversion.

It is also the figure that compares across products. Two items with wildly different costs and the same margin contribute proportionally the same to the business; two with the same markup do not.

Quote markup to your buyer if it helps. Run your business on margin.

A margin cannot exceed 100%

Profit cannot be larger than the price unless your cost is negative, so margin tops out at 100%, approached only as cost approaches zero.

Markup has no ceiling at all. A $1 item sold for $100 is a 9,900% markup and a 99% margin. This is why markup figures sound dramatic in retail stories and margin figures sound sober: they are describing the same thing from opposite ends.

Gross margin is not profit

The margin on this page is gross margin, price minus the direct cost of the item. It is not what the business earns.

Still to come out of it: rent, wages, utilities, software, marketing, payment processing fees, returns and shrinkage, and tax. A 40% gross margin can be a thriving business or a failing one depending on what sits underneath.

The practical test is not whether the margin is positive. It is whether gross profit across everything you sell covers your fixed costs with something left.

What a discount really does

A discount does not reduce your profit by the size of the discount. It comes entirely out of the margin, which is a much smaller base.

Our $60 item listed at $100, a 40% margin:

Discount Price Profit New margin Profit lost Extra units to break even
5% $95 $35 36.84% 13% +14%
10% $90 $30 33.33% 25% +33%
15% $85 $25 29.41% 38% +60%
20% $80 $20 25.00% 50% +100%
25% $75 $15 20.00% 63% +167%

A 20% discount halves your profit. To make the same money you must sell twice as many units, and the last column shows how quickly that becomes implausible. A 25% sale needs nearly triple the volume just to stand still.

This is also why low-margin businesses discount so cautiously. On a 15% margin, a 10% discount removes two thirds of the profit, and a 15% discount removes all of it.

A worked example

A shop buys mugs at $4.20 each and wants a 55% margin.

  • Price: $4.20 ÷ 0.45 = $9.33
  • Profit per mug: $5.13
  • Markup, for the order form: 122.14%

If they had added 55% to cost instead, they would price at $6.51 and make $2.31, a margin of 35.48%. Over 3,000 mugs that is $8,460 of difference.

Before you rely on the number

  • Include every direct cost. Shipping in, packaging, import duty and payment fees are part of what the item costs you, and leaving them out overstates the margin.
  • Discounts come straight off margin. A 10% discount on a 40% margin item does not cut profit by 10%. It cuts it by a quarter.
  • Check margin per product, not just overall. An average margin can hide lines that lose money on every sale.

Frequently asked questions

What is the difference between margin and markup?

Margin is profit divided by the selling price; markup is profit divided by the cost. An item costing $60 and sold for $100 makes $40 profit. That is a 40% margin and a 66.67% markup. Same sale, two very different numbers.

How do I calculate profit margin?

Subtract the cost from the price, divide by the price, and multiply by 100. ($100 − $60) ÷ $100 = 40%. Always divide by the price, dividing by the cost gives markup instead, which is a bigger number and flatters the business.

How do I price something for a 40% margin?

Divide the cost by (1 − margin), so $60 ÷ 0.60 = $100. Do not add 40% to the cost: that gives $84, which is only a 28.57% margin. The markup you need for a 40% margin is 66.67%.

How do I convert a margin into a markup?

Markup = margin ÷ (1 − margin). A 25% margin is a 33.33% markup, a 40% margin is a 66.67% markup, and a 50% margin is a 100% markup. Going the other way, margin = markup ÷ (1 + markup).

Can a margin be more than 100%?

No. Margin is profit as a share of the price, and profit cannot exceed the price unless the cost is negative. Markup has no such limit, a $1 item sold for $100 has a 9,900% markup and a 99% margin.

What is a good profit margin?

It varies enormously by industry, grocery retail runs on a few per cent while software can exceed 80%. The figure here is gross margin, before rent, wages and everything else, so it needs to be comfortably above your overheads rather than merely above zero.

Related calculators

Sources

This tool is for information only and is not financial advice. Figures are estimates, confirm anything you act on with your lender or a qualified adviser.