Capital Gains Calculator (Short vs Long Term)
Simplified estimator assuming a post-23 July 2024 acquisition taxed at 12.5% without indexation. For older acquisitions, indexation-based computation and the transitional option may apply. This capital gains calculator does not cover short-term gains, which are taxed at slab rates.
Selling an apartment is the moment the tax on a lifetime of gain comes due. The figure that matters is not the sale price but the capital gain: the difference between what you receive and what the property cost you, adjusted for improvements and the expenses of the sale. Whether that gain is taxed at your slab rate or at a flat 12.5% turns on a single question, how long you held the flat. A capital gains calculator answers that question and the arithmetic in one step, and shows what a reinvestment can save.
This page explains how capital gains on an apartment are computed, where the 24-month line between short-term and long-term falls, what the post-Budget 2024 rate of 12.5% means, and how Sections 54, 54F and 54EC can shelter the gain. The capital gains calculator below is a simplified estimator that assumes a post-23 July 2024 acquisition taxed at 12.5% without indexation; for older acquisitions, indexation and the transitional option may apply, and a chartered accountant should be consulted.
- Held for more than 24 months: the gain is long-term and taxed at 12.5% without indexation for transfers on or after 23 July 2024.
- Held for 24 months or less: the gain is short-term and taxed at your slab rates.
- The gain is the sale value less the cost of acquisition, improvement and transfer expenses.
- Section 54 exempts the gain if you reinvest in another house (up to Rs 10 crore); Section 54EC exempts up to Rs 50 lakh in specified bonds.
- These exemptions are not available in the new tax regime.
- Use the capital gains calculator below to see the gain and the tax at 12.5%.
1. What capital gains on an apartment means
A capital gain is the profit made on the transfer of a capital asset. An apartment is a capital asset, and the profit on its sale is charged to tax under the head "capital gains". The gain is not the same as the cash you receive; it is a computed figure that gives credit for what the asset cost you and for the money you spent to improve it or to sell it.
The computation has a simple shape. Start with the full value of the consideration, the price at which the flat is sold, as recorded in the deed. From that, deduct the cost of acquisition, which is what you paid for the flat, and the cost of any capital improvement, such as a major renovation that added to the value rather than merely maintaining it. Deduct also the expenses of transfer, such as brokerage, and any stamp duty paid on the sale. What remains is the capital gain.
1.1 The four components
The four components are the sale value, the cost of acquisition, the cost of improvement and the expenses of transfer. The capital gains calculator takes each of them as a separate input so that the computation is transparent. A seller who records only the sale price and the purchase price will overstate the gain, because improvements and transfer costs are deducted before tax is applied.
1.2 Why the holding period matters
The holding period decides the character of the gain, and the character decides the rate. An apartment held for more than 24 months produces a long-term capital gain. An apartment held for 24 months or less produces a short-term capital gain, taxed at the slab rates that apply to your other income, which for a high earner can be far above 12.5%. Crossing the 24-month line is therefore worth waiting for.
2. Short-term versus long-term: the 24-month line
For immovable property, the dividing line is 24 months. Hold for 24 months or less and the gain is short-term; hold for more than 24 months and the gain is long-term. The period is counted from the date of acquisition to the date of transfer, and for an under-construction flat the date of acquisition is generally the date of the registered deed, not the date of possession.
| Feature | Short-term | Long-term |
|---|---|---|
| Holding period | 24 months or less | More than 24 months |
| Rate | Slab rates applicable to your income | 12.5% without indexation (transfers on or after 23 July 2024) |
| Indexation | Not applicable | Not available for post-23 July 2024 acquisitions; transitional option for older ones |
| Exemptions | Not available | Sections 54, 54F and 54EC |
| Set-off | Can be set off against other capital gains | Can be set off against other capital gains |
The rate difference is the reason the holding period is planned rather than stumbled into. A flat bought and sold within a year can attract tax at 30% and above for a high earner, while the same gain held past 24 months attracts 12.5%. Where the sale can be timed, timing it past the 24-month mark is one of the few legitimate levers a seller has.
3. The post-Budget 2024 rate: 12.5% without indexation
With effect from 23 July 2024, long-term capital gains on real estate are taxed at 12.5% without indexation. Indexation is the practice of inflating the cost of acquisition by a government cost inflation index so that only the real gain is taxed. Removing indexation simplifies the computation but also removes a benefit that mattered most in periods of high inflation.
For property acquired before 23 July 2024, the law provides a transitional option. A resident individual or Hindu undivided family may choose between the 12.5% rate without indexation and the older 20% rate with indexation, whichever produces the lower tax. For long-held properties bought cheaply decades ago, indexation often still wins; for recently bought properties, the flat 12.5% usually does. The capital gains calculator below does not model indexation, so a pre-23 July 2024 acquisition should be checked with an accountant before the estimate is relied on.
If your flat was acquired before 23 July 2024, do not assume the 12.5% figure. Compute the gain both ways, 12.5% without indexation and 20% with indexation, and take the lower. On a long-held flat bought in the 1990s or 2000s, the difference can run into lakhs.
4. Computing the gain: a worked example
Take a flat bought for Rs 35 lakh and sold for Rs 80 lakh, with Rs 5 lakh spent on improvement and Rs 2 lakh paid in transfer expenses. The cost base is Rs 42 lakh (35 + 5 + 2). The gain is Rs 38 lakh (80 − 42). At 12.5% the tax is Rs 4,75,000, before any exemption. Enter these figures into the capital gains calculator and it returns the same figures.
Now suppose the seller reinvests. Under Section 54EC, up to Rs 50 lakh of the gain can be invested in specified bonds within six months, so the whole Rs 38 lakh gain can be sheltered and the tax falls to nil, at the cost of locking the money in the bonds for five years. Under Section 54, reinvesting the gain in another residential house can achieve the same result, up to a cap of Rs 10 crore. The calculator shows the effect of a 54EC investment on the gain and the tax saved.
5. The three exemption routes
Three sections allow a seller to shelter a long-term gain by putting the money back into specified assets. Each has its own asset, its own time limit and its own cap, and they can be combined.
| Feature | Section 54 | Section 54F | Section 54EC |
|---|---|---|---|
| Asset sold | Residential house property | Any long-term asset other than a residential house | Land or building, or both |
| Eligible taxpayers | Individual or HUF | Individual or HUF | All taxpayers |
| Reinvest in | Another residential house in India | One residential house in India | Specified bonds (REC, PFC, IRFC, HUDCO) |
| Reinvestment amount | The capital gain | The net consideration (full sale value) | The capital gain, up to Rs 50 lakh |
| Time limit | 1 year before or 2 years after sale; 3 years for construction | Same as Section 54 | Within 6 months of sale |
| Maximum exemption | Rs 10 crore | Rs 10 crore | Rs 50 lakh per financial year |
| Lock-in | 3 years (new property) | 3 years | 5 years (bonds) |
| Available in the new regime? | No | No | No |
Section 54 is the natural route for a seller who is selling one home and buying another. Section 54F is for a seller who is selling something other than a house, a plot, for instance, and reinvesting in a house. Section 54EC is the route for a seller who does not want to buy property again and is content to park the gain in bonds for five years.
6. Stacking Section 54 and Section 54EC
Sections 54 and 54EC can be used together on the same sale. A seller can reinvest part of the gain in a new house under Section 54, up to the Rs 10 crore cap, and the balance in 54EC bonds, up to Rs 50 lakh per financial year. Combined, the two can shelter up to Rs 10.5 crore of long-term capital gain.
The stacking works because the two sections target different parts of the gain. Section 54 works on the gain that is reinvested in the new house; Section 54EC works on the gain that is invested in the bonds. A seller with a large gain and the appetite for both a new house and a bond allocation can cover the whole gain. The capital gains calculator shows the 54EC leg, because that is the one with a fixed cap and a fixed rate.
The 54EC investment must be made within six months of the transfer, and the Rs 50 lakh cap is per financial year per investor. A sale late in the financial year can split the investment across two years, doubling the cap, but only if the timing is planned before the sale, not after.
7. Short-term gains and the set-off rules
A short-term capital gain is added to your total income and taxed at the slab rate that applies to you. It is not eligible for the exemptions under Sections 54, 54F or 54EC, which are available only for long-term gains. It can, however, be set off against other capital losses in the same year, and a short-term capital loss can be set off against either short-term or long-term capital gains.
The practical consequence is that a seller who must sell within 24 months should look at the whole year's capital account, not just the one transaction. A short-term loss elsewhere can absorb part of the gain, and carrying forward an unused loss requires the return to be filed on time. This is where a capital gains calculator is a starting point rather than an answer: it gives the gain, and the set-off and slab computation are then done on the return.
8. Common mistakes and how to avoid them
Using the sale price as the gain.
The gain is the sale value less the cost of acquisition, the cost of improvement and the expenses of transfer. Run all four through the capital gains calculator.
Assuming 12.5% applies to every sale.
12.5% applies to long-term gains on transfers on or after 23 July 2024. Short-term gains are taxed at slab rates, and older acquisitions may prefer 20% with indexation.
Claiming a Section 54 exemption in the new tax regime.
Sections 54, 54F and 54EC are not available in the new regime. The exemption must be claimed under the old regime.
Investing in 54EC bonds after the six-month window.
The investment must be made within six months of the transfer. A late investment forfeits the exemption.
9. Capital gains alongside the other costs of selling
Capital gains tax is one of several charges that fall on a sale, and it should be planned alongside them. The seller also bears the 1% TDS that the buyer deducts under Section 194-IA where the consideration is Rs 50 lakh or more, and the buyer bears stamp duty of about 5% on the resale deed. The seller should also check the position on property tax and the Association's no-dues certificate before closing.
The firm's other calculators cover these in turn. The TDS u/s 194-IA calculator works out the deduction on the sale; the property holding tax calculator estimates the annual municipal tax; and the stamp duty and registration calculator estimates the duty on the deed. Read together, they give the full cost of exiting a property.
10. Key takeaways
- More than 24 months makes the gain long-term; 24 months or less makes it short-term.
- Long-term gains on transfers on or after 23 July 2024 are taxed at 12.5% without indexation.
- The gain is the sale value less the cost of acquisition, improvement and transfer expenses.
- Section 54 and Section 54EC can shelter up to Rs 10.5 crore of gain if combined.
- None of these exemptions is available in the new tax regime.
- Use the capital gains calculator to get the gain and the 12.5% tax before planning a reinvestment.
11. Frequently asked questions
How is capital gains on an apartment calculated?
Take the full sale value, subtract the cost of acquisition, the cost of capital improvement and the expenses of transfer, and the balance is the gain. Whether it is short-term or long-term depends on the holding period: more than 24 months is long-term.
What is the holding period for long-term capital gains on property?
An apartment held for more than 24 months is a long-term capital asset. A flat held for 24 months or less produces a short-term gain, taxed at slab rates.
What is the LTCG tax rate on property after Budget 2024?
For transfers on or after 23 July 2024, long-term gains on real estate are taxed at 12.5% without indexation. For properties acquired before that date, a resident individual or HUF may choose between 12.5% without indexation and 20% with indexation.
Can I avoid capital gains tax by buying another house?
Yes, under Section 54, if you reinvest the capital gain in another residential house in India within the prescribed time and up to Rs 10 crore. The exemption is available only under the old tax regime.
What are Section 54EC bonds and how much can I invest?
Specified bonds issued by REC, PFC, IRFC or HUDCO, bought within six months of the transfer, with a maximum of Rs 50 lakh per financial year per investor and a five-year lock-in. Interest is taxable at your slab rate.
Can I combine Section 54 and Section 54EC?
Yes. Part of the gain can go into a new house under Section 54 (up to Rs 10 crore) and the balance into 54EC bonds (up to Rs 50 lakh), sheltering up to Rs 10.5 crore of gain.
Is capital gains tax different in the new tax regime?
The exemptions under Sections 54, 54F and 54EC are not available in the new regime. A seller who wants to shelter the gain by reinvesting must be in the old regime.
Does indexation still apply to property sold in 2026?
For property acquired on or after 23 July 2024, indexation is not available. For property acquired before that date, a resident individual or HUF may choose between 12.5% without indexation and 20% with indexation.
12. Related guides
These firm guides and tools cover the tax and legal context around a capital gains estimate on a property sale.
13. Official sources and verification
Official sources
The charge on capital gains, the holding periods and the exemptions are set out in the Income-tax Act, 1961. From 1 April 2026 the exemption sections are renumbered in the Income-tax Act, 2025: Section 54 becomes Section 84, Section 54EC becomes Section 85 and Section 54F becomes Section 86. The framework is unchanged; only the numbering moves.
You can read the department's guidance on capital gains on the Income Tax Department website. The firm's Odisha Land and Property Law Knowledge Centre explains the sale process around these numbers, and you can reach the firm through the contact page for advice on a specific transaction.
Capital gains on an apartment are decided by the holding period, the cost base and the reinvestment, in that order. Run the four figures through the capital gains calculator, check the indexation position if the flat was bought before 23 July 2024, and plan the reinvestment before the sale rather than after it, the six-month clock does not wait.


