Margin is the percentage of the selling price that is profit.
Margin = (Price − Cost) / Price × 100
Markup is the percentage of the cost that is added as profit.
Markup = (Price − Cost) / Cost × 100
Example: Buy for $60, sell for $100 → Margin = 40%, Markup = 66.7%
What is a margin calculator?
A margin calculator works out how much of a selling price is profit. Margin is profit as a share of the price. Markup is profit as a share of the cost. You use it to price products, to check a supplier quote, or to see what a discount does to your profit.
How to calculate margin and markup
- Select Cost & Price.
- Enter the Cost Price and the Selling Price.
- Read the Margin, Markup and Gross Profit under 📊 Analysis.
- To set a price, select Target Margin, enter the cost and the margin you want, and read the Required Price.
Margin is not markup
Buy for 60 and sell for 100: the profit is 40. That is a 40% margin (40 of 100) but a 66.7% markup (40 of 60). If you add a 40% markup to the cost, you sell for 84 and get only a 28.6% margin. To reach a target margin, divide the cost by (1 − margin): 60 ÷ 0.6 = 100.
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. A 50% markup on a cost of 100 gives a price of 150, but a margin of only 33.3%.
Can the tool find the price for a target margin?
Yes. Select Target Margin, enter the cost and the margin. The tool shows the price and the matching markup.
What is gross profit?
The selling price minus the cost. Margin shows it as a share of the price.
Why do some businesses quote markup and others margin?
Shops and factories often price with markup, because they start from the cost. Accounts and reports use margin. Mixing the two up leads to prices that are too low.
Is my data sent to a server?
No. The calculation runs in your browser.