Profit Margin Calculator
Calculate profit, profit margin and markup from a cost and selling price — useful for pricing products, services or checking a deal's numbers.
$40.00
Profit
40.0%
Margin
66.7%
Markup
Margin is profit as a percentage of the selling price; markup is profit as a percentage of cost. They describe the same sale from two different angles, which is why they're never the same number except when profit is zero.
Everything you enter is processed in your browser and isn't sent to our servers.
How to use profit margin calculator
- 1Enter your cost.
- 2Enter your selling price (revenue).
- 3Read the profit, margin percentage and markup percentage.
About this tool
Profit margin and markup both describe the same sale, but from different reference points. Margin expresses profit as a percentage of the selling price (how much of what the customer paid is profit), while markup expresses it as a percentage of cost (how much was added on top of cost to set the price). They're only equal when profit is zero, and the gap between them grows as margin gets larger — a 50% margin actually corresponds to a 100% markup.
This calculator works from cost and selling price and shows both figures side by side, so you can see profit from whichever angle is more useful — margin is common for comparing overall business profitability, while markup is common for setting a price from a known cost.
Frequently asked questions
Margin = profit ÷ selling price. Markup = profit ÷ cost. Because the selling price is always higher than the cost when there's a profit, margin is always a smaller percentage than markup for the same sale.
Related tools
Markup Calculator
Set a selling price from cost and your target markup percentage.
ROAS Calculator
Calculate return on ad spend as a ratio and a percentage.
VAT Calculator
Add or remove VAT at any rate — net, VAT amount and gross.
Sales Tax Calculator
Calculate sales tax and the final price at any custom rate.
Discount Calculator
Calculate the final price after one or two discounts.
ROI Calculator
Work out return on investment, with an annualized rate when you add a time period.
Break-Even Calculator
Find how many units you need to sell to cover your costs.