Profit Margin Calculator: Margin %

Find your profit margin, the share of the selling price you keep as profit. Enter cost and price to see profit, margin and markup, or enter a target margin to get the price you need to charge. Margin is always lower than markup for the same sale.

To price by adding a percentage on top of cost, use the markup calculator.

Use this profit margin calculator to price products with confidence. Enter cost and selling price to see profit, margin and markup, or enter a target margin to get the price you need. It works for shops, resellers and freelancers.

Profit Margin Calculator

Margin, markup and selling price.

-
Everything runs in your browser. Nothing you enter or upload is sent to a server.

How to use the Profit Margin Calculator

  1. Choose what you know: the selling price, the margin you want, or the markup.
  2. Enter your cost per item or per job.
  3. Enter the selling price, desired margin % or markup %.
  4. Read the price, profit, margin and markup together.

Profit margin formula

  • Gross profit = price − cost
  • Margin % = profit ÷ price × 100. Markup % = profit ÷ cost × 100
  • Price for a target margin = cost ÷ (1 − margin ÷ 100)
  • Price from a markup = cost × (1 + markup ÷ 100)

Examples

  • Cost $60, price $100: profit $40, margin 40%, markup 66.67%.
  • For a 50% margin on a $60 cost, charge $120.
  • For a 30% margin on a $45 cost, charge $64.29, not $58.50. Adding 30% to cost gives only a 23.1% margin.

That last example is the most common pricing mistake: a 30% markup is not a 30% margin. If you need a certain margin to cover overhead, always divide the cost by (1 − margin). Margin must stay below 100%, but markup can be any size.

This tool shows gross margin on one item. Net profit margin also subtracts rent, wages, marketing and taxes, so it is lower. Compare your gross margin with others in your industry, since grocery and retail margins are very different from software or services.

Frequently asked questions

What is the difference between margin and markup?

Margin is profit as a share of the selling price. Markup is profit as a share of cost. The same sale always has a higher markup than margin.

How do I price for a 40% margin?

Divide the cost by 0.6. A $30 cost needs a $50 price for a 40% margin.

What is a good profit margin?

It depends on the industry. Retail gross margins are often 20% to 50%, while software and services can be much higher.

Can profit margin be over 100%?

No. Margin can approach 100% but never reach it. Markup has no upper limit.

Is gross margin the same as net margin?

No. Gross margin only subtracts the cost of the item. Net margin also subtracts operating costs, so it is lower.

Related tools: Markup Calculator, Break-Even Calculator, Contribution Margin Calculator, ROI Calculator, Percent Off Calculator.

Work out margin and markup

How to use it

  1. Enter your cost.
  2. Enter the selling price.
  3. Read profit, margin and markup.
  4. Or set a target margin.

More questions

What is the difference between margin and markup?

Margin is profit over price; markup is profit over cost.

What price gives a 40% margin?

Divide the cost by 0.6 to get the price with a 40% margin.

Does it include tax?

No. Enter prices before sales tax for an accurate margin.

Related tools: Unit Price Calculator, Retail Discount & Savings Calculator, Sales Tax & Total Bill Calculator.