Profit Margin & Markup Calculator

See your profit, margin and markup instantly, or work backwards from the margin you want to the price you should charge.

Margin from cost and price

Profit
–
Profit margin
–
Markup
–

Price for a target margin

Selling price
–
Profit per sale
–
Equivalent markup
–

Margin vs. markup: the difference

Margin tells you how much of each sale you keep as profit. Markup tells you how much you added on top of your cost. They use the same profit figure but divide by different numbers, which is why a 50% markup is only a 33% margin. Mixing them up is one of the most common pricing mistakes.

Formulas

What's a good profit margin?

It depends heavily on the industry. Retail gross margins are often 25–50%, restaurants 60–70% on food cost, and services and software can be 70% or more. Compare yourself with businesses like yours.

Frequently asked questions

What is the difference between margin and markup?

Margin is profit as a percentage of the selling price. Markup is profit as a percentage of the cost. A product that costs 50 and sells for 100 has a 50% margin and a 100% markup.

How do I calculate profit margin?

Profit margin = (price − cost) ÷ price × 100.

How do I find the price for a target margin?

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

Last updated November 2026