Profit Margin Calculator: Margin, Markup and Price

Enter your cost and selling price to see your profit, margin and markup. Or enter a target margin to find the price you should charge.

I know my

–Profit margin
–Markup
–Profit per sale
–Selling price

How to calculate profit margin

  1. Choose what you know: your selling price, or the margin you want.
  2. Enter the cost of the product or service.
  3. Enter the selling price, or your target margin in percent.
  4. Read your profit, margin, markup and price. The results update as you type.

Profit margin formula and markup formula

Profit = selling price − cost.

Margin = profit ÷ selling price × 100. It shows how much of each sale you keep. Example: cost 60, price 100, profit 40, so the margin is 40%.

Markup = profit ÷ cost × 100. It shows how much you added on top of the cost. In the same example the markup is 66.67%.

Price for a target margin = cost ÷ (1 − margin ÷ 100). For a 40% margin on a cost of 60, the price is 100.

Profit Margin Calculator: frequently asked questions

What is the difference between margin and markup?

Margin compares profit with the selling price. Markup compares profit with the cost. The same sale always has a higher markup than margin, which is why mixing them up can lead to prices that are too low.

What is a good profit margin?

It depends on the industry, costs and country, so there is no single number. Compare with businesses like yours and make sure the margin covers rent, wages, fees and tax.

Does the cost include shipping and fees?

Include every cost that comes with one sale, such as the product, packaging, shipping and payment or marketplace fees, to see your real margin.

Can the margin be 100% or more?

No. A margin of 100% would mean the cost is zero. That is why the target margin must be below 100%. Markup, however, can be any size.

Is this calculator free and private?

Yes. It works in your browser and nothing you enter is saved or sent anywhere.

Related free tools