Profit Margin Calculator

Find profit margin and markup from a cost and a selling price, or the selling price for a target margin or markup, with margin and markup explained.

Reviewed · How we build and check our calculators

Your details

What do you want to find?
$
$

Profit margin

40%

Selling price
$100.00
Profit
$40.00
per item
Margin
40%
Profit ÷ price
Markup
66.67%
Profit ÷ cost

What the price is made of

  • Cost$60.00
  • Profit$40.00

The $40.00 profit is 40% of the price (margin) and 66.67% of the cost (markup). Same profit, different base.

Margin and markup at a cost of $60.00

MarginSame as markupSelling priceProfit
10%11.11%$66.67$6.67
20%25%$75.00$15.00
25%33.33%$80.00$20.00
30%42.86%$85.71$25.71
40%66.67%$100.00$40.00
50%100%$120.00$60.00
60%150%$150.00$90.00

How the profit margin calculator works

Find the profit margin and markup from a cost and a selling price, or the price that gives a target margin or markup. Margin is profit as a share of the price; markup is the same profit as a share of the cost.

Formula

Profit = price − cost. Margin = profit ÷ price × 100. Markup = profit ÷ cost × 100. Price from a margin = cost ÷ (1 − margin ÷ 100). Price from a markup = cost × (1 + markup ÷ 100).

  1. 1

    Find the profit

    A $100 selling price minus a $60 cost leaves $40 of profit.

  2. 2

    Margin: divide by the price

    $40 ÷ $100 = 40% margin.

  3. 3

    Markup: divide by the cost

    $40 ÷ $60 = 66.67% markup.

  4. 4

    Work backwards

    For a 40% margin on a $60 cost, divide by 0.6: $60 ÷ 0.6 = $100. A 50% markup gives $60 × 1.5 = $90.

Worked example

The calculator opens with these values

What do you want to find?
Margin from cost and price
Cost
$60
Selling price
$100

Profit margin

40%

Markup to margin conversion

Use this when a supplier, a price list or a habit gives you a markup and you need the margin. The result above shows the other direction, margin to markup, for your own cost.

A 100% markup, doubling the cost, is a 50% margin. Margin = markup ÷ (100 + markup) × 100.

Markup to margin, with the price on a $100.00 cost
MarkupMarginSelling priceProfit
10%9.09%$110.00$10.00
20%16.67%$120.00$20.00
25%20%$125.00$25.00
30%23.08%$130.00$30.00
40%28.57%$140.00$40.00
50%33.33%$150.00$50.00
75%42.86%$175.00$75.00
100%50%$200.00$100.00
150%60%$250.00$150.00
200%66.67%$300.00$200.00
300%75%$400.00$300.00

Gross, operating and net margin

This calculator gives the gross margin of one item: price minus the direct cost of the item. Company accounts show two more margins, each taking more costs off the same revenue.

  • Gross margin = (revenue − cost of goods sold) ÷ revenue. It shows whether the product itself is priced well.
  • Operating margin = operating profit ÷ revenue, after rent, wages, marketing and other running costs.
  • Net margin = net profit ÷ revenue, after interest and tax as well. It is what the business finally keeps.

Pricing mistakes that shrink margins

Each of these makes the real margin lower than the one you planned.

  • Adding the target margin as a markup: a 30% markup gives only a 23.08% margin.
  • Leaving out card fees, marketplace fees, shipping, packaging and returns from the cost.
  • Working out the margin before discounts: a 10% discount on a 40% margin item cuts the margin to 33.33%.
  • Pricing from cost alone: check what customers will pay and what competitors charge too.

Common questions

What is the difference between margin and markup?

Both start from the same profit. Margin divides it by the selling price, markup divides it by the cost. Buying at $60 and selling at $100 is a 40% margin but a 66.67% markup. Margin can never reach 100%; markup can.

Why doesn't a 50% markup give a 50% margin?

Markup is taken on the smaller cost. A 50% markup on $60 adds $30 for a $90 price, and $30 is only 33.33% of $90. For a 50% margin you need a 100% markup.

What is a good profit margin?

It depends on the trade. Grocery stores often work on a few percent, while software and services can exceed 50%. Compare with businesses like yours, and remember that this is gross margin: rent, wages and other overheads come out of it.

VAT Calculator

Add or remove VAT at UK, EU, UAE, South African or any rate

Add this calculator to your website

Free for blogs, schools and businesses. Paste this code into your page; the calculator works inside it, with no ads and no tracking. Please keep the credit line.