wiseowlcalc
Country: United StatesUSA

Margin calculator

An item that costs $60 and sells for $100 makes $40 profit, a margin of 40% of the price and a markup of 66.7% on cost. Margin and markup use the same profit but divide by different things, so they are never equal.

$
$

Profit margin

40%

Selling at $100.00 an item that costs $60.00 leaves $40.00 profit: a margin of 40% of the price, which is a markup of 66.67% on cost.

  • Cost$60.00
  • Profit$40.00
Profit per item
$40.00
Markup on cost
66.67%
Cost
$60.00
Selling price
$100.00

Margin and the markup it equals

MarginMarkup on costPrice on a $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
70%233.33%$333.33

markup = margin ÷ (100% − margin); price = cost ÷ (1 − margin).

Profit margin40%

How do you calculate profit margin?

Profit margin is the share of the selling price you keep as profit. Subtract the cost from the price, then divide by the price. Markup divides the same profit by the cost instead.

margin = (price − cost) ÷ price × 100
markup = (price − cost) ÷ cost × 100

Worked example

What price gives me a target margin?

Divide the cost by one minus the margin. To keep a 50% margin on a $60 cost, sell at $120.00. Going the other way, at a $100 price a 50% margin means the cost can be at most $50.00. Open "Find the price for a target margin".

price = cost ÷ (1 − margin)

What is the difference between margin and markup?

A 66.7% markup is only a 40% margin. Converting: markup = margin ÷ (1 − margin). The table above the result lists common margins and the markup each one needs. Gross, operating and net margin are different measures of the same idea; see the profit margin calculator.

Results are estimates from the numbers you enter, not accounting, tax or legal advice. Margin here is before overhead and tax unless your cost includes them.

Questions people ask

How do I calculate margin from cost and price?

Margin = (price − cost) ÷ price. A $60 cost sold at $100 gives $40 ÷ $100 = 40%.

Is margin the same as markup?

No. Margin is profit as a share of the price and markup is profit as a share of cost. The same $40 profit is a 40% margin and a 66.7% markup.

What price do I need for a 50% margin?

Cost ÷ (1 − margin). On a $60 cost that is $120.00, which is a 100% markup.

Can a margin be higher than 100%?

No. Profit cannot exceed the price, so margin stays under 100%. Markup can be any size: a 200% markup is a 66.7% margin.

Sources

Published by wiseowlcalc · Last updated · United States, 2026 · Checked by wiseowlcalc against the sources above; not yet reviewed by a named professional (editorial policy). Cost and price are your inputs.

Calculators give estimates for planning only. They are not financial, tax, legal or medical advice. Check important decisions with a qualified professional.