Capital Gains Tax Calculator
Enter purchase and sale prices to estimate capital gains tax. Some jurisdictions use a structured model, while others apply a headline-rate estimate.
How to use this capital gains tax calculator
- Select a tax jurisdiction
Choose the country whose capital gains tax rules should apply to the estimate.
- Enter purchase and sale prices
Type the original purchase price and the sale price into their respective fields.
- Add basis adjustments and fees
Enter any capital improvements in the basis adjustments field and broker or closing costs in the selling fees field to refine the gain.
- Enter capital losses if applicable
Type any capital losses available to offset the gain into the capital losses used field.
- Review structured-model options
If the selected jurisdiction exposes extra controls such as holding period, filing status, or surtax options, set them before reviewing the estimated tax and net proceeds.
How this capital gains tax calculator works
This calculator estimates the tax on profits from selling an investment. Where the site has a structured capital-gains model for the selected jurisdiction, it applies that model directly. Where only headline country data is available, it applies a clearly labeled estimate based on the published individual capital-gains rate. Countries marked ≈ Estimate use a flat rate; actual rules may involve exemptions, holding-period discounts, or progressive rates.
Taxable capital gain = sale price − selling fees − adjusted cost basis − losses used; estimated tax = gain × applicable rate Selling an asset for $75,000 that was purchased for $50,000: the calculator computes the gain after fees and losses, then applies the selected jurisdiction's headline rate or structured model to estimate the tax and after-tax proceeds.
An investor bought shares for $50,000 and sells them for $75,000. After subtracting selling fees and applying available capital losses, the calculator estimates the tax on the net gain using the selected jurisdiction's headline rate or structured model, and shows the after-tax proceeds.
A property owner sells a rental unit for $75,000 with an original purchase price of $50,000 and substantial basis adjustments for renovations. Adding those adjustments raises the cost basis, shrinks the taxable gain, and lowers the estimated tax — demonstrating why accurate basis tracking matters for real estate transactions.
- ✓ Uses a structured model where available and a headline individual capital gains tax rate elsewhere.
- ✓ The structured model currently includes built-in 2026 thresholds only for supported jurisdictions that expose those controls in the interface.
- ✓ Holding-period distinctions, exemptions, and surtaxes outside the structured model are not modeled.
- ✓ Basis adjustments and capital losses are treated as direct offsets to the gain.
- ✓ Complex topics like wash sales, installment sales, depreciation recapture, and qualified dividends are outside this simplified estimate.
- For real planning, basis accuracy matters as much as the sale price because improvements, commissions, and reinvested amounts can materially change the gain.
- Many countries offer partial exemptions, reduced rates for long holding periods, or index the cost basis for inflation. The flat-rate estimate does not account for these.
- This is a simplified estimate. Consult a tax professional for personalized advice.
What is capital gains tax?
Capital gains tax is a levy on the profit realized when you sell an asset for more than its cost basis. The cost basis is usually the original purchase price, potentially adjusted for improvements, reinvested dividends, or other capitalized costs. Most tax systems distinguish between short-term and long-term gains, with long-term gains — from assets held beyond a specified period — often taxed at lower preferential rates. The rationale is to encourage long-term investment. Some countries exempt certain asset types entirely, apply inflation indexing to the cost basis, or offer reduced rates after a minimum holding period. Because the tax only applies when a gain is realized through a sale, unrealized appreciation is not taxed, which gives investors some control over when the tax event occurs through the timing of their sales.
How cost basis and losses affect your tax bill
The taxable gain is not simply the difference between what you paid and what you received — it also accounts for basis adjustments and offsetting losses. Basis adjustments include capital improvements, reinvested distributions, and certain transaction costs that increase your cost basis and thereby reduce the reportable gain. Selling fees such as broker commissions or closing costs reduce the net proceeds on the sale side. Capital losses from other investments can be used to offset gains, reducing the taxable amount further. In many jurisdictions, if losses exceed gains in a given year, the excess can be carried forward to offset future gains. Accurate record-keeping of every cost that affects your basis can meaningfully reduce the tax owed, which is why investors are encouraged to track purchase lots, improvement receipts, and fee statements throughout the holding period rather than reconstructing them at sale time.
Frequently asked questions
What qualifies as long-term?
Rules vary by country. Some jurisdictions distinguish between short- and long-term gains, while others do not. Use the holding-period control only when it appears for the selected jurisdiction.
Can I offset gains with losses?
Most tax systems allow capital losses to offset gains, though the rules differ. Enter any losses you plan to use in the capital losses field.
Why can the rate change within the structured model?
Some jurisdictions use progressive long-term capital gains brackets or surtaxes that depend on income and filing variables, so the effective rate can change within the supported structured model.