TechTars Logo
TechTarsFinancial Intelligence
Navigate
Stocks
Browse & analyze
Indices
Why Nifty, Sensex & S&P moved
Wealth
Stocks, crypto, gold & net worth
Calculators
SIP, EMI, FD & more
Blog
Investing guides & market education
Watchlist
Your saved stocks
Preferences
Default currency
Number format
Account

Disclaimer: TechTars provides educational analytics and financial tools for informational purposes only. Nothing on this platform constitutes investment advice, financial advice, or trading recommendations. TechTars is not a SEBI-registered investment adviser or research analyst, and no content here is a recommendation to buy, sell, or hold any security. Always consult a qualified, SEBI-registered financial advisor before making investment decisions.

TechTarsTechTars

Structured financial intelligence.
No tips. No noise. Just data.

Markets

  • Indian Stocks
  • US Stocks
  • Market Indices
  • Wealth Tracker

Tools

  • SIP Calculator
  • EMI Calculator
  • Net Worth
  • All Calculators

Company

  • About Us
  • About the Founder
  • Methodology
  • Blog & Guides
  • Contact Us

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer
  • Affiliate Disclosure
Your data stays private
© 2026 TechTars.com·Market data delayed by ~15 minutes. Not investment advice.

    Stock Profit Calculator

    Work out profit or loss and return % on shares after charges, annual return (CAGR), target and stop-loss prices, and the gain needed to recover a loss

    Written by Yadav PatleFounder, TechTars, 7+ years tracking Indian & US markets
    •
    Last updated: 6 December 2026
    •How we calculate thisFounder, TechTars. 7+ years tracking Indian & US markets

    Calculator

    Profit or loss on a stock trade

    Formula: Profit = (Sell - Buy) × Quantity - Charges; Return % = Profit ÷ (Buy × Quantity) × 100

    Results

    Result

    ?

    Enter the values to see the result

    Advertisement

    What is a stock profit calculator?

    A stock profit calculator works out how much you made or lost on a share trade. Enter the buy price, sell price, number of shares and your charges, and it shows the net profit or loss in rupees and as a percentage of the money invested. The other tabs answer the questions that usually come next: what that return is per year (CAGR), where to set a target and stop-loss, and how much a fallen stock has to rise to get back to your buy price.

    Stock profit and return formulas

    Profit       = (Sell - Buy) × Quantity - Charges
    Return %     = Profit ÷ (Buy × Quantity) × 100
    CAGR         = (Sell ÷ Buy)^(1 ÷ Years) - 1
    Gain needed  = 100 ÷ (100 - Loss%) - 1

    The return is always measured against what you paid, not what you sold for. See the stock profit calculator methodology for assumptions and sources.

    Worked example: profit on 40 shares

    • Bought 40 shares at ₹1,250.00: invested ₹50,000.00
    • Sold at ₹1,480.00: sale value ₹59,200.00
    • Gross profit: (1480 - 1250) × 40 = ₹9,200.00, a 18.40% rise in the share price
    • Charges from the contract note: ₹60.00
    • Net profit: ₹9,140.00, a net return of 18.28%

    Click Example on the Profit / Loss tab to load these numbers. On delivery trades, charges are usually a small slice of the profit. On small intraday trades they can take most of it, so always enter them.

    Why losses need bigger gains to recover

    A percentage fall is measured from a higher price than the recovery that follows it, so the gain needed to break even is always larger than the loss. The gap widens fast after a 30% fall:

    Stock falls by₹100 becomesGain needed to recover
    5%₹955.26%
    10%₹9011.11%
    20%₹8025.00%
    25%₹7533.33%
    30%₹7042.86%
    40%₹6066.67%
    50%₹50100.00%
    60%₹40150.00%
    75%₹25300.00%
    80%₹20400.00%
    90%₹10900.00%

    The same rule explains why +20% followed by -20% leaves ₹100 at ₹96, not ₹100. Keeping losses small matters more than it looks, which is the reason traders decide a stop-loss before they buy.

    Total return vs annual return (CAGR)

    A big total return can hide an ordinary yearly return. The Nifty 50 closed at 8,296 on 11 November 2016 and at 25,144 on 13 November 2026:

    • Total return: 203.09% over 10 years
    • Simple average: 20.31% a year, which overstates it
    • CAGR: 11.73% a year, the actual compounded rate

    Use the Annual Return tab to compare a stock you held for several years with an FD rate or a mutual fund's CAGR on the same basis. These are price returns only; dividends add to the real return. Year-by-year index figures are in the Nifty 50 year wise returns table.

    Target price, stop-loss and risk-reward

    For a ₹500.00 buy price with a 15% target and a 5% stop-loss, the target price is ₹575.00 and the stop-loss is ₹475.00. The possible gain is 3 times the possible loss, a risk-reward ratio of 1:3. A higher ratio means a trade can be wrong more often and still break even, but a wider target is also less likely to be reached. The calculator only does the arithmetic; it says nothing about whether a price level is realistic for a given stock.

    What this calculator does NOT model

    • Charges you don't enter: brokerage, STT, exchange transaction charges, SEBI fees, GST, stamp duty and DP charges are only deducted if you add them to the charges field. Your broker's contract note lists the exact amounts.
    • Income tax (as of October 2026): gains on listed shares held 12 months or less are short-term and taxed at 20%. Long-term gains above ₹1.25 lakh in a financial year are taxed at 12.5%. Cess and surcharge are extra, and intraday profits are treated as business income.
    • Dividends: the return is based on price alone. Add dividends received to the sell value to include them.
    • Splits and bonus issues: after a split or bonus, use the adjusted buy price per share (total cost ÷ new number of shares), or the return will look wrong.
    • Multiple buys: if you bought at different prices, use your weighted average buy price.

    Related tools and guides

    • Lumpsum Calculator - project what a one-time investment could grow to at a CAGR.
    • SIP Calculator - estimate the value of monthly investments.
    • Position Size Calculator - size a trade from your account balance and stop-loss distance.
    • Stock analysis - see why Indian and US stocks moved today.
    • How to start investing in the stock market in India

    Track your investments with AI stock analysis

    Get instant explanations of why any stock moved today. Free forever.

    Advertisement

    You might also like

    Explore more calculators

    SIP Calculator

    Calculate returns on your Systematic Investment Plan

    Try now

    Lumpsum Calculator

    Calculate one-time investment growth with compound interest

    Try now

    EMI Calculator

    Calculate your monthly loan EMI and interest breakdown

    Try now

    Get one money tip a week

    Practical notes on SIPs, loans, tax and markets. No tips to buy or sell. Unsubscribe anytime.

    Frequently Asked Questions

    7 questions answered

    1

    How do I calculate profit percentage on a stock?

    Profit % = (sell price - buy price) ÷ buy price × 100. Shares bought at ₹1,250 and sold at ₹1,480 give (1,480 - 1,250) ÷ 1,250 × 100 = 18.4%. With 40 shares and ₹60 of total charges, the net profit is ₹9,140 on ₹50,000 invested, a net return of 18.28%.

    2

    How do I calculate the loss on shares I sold?

    Use the same formula. The result is negative when the sell price is below the buy price. Shares bought at ₹800 and sold at ₹680 show (680 - 800) ÷ 800 × 100 = -15%. Multiply the per-share difference by the quantity for the rupee loss: 100 shares lose ₹12,000 before charges.

    3

    How much does a stock need to rise to recover a 30% loss?

    About 42.86%. The gain needed is 100 ÷ (100 - loss %) - 1. A ₹100 share that falls 30% is at ₹70, and ₹70 has to rise by ₹30, which is 42.86% of ₹70. A 50% fall needs a 100% gain to get back to the starting price.

    4

    If a stock rises 20% and then falls 20%, is it back where it started?

    No. ₹100 rising 20% becomes ₹120, and a 20% fall from ₹120 is ₹96, a net loss of 4%. The second move is applied to a bigger base, so equal percentage moves up and down do not cancel out.

    5

    What is the difference between total return and annual return (CAGR)?

    Total return is the whole gain over the holding period. CAGR spreads it into a constant yearly rate: CAGR = (sell ÷ buy)^(1 ÷ years) - 1. The Nifty 50 went from 8,296 (11 Nov 2016) to 25,144 (13 Nov 2026), a total return of 203.09%, but a CAGR of 11.73% a year. Use CAGR to compare a stock with an FD rate or a fund's yearly return.

    6

    How do I work out a target price and stop-loss from a percentage?

    Target price = buy price × (1 + target % ÷ 100). Stop-loss price = buy price × (1 - stop-loss % ÷ 100). For a ₹500 buy price, a 15% target is ₹575 and a 5% stop-loss is ₹475. The possible gain (₹75) is three times the possible loss (₹25), a risk-reward ratio of 1:3.

    7

    Does the profit include brokerage and taxes?

    Enter your total charges (brokerage, STT, exchange fees, GST, stamp duty and DP charges from the contract note) in the optional charges field and they are deducted. Income tax is not deducted. As of October 2026, gains on listed shares held 12 months or less are taxed at 20%, and long-term gains above ₹1.25 lakh a year are taxed at 12.5%, plus cess and surcharge.

    Embed this Stock Profit Calculator on your websiteFree

    Free for blogs and websites. Paste this code where you want the calculator to appear. The embedded calculator shows no ads.

    Results are arithmetic on the prices you enter. They exclude income tax, and exclude brokerage, STT and other charges unless you enter them. Target and stop-loss figures are not price forecasts. For educational purposes only, not investment advice or a recommendation to buy or sell any security.