Profit Margin Calculator

Calculate gross profit, margin and markup from cost and selling price.

Profit: 60.00 | Margin: 60.00% | Markup: 150.00%

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

  1. Enter your cost and your selling price.
  2. Calculate to see gross profit, margin and markup.
  3. 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.