Capital Gain Calculator

Written By: Kirti

This calculator can be used for Capital Gain Calculation as per Income Tax law in India. It calculates the time of holding based on purchase date and sale date. Based on type of asset, holding period it calculates Short Term Capital gains and Long Term Capital Gains.
Our posts Basics of Capital Gain, Cost Inflation Index,Indexation and Long Term Capital Gains would be helpful in understanding the concepts.

Our article How to Calculate Capital gain on Sale of House? discusses specifically the capital gain on sale of house or property. Cost Inflation Index for all the years can be found at Cost Inflation Index Up to 2014-15
Buy Sell Details

Purchase Details

Sale Details


Investment Type:

Time between Sale and Purchase:

Gain Type:

It is still in development stage so Apologies upfront for any mistake. Please let us know of the mistake or error in calculation we will correct it.

37 Responses to Capital Gain Calculator

  1. Amiya banerjee says:

    brokerage of share can I minus from purchase value , for short term capital gain Tax ? if I bought 01 share Rs 100 brokerage is rs 2 and sold
    rs 120 brokerage is Rs 2.4 . profit Rs 20 , for short term canI
    minus brokerage from profit Rs2 +Rs2.4 = Rs 4.4 SC ,stamp duty,can minus

    • Swagatika Panigrahi says:

      Dear Mr Amiya, the purchase value of shares will include the brokerage paid on the same, hence in your case the purchase value is Rs 102 and the brokerage on sales would be reduced from sales value ie the net sales is Rs 117.6. Hence the short term capital gain is Rs (117.6-102=15.6).

      And depending upon the nature of transaction, the Stamp duty borne by you can be added to the purchase value or reduced from sales value.

  2. v.r.talwalkar says:

    pl suggest books on capital gain

  3. Puttaraju S says:

    STCG on equity and equity oriented funds are taxed @ 15%, STCG on other assets are taxed as per slabs.
    Now can a loss from one be set off against the other? Even if they are under different tax brackets?

    • Kirti says:

      Short ans is yes. In the same Assessment year you can adjust loss among different types of Income.
      Now for the long ans from Capital Loss on Sale of House
      In case of Loss also Income Tax Act allows one to set off loss(es) and/or carry forward of income under sections 70-80. The process of setting of loss on income (on any kind of income – income from other sources, real estate) and their carry forward is covered in following steps:

      Step 1 Inter source adjustment under the same head of income.
      Step 2 If Loss cannot be offset under Step 1.Inter head adjustment in the same Assessment Year.
      Step 3 If Loss cannot be offset under Step 1 and 2, Carry forward of a loss.

      Loss from transfer of a short term Capital Asset can be set off against gain from transfer of any other capital asset (Long Term or Short Term) in the same year.
      Loss from transfer of a Long term Capital Asset can be set off against gain from transfer of any other long term Capital Asset in the same year.
      If there is still loss it can be carried forward to next assessment year. In the next year, the STCL can be set off against any gains from transfer of any capital asset (Long term or Short term) and the LTCL can be set off against gains from transfer of long term capital asset only. Any unabsorbed loss after such set off can be further carried forward to next assessment year. A loss for a particular year can be carried forward only if the income tax return for that year is filed by the due date. Capital loss computed in an assessment year can be carried forward for eight assessment years and set off as above.

    • Swagatika Panigrahi says:

      STCG is taxed @ 15% separately than the other CG items.But the Act prescribes that the STCL arising out of the same source ie. sale of equity shares can be set off against the taxable short-term capital gain (STCG) or long-term capital gain (LTCG), if any, resulting from sale of any capital asset in the same financial year. If it cannot be done in the same financial year, then the balance STCL can be carried forward to subsequent eight years.The said STCL can be carried forward only and only when the ITR is filed on or before time.

  4. Ashish Wadhwa says:


    I had purchased a flat when it was in an underconstruction in March 2012 and got the possession in March 2013. Now I am planning to sell my flat in March 2015. I took the home loan so paid huge interest to bank, now I would like to understand the following before taking a decision to sell the property. Kindly help me with this-

    1. to decide the short term and Long term gain, booking date is considered or possession date is considered
    2. To calculate the net gain will they consider paid interest till date, example (sell price – purchased price – interest paid)
    3. If I invest in another property, can I get the tax relief


    • Kirti says:

      Sorry for delay in replying Ashish. Somehow the comment got missed.
      Determining the date of purchase of flats under financing schemes is a matter of debate and there are conflicting views on the subject.
      One view is that while calculating capital gains, the date of allotment is taken as the date of acquisition.By getting the allotment letter, the individual is construed to have received the right to that property; the payment of instalment is merely a follow-up action. Therefore, in your case, the capital gains should be long term in nature on the basis of the date of allotment. The allotment letter should have the details of the flat in the proposed building, your name as the purchaser of the property or one that gives you unconditional rights to dispose of the property.

      But if you have availed home loan please note that
      If you took property on home loan, claimed the tax deduction for the principal under Section 80C and property is sold within five years, the tax benefits will be reversed. The entire tax deduction ,for repayment of principal component of the home loan ,claimed in earlier years under section 80c , will be considered as your income (in addition to capital gains) in the year in which you sell the property. However, the housing loan interest deduction claimed under section 24(b) won’t be reversed.
      These are discussed in detail in out article How to Calculate Capital gain on Sale of House?

      • Kumar says:

        Dear Sir,

        I bought a land in the year 2004/April for around Rs.135000/-. I sold it in 2013/Sept for Rs.2640000/-. I started constructing the house from Nov/Dec, 2013 purely from this proceeds. Construction completed in 2014/Sept. I have not filed my IT return for the year 2013-2014 yet. Pl. let me what is my tax amount and when shd I have to file my return.

        • Swagatika Panigrahi says:

          Dear Mr Kumar, if the purchase value and sales value given by you is correct ie( Rs 1,35,000 and Rs 26,40,000 respectively), then your Capital gain is Rs 23,75,906. In the financial year of 2013-14, you should have transferred the entire capital gain amount to another bank account called Capital Gains Account Scheme. The tax rate in your case is @ 20% on the capital gains. Please contact for immediate action.

  5. Puru Surti says:

    informative website. I have a question- In case of property deal, does one have to re-invest whole sells proceeds or only capital gains to get tax benefits? Eg. property bought in 2009 at 35 lakhs (purchased index cost -57 lakhs)and sold for 83 lakhs in 2015. Here, capital gains (difference in sell cost and purchased index cost) is 27 lakhs. To get complete exemption, shall him reinvest only 27 lakhs or 83 lakhs?

    • Kirti says:

      Hello Puru,
      Tax is only on capital gain not on the Selling Price of the house. As the capital gain is 27 lakhs with indexation you will need to pay 10% of 27 lakh 2.7 lakh. You can pay LTCG of 2.7 lakh or to save it So you invest 27 lakh in buying another house or in Capital Gains Account Scheme
      Quoting from our article On Selling a house You can claim tax exemption under Section 54 on the long-term capital gain on the sale of a house. To avail of this exemption, you must
      Use the entire profit to either buy another house within two years or
      Construct one in three years.
      If you had already bought a second house within a year before selling the first one, you could still avail of the tax exemption,

      It’s possible that you are not able to make the required investment to avail of the exemption on capital gains before the due date for filing your tax return. In such a situation, the amount of capital gain or net consideration , as the case may be, has to be deposited in a separate account in a nationalised bank under the Capital Gains Account Scheme (CGAS)

  6. Nitin Shukla says:

    In our ISST office our office Office -in-charge (Dr. Rajib Nandi) received one consultancy project (personnel level) from UNESCAP (bangkok) amount of Rs. 15 lakhs and he want to give this project to ISST, so that any tax implication in his tax return. And also confirm he pay the any tax amount to income tax.

    • Kirti says:

      If he gets any money from the project then it can be counted as his income.(Salary or business depends on the terms and conditions of project it’s value w.r.t to his salary).
      If he is not making any money from project then he will not have to pay income tax.

  7. Winston says:

    I read a lot of interesting articles here. Probably you spend a lot of time writing, i know how to save you a lot of work, there
    is an online tool that creates high quality, SEO friendly posts in seconds,
    just search in google – laranitas free content source

  8. Krishnan says:

    I have shares of my employer company (ESOP) traded in London Stock exchange. These were purchased in Oct 2003. If I sell it now and get the money paid into my account in India what are my tax liabilities? I would appreciate your guidance.

    • Kirti says:

      Hello Krishnan
      Taxation of ESOPs of company listed abroad:
      This depends on whether you are a resident or non-resident Indian. If you are a non-resident, it will not be taxable, as the gains occur outside India, unless the money is received in India.

      If you are a resident in India, then you will be taxed on the gains.
      Long-term capital gain : either you can pay 10% income tax on gains without indexation benefit Or you can pay 20% income tax on gains with indexation benefit.
      Short-term capital gain is added to your overall income and taxed according to your slab rate.
      You can check our article What are Employee Stock Options for more details
      And JagoInvestor’s RSU, ESPP and ESOP – Understanding Meaning and Taxation for more details.
      Please do let us know if you find some other information.

      • Vani Nath says:

        There is a lot of confusion about taxation on shares listed in stock exchanges outside India. One section of auditors link the Rules of Capital Gain tax on shares listed in Indian stock exchanges with Double Tax treaty and say that only 20%+surcharge is applicable for the shares traded in stock exchanges outside India. Another school of auditors say that the gain is treated as Other income and taxed at the person’s income tax clip level. I have not come across any income tax section that clearly states about tax implications on shares traded in outside stock exchanges. Lot of ambiguity

  9. jitendra says:

    hello sir,
    i have some share of Satyam Computer which i bought sometime between 2009-2011 on avg price of 85rs, now after merger with Tech Mahindra i have got share of Tech Mahindra (on swap ratio of 17:2) (current price around 2200).
    now if i sell my share, then what will be the tax liability on me on account of long term capital gain (more then 3 year)

  10. Shiva says:


    My present taxable income is Rs. 4 lakhs till AY 2013.. I have sold a residential flat to day for Rs. 1 crore. The purchase cost of the flat is Rs. 5 lakhs in 1988-89. The present indexed cost is 25 lakhs. . I make a capital gain of Rs. 75 lakhs.

    Can I opt for not using indexed cost and pay capital gain tax for 95 lakhs (1 crore minus 5 lakhs). If so what is the rate of Tax? If I use indexed cost and pay capital gain tax for Rs 75 lakhs what is the rate of tax?

  11. Shiva says:


    My present taxable income is Rs. 4 lakhs till AY 2013.. I have sold a residential flat to day for Rs. 1 crore. The purchase cost of the flat is Rs. 5 lakhs in 1988-89. The present indexed cost is 25 lakhs. . I make a capital gain of Rs. 75 lakhs.

    Can I opt for not using indexed cost and pay capital gain tax for 95 lakhs (1 crore minus 5 lakhs). If so what is the rate of Tax? If I use indexed cost and pay capital gain tax for Rs 75 lakhs what is the rate of tax?

  12. sharat says:

    Very helpful article. Detailed explanation is praiseworthy.
    If one has salary income, Stock market derivative income and capital gains from debt and equity mutual funds, how the tax would be calculated and what ITR form will need to be filled up.
    Stock market derivative income, I believe is business income and if this income is more than Capital gains income from stock and debt MFs, then will the entire income be treated as business income or the calculations have to be different for above.

    Many thanks for your answer.

  13. P.K.Ravindran says:

    This calculator is very helpful to understand the basic tax burden applicable on a real estate transaction .

  14. financeMind says:

    thanks…it’s nice calculator…

  15. Durga says:

    My income comes to 4.5lacs and shares with short term gains of 20,000.Though my income comes below 5 lacs should i calculate 15 % tax on short term gain and 10% tax on remaining amount
    or i should pay 10% tax for 4.7 lacs.please clarify.

    • Kirti says:

      Durga answer is based on the assumption that You have short term capital gain of Rs 20,000 from shares for which you have paid STT.
      Short term capital gain on shares comes into play if you hold it for less than an year, These have to taxed at the rate of 15%.

  16. Lakshmipathy G says:

    Thanks. It helped.

  17. gsk says:

    Good effort. Thanks
    Last 2 Lines “Long Term Capital Gain without indexation:4027.2″ should have been “Long Term Capital Gain Tax without indexation:4027.2″ word Tax needs to be added. For the the last lane since the difference is negative, 20% of of -1359. would not be tax as there is nothing to tax if CG is negative……..

  18. [...] you are interested in finding the Capital gains etc, you can try Capital Gain Calculator shown [...]

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Disclaimer : This is an information based website, meant for providing assistance to it's readers. We do not hold any responsibility for mis-information or mis-communication.