Margin and markup are the two most confused numbers in pricing. Margin is profit as a share of the selling price; markup is profit as a share of the cost. A 50% markup is only a 33.3% margin, and pricing with the wrong one quietly costs money.
This calculator has five modes: margin and markup from cost and price; the price you need for a target margin; the price from a markup; what a discount does to your margin (and how many more units you need to sell to make the same profit); and adding or removing VAT, GST or sales tax correctly.
How to use the profit margin calculator
- Pick the calculation you need from the tabs.
- Enter your numbers. Results update as you type.
- Read the explanation under the results to see the formula used.
Accuracy and privacy
Calculations run in your browser and use standard formulas: margin = (price − cost) ÷ price; markup = (price − cost) ÷ cost; price for a target margin = cost ÷ (1 − margin); net from gross = gross ÷ (1 + tax rate).
Frequently asked questions
Q01What is the difference between margin and markup?
Margin is profit divided by the selling price. Markup is profit divided by the cost. With a cost of 60 and a price of 100, profit is 40: a 40% margin but a 66.7% markup.
Q02How do I price for a 40% margin?
Divide the cost by (1 − 0.40). A cost of 60 needs a price of 100.
Q03How do I remove VAT from a price?
Divide the gross price by (1 + the VAT rate). At 20% VAT, 120 ÷ 1.2 = 100 net, so the VAT is 20. Simply subtracting 20% would give the wrong answer.
Q04How does a discount affect profit?
A discount comes straight out of your profit. A 15% discount on a product with a 40% margin cuts the profit per unit by over a third, so you need to sell noticeably more to earn the same.