Profit Margin Calculator

Calculate profit margin and markup from cost and selling price.

Currency
USD - $ US Dollar
EUR - € Euro
GBP - £ British Pound
JPY - ¥ Japanese Yen
AUD - A$ Australian Dollar
CAD - C$ Canadian Dollar
CHF - CHF Swiss Franc
CNY - ¥ Chinese Yuan
SGD - S$ Singapore Dollar
AED - AED UAE Dirham
BRL - R$ Brazilian Real
ZAR - R South African Rand
MXN - Mex$ Mexican Peso
KRW - ₩ Korean Won
$
$

Margin and markup are not the same thing

Both describe the gap between what something costs you and what you sell it for, but they divide that gap by different numbers. Margin is profit as a share of the selling price. Markup is profit as a share of the cost. Confusing the two is one of the most expensive mistakes in small business pricing.

Buy at $100 and sell at $150 and you have made $50. That is a 50% markup - because $50 is half of the cost. It is also a 33.3% margin - because $50 is a third of the selling price. Same transaction, same profit, two very different-looking percentages.

Key takeaways

  • Margin = profit ÷ selling price. Markup = profit ÷ cost.
  • Markup is always the larger number for the same transaction.
  • A 50% markup is a 33.3% margin; a 50% margin needs a 100% markup.
  • Accountants and investors talk in margin; suppliers and buyers often talk in markup.
  • Discounting eats margin far faster than most people expect.

The formulas

Gross profit = Selling price - Cost

Margin % = (Gross profit ÷ Selling price) × 100

Markup % = (Gross profit ÷ Cost) × 100

Working backwards to a price

Price from margin: Price = Cost ÷ (1 - Margin%/100)

Price from markup: Price = Cost × (1 + Markup%/100)
The classic pricing error. Wanting a 40% margin and adding 40% to cost gives you a 28.6% margin, not 40%. To get a 40% margin on a cost of $100 you must divide by 0.60, giving a price of $166.67 - not multiply by 1.40 to get $140.

Worked example

Cost $100, selling price $150:

  • Gross profit = $150 - $100 = $50
  • Margin = ($50 ÷ $150) × 100 = 33.33%
  • Markup = ($50 ÷ $100) × 100 = 50%

Margin and markup conversion table

MarkupEquivalent marginPrice if cost is $100
10%9.1%$110.00
20%16.7%$120.00
25%20.0%$125.00
33.3%25.0%$133.33
50%33.3%$150.00
66.7%40.0%$166.67
100%50.0%$200.00
150%60.0%$250.00
300%75.0%$400.00

To convert markup to margin: margin = markup ÷ (1 + markup). To go the other way: markup = margin ÷ (1 - margin).

The three margins in a set of accounts

MarginFormulaWhat it tells you
Gross margin(Revenue - COGS) ÷ RevenueWhether the product itself is profitable
Operating marginOperating profit ÷ RevenueWhether the business is profitable after running costs
Net marginNet profit ÷ RevenueWhat is left after everything, including tax and interest

This calculator computes gross margin. Operating and net margins subtract progressively more cost from the same revenue figure, so they are always lower.

What counts as a good margin?

SectorTypical gross marginWhy
Grocery retail20-30%High volume, low margin, thin net profit
General retail35-50%Must cover rent, staff and shrinkage
Restaurants (food)60-70%But labor and rent consume most of it
Manufacturing25-40%Depends heavily on scale and automation
Professional services50-70%Cost is mostly people
Software (SaaS)75-90%Marginal cost of another customer is near zero

Broad industry ranges for orientation only. Gross margin says nothing about whether a business is profitable overall - a 70% gross margin can still lose money.

Why discounting is more dangerous than it looks

A discount comes entirely out of profit, so its effect on margin is disproportionate. On an item costing $100 and selling at $150 - a 33.3% margin:

DiscountNew priceGross profitNew marginProfit lost
0%$150.00$50.0033.3%-
5%$142.50$42.5029.8%15%
10%$135.00$35.0025.9%30%
20%$120.00$20.0016.7%60%
30%$105.00$5.004.8%90%
33.3%$100.00$0.000.0%100%

A 10% discount does not cost you 10% - it costs 30% of your profit. At a 33.3% margin, a one-third discount wipes out profit entirely.

How much extra volume does a discount need? To keep the same total profit after a 10% discount on a 33.3% margin, you need to sell about 43% more units. Discounts are usually a worse deal than they appear at the point of decision.

Ways to improve margin

  • Raise prices. The most direct lever and usually the most under-used. A 5% price rise on a 33% margin lifts profit by 15%.
  • Reduce cost of goods. Negotiate with suppliers, buy in larger quantities, or reduce waste.
  • Change the mix. Sell more of what carries a high margin and less of what does not.
  • Bundle rather than discount. Adding value protects the headline price in a way that cutting it does not.
  • Cut discounting discipline problems. Unofficial discounts given by sales staff are a common silent drain.
  • Review pricing regularly. Costs drift upward continuously; prices usually do not unless someone acts.

Frequently Asked Questions

What is the difference between margin and markup?

Margin is profit as a percentage of the selling price; markup is profit as a percentage of the cost. Buying at $100 and selling at $150 is a 50 percent markup but a 33.3 percent margin. Markup is always the larger figure for the same transaction.

How do I calculate profit margin?

Subtract the cost from the selling price to get gross profit, divide that by the selling price, then multiply by 100. A $50 profit on a $150 sale is a 33.3 percent margin.

How do I price for a specific margin?

Divide the cost by one minus the margin as a decimal. For a 40 percent margin on a cost of $100, divide by 0.60 to get $166.67. Adding 40 percent to the cost gives $140, which is only a 28.6 percent margin - a very common and costly mistake.

How do I convert markup to margin?

Divide the markup by one plus the markup. A 50 percent markup becomes 0.5 ÷ 1.5 = 33.3 percent margin. To go the other way, divide the margin by one minus the margin: a 40 percent margin needs a 66.7 percent markup.

What is a good profit margin?

It varies enormously by sector. Grocery retail runs 20 to 30 percent gross margin, general retail 35 to 50 percent, professional services 50 to 70 percent and software often above 75 percent. Compare against your own industry rather than against a universal figure.

What is the difference between gross, operating and net margin?

Gross margin subtracts only the direct cost of goods. Operating margin also subtracts running costs such as rent and salaries. Net margin subtracts everything, including interest and tax. Each one is lower than the last, and net margin is what actually reaches the owner.

Why does a small discount hurt profit so much?

Because the discount comes entirely out of profit rather than out of cost. On a 33.3 percent margin, a 10 percent discount removes 30 percent of your profit, and a 33.3 percent discount removes all of it. You would need roughly 43 percent more sales to break even on a 10 percent discount.

Can margin be more than 100 percent?

No. Margin is profit divided by selling price, and profit can never exceed the selling price, so margin approaches but never reaches 100 percent. Markup, however, has no upper limit - an item costing $10 and selling for $100 has a 900 percent markup.

Related Calculators