Margin and Markup Calculator
Enter any two of cost, selling price, margin % or markup %. The calculator works out the rest, plus the profit. It runs in your browser.
What do you know?
Convert between margin and markup
How to use the margin and markup calculator
- Choose which two values you already know.
- Enter them. The margin, markup, price, cost and profit update as you type.
- Use the converter to turn a target margin into the markup you need to charge.
The formulas
- Margin % = (price − cost) ÷ price × 100
- Markup % = (price − cost) ÷ cost × 100
- Price from margin = cost ÷ (1 − margin %)
- Price from markup = cost × (1 + markup %)
Margin is always lower than markup for the same sale, so a 25% markup is only a 20% margin. This gives gross margin. Overheads and tax are not included unless you add them to the cost.
Related tools
To work out a sale price use the discount calculator. To compare two prices use the percentage change calculator.
See also
- Work out a sale price with the discount calculator.
- Compare two prices with the percentage change calculator.
Frequently Asked Questions (FAQ)
Both measure profit, but against different bases. Margin is profit divided by the selling price. Markup is profit divided by the cost. Selling something for 100 that cost 60 gives a 40% margin and a 66.7% markup.
Gross margin % = (price - cost) / price x 100. With a price of 100 and a cost of 60, that is 40 / 100 = 40%.
Markup % = (price - cost) / cost x 100. To set a price from a markup, use price = cost x (1 + markup %). A cost of 80 with a 25% markup gives a price of 100.
Divide the cost by (1 - margin). To get a 30% margin on a cost of 70, the price is 70 / 0.70 = 100. Multiplying the cost by 1.30 would only give a 23.1% margin.
A 50% markup adds half the cost on top, so a cost of 100 sells for 150 and the margin is 50 / 150 = 33.3%. A 50% margin needs a 100% markup.
No. Profit can never be more than the selling price, so margin stays below 100%. Markup can go above 100%, for example a cost of 10 sold at 40 is a 300% markup and a 75% margin.
No. It works from the cost and price you enter, so it gives gross margin. Net profit margin also subtracts overheads, tax and other expenses, which you would need to include in the cost.
No. Everything is calculated in your browser and nothing is uploaded.