Profit Margin Calculator
Calculate gross profit, margin and markup from cost and selling price.
About the Profit Margin Calculator
Margin and markup are often confused. Margin is profit as a share of the selling price, while markup is profit as a share of cost. This calculator shows both.
How to use the Profit Margin Calculator
- Enter your cost and your selling price.
- Calculate to see gross profit, margin and markup.
- Adjust the price to reach your target margin.
Worked example
A product that costs 40 and sells for 100 has a gross profit of 60, a margin of 60% and a markup of 150%.
Profit Margin Calculator FAQ
What is the difference between margin and markup?
Margin = profit / selling price. Markup = profit / cost. The same sale always has a higher markup than margin.
How do I calculate profit margin?
(Selling price - cost) / selling price x 100.
Does this include other expenses?
No. It is gross margin only, before shipping, fees, labor, rent and taxes.
Related tools
Percentage Calculator · Discount Calculator · Sales Tax Calculator · All calculators · Guides
Reviewed 2026/11/08 by the ATOMOS Tools editorial team. Results are estimates for general information.