Markup and Margin Calculator
Work out price, profit, markup and margin from a cost plus a price, a markup or a target margin.
How to use it
- Choose your inputs Cost with a price, a markup, or a margin.
- Enter the numbers The cost and your second known value.
- Read the rest Price, profit, markup and margin together.
Examples
| cost 80, price 100 | 25% markup |
|---|---|
| Margin | 20% |
About this tool
Markup and margin are easy to confuse, and mixing them up can quietly eat into profit. This calculator keeps them straight: give it a cost and any one of a price, a markup percentage or a target margin, and it fills in the rest.
It’s built for everyday pricing decisions — setting a retail price, quoting freelance work, or checking that a discount still leaves a healthy margin. The maths updates live in your browser as you type.
Frequently asked questions
What's the difference between markup and margin?
Markup is profit as a percentage of cost; margin is profit as a percentage of the selling price. The same profit gives a higher markup than margin.
How do I price for a target margin?
Switch to "from margin", enter your cost and the margin you want, and the tool gives the selling price that achieves it.
Related tools
Updated June 13, 2026