Profit Margin Calculator

Turn price and cost into profit, margin and markup. For example: “What is my margin if I sell for $120 and it costs $75?”

About this calculator

Margin and markup describe the same profit against two different bases. Margin divides profit by the selling price; markup divides it by the cost. Mixing them up is one of the most common pricing mistakes in small businesses.

Enter a price and a cost and the calculator shows profit, margin and markup together, so there is never a question about which number you are looking at.

How to use it

  1. Enter the selling price.
  2. Enter the cost of the item or service.
  3. Read the profit, margin and markup.

What the inputs mean

Cost
Use the cost of goods sold for gross margin. Include overheads only if you want a net margin per unit.

Worked example

Selling for $120 something that costs $75 leaves $45 of profit. That is a 37.50% margin and a 60.00% markup.

The formula

margin = (price − cost) ÷ price · markup = (price − cost) ÷ cost

Good to know

  • Margin can never reach 100%; markup has no ceiling.
  • Check your margin after any supplier price change, even if the selling price stays put.

Questions people ask

Gross margin or net margin?

This calculator gives gross margin per unit from the price and cost you enter. Net margin also subtracts overheads such as rent and salaries.

Why is markup always bigger than margin?

Markup divides profit by cost, which is smaller than the price, so the percentage is larger.

What is a good margin?

It varies widely by industry. Groceries can run on single-digit margins while software often exceeds 70%.

Last reviewed October 12, 2026. Results are estimates based on the values you enter and the formula shown. They are not financial, tax, legal or medical advice. Report a problem with this calculator