Profit Margin Calculator

Enter your cost and selling price to see your profit, margin and markup. Or enter a target margin to find the price to charge.

I want to
$
What one item costs you to make or buy.
$
%
To see total profit.

Enter your numbers to see the result.

Advertisement

How to use the profit margin calculator

  1. Choose whether you want to find your margin or the price to charge.
  2. Enter what one item costs you.
  3. Enter your selling price, or the margin you want to make.
  4. Add the number of units to see your total profit.
Advertisement

Profit margin formula

Profit margin (also called gross margin) is profit as a share of the selling price.

Profit = price − cost
Margin = profit ÷ price × 100
Price for a target margin = cost ÷ (1 − margin)

Worked example

You buy an item for $60 and sell it for $100:

  • Profit: $100 − $60 = $40
  • Margin: $40 ÷ $100 = 40%
  • Markup: $40 ÷ $60 = 66.7%

To make a 40% margin on a $60 item, charge $60 ÷ (1 − 0.40) = $100.

Margin vs markup

Both use the same profit, but divide it by different numbers. Margin divides by the price, markup divides by the cost. That is why markup is always the bigger number.

Margin Markup needed
10% 11.1%
20% 25%
25% 33.3%
30% 42.9%
40% 66.7%
50% 100%
60% 150%

A common mistake is adding 40% to the cost and expecting a 40% margin. $60 plus 40% is $84, which is only a 28.6% margin. Read more in markup vs margin.

Gross margin and net margin

This calculator works out gross margin: price minus the direct cost of the item. Net margin also takes off overheads such as rent, wages, software, ads and tax, so it is always lower. A business can have a healthy gross margin and still lose money if its overheads are too high.

To find how many sales cover your fixed costs, use the break-even calculator.

Frequently asked questions

How do I calculate profit margin?

Take the selling price minus the cost, divide by the selling price, and multiply by 100. An item that costs $60 and sells for $100 has a 40% margin.

How do I find the selling price from a margin?

Divide the cost by 1 minus the margin as a decimal. For a 40% margin on a $60 cost: $60 ÷ 0.6 = $100.

Is a 50% margin the same as a 100% markup?

Yes. Selling a $50 item for $100 is a 100% markup on cost and a 50% margin on the price.

What is a good profit margin?

It depends heavily on the industry. Grocery stores often run on thin margins, while software and services can be much higher. Compare yourself with businesses like yours.

Can profit margin be more than 100%?

No. Margin is profit divided by price, and profit can never be more than the price. Markup can go above 100%.

Results are estimates for planning only and are not financial advice. Lenders may calculate figures differently because of fees, rounding and payment dates.

Embed this calculator on your site

Free for blogs, schools and teachers. Paste this code into any page. Keep the credit line under the calculator.

Preview

Questions and comments

Ask a question about this calculator or share a tip. We read every comment and reply to questions. Comments appear after we approve them.

Never shown. Only used if we need to reach you.

By posting you agree to our privacy policy.