Risk & planning · Beginner

Stock profit and loss calculator: percentage gain, loss and recovery

Short answer

Percentage gain or loss = (sell price − buy price) ÷ buy price × 100. Buy at ₹400, sell at ₹340, and you're down 15%. To get back to ₹400 from ₹340, the stock must rise about 17.6% — a loss always needs a bigger percentage gain to repair it.

Start the free courseFree Swing Trading Course: video lessons and live classes every Wednesday and Saturday.
Fearless Community teamUpdated 7 min
Try itStock profit and loss calculatorExample prices — change them to yours
Loss−15.00%−₹3,000 on 50 shares, before charges.
Change a share−₹60.00
Bought for₹20,000
Worth now₹17,000
Gain to get back17.6%

From ₹340.00, the stock has to rise 17.6% just to return to ₹400.00. Losses and the gains that repair them are not the same size.

If a stock fallsIt must then rise
−5%+5.3%
−10%+11.1%
−20%+25.0%
−30%+42.9%
−40%+66.7%
−50%+100.0%
−75%+300.0%

Arithmetic only. Brokerage, taxes and other charges are not included.

Try this
  1. 1Set a 50% fall. The gain needed to get back is 100% — twice the fall.
  2. 2Compare a 10% loss with a 30% loss in the table. The gap widens fast.
  3. 3Swap the prices to see the same move as a gain.

How to use the calculator

  1. 1Enter the buy price — what you paid for each share.
  2. 2Enter the sell price, or today's price if you still hold the stock.
  3. 3Enter the number of shares to see the profit or loss in rupees.
  4. 4If the trade is a loss, read the gain needed to get back — the rise that would return the price to where you bought.

All the numbers on this page are before charges. Brokerage, STT, exchange fees, stamp duty, GST and DP charges reduce a profit and deepen a loss a little. Your broker's contract note and P&L report show the exact figures.

The formulas

What you wantFormula
Profit or loss a shareSell price − buy price
Profit or loss in rupees(Sell price − buy price) × shares
Percentage gain or loss(Sell price − buy price) ÷ buy price × 100
Gain needed to recover a loss of L%L ÷ (100 − L) × 100
Price after a gain of G%Buy price × (1 + G ÷ 100)
Worked example · A practice trade that went wrong
Buy
50 shares at ₹400 = ₹20,000
Price now
₹340
Loss a share
₹60
Loss in rupees
50 × ₹60 = ₹3,000
Percentage loss
₹60 ÷ ₹400 = 15%
Gain needed to recover
15 ÷ 85 = 17.6%

The price fell 15%, but it has to rise 17.6% from ₹340 just to return to ₹400. The base is smaller, so the same ₹60 is a bigger percentage of it.

Why losses hurt more than gains help

A percentage is always measured from where you start. After a fall you start from a lower price, so the same rupee move is a bigger percentage. That one fact explains why big losses are so hard to come back from.

If a stock fallsIt must then rise to get back
10%11.1%
20%25%
30%42.9%
50%100%
75%300%

Small losses are easy to repair. Large ones may never be. That's the whole argument for a stop-loss: it keeps a loss in the top rows of this table, where an ordinary winning trade can make it back.

It works on your account too

The same maths applies to your whole account. If your capital falls 30%, you need a 42.9% gain on what's left just to get back to the start. Protecting capital comes before growing it.

Percentage or rupees: which matters?

Both, for different questions. The percentage tells you how the stock moved, so you can compare one trade with another regardless of size. The rupees tell you what it did to your account.

A 20% gain on ₹5,000 is ₹1,000. A 2% loss on ₹2,00,000 is ₹4,000. Judged by percentage, the first trade looks far better; judged by your account, the second one mattered more. That's why traders plan risk in rupees with a position size calculator, and review results in both.

Worked example · Two trades, side by side (practice numbers)
Trade A
₹10,000 in, sold for ₹11,500: +15%, +₹1,500
Trade B
₹80,000 in, sold for ₹77,600: −3%, −₹2,400
Net result
−₹900, even though the average percentage is +6%

Averaging percentages across trades of different sizes can mislead you. Add up the rupees to see what actually happened.

Using the numbers in your trading journal

A simple journal records, for every closed trade, the buy price, sell price, shares, the rupee result and the percentage result. Over time it answers useful questions:

  • How big is my average loss compared with my average gain?
  • Are my losses staying small, in the top rows of the recovery table, or are some running deep?
  • Do my results come from a few big winners or many small ones?
  • Am I cutting winners too early, at a smaller percentage than my losers?

Many traders also record each result in R — the trade's profit or loss divided by the rupees they planned to risk. A loss of exactly 1R means the stop worked as planned. A loss of 2R or more means something went wrong: the stop wasn't placed, was moved, or the stock gapped through it.

Gains, losses and tax in India

In India, profit on shares is taxed as capital gains, and the rate depends on how long you held the shares and on the rules for that year. Losses can be set off against certain gains and, if you file your return on time, carried forward to later years.

Rates and limits change in Union Budgets, so this calculator doesn't estimate tax. Use your broker's tax P&L report and the current rules on the Income Tax Department's website, or ask a tax professional.

Common mistakes

  • Measuring the percentage from the wrong price. Gains and losses are measured from the buy price, not from the sell price or today's high.
  • Adding percentages across trades of different sizes. Add the rupees instead.
  • Thinking a 50% fall needs a 50% rise to recover. It needs 100%.
  • Ignoring charges on small trades, where they can be a noticeable share of the result.
  • Holding a loser because it's “only on paper”. An unrealised loss is still a loss of what your money is worth today.

If you hold shares bought at several prices, find your true cost first with the average price calculator.

Quick check

  1. 01You buy at ₹250 and sell at ₹275. What's your percentage gain?
  2. 02A stock falls 50%. How much must it rise to get back to the starting price?
  3. 03Trade A made +20% on ₹5,000. Trade B lost 5% on ₹50,000. Overall, are you up or down?

Key terms

Percentage gain or loss
The change in price as a share of the buy price, times 100.
Realised profit or loss
The result on shares you've sold. Unrealised profit or loss is on shares you still hold, at today's price.
Recovery gain
The percentage rise needed after a fall to return to the starting price.
R multiple
A trade's result divided by the rupees you planned to risk on it. A planned stop-out is −1R.

Common questions

How do I calculate profit and loss on a stock?

Subtract the buy price from the sell price and multiply by the number of shares. Divide the per-share change by the buy price and multiply by 100 for the percentage.

How do I calculate the percentage loss on a stock?

(Buy price − current price) ÷ buy price × 100. Bought at ₹400, now ₹340: ₹60 ÷ ₹400 = 15% down.

Why does a 50% loss need a 100% gain to recover?

Because the recovery is measured from the lower price. ₹100 falling to ₹50 needs another ₹50 to recover, which is 100% of ₹50.

Does this include brokerage and taxes?

No. Charges and taxes reduce profits and add to losses. Check your broker's contract notes and tax P&L report for exact figures.

Is a loss real if I haven't sold?

It's unrealised, so it can still change, but it's a real fall in what your shares are worth today. Deciding to hold should be a plan, not a way to avoid booking the loss.

What's a good percentage gain for a swing trade?

There isn't a fixed number. What matters is the gain compared with the risk you took. The risk-reward calculator shows that ratio before you enter.

Share mein profit ya loss kitna hua, kaise nikale?

Sell price se buy price ghataiye aur shares se guna kariye. Percentage ke liye us farak ko buy price se divide karke 100 se guna kariye.

Was this lesson useful?

Keep going

Education only — not investment advice. Trading in the stock market carries risk. Charts on this page use made-up prices for practice — they are not real stocks or recommendations. Examples are for learning only.