Enter your cost and selling price to see profit, profit margin, and markup.
How it works
Enter the cost of an item and its selling price. The calculator finds your profit, then expresses it two ways: profit margin (profit as a share of the selling price) and markup (profit as a share of the cost).
Formula: Profit = Price - Cost; Margin = Profit / Price x 100; Markup = Profit / Cost x 100.
Advanced options work backwards from a target margin to the selling price you need, and give total profit across a quantity.
Everything runs in your browser. Your numbers are never sent to a server, and there is no signup or limit. Your last entries are remembered locally so the calculator is ready next time.
What you will see
- Profit margin
- Profit as a percentage of the selling price. Caps at 100%.
- Markup
- Profit as a percentage of the cost. Can exceed 100%.
Frequently asked questions
What is the difference between margin and markup?
Both describe the same profit, but against different bases. Margin is profit divided by the selling price; markup is profit divided by the cost. A $40 profit on a $60 cost item sold for $100 is a 40% margin but a 66.7% markup.
How do I calculate profit margin?
Subtract cost from selling price to get profit, divide by the selling price, and multiply by 100. For example, ($100 - $60) / $100 x 100 = 40% margin.
How do I price an item for a target margin?
Divide your cost by (1 minus the target margin as a decimal). To hit a 40% margin on a $60 item: $60 / (1 - 0.40) = $100 selling price. Turn on Advanced options and enter a target margin to get the required price automatically.
What is a good profit margin?
It varies enormously by industry: grocery and electronics run on thin margins, while software and services can be very high. Compare to typical margins in your sector rather than a single benchmark.
Is this margin calculator free?
Yes, free with no signup. It runs entirely in your browser, so your numbers stay on your device.