Skip to content
Accounting & FinanceLocal · Stays on device

Capital Gains Calculator

Classify a sale as short or long term, estimate the gain and tax with your own rates, build a FIFO gains schedule from trades and check it against your broker.

  • CSV trade lists, CSV broker P&L
  • Free to use
  • No sign-up or watermark
capital-gains-calculatorOn this device
CSV trade listsCSV broker P&L
Open Capital Gains Calculator

Not yet professionally reviewed. This tool’s formulas and wording have not been checked by a qualified professional. Use the results as an estimate and verify anything important.

Estimate only — not tax advice and not a return. Tax rules, rates and due dates change and depend on your facts; have the figures checked by a chartered accountant or tax professional before you file, pay or invoice. Holding periods, rates, exemptions and indexation are your inputs; the example rules are placeholders. Nothing here is investment advice.

About this tool

Capital gains arithmetic where every rule is visible. Each asset class has a holding period (long term if held more than N months), short- and long-term rates, a yearly long-term exemption and an indexation switch. The rules start as clearly labelled examples, because these figures depend on the asset, the purchase and sale dates and the law for the year, and they have changed several times.

• One sale — holding period, short or long term, cost (indexed if you turn it on and enter the cost inflation index values), gain and tax before surcharge and cess. • Gains from trades (?mode=schedule) — paste buys and sells; sales are matched first-in, first-out with charges spread across quantity, giving a lot-by-lot schedule and totals with short-term losses set against long-term gains. • Check broker statement (?mode=reconcile) — compare your FIFO gains with your broker's realised P&L by symbol. • Open positions (?mode=analyze) — unrealised gains on what's left, at prices you enter. • Long-term timing (?mode=plan) — when each open lot turns long term and the exemption still unused this year. Everything is calculated in your browser. Your figures and files are never uploaded.

  1. Input

    Your details

    CSV trade lists, CSV broker P&L

  2. Processing

    Processed in this browser

    In-browser. Nothing is uploaded.

  3. Output

    Your result

    Shown instantly, ready to copy or export

Local processing pipelinePapaParse

How to use it

  1. 1

    Set the rules for the asset class from the law for your year.

  2. 2

    Enter one sale, or paste a trade list for the schedule views.

  3. 3

    Carry the totals into the Income Tax Estimate Calculator as special-rate income.

Zero-upload architecture

How to use Capital Gains Calculator for free, with no upload

Free, with no sign-up or watermark · Your details stay on your device

  1. 1

    Open Capital Gains Calculator

    Launch the app. There is nothing to install and no account to create.

  2. 2

    Work through it

    Enter one sale, or paste a trade list for the schedule views.

  3. 3

    Get your result

    Carry the totals into the Income Tax Estimate Calculator as special-rate income.

  • Local

    Income Tax Estimate Calculator

    Estimate Indian income tax for individuals under the new or old regime, compare regimes, prepare a computation sheet, check taxes paid and plan advance tax.

    Open tool
  • Local

    SIP Calculator

    Estimate what a monthly SIP could grow to at an assumed return, with optional yearly step-up.

    Open tool
  • Local

    Gratuity Calculator

    Gratuity under the Code on Social Security, 2020: eligibility, 15 days’ wages per year, ₹20 lakh cap, fixed-term pro rata — plus statements, liability and projections.

    Open tool