Profit margin and markup: work out both correctly
Margin and markup use the same profit but divide by different numbers. See the difference, convert between them, and price for a target margin.
BusinessBeginner8 minExcel · Google Sheets
Example content. The numbers are fictional and made for learning.
Goal
Work out the profit margin on a product that sells for 25 and costs 15.
Why this is useful
Mixing up margin and markup is one of the most common pricing mistakes. Adding 40% to the cost does not give a 40% margin, so the business earns less than planned.
Example
| Row | A | B | C |
|---|---|---|---|
| 1 | Product | Price | Cost |
| 2 | Mug | 25 | 15 |
| 3 | Tote bag | 32 | 20 |
| 4 | 15 | 6 | |
| 5 | Margin, Mug | 40%=(B2-C2)/B2 |
Steps
1. Find the profit
Profit is price minus cost: =B2-C2. For a price of 25 and a cost of 15, that is 10.
2. Margin divides by the price
Margin is profit as a share of the price: =(B2-C2)/B2 gives 40%. Format the cell as a percentage.
3. Markup divides by the cost
Markup is profit as a share of the cost: =(B2-C2)/C2 gives 67%. Same profit, different base.
4. Price for a target margin
To earn a 40% margin on a cost of 15, divide by one minus the margin: =C2/(1-D2) gives 25. Adding 40% to the cost would give only 21.
5. Keep the target in a cell
Put the target margin in one cell and lock it with $ so a whole price list follows it: =C2/(1-$F$1).
Formulas by language
Cell names such as B2 stay the same. The function name and the character between arguments follow the spreadsheet language. The English line in each list is the reference form used on this site, not a universal spelling. When the decimal sign is a comma, arguments are usually separated with a semicolon, because the comma is already used in numbers.
Margin: 40% for the mug, 37.5% for the tote bag, 60% for the print.
English (United States)
Decimals look like 1.5. Arguments are separated with ,.
=(B2-C2)/B2Swedish (Sweden)
Decimals look like 1,5. Arguments are separated with ;.
=(B2-C2)/B2German (Germany)
Decimals look like 1,5. Arguments are separated with ;.
=(B2-C2)/B2French (France)
Decimals look like 1,5. Arguments are separated with ;.
=(B2-C2)/B2Spanish (Spain)
Decimals look like 1,5. Arguments are separated with ;.
=(B2-C2)/B2Spanish (Mexico)
Decimals look like 1.5. Arguments are separated with ,.
=(B2-C2)/B2Portuguese (Brazil)
Decimals look like 1,5. Arguments are separated with ;.
=(B2-C2)/B2Italian (Italy)
Decimals look like 1,5. Arguments are separated with ;.
=(B2-C2)/B2Dutch (Netherlands)
Decimals look like 1,5. Arguments are separated with ;.
=(B2-C2)/B2
Markup: 67% for the mug.
English (United States)
Decimals look like 1.5. Arguments are separated with ,.
=(B2-C2)/C2Swedish (Sweden)
Decimals look like 1,5. Arguments are separated with ;.
=(B2-C2)/C2German (Germany)
Decimals look like 1,5. Arguments are separated with ;.
=(B2-C2)/C2French (France)
Decimals look like 1,5. Arguments are separated with ;.
=(B2-C2)/C2Spanish (Spain)
Decimals look like 1,5. Arguments are separated with ;.
=(B2-C2)/C2Spanish (Mexico)
Decimals look like 1.5. Arguments are separated with ,.
=(B2-C2)/C2Portuguese (Brazil)
Decimals look like 1,5. Arguments are separated with ;.
=(B2-C2)/C2Italian (Italy)
Decimals look like 1,5. Arguments are separated with ;.
=(B2-C2)/C2Dutch (Netherlands)
Decimals look like 1,5. Arguments are separated with ;.
=(B2-C2)/C2
The price that gives the margin in D2.
English (United States)
Decimals look like 1.5. Arguments are separated with ,.
=C2/(1-D2)Swedish (Sweden)
Decimals look like 1,5. Arguments are separated with ;.
=C2/(1-D2)German (Germany)
Decimals look like 1,5. Arguments are separated with ;.
=C2/(1-D2)French (France)
Decimals look like 1,5. Arguments are separated with ;.
=C2/(1-D2)Spanish (Spain)
Decimals look like 1,5. Arguments are separated with ;.
=C2/(1-D2)Spanish (Mexico)
Decimals look like 1.5. Arguments are separated with ,.
=C2/(1-D2)Portuguese (Brazil)
Decimals look like 1,5. Arguments are separated with ;.
=C2/(1-D2)Italian (Italy)
Decimals look like 1,5. Arguments are separated with ;.
=C2/(1-D2)Dutch (Netherlands)
Decimals look like 1,5. Arguments are separated with ;.
=C2/(1-D2)
The price that gives the markup in D2.
English (United States)
Decimals look like 1.5. Arguments are separated with ,.
=C2*(1+D2)Swedish (Sweden)
Decimals look like 1,5. Arguments are separated with ;.
=C2*(1+D2)German (Germany)
Decimals look like 1,5. Arguments are separated with ;.
=C2*(1+D2)French (France)
Decimals look like 1,5. Arguments are separated with ;.
=C2*(1+D2)Spanish (Spain)
Decimals look like 1,5. Arguments are separated with ;.
=C2*(1+D2)Spanish (Mexico)
Decimals look like 1.5. Arguments are separated with ,.
=C2*(1+D2)Portuguese (Brazil)
Decimals look like 1,5. Arguments are separated with ;.
=C2*(1+D2)Italian (Italy)
Decimals look like 1,5. Arguments are separated with ;.
=C2*(1+D2)Dutch (Netherlands)
Decimals look like 1,5. Arguments are separated with ;.
=C2*(1+D2)
Margin that shows 0 instead of #DIV/0! while the price is empty.
English (United States)
Decimals look like 1.5. Arguments are separated with ,.
=IFERROR((B2-C2)/B2,0)Swedish (Sweden)
Decimals look like 1,5. Arguments are separated with ;.
=OMFEL((B2-C2)/B2;0)German (Germany)
Decimals look like 1,5. Arguments are separated with ;.
=WENNFEHLER((B2-C2)/B2;0)French (France)
Decimals look like 1,5. Arguments are separated with ;.
=SIERREUR((B2-C2)/B2;0)Spanish (Spain)
Decimals look like 1,5. Arguments are separated with ;.
=SI.ERROR((B2-C2)/B2;0)Spanish (Mexico)
Decimals look like 1.5. Arguments are separated with ,.
=SI.ERROR((B2-C2)/B2,0)Portuguese (Brazil)
Decimals look like 1,5. Arguments are separated with ;.
=SEERRO((B2-C2)/B2;0)Italian (Italy)
Decimals look like 1,5. Arguments are separated with ;.
=SE.ERRORE((B2-C2)/B2;0)Dutch (Netherlands)
Decimals look like 1,5. Arguments are separated with ;.
=ALS.FOUT((B2-C2)/B2;0)
The same spoken language can use different separators in different countries. Spanish in Spain often uses a comma for decimals and a semicolon between arguments. Spanish in Mexico often uses a period and a comma. If a formula is rejected, check the spreadsheet locale.
Excel and Google Sheets
- The formulas work the same in Excel and Google Sheets.
- A margin can never reach 100%, while a markup can be any size. A 50% markup is a 33.3% margin; a 100% markup is a 50% margin.
- Use prices and costs before VAT, so the tax does not count as profit.
- Function names and the separator between arguments follow the spreadsheet language. Excel uses the language of your installation; Google Sheets uses the spreadsheet locale under File, Settings.
If something goes wrong
The margin is higher than expected.
The formula divides by the cost. Margin divides by the price.
Pricing at cost plus 40% gives less than a 40% margin.
That is a 40% markup. Use =C2/(1-0.4) for a 40% margin.
The result shows 0.4 instead of 40%.
Format the cell as a percentage. The value is the same.