Skip to the calculator

How-to guides

How to calculate profit, loss and margin

Updated 2026-11-13

Quick answer

Profit = selling price − cost price. Bought for ₹800 and sold for ₹1,000, the profit is ₹200. That is 25% of the cost (200 ÷ 800 × 100) and a margin of 20% of the selling price (200 ÷ 1,000 × 100).

Steps

  1. Write down the cost price and the selling price. Here: ₹800 and ₹1,000.
  2. Subtract the cost from the selling price: 1,000 − 800 = ₹200. A negative answer is a loss.
  3. For the profit percentage, divide the profit by the cost and multiply by 100: 200 ÷ 800 × 100 = 25%.
  4. For the margin, divide the profit by the selling price: 200 ÷ 1,000 × 100 = 20%.
  5. Or enter the two prices in the profit and loss calculator.

Profit percentage and margin are different

Profit percentage, also called markup, is measured against what you paid. Margin is measured against what you charged. The same ₹200 profit is 25% on cost but 20% on the selling price. A shop that says it earns a 20% margin has added 25% to its cost.

Mixing them up leads to wrong prices. To earn a 20% margin you must charge cost ÷ 0.8, which is ₹1,000 on a cost of ₹800, not cost × 1.2, which is only ₹960.

Working out a loss

Bought for ₹1,200 and sold for ₹900, the loss is ₹300. As a percentage of the cost it is 25%, since 300 ÷ 1,200 × 100 = 25. Measured against the selling price it is −33.33%. A loss percentage is nearly always quoted on the cost.

Another example and some cautions

A cost of ₹500 sold for ₹650 earns ₹150, a profit of 30% on cost and a margin of 23.08%. These are gross figures: they do not include rent, wages, delivery, tax or the discounts you give. For a real business, subtract those costs before calling the amount profit.

Try it yourself

Common questions

What is the profit percentage formula?

Profit percentage = profit ÷ cost price × 100.

What is the difference between markup and margin?

Markup is profit as a share of the cost. Margin is profit as a share of the selling price, so it is always the smaller number.

How do I calculate loss percentage?

Loss ÷ cost price × 100. A ₹300 loss on a ₹1,200 cost is 25%.

How do I price something to earn a given margin?

Divide the cost by 1 minus the margin as a decimal. For a 20% margin, divide by 0.8.

Also read: How to calculate percentage: every common case, How to calculate a discount and the final price