Profit Margin Calculator

Margin and markup are easy to mix up. Enter your cost and selling price to see both, or enter a target and get the price you need to charge.

₹
₹

Results are calculation aids, not tax, legal or accounting advice. Check rates and rules that apply to you.

Worked example

Inputs: I want to… = find margin and markup from a selling price · Cost = 800 · Selling price = 1000

Selling price
₹1,000
Cost
₹800
Profit
₹200
Margin (profit ÷ price)
20%
Markup (profit ÷ cost)
25%

Formula

  • Profit = Selling price − Cost
  • Margin % = Profit ÷ Selling price × 100
  • Markup % = Profit ÷ Cost × 100
  • Price for a target margin = Cost ÷ (1 − Margin ÷ 100)
  • Price for a target markup = Cost × (1 + Markup ÷ 100)

Calculation information

Assumptions

  • Cost includes everything you want covered before profit.
  • One unit, one price.

Rounding

Shown to 2 decimal places.

Limitations

  • This is gross margin on the cost you enter; it doesn't include overheads you haven't put in the cost.

Last reviewed 2026-11-15.

Frequently asked questions

What's the difference between margin and markup?

Margin is profit as a share of the selling price; markup is profit as a share of cost. A 25% markup is a 20% margin.

Why can't the target margin be 100%?

A 100% margin would need an infinite price, because margin is measured against the selling price.

Related data tools

Free lookups from open public data that go with this kind of work.

All Business & Finance data tools →