Profit Margin Calculator

Enter your cost and either a selling price, a markup or a target margin.

Loading tool…

  • Free
  • No sign-up
  • Runs in your browser

How to use the margin and markup calculator

  1. Type what the item costs you.
  2. Fill in one of: selling price, markup percentage or margin percentage.
  3. Read the profit, margin and markup together.

Margin vs markup

Both describe the same profit, measured against different bases:

  • Margin = profit ÷ selling price × 100: the share of the price that is profit.
  • Markup = profit ÷ cost × 100: how much you added on top of cost.

An item that costs $60 and sells for $100 makes $40 profit. That is a 40% margin but a 66.7% markup. Confusing the two is one of the most common pricing errors: a seller who wants a 40% margin and adds 40% to cost ends up with a margin of only 28.6%.

Conversion table

MarkupMarginMarkupMargin
10%9.1%60%37.5%
20%16.7%75%42.9%
25%20%100%50%
33.3%25%150%60%
50%33.3%200%66.7%

Margin can never reach 100% (that would mean the item cost nothing), whereas markup has no upper limit.

Pricing for a target margin

Selling price = cost ÷ (1 − margin ÷ 100). For a 35% margin on an item costing $26: 26 ÷ 0.65 = $40.

Gross margin is not the whole story

The figures here are gross: price minus the direct cost of the item. Rent, wages, marketing, payment processing fees, shipping and returns all come out of that margin before any net profit is left. Typical gross margins range from about 25% in grocery retail to 50% in clothing and 70% or more in software.

Frequently asked questions

What is a good profit margin?

It varies by industry. As a rough guide, a net margin of 10% is considered healthy and 20% high, while grocery stores operate on 1% to 3%.

How do I convert markup to margin?

Margin = markup ÷ (100 + markup) × 100. A 50% markup is a 33.3% margin.

Is anything I enter saved or sent anywhere?

No. The calculation runs in your browser. Nothing is sent to a server.

Related tools