Skip to main content
Free calculatorUpdated:

Profit Margin Calculator

Calculate gross, operating and net profit margins from revenue and costs, or find the price needed for a target margin.

Your numbers

$
$
$
$
%
$

Default values are examples only, not current market rates or offers. Replace them with your own figures. Your numbers are saved in this page's address, so you can bookmark it or use Share results to send it.

Your results

Net profit margin

15.2%

$38,000

Gross margin

44.0%

$110,000

Operating margin

20.0%

$50,000

Price for 45% margin

$36.36

on $20.00 cost

Explore small business

Put your result to work with our small business guides and comparisons.

Go to Small Business

How this calculator works

Gross margin is revenue minus cost of goods sold, divided by revenue. Operating margin also subtracts operating expenses, and net margin subtracts interest and taxes. To price for a target margin, divide cost by one minus the margin.

How to use your result

  • Margin and markup are different; a 50% markup is only a 33% margin.
  • Track margins by product to find your winners.
  • Compare with industry benchmarks from trade groups.

Frequently asked questions

What is a good profit margin?
It varies widely by industry. Retail and grocery run thin margins, while software and services can be much higher.
Margin vs. markup?
Margin is profit as a share of price. Markup is profit as a share of cost.

Browse all calculators

This calculator provides educational estimates only and is not financial, tax, legal or investment advice. Results depend on the inputs you enter and simplified assumptions, and they are not a quote or offer from any provider. Tax figures use published IRS amounts for the stated tax year. Confirm details with the provider or a qualified professional before you act. We do not store your inputs. They are kept in this page’s web address so you can bookmark or share your results, which means anyone you send the link to can see the numbers in it.

Smarter money choices for everyday Americans.