Profit margin calculator

Updated 30 November 2026 · ClearCost USA · 4 min read

Profit margin is profit as a share of the price; markup is profit as a share of the cost. Cost $60, price $100: 40% margin, 66.7% markup.
Advertisement

How do you calculate profit margin?

Gross margin = (revenue − cost of goods sold) ÷ revenue x 100. Net margin also subtracts operating costs, interest and taxes. To hit a target margin, price = cost ÷ (1 − margin).

What is the margin on a $34 cost sold for $49.99?

Selling at $49.99 on a $34 cost leaves a profit of $15.99, a margin of 31.99% and a markup of 47.03%.

Advertisement

How do margin and markup compare?

The table below gives ready answers for common values; the calculator above works for any value.

Margin vs markup

MarginMarkup neededPrice on $100 cost
10%11.11%$111.11
20%25%$125.00
25%33.33%$133.33
30%42.86%$142.86
40%66.67%$166.67
50%100%$200.00
60%150%$250.00
75%300%$400.00

How does this calculator work?

It uses margin = (P − C)/P and markup = (P − C)/C. Results update as you type and are rounded for display; the maths runs in your browser and nothing is stored.

For more, see the everyday calculators page, markup calculator, break-even calculator, dividend calculator and stock profit and loss calculator.

Advertisement

Related searches

People who use this page also search for the terms below; the calculator, tables and answers above cover each of them.

  • gross profit margin formula
  • gross margin calculator
  • gross profit margin calculator
  • calculate profit margin
  • free profit margin calculator tool on nemin .io
  • net profit margin formula
  • how to calculate net profit margin
  • gross margin calculation
  • shopify profit margin calculator
  • formula for profit margin

Sources and further reading

Questions people ask

Is markup the same as margin?
No, markup is based on cost; margin on price.
What is a good profit margin?
It varies by industry; grocery net margins are thin, software margins high.
How do I price for a 40% margin?
Price = cost ÷ 0.6.
What is net profit margin?
Net income ÷ revenue.
What is COGS?
Cost of goods sold: direct costs of products sold.
Where do I find markup?
See our markup calculator.

Results are estimates for information only, not financial advice. Read the full disclaimer.

More free calculators

Advertisement