Mubarak4u

Profit and Loss Percentage Calculator (Markup & Margin)

Calculate profit or loss amounts, percentage on cost price, gross profit margin on selling price, and target selling prices for retail and wholesale business.

Quick presets:
Profitability Analysis: PROFIT (+25.00%)
Gross Profit Amount
+ ₹200
SP (₹1,000) − CP (₹800)
Profit Percentage on Cost (CP)
25.00%
(Profit ÷ Cost Price) × 100
Profit Margin on Revenue (SP)
20.00%
Cost-to-Sale Ratio (CP/SP)
80.00%
Markup Multiplier
1.25x
Values rounded to 2 decimal places.

Use this calculator to find the profit or loss amount on a sale, the profit percentage on cost (markup) and the margin on the selling price. A second mode works the other way: enter your cost and the profit you want, and it gives the selling price.

How to calculate profit or loss percentage online

  1. Choose a mode: profit and loss from a known cost price and selling price, or a target selling price from the profit you want.
  2. Type the cost price in rupees.
  3. Type the selling price to see your result, or type the profit rate you want to find the price you need to charge.
  4. In target price mode, choose whether your percentage is a markup on cost or a margin on the selling price.
  5. Read the profit or loss amount, the percentage on cost and the margin on the selling price.
  6. Check the markup multiplier to see how many times the cost you are charging.
  7. Click Copy Profit Analysis to paste the numbers into a stock sheet or a ledger.

Want a longer walkthrough? Read our guide on the profit and loss percentage calculator.

The formulas for profit and loss

  • Profit: selling price − cost price, when the selling price is higher.
  • Loss: cost price − selling price, when the cost price is higher.
  • Profit % (on cost): profit ÷ cost price × 100.
  • Loss % (on cost): loss ÷ cost price × 100.
  • Margin (on selling price): profit ÷ selling price × 100.
  • Markup multiplier: selling price ÷ cost price.

Say a shopkeeper buys an item for ₹800 and sells it for ₹1,000. The profit is ₹200. The profit on cost is 200 ÷ 800 × 100 = 25%. The margin is 200 ÷ 1,000 × 100 = 20%. The markup multiplier is 1.25.

If the same item sells for ₹800 after costing ₹1,000, the loss is ₹200. That’s a 20% loss on cost.

When the selling price equals the cost price, there’s no profit and no loss.

Markup vs margin: why 25% and 20% describe the same profit

Markup is profit as a percentage of the cost. Margin is profit as a percentage of the selling price. The ₹200 profit above is a 25% markup and a 20% margin at the same time, because it’s divided by two different numbers.

You can convert one into the other:

  • Margin = markup ÷ (1 + markup). A 25% markup gives 0.25 ÷ 1.25 = 20%.
  • Markup = margin ÷ (1 − margin). A 20% margin gives 0.20 ÷ 0.80 = 25%.

Finding the selling price you need

Pick the formula that matches the percentage you have in mind.

  • For a markup: selling price = cost × (1 + markup ÷ 100). On a cost of ₹800 and a 25% markup, that’s ₹1,000.
  • For a margin: selling price = cost ÷ (1 − margin ÷ 100). On a cost of ₹800 and a 20% margin, that’s 800 ÷ 0.80 = ₹1,000.

The two give different prices for the same percentage. A 25% margin on a ₹800 cost needs a selling price of 800 ÷ 0.75 = ₹1,066.67. A 25% markup gives only ₹1,000, which is a 20% margin.

If you want 25% of your sales to be profit, use the margin option.

What a discount does to your profit

A discount comes out of the profit, not the cost. On the ₹800 item sold at ₹1,000, a 10% discount brings the price to ₹900. The profit falls to ₹100, which is a 12.5% markup on cost. Your profit has halved, although the discount was only 10%.

Check your margin first, and then try the discount calculator before you run a sale.

GST, shipping and fees

Work out profit on the price before GST. If your selling price includes GST, take the tax out first with the reverse GST calculator, because the GST goes to the government and isn’t your income.

Shipping, packing, payment gateway fees and returns also eat into the profit. Add them to your cost price before you calculate, or the percentage looks better than it is.

What this calculator can’t do

It works on one item at a time with the numbers you type. It doesn’t know about overheads such as rent, wages or electricity, and it doesn’t add GST. Treat the result as a pricing estimate, and ask your accountant about your tax and books.

Last updated: 21 October 2026

Frequently Asked Questions

How do I calculate profit percentage?

Subtract the cost price from the selling price to get the profit, divide it by the cost price and multiply by 100. For a cost of ₹800 and a selling price of ₹1,000, that's 200 ÷ 800 × 100 = 25%.

What is the difference between markup and margin?

Markup divides the profit by the cost price. Margin divides the profit by the selling price. A ₹200 profit on a ₹1,000 sale of an item costing ₹800 is a 25% markup and a 20% margin.

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

For a markup, multiply the cost by (1 + markup ÷ 100). For a margin, divide the cost by (1 − margin ÷ 100). On a ₹800 cost, a 25% markup gives ₹1,000 and a 25% margin gives ₹1,066.67.

Is a 20% loss on cost the same as a 20% loss on selling price?

No. The loss percentage in this calculator is on the cost price. An item that costs ₹1,000 and sells for ₹800 has a 20% loss on cost, and a loss of 25% of the selling price.

Last updated: October 21, 2026

Need more detailed instructions?

Read our comprehensive tutorial for step-by-step guidance, formulas, and tips.

Read the guide →