Capital Gains Tax Calculator
Capital Gains Tax Calculator
A Capital Gains Tax (CGT) is a tax on the profit realized from the sale of a non-inventory asset that was purchased at a lower price. The most common capital gains are realized from the sale of stocks, bonds, precious metals, and property. This calculator helps you estimate the tax you owe and your final net profit after all expenses and taxes are settled.
What is Capital Gains Tax?
When you sell an asset for more than you paid for it, the resulting profit is called a capital gain. Conversely, if you sell it for less, it is a capital loss. Governments tax these gains because they are considered a form of income. However, the rate at which they are taxed often differs from regular earned income (like your salary).
In many tax jurisdictions, capital gains are categorized into two types:
- Short-term Capital Gains: Profits from assets held for a short duration (usually one year or less). These are often taxed at your standard income tax rate.
- Long-term Capital Gains: Profits from assets held for a longer duration (usually more than one year). These typically benefit from lower, preferential tax rates to encourage long-term investment.
The Formula
The calculation for capital gains tax follows this general mathematical structure:
Where:
- Purchase Price (Cost Basis): The original value of an asset for tax purposes.
- Selling Expenses: Costs incurred to sell the asset, such as broker commissions, legal fees, or advertising.
How to Use This Calculator
- Purchase Price: Enter the total amount you paid to acquire the asset, including any initial commissions or transfer taxes.
- Selling Price: Enter the total amount you received from the sale.
- Selling Expenses: Include costs like real estate agent fees, legal costs, or platform transaction fees.
- Holding Period: Select whether you held the asset for more or less than a year (this helps identify the likely tax treatment).
- Tax Rate: Enter the applicable tax percentage for your specific situation and jurisdiction.
Worked Examples
Example 1: Stock Sale (Long-term)
- Purchase Price: $10,000
- Selling Price: $15,000
- Expenses: $100
- Tax Rate: 15%
Net Profit: $4,165
Example 2: Real Estate (Short-term)
- Purchase Price: $300,000
- Selling Price: $350,000
- Expenses: $15,000 (Commissions & Closing)
- Tax Rate: 30%
Net Profit: $24,500
FAQ
What is a cost basis?
The cost basis is the original value of an asset for tax purposes, usually the purchase price, adjusted for stock splits, dividends, and return of capital distributions.
Can capital losses offset gains?
Yes, in most countries, you can use capital losses to offset capital gains in the same tax year. If your losses exceed your gains, you may often carry the "net loss" forward to future years.
Does this calculator work for crypto?
Yes, cryptocurrency is generally treated as property for tax purposes in many regions (like the US, UK, and Australia), meaning the same capital gains rules apply.
What are selling expenses?
Selling expenses are any costs required to facilitate the sale. For real estate, this includes agent commissions and staging. For stocks, it includes brokerage fees.
Why is the long-term rate usually lower?
Governments use lower long-term rates to incentivize citizens to invest in the economy for the long haul, which provides stability to financial markets compared to high-frequency trading.
Limitations
This calculator provides an estimate for educational purposes. Tax laws are complex and vary significantly by country, state, and individual income level. Always consult with a certified tax professional or accountant before filing your taxes.