Home / Tools

Free tool · Shares, intraday and F&O

Capital gains and share market income from your broker statement

Open your broker's Tax P&L, capital gains report or tradebook. Get short-term and long-term gains with grandfathering, intraday and F&O income with turnover, and the tax in both regimes. Your file is read on your device and never uploaded.

Free · Runs in your browser · No sign-up · Nothing is uploaded

1. Add your broker statement

Download the Tax P&L, capital gains report or tradebook for the year from your broker's back office (Excel or CSV, not PDF). You can add several files at once, for example equity and F&O, or two brokers.

Drop files here (.xlsx, .xls, .csv, up to 25 MB each)

Files are read inside this tab by your own browser. They are never uploaded.

ZerodhaGrowwAngel OneUpstoxICICI DirectHDFC SkyKotak NeoDhan5paisaMotilal OswalPaytm MoneyFyersSBI SecuritiesAny CSV / Excel

Sample files to see the layouts: simple template (CSV) · tradebook (CSV) · Zerodha-style Tax P&L · Groww-style · Angel One-style · Upstox-style. All data in them is fictional.

    2. Year and the rest of your income

    Your other income is used only to estimate the tax on your market income in both regimes. Leave it blank to see the gains alone.

    How the calculator works

    1. Reading the file. It looks for the header row on each sheet (Symbol, ISIN, Buy date, Sell date, Quantity, Buy value, Sell value and the many names brokers use for them) and shows what it picked, so you can correct a column. Totals, notes and repeated headers are skipped.
    2. Tax P&L or capital gains report (buy and sell date on the same row): used as given.
    3. Tradebook (one row per buy or sell): for each scrip, buys and sells on the same day are treated as intraday first; the remaining sells are matched against the oldest buys (first in, first out). F&O positions can be long or short and are closed against the oldest open position.
    4. Short or long term. Listed shares, equity funds and units of InvITs and REITs are long-term when held for more than 12 months.
    5. Grandfathering. For shares bought on or before 31 January 2018, the cost is the higher of the actual cost and the lower of the fair market value on 31 January 2018 and the sale value. Type the FMV per share when the report does not give it.
    6. Intraday equity is speculative business income; F&O (and currency and commodity derivatives on a recognised exchange) is non-speculative business income. Turnover is the sum of the absolute profit or loss of each trade, as the ICAI Guidance Note on tax audit explains.
    7. Tax. Short-term equity gains at 20%; long-term at 12.5% above ₹1.25 lakh; intraday and F&O at slab rates. Short-term losses are set off against short- and long-term gains, long-term losses only against long-term gains, speculative losses only against speculative income, and an F&O loss against any income except salary.

    Which return to file

    • Only capital gains (with salary, interest and so on): ITR-2.
    • Any intraday or F&O income or loss: ITR-3, with a profit and loss account. Losses can be carried forward only if the return is filed by the due date.
    • Whether a tax audit is needed depends on turnover (the ₹10 crore limit applies when nearly all receipts and payments are digital) and on other conditions. Ask a Chartered Accountant.

    What it does not handle

    • Bonus issues, splits, mergers, demergers and rights, which change cost and dates. Brokers' Tax P&L reports usually adjust for them; a tradebook does not.
    • Buybacks, dividends, debt funds, gold, bonds, unlisted shares, foreign shares and crypto. Add these in the income tax calculator.
    • Expenses: only a brokerage column in the file is deducted from capital gains. STT is never deductible from capital gains; for intraday and F&O business income, all charges including STT are deductible, so reduce those figures yourself if your report shows gross profit.

    The broker layouts the tool recognises come from the column names those reports commonly use. Brokers change their reports from time to time; if a file is not read correctly, pick the columns by hand under "Check the columns". The sample files are made up and only resemble each broker's layout.

    Questions people ask

    Is my broker statement uploaded to a server?

    No. The file is opened by your own browser inside this tab and processed in a background worker that is blocked from any network access. Nothing is stored. Refresh the page and it is gone.

    Which report should I download from Zerodha, Groww, Angel One or Upstox?

    The yearly Tax P&L or capital gains report in Excel is best, because the broker has already adjusted for corporate actions and often gives the FMV on 31 January 2018. A tradebook also works if it covers every buy since you first bought the shares.

    How is F&O turnover calculated?

    As the sum of the absolute profit or loss on each trade (favourable and unfavourable differences), not the contract value. This follows the ICAI Guidance Note on tax audit.

    Why does the tool ask for FMV on 31 January 2018?

    Long-term gains on shares bought on or before 31 January 2018 are grandfathered: gains up to that date are not taxed. The cost used is the higher of the actual cost and the lower of the FMV on that date and the sale value. The FMV is the highest price quoted on the exchange on 31 January 2018.

    Is the ₹1.25 lakh exemption per broker?

    No. It is ₹1.25 lakh a year per person across all long-term gains on listed equity, equity funds and business trust units. Combine all brokers' files for the right figure.

    Last reviewed 26 October 2026. Spotted an error? Tell us and we will correct it.