Profit Margin & Markup
Work out profit, margin (percent of price) and markup (percent of cost) from a cost price and a selling price, including loss and zero-price cases.
About Profit Margin & Markup
The Profit Margin Calculator turns a cost price and a selling price into three numbers: your profit, your margin and your markup. Know exactly what each sale earns.
Example
Cost 80, price 100: profit 20, margin 20% and markup 25%.
Margin vs markup
Markup is the profit as a share of what you paid. Margin is the profit as a share of the selling price. A 25% markup is only a 20% margin, and the gap grows with bigger numbers, so never mix them up when pricing.
Set a price from a target margin
Divide the cost by 1 minus the margin. For a 30% margin on an item that costs 70: 70 / 0.70 = 100.
Selling at a loss
Cost 100 and price 80 shows a loss of 20, a margin of -25% and a markup of -20%.
Remember overheads
These are gross figures. Rent, wages, advertising and card fees are not included, so a healthy margin per item can still mean a loss overall. Use the Break-even Calculator for fixed costs.
Private
The calculation runs in your browser. Nothing you type is uploaded.
The formulas
Margin = (price - cost) / price x 100. Markup = (price - cost) / cost x 100.
What is a good margin?
It depends on the industry. Grocery shops often run on net margins of just a few percent, while software firms can be well above 20%.
How to use Profit Margin & Markup
- Enter the cost price: what the item or service costs you in total.
- Enter the selling price, without tax.
- Read the profit, the margin as a percentage of price and the markup as a percentage of cost.
- Adjust either price until the margin or markup meets your target.
Related guide: How to Calculate Discounts, GST/VAT and Profit Margin
Estimates for information only, not financial, tax or legal advice. Results depend on the figures you enter and can differ from real offers or statements.
Help & FAQ
What is the difference between margin and markup?
Markup is profit as a percentage of cost. Margin is profit as a percentage of the selling price. A cost of 80 and a price of 100 gives a 25% markup and a 20% margin.
How do we calculate margin?
Margin = (selling price - cost) / selling price. For 80 and 100 it is 20 / 100 = 20%.
How do we calculate markup?
Markup = (selling price - cost) / cost. For 80 and 100 it is 20 / 80 = 25%.
Can the result be negative?
Yes. A cost of 100 sold at 80 gave a profit of -20.00, a margin of -25.00% and a markup of -20.00%.
Why is a cost of zero refused?
Markup divides by cost, and a margin of an item with no cost has no useful meaning. The tool says Cost must be above zero.
What happens if the selling price is zero?
The tool shows the loss and a markup of -100%, and the margin is not defined, so it is shown as a dash.
Should we enter prices with tax?
No. Enter the selling price without VAT or sales tax, because tax is not your income.
How do we find the price for a 30% margin?
Divide the cost by 0.70. For a cost of 70 the price is 100.
Does it include overheads?
No. It uses only the cost and the price you enter, so add other costs to the cost price if you want them included.
Can we enter several items?
No. It handles one cost and one price at a time.
Which currency does it use?
Any. The percentages do not depend on the currency.
Is our data uploaded?
No. The calculation runs in your browser.