Home › Finance › Profit and Loss Calculator

Profit and Loss Calculator

Find profit, loss, profit percentage, margin and markup from your cost price and selling price.

₹
₹
units

Leave blank for one unit. Use it to see the total profit or loss on many items.

Profit

Enter the values to see the result.

How to calculate profit and loss

Profit or loss tells you whether you sold something for more or less than it cost you. The cost price (CP) is what you paid, and the selling price (SP) is what you sold it for. If SP is higher you have a profit, and if it is lower you have a loss.

How to use this calculator

Enter the values you know, such as the cost price and the selling price, and the calculator shows the profit or loss, the percentage and the margin. It is useful for shopkeepers, small online sellers, students and anyone checking a deal.

The formulas

Profit = Selling price − Cost price (when SP > CP)
Loss = Cost price − Selling price (when CP > SP)
Profit % = Profit ÷ Cost price × 100
Loss % = Loss ÷ Cost price × 100
Profit margin % = Profit ÷ Selling price × 100

To find a price from a percentage:

Selling price = Cost price × (1 + Profit % ÷ 100)
Cost price = Selling price ÷ (1 + Profit % ÷ 100)
Cost price = Selling price ÷ (1 − Loss % ÷ 100)

Worked examples

1. Find the profit. You buy an item for ₹800 and sell it for ₹1,000. Your profit is ₹200. The profit percentage is 200 ÷ 800 × 100 = 25%, and the profit margin is 200 ÷ 1,000 × 100 = 20%. If you instead sold it for ₹600, you would lose ₹200, which is a 25% loss.

2. Find the selling price. An item costs ₹1,200 and you want a 15% profit. SP = 1,200 × 1.15 = ₹1,380.

3. Find the cost price from a loss. You sold an item for ₹900 and made a 10% loss. CP = 900 ÷ 0.90 = ₹1,000.

4. Find the cost price from a profit. You sold an item for ₹1,320 at a 10% profit. CP = 1,320 ÷ 1.10 = ₹1,200.

Markup or margin: what is the difference?

Calculated on₹800 cost, ₹1,000 sale
Markup (profit %)Cost price25%
MarginSelling price20%

The two are easy to mix up. Always check which one a supplier or report means. Exam questions on profit and loss usually take the percentage on the cost price. To convert, use margin = markup ÷ (1 + markup):

Markup on costMargin on selling price
25%20%
50%33.3%
100%50%

Gross profit and net profit

In a business, profit comes in two layers. Gross profit is sales minus the direct cost of the goods sold. Net profit is what remains after other expenses such as rent, salaries, transport and marketing.

For example, a shop sells goods worth ₹5,00,000 that cost it ₹3,50,000, and its other expenses are ₹80,000. Gross profit is ₹1,50,000, a 30% margin. Net profit is ₹70,000, a 14% margin. A healthy gross profit can still hide a weak net profit, so look at both. These figures are before tax.

Two classic puzzles

A loss then a profit. A 20% loss followed by a 20% profit does not bring you back to the start. Starting with ₹100, a 20% loss leaves ₹80, and a 20% profit on that gives ₹96. You are still 4% down, because the second percentage is taken on a smaller amount.

Two items at the same price. Suppose you sell two items for ₹1,200 each, one at a 20% profit and the other at a 20% loss. The first cost ₹1,000 and the second cost ₹1,500. Your total cost is ₹2,500 and your total sales are ₹2,400, so you lose ₹100, which is 4%. When the profit and loss percentages are equal, the overall result is always a loss.

Handy tips

  • Include every cost in the cost price, such as transport, packing and taxes, to see your true profit.
  • Profit and loss percentages are always taken on the cost price unless stated otherwise.
  • Do not confuse a discount with a loss. A discount lowers the selling price, so it also lowers your profit.

To work with percentages, try our Percentage Calculator. For sale prices, use the Discount Calculator, and to add or remove tax, use the GST Calculator.

Profit and loss FAQs

How do you calculate profit percentage?

Divide the profit by the cost price and multiply by 100. For a cost of ₹800 and a sale at ₹1,000, the profit is ₹200 and the profit percentage is 25%.

Is profit percentage taken on cost price or selling price?

Profit percentage is normally taken on the cost price. Profit margin is taken on the selling price, so the two numbers are different.

How do I find the selling price for a given profit?

Multiply the cost price by (1 + profit % ÷ 100). For a ₹1,200 item and a 15% profit, the selling price is ₹1,380.

What is the difference between markup and margin?

Markup is profit as a share of cost, and margin is profit as a share of the selling price. A 25% markup equals a 20% margin.

Why is a 20% loss followed by a 20% profit not break-even?

The second percentage is applied to a smaller amount. ₹100 becomes ₹80 after the loss and ₹96 after the profit, a net loss of 4%.

Need another calculator?

Browse all calculators
Scroll to Top