What Is a Capital Gains Tax Calculator?
A Capital Gains Tax (CGT) Calculator is a specialized financial instrument engineered to determine the exact tax liability arising from the profitable sale or disposal of capital assets. Whether you are selling publicly listed equities, mutual fund units, an investment condominium, a parcel of land, precious collectibles, or private business equity, disposing of an asset for more than its adjusted cost base triggers capital gains taxation.
Calculating capital gains tax is rarely as simple as multiplying your total profit by a flat percentage. Across modern tax regimes, tax authorities apply intricate rules involving asset classifications, holding-period cutoffs (short-term versus long-term), annual statutory allowances, capital loss carryforwards, statutory inclusion rates, and progressive income tax stacking.
Our calculator automates these complex computations across five distinct national tax engines. By inputting your purchase price, gross sale proceeds, allowable buying and selling expenses, acquisition and sale dates, and other taxable income, you receive an instant, mathematically verified estimate of your net taxable gain, your tax liability, and your true cash retained after tax.
How to Calculate Capital Gains Tax (Core Universal Formula)
While tax brackets and rates differ dramatically between Washington, London, Sydney, New Delhi, and Ottawa, the fundamental baseline formula for establishing whether a taxable capital gain exists is universally consistent:
Understanding each component of this equation is vital to ensure you do not inadvertently overpay tax:
- Sale Proceeds: The total gross monetary consideration or fair market value received when you dispose of, exchange, or transfer the asset.
- Adjusted Cost Basis (Acquisition Cost): The original price paid to purchase the asset. For real estate or physical assets, this also includes qualifying capital improvements (such as adding an extension or installing a new HVAC system) that permanently increase the asset's structural value. Routine maintenance and cosmetic repairs are revenue expenses and cannot be added to the cost basis.
- Eligible Buying & Selling Expenses: Incidental costs directly incurred to acquire or dispose of the asset. This includes stockbroker trading commissions, legal conveyancing fees, real estate agent commissions, stamp duty or property transfer taxes paid at purchase, title insurance, appraisal fees, and mandatory advertising costs.
Capital Gains vs. Taxable Capital Gains: What Is the Difference?
One of the most widespread points of confusion among investors is the distinction between your Gross Capital Gain and your Taxable (or Chargeable) Capital Gain. Tax is almost never assessed directly on your gross capital gain.
| Term | Definition | Practical Impact |
|---|---|---|
| Gross Capital Gain | Total accounting profit realized from the disposal after subtracting purchase price and eligible costs. | The starting point of your tax calculation before applying reliefs, allowances, or legal discounts. |
| Taxable (Chargeable) Capital Gain | The final net portion of the gain that is legally subject to taxation after applying allowances, loss offsets, and inclusion percentages. | The actual dollar amount plugged into statutory tax rate bands or added to your assessable income tax return. |
| Effective Tax Rate | The total estimated tax liability divided by your total gross capital gain, expressed as a percentage. | Reveals the true tax percentage paid on your total economic gain (often much lower than your top marginal bracket). |
| Net After-Tax Proceeds | The remaining cash you walk away with after paying all selling fees, debt discharges, and tax liabilities. | The actual net liquidity you can spend, reinvest, or deposit into savings. |
Capital Gains Tax in the United States (IRS 2026 Rules)
In the United States, the Internal Revenue Service (IRS) categorizes capital gains strictly by your holding period—the exact duration between the calendar day after you acquired the asset and the day you sold it.
1. Short-Term Capital Gains (STCG)
If you hold an asset for one year or less (365 days or fewer), any profit is treated as a short-term capital gain. Short-term gains enjoy no preferential tax rates; they are taxed as ordinary income at your regular federal income tax marginal rate (10%, 12%, 22%, 24%, 32%, 35%, or 37% for 2026).
2. Long-Term Capital Gains (LTCG) Brackets for 2026
If you hold an asset for more than one year (at least 366 days), your profit qualifies for preferential federal long-term capital gains tax rates of 0%, 15%, or 20%. The rate bands are determined by stacking your long-term capital gains on top of your ordinary taxable income.
| 2026 Filing Status | 0% LTCG Rate Band | 15% LTCG Rate Band | 20% LTCG Rate Band |
|---|---|---|---|
| Single | Up to $49,600 | $49,601 – $547,100 | Over $547,100 |
| Married Filing Jointly (MFJ) | Up to $99,200 | $99,201 – $615,500 | Over $615,500 |
| Head of Household (HOH) | Up to $66,450 | $66,451 – $581,000 | Over $581,000 |
| Married Filing Separately (MFS) | Up to $49,600 | $49,601 – $307,750 | Over $307,750 |
3. Net Investment Income Tax (NIIT 3.8%)
High-earning American taxpayers are also subject to the 3.8% Net Investment Income Tax (NIIT) under Section 1411 of the Internal Revenue Code. The 3.8% surtax applies to the lesser of your net investment income or the excess of your Modified Adjusted Gross Income (MAGI) over the statutory threshold:
- $200,000 for Single and Head of Household filers
- $250,000 for Married Filing Jointly
- $125,000 for Married Filing Separately
4. Section 121 Primary Residence Exclusion
If you sell a residential home that served as your primary residence for at least 2 out of the 5 years preceding the sale, you can legally exclude up to $250,000 of capital gains from federal taxation if single, or up to $500,000 if married filing jointly.
Capital Gains Tax in the United Kingdom (HMRC 2026/27 Rules)
In the United Kingdom, HM Revenue and Customs (HMRC) administers Capital Gains Tax on chargeable disposals during the UK tax year, which runs from 6 April to 5 April.
1. Autumn Budget Tax Rate Harmonization
Following historic tax reforms enacted in the Autumn 2024 Budget and carried forward through the 2025/26 and 2026/27 tax years, Capital Gains Tax rates on shares, investment funds, and other chargeable assets were unified with residential property rates:
- Basic Rate Taxpayers (18%): If your total taxable income plus your taxable capital gain falls within the basic rate band (up to £50,270 for 2026/27), your gains are taxed at 18%.
- Higher & Additional Rate Taxpayers (24%): Any portion of your taxable gain that exceeds the £50,270 basic rate threshold is taxed at 24%.
- Residential Property (18% and 24%): Residential property gains (such as buy-to-let properties or holiday homes) are taxed at 18% for basic-rate and 24% for higher-rate taxpayers.
- Business Asset Disposal Relief (BADR): For entrepreneurs disposing of qualifying business assets, the lifetime relief tax rate is 18% for 2026/27 on lifetime gains up to £1,000,000.
2. UK Annual Exempt Amount (£3,000)
Every individual resident in the UK receives an annual tax-free capital gains allowance called the Annual Exempt Amount (AEA). For 2026/27, the AEA is frozen at £3,000. You only pay Capital Gains Tax on net gains that exceed this £3,000 threshold.
3. Private Residence Relief (PRR)
Selling your main home in the UK is virtually always 100% tax-free under Private Residence Relief (PRR), provided you lived in the property as your primary residence throughout your period of ownership and did not let out part of it exclusively for commercial business.
Capital Gains Tax in Australia (ATO 2026–27 Rules)
Unlike the US or the UK, Australia has no separate or standalone capital gains tax rate. Under Australian tax law administered by the Australian Taxation Office (ATO), your net capital gain is integrated directly into your assessable income on your annual tax return and taxed at your marginal individual income tax rate plus the 2.0% Medicare levy.
1. The 50% CGT Discount Rule
To encourage long-term productive investment, the ATO grants individual Australian tax residents a 50% CGT discount on assets held for at least 12 months (365 days or more).
When you sell an asset held for over a year:
- You calculate your gross capital gain (Proceeds − Cost Base).
- You subtract any prior-year or current-year capital losses.
- You apply the 50% discount to the remaining net gain.
- Only the remaining 50% taxable portion is added to your taxable income.
2. Australian Revised Stage 3 Tax Brackets (2026–27)
The taxable portion of your capital gain is taxed according to the revised Stage 3 resident individual tax brackets:
- $0 – $18,200: Nil (0%)
- $18,201 – $45,000: 16% + 2% Medicare levy (18% total)
- $45,001 – $135,000: 30% + 2% Medicare levy (32% total)
- $135,001 – $190,000: 37% + 2% Medicare levy (39% total)
- $190,001 and above: 45% + 2% Medicare levy (47% total)
3. ATO Main Residence Exemption
Your primary home in Australia is completely exempt from CGT under the ATO Main Residence Exemption, provided the dwelling is situated on land under 2 hectares and was established as your principal home from acquisition.
Capital Gains Tax in India (ITD FY 2026–27 / AY 2027–28)
India’s capital gains tax regime underwent a landmark transformation in Union Budget 2024, creating a streamlined, simplified classification system that applies for Financial Year 2025–26 and FY 2026–27 (Assessment Year 2027–28).
1. Holding Period Cutoffs in India
- Listed Equity Shares & Equity Mutual Funds (STT Paid): 12 months. Holding for more than 12 months is Long-Term (LTCG); holding for 12 months or less is Short-Term (STCG).
- Immovable Property (Real Estate & Land) and Unlisted Shares: 24 months. Holding for more than 24 months is LTCG; 24 months or less is STCG.
- Specified Debt Mutual Funds: Always deemed Short-Term under Section 50AA, irrespective of holding period.
2. Indian Capital Gains Tax Rates (Post-Reform)
| Asset Category | Short-Term (STCG) Rate | Long-Term (LTCG) Rate | Statutory Exemption / Relief |
|---|---|---|---|
| Listed Equity Shares & Equity MFs | 20% (Section 111A) | 12.5% (Section 112A) | First ₹1,25,000 of LTCG is 100% tax-free each FY |
| Immovable Property (Real Estate) | Individual Slab Rates (up to 30%) | 12.5% without indexation | Grandfathering option for pre-July 2024 buys (20% with indexation if lower) |
| Unlisted Shares | Individual Slab Rates | 12.5% | Taxed at flat statutory rate |
| Debt Mutual Funds | Individual Slab Rates | Individual Slab Rates | Section 50AA removes LTCG indexation benefits |
Mandatory 4% Health & Education Cess: Every rupee of income tax and capital gains tax calculated in India is subject to an additional 4% Health and Education Cess. Surcharges of 10% (income above ₹50 lakh) or 15% (income above ₹1 crore) apply to high earners, with capital gains surcharge capped at 15%.
Capital Gains Tax in Canada (CRA 2026 Rules)
In Canada, capital gains are administered by the Canada Revenue Agency (CRA). Like Australia, Canada does not impose a distinct standalone capital gains rate; instead, a legally prescribed percentage called the Capital Gains Inclusion Rate is added to your taxable income and taxed at combined federal and provincial marginal rates.
1. The Two-Tier Capital Gains Inclusion Rate
Under legislation in force for 2025 and 2026, individual Canadian taxpayers face a two-tiered inclusion schedule:
- First $250,000 of Net Capital Gains: Taxed at the standard 50% inclusion rate. Only half of your profit ($125,000 on a $250,000 gain) is included in taxable income.
- Net Capital Gains Exceeding $250,000: Taxed at an elevated 66.67% (two-thirds) inclusion rate on the portion above $250,000.
2. Canadian Federal & Provincial Bracket Stacking
The taxable capital gain is stacked onto your employment, rental, or pension income. For 2026, federal tax rates range from 15% (income up to $58,500) to 33% (income over $258,400). In addition, every province charges progressive provincial tax:
- Ontario: 5.05% to 13.16% plus Ontario Surtax (20% and 36%).
- British Columbia: 5.06% to 20.50% across 7 progressive brackets.
- Alberta: 10.00% to 15.00% across 5 brackets.
- Quebec: 14.00% to 25.75% with a 16.5% federal tax abatement.
3. Principal Residence Exemption (PRE)
If you sell a residential housing unit that was officially designated as your principal residence for all years of ownership, 100% of the capital gain is legally sheltered from both federal and provincial income taxes using the CRA Form T2091.
Capital Gains Tax in Singapore (IRAS Guidelines & 0% CGT)
Singapore is celebrated as one of the world's most investor-friendly nations because it does not levy any capital gains tax on individuals or corporate entities. Under the statutory guidelines established by the Inland Revenue Authority of Singapore (IRAS), profits realized from the disposal of capital investments—such as publicly traded equities, REITs, private equity, mutual funds, or real estate—are 100% exempt from income tax.
1. The Baseline 0% Rule for Capital Gains
Whether you invest in Singapore Exchange (SGX) equities, overseas stock markets, cryptocurrencies, or domestic property, net capital profits remain completely tax-free. You do not need to report non-taxable capital gains on your annual IRAS tax return, and there are no statutory holding-period surcharges or capital gains reporting forms.
2. Capital Gains vs. Commercial Trading Income (Badges of Trade)
While genuine investment gains are non-taxable, profits derived from an active trade or business of trading securities or properties are subject to standard Singapore personal income tax (ranging from 0% to 24%). IRAS applies the established Badges of Trade doctrine to distinguish capital gains from trading income:
- Holding Period: Disposals after extended holding periods demonstrate investment intent.
- Frequency of Transactions: Repeated, high-frequency day-trading or property flipping suggests a commercial operation.
- Investment Intent: Acquiring assets for long-term dividend yield or rental income indicates capital status.
- Financing Structure: Leveraging high short-term borrowing to finance rapid liquidation suggests trading.
3. Property Disposals & Seller's Stamp Duty (SSD)
Although property sales do not trigger capital gains tax, residential properties sold within three years of purchase are subject to Singapore's Seller's Stamp Duty (SSD): 12% if sold within the first year, 8% within the second year, and 4% within the third year. Beyond 3 years of holding, property sales are 100% exempt from all disposal taxes.
Real-World Capital Gains Tax Examples Across 6 Countries
Stock Sale in Taxable Brokerage
Sarah, a single filer in Texas (0% state tax), earns an $85,000 salary. In 2024, she purchased $30,000 of index shares and sold them in 2026 for $80,000, paying $1,000 in selling fees.
- Gross Capital Gain: $80,000 − $30,000 − $1,000 = $49,000
- Holding Duration: 2.1 years (> 365 days = Long-Term)
- LTCG Bracket: Taxable salary of $85,000 exceeds the 0% threshold ($49,600). The full $49,000 falls in the 15% federal LTCG bracket.
- Federal Tax: $49,000 × 15% = $7,350
- NIIT: MAGI = $85k + $49k = $134k (under $200k threshold = $0 NIIT)
- Total Tax: $7,350 (Effective rate: 15.0%)
Buy-to-Let Property Disposal
Oliver earns a £40,000 salary. He sells a secondary residential buy-to-let flat for £220,000 that he bought for £150,000, incurring £5,000 in estate agency and solicitor fees.
- Gross Capital Gain: £220,000 − £150,000 − £5,000 = £65,000
- Annual Exempt Amount: Less £3,000 allowance = £62,000 chargeable gain
- Basic Rate Band Space: £50,270 basic limit − £40,000 salary = £10,270 remaining basic band taxed at 18% = £1,848.60
- Higher Rate Band: Remaining £51,730 taxed at 24% = £12,415.20
- Total UK Tax: £1,848.60 + £12,415.20 = £14,263.80 (Effective rate: 21.9%)
Shares Held for 3 Years
Liam earns a $100,000 salary in Sydney. He sells shares with a $40,000 purchase price for $100,000, paying $1,000 in brokerage fees.
- Gross Capital Gain: $100,000 − $40,000 − $1,000 = $59,000
- 50% CGT Discount: Asset held > 12 months. Taxable portion = $59,000 × 50% = $29,500
- Assessable Income Impact: Taxable income rises from $100,000 to $129,500 (both within the 30% tax bracket + 2% Medicare = 32%)
- Total ATO Tax: $29,500 × 32% = $9,440 (Effective rate: 16.0%)
Listed Equity Shares LTCG
Aarav sells listed shares for ₹15,00,000 that were acquired 20 months ago for ₹9,000,000, incurring ₹10,000 in brokerage expenses.
- Gross Capital Gain: ₹15,00,000 − ₹9,00,000 − ₹10,000 = ₹5,90,000
- Section 112A Exemption: First ₹1,25,000 is 100% tax-free
- Taxable Gain: ₹5,90,000 − ₹1,25,000 = ₹4,65,000
- LTCG Tax (12.5%): ₹4,65,000 × 12.5% = ₹58,125
- 4% Cess: ₹58,125 × 4% = ₹2,325
- Total Tax: ₹58,125 + ₹2,325 = ₹60,450 (Effective rate: 10.2%)
Cottage Sale in Ontario
Chloe earns $90,000 in Ontario. She sells a secondary recreation cottage for $450,000 purchased for $250,000, paying $15,000 in legal and realtor fees.
- Gross Capital Gain: $450,000 − $250,000 − $15,000 = $185,000
- Inclusion Rate: Gain is under $250,000 cutoff. Taxable portion = $185,000 × 50% = $92,500
- Taxable Income: Increases from $90,000 to $182,500
- Federal & Ontario Surtax: Incremental tax attributable to the $92,500 taxable gain equals $35,103
- Effective Tax Rate: $35,103 / $185,000 = 18.97%
Stock & REIT Sale by Resident Investor
Wei Ming, an investor in Singapore earning an S$85,000 salary, sells S$70,000 of Singapore equities and REITs purchased for S$35,000 three years ago, paying S$200 in brokerage fees.
- Gross Capital Gain: S$70,000 − S$35,000 − S$200 = S$34,800
- Holding Duration: 3.0 years (pure investment asset)
- IRAS Capital Gains Tax Rate: 0.00%
- Total Estimated Tax: S$0.00
- Net After-Tax Proceeds: Full S$34,800 profit retained with zero tax withheld
- Effective Tax Rate: 0.0%
How Capital Losses and Tax-Loss Harvesting Work
Capital losses are the silver lining of an unprofitable investment. When you sell a capital asset for less than its adjusted purchase price and allowable acquisition costs, you incur a capital loss.
Here is how capital loss relief operates across international jurisdictions (note that because Singapore imposes 0% capital gains tax, capital losses cannot be claimed as tax deductions in Singapore):
- Dollar-for-Dollar Offset: In the US, UK, Australia, India, and Canada, realized capital losses can offset realized capital gains dollar-for-dollar in the same tax year.
- Indefinite Carryforward: If your capital losses exceed your capital gains in a given tax year, the net unused loss can be carried forward indefinitely into future tax years to shield future investment profits.
- US Ordinary Income Offset ($3,000 Rule): In the United States, if net capital losses exceed all capital gains, individual taxpayers can deduct up to $3,000 per year ($1,500 if married filing separately) directly against ordinary salary or business income.
- Australia Pre-Discount Ordering: Under ATO tax law, you must deduct your accumulated capital losses from your gross capital gain before applying the 50% CGT discount. You cannot apply the discount first and then deduct the loss.
- Wash Sale & Bed-and-Breakfasting Rules: In the US, the 30-day Wash Sale Rule prevents taxpayers from claiming a tax loss if they buy substantially identical securities within 30 days before or after the sale. In the UK, the 30-day Bed & Breakfasting Rule enforces a similar restriction. In Canada, the Superficial Loss Rule denies loss deductions if you repurchase the same asset within 30 calendar days.
Explore Related Financial & Tax Calculators
Managing investment profits and tax efficiency requires looking at your full financial picture. Explore our comprehensive suite of free, high-precision planning tools:
Frequently Asked Questions About Capital Gains Tax
What is a capital gains tax calculator?
A capital gains tax calculator is an online estimation tool that computes the tax liability owed when you sell an investment, property, or valuable personal asset for more than your purchase price and allowable acquisition and selling expenses.
How do I calculate capital gains tax?
First, subtract your cost basis (purchase price plus allowable buying and selling fees) from your sale proceeds to establish your gross gain. Next, deduct any statutory allowances, exemptions, or prior-year capital losses. For Australia and Canada, apply the legal 50% discount or statutory inclusion rate. Finally, apply the applicable statutory tax brackets for your country.
Is capital gains tax the same in every country?
No. Tax structures vary dramatically: the US uses preferential long-term brackets (0%, 15%, 20%); the UK uses unified flat rates (18% and 24%) above an exemption; Australia adds 50% of discounted gains to assessable income; India applies special rates (12.5% LTCG, 20% STCG) plus 4% cess; and Canada applies a two-tier inclusion rate (50% up to $250k; 66.67% above) taxed at progressive ordinary rates.
What are the US capital gains tax rates for 2026?
Federal long-term capital gains rates for 2026 are 0%, 15%, or 20% depending on filing status and ordinary income. Short-term gains (held 1 year or less) are taxed as ordinary income from 10% to 37%. High earners are also subject to a 3.8% Net Investment Income Tax (NIIT).
What is the UK Capital Gains Tax allowance for 2026/27?
For 2026/27, the UK individual Annual Exempt Amount is £3,000. Chargeable gains above this threshold are taxed at 18% for basic rate taxpayers and 24% for higher and additional rate taxpayers across both equities and residential property.
How does the Australian CGT discount work?
Individual Australian resident taxpayers who hold an asset for 12 months or longer receive a 50% CGT discount. After subtracting allowable capital losses from the gross gain, the remaining profit is halved, and only that remaining 50% is added to taxable income and taxed at your marginal rate plus the 2% Medicare levy.
How is capital gains tax calculated in India for FY 2026–27?
Under the simplified Budget 2024 framework, listed equity shares and equity mutual funds held over 12 months are taxed at 12.5% on profits exceeding the ₹1.25 lakh annual exemption. Short-term equity gains are taxed at 20%. Real estate held over 24 months is taxed at 12.5% without indexation. All taxes include a 4% Health and Education cess.
How does Canada's capital gains inclusion rate work in 2026?
In Canada, individuals face a 50% inclusion rate on their first $250,000 of net capital gains in a calendar year, and a 66.67% (two-thirds) inclusion rate on gains exceeding $250,000. This taxable gain is added to your income and taxed at combined federal and provincial brackets.
Do I pay capital gains tax on stocks?
Yes, selling stocks, ETFs, or mutual funds held in taxable brokerage accounts triggers capital gains tax if sold for a profit. However, securities held inside qualified tax-sheltered accounts—such as a US Roth IRA/401(k), UK Stocks & Shares ISA, Canadian TFSA, or Australian superannuation fund—are completely exempt from capital gains tax upon sale.
Do I pay capital gains tax when selling my primary home?
Most nations offer substantial primary residence relief: UK Private Residence Relief (PRR) and Canadian Principal Residence Exemption (PRE) provide 100% tax exemption; the Australian Main Residence Exemption provides full exclusion; and US Section 121 allows individuals to exclude up to $250,000 (single) or $500,000 (married filing jointly) in profit.
Can capital losses reduce my capital gains tax?
Yes. In all five supported countries, realized capital losses offset capital gains dollar-for-dollar. Unused net capital losses can generally be carried forward indefinitely to shield future capital gains from taxation.
Is capital gains tax calculated on the sale price or the profit?
Capital gains tax is never calculated on the gross sale price. It is assessed solely on your net gain (profit), which is your sale proceeds minus your original purchase price and allowable acquisition, improvement, and selling expenses.
The calculations provided by the FinCalcLab Capital Gains Tax Calculator are estimates for educational and comparative planning purposes only. Calculations are based on user inputs, standard tax rules, and official 2026/27 legislative schedules published by the Internal Revenue Service (IRS), HM Revenue & Customs (HMRC), Australian Taxation Office (ATO), Income Tax Department of India (ITD), and Canada Revenue Agency (CRA).
Actual tax liability may vary due to individual taxpayer circumstances, local surtaxes, alternative minimum tax (AMT), non-resident withholding regimes, partial-year residence, tax treaty relief, complex depreciation recapture (Section 1250), or changes in local tax legislation. This tool does not constitute licensed legal, accounting, or professional tax advice. Always consult a qualified CPA, Chartered Tax Adviser, or your national tax authority before filing an official tax return or executing substantial asset disposals.