Home › Finance › Profit Margin Calculator

Profit Margin Calculator

This margin calculator works out gross profit margin and markup from your cost and selling price. The second form finds the price you need to charge for a target margin.

Margin from cost and price

Price for a target margin

Margin vs markup

Profit margin = (price − cost) ÷ price
Markup = (price − cost) ÷ cost
Price for a margin = cost ÷ (1 − margin)

Margin is profit as a share of the selling price; markup is profit as a share of the cost. A 50% markup is only a 33% margin.

Example

Something that costs $60 and sells for $100 makes $40 profit: a 40% margin but a 66.7% markup. To earn a 25% margin on a $60 item, charge 60 ÷ 0.75 = $80.

Tips

  • Gross margin ignores overheads like rent and wages; net margin includes them.
  • Adding a percentage to cost (markup) when you meant a margin underprices everything.
  • For discounts on a selling price, use the percent off calculator.

Frequently asked questions

What is a good profit margin?

It varies widely by industry; grocery stores run on thin margins, while software and services can be much higher.

How do I convert markup to margin?

Margin = markup ÷ (1 + markup). A 25% markup is a 20% margin.

Can margin be over 100%?

No. Markup can be, but margin can't exceed 100% because profit can't be more than the price.

Written and checked by Vijay. Last updated .