📊 Know Your Capital Gains Tax Instantly
Calculate short-term and long-term capital gains tax on stocks, real estate, and other investments. See exactly what you'll owe.
Capital Gains Tax Calculator Inputs
- • Short-Term Capital Gains: Taxed at your ordinary income tax rate (10–37%).
- • Long-Term Capital Gains: Taxed at preferential rates (0%, 15%, or 20%) based on your taxable income.
- • 2025 Brackets: The tool uses projected 2025 US federal tax brackets for accurate calculations.
- • Filing Status: Your filing status determines the bracket thresholds.
- • 2025 Tax Brackets: Uses projected 2025 US federal tax rates.
- • No State Taxes: State and local capital gains taxes are not included.
- • No Adjustments: Basis adjustments, commissions, and other costs are not factored in.
- • No Loss Offset: Capital losses are not offset against gains in this calculation.
- • No NIIT: Net Investment Income Tax (3.8%) is not included.
Your Capital Gains Tax Results
Actionable Insight
Enter your asset details to see personalized tax insights.
Breakdown of Sale Proceeds
Gain vs Tax
What-If Simulator
Adjust the slider to see how a different sale price affects your tax and net proceeds.
Tax Calculation Details
| Item | Amount | Notes |
|---|
How This Tool Works
Enter Asset Details — Provide the purchase price, sale price, and holding period.
Add Income Information — Enter your taxable annual income and filing status.
Click Calculate — The tool computes your capital gain, tax rate, and tax amount.
Review the Breakdown — See a detailed breakdown of your gain and tax calculations.
Capital Gain = Sale Price − Purchase Price
Tax = Capital Gain × Applicable Rate Short-Term Rate = Ordinary income tax rate (10–37%) Long-Term Rate = 0%, 15%, or 20% based on income Net Proceeds = Sale Price − Tax Amount
The Math Behind the Tool
Gain = Sale Price − Purchase Price
Tax = Gain × Ordinary Income Tax Rate
Rate = 0% (income ≤ threshold), 15% (income ≤ threshold), or 20% (income > threshold)
Net = Sale Price − Tax Amount
Assets held for more than one year qualify for lower long-term capital gains rates (0–20%), while short-term holdings (≤ 1 year) are taxed at ordinary income rates (10–37%). This can mean a significant difference in your tax bill.
Real-World Examples
Long-Term Stock Sale
Purchase: $50,000
Sale: $75,000
Gain: $25,000
Tax: $3,750 | Rate: 15% | Net: $71,250
Real Estate Sale
Purchase: $200,000
Sale: $350,000
Gain: $150,000
Tax: $22,500 | Rate: 15% | Net: $327,500
Short-Term Trade
Purchase: $10,000
Sale: $15,000
Gain: $5,000
Tax: $1,100 | Rate: 22% | Net: $13,900
Short-Term vs Long-Term Comparison
Compare how holding period affects your tax liability for the same gain amount.
| Holding Period | Tax Rate | Tax Amount | Net Proceeds | Savings |
|---|
Assumes $25,000 gain, $50,000 purchase price, and $75,000 sale price.
What Makes This Tool Different
Short vs Long-Term — Automatically applies the correct tax rate based on your holding period.
Detailed breakdown — See exactly how your gain is calculated and taxed.
Interactive charts — Visualize the breakdown of your sale proceeds.
What-if sale price — See how different sale prices affect your tax and net proceeds.
No tracking, no sign-up — All calculations run locally in your browser.
Common Mistakes to Avoid
Limitations
Trust & Privacy
All calculations are performed locally in your browser. No personal information is stored or shared.
Browser Compatibility
References & Standards
- • IRS – Capital gains tax rates and brackets
- • SEC Investor.gov – Investment education
- • Federal Reserve – Economic data
- • CFPB – Consumer financial protection
Editorial Process
The CalculatorKits editorial team reviews this tool periodically to ensure formula accuracy, clear definitions, helpful guidance, and current information. Last reviewed: July 2026.
Frequently Asked Questions
Explore More Finance Tools
Who Uses This Tool?
Investors
Calculating tax liability on stock sales, mutual funds, and other investment assets to plan their trades.
Real Estate Investors
Estimating capital gains tax on property sales and planning 1031 exchanges or other tax strategies.
Traders & Freelancers
Understanding the tax implications of short-term trading vs long-term holding strategies.
Financial Planners
Demonstrating tax-efficient investment strategies and comparing different holding periods to clients.
Capital Gains Tax Calculator
Selling assets like stocks, property, or investments can trigger taxes that significantly affect your final profit. This Capital Gains Tax Calculator helps you estimate how much tax you may owe when you sell an asset. By entering a few details, you can quickly understand your taxable gain and expected tax liability.
Whether you are an investor, property owner, or trader, this Capital Gains Tax Calculator gives you clear results without complex tax tables or manual calculations.
What Is a Capital Gains Tax Calculator?
A Capital Gains Tax Calculator is a financial tool that calculates tax on the profit earned from selling an asset. Capital gain is the difference between the sale price and the purchase price of an asset.
This calculator helps determine:
- Capital gain or loss
- Applicable tax based on holding period
- Estimated tax payable
Capital gains are generally classified as short-term or long-term, depending on how long the asset was held. Tax rates often differ for each category. To understand the general concept of capital gains tax, you can also read the explanation on Wikipedia.
Why Use This Capital Gains Tax Calculator?
Manually calculating capital gains tax can be confusing. You need to account for purchase price, sale price, holding period, income level, and tax rules.
This Capital Gains Tax Calculator helps because it:
- Calculates gains accurately
- Distinguishes short-term and long-term gains
- Reduces calculation errors
- Saves time during tax planning
Being browser-based, it works instantly without downloads or signups. Many users also combine results with an Income Tax Calculator to estimate overall tax liability.
How to Use the Capital Gains Tax Calculator (Step-by-Step)
- Enter the purchase price ($) of the asset.
- Enter the sale price ($).
- Select the holding period (short-term or long-term).
- Enter your taxable annual income ($).
- Choose your filing status if applicable.
- Click calculate to view estimated capital gains tax.
You can adjust values to compare different selling scenarios.
Capital Gains Tax Formula Explained
The Capital Gains Tax Calculator uses the basic capital gain formula:
Capital Gain = Sale Price − Purchase Price
If the result is positive, it is a gain. If negative, it is a capital loss.
Tax Calculation Concept
Tax Payable = Capital Gain × Applicable Tax Rate
Tax rate depends on:
- Holding period
- Income level
- Local tax rules
Example Calculation
Purchase price: $50,000
Sale price: $75,000
Capital gain = $25,000
If short-term tax rate applies at 20%:
Tax payable = $25,000 × 0.20 = $5,000
This shows why timing asset sales matters.
Key Features
- Calculates short-term and long-term gains
- Supports income-based tax estimation
- Instant and accurate results
- Free and browser-based
- No signup or data storage
Who Can Use This Tool?
This Capital Gains Tax Calculator is useful for:
- Investors selling stocks or funds
- Property owners selling real estate
- Traders managing short-term assets
- Business owners selling capital assets
- Financial planners assisting clients
For understanding investment growth before tax, users often use an Investment Calculator alongside this tool.
Pros and Cons of Capital Gains Tax Tools
Pros
- Quick tax estimation
- Clear gain or loss calculation
- Helps plan asset sales
- Easy scenario comparison
Cons
- Does not replace official tax filing
- Excludes country-specific exemptions
- Actual tax may vary
To understand how inflation affects real profits, some users also refer to an Inflation Calculator.
Safety, Privacy, and Accuracy
All calculations are performed directly in your browser. No asset values, income data, or personal information is stored or shared.
This Capital Gains Tax Calculator is intended for educational and planning purposes only. Tax laws vary by country and may change. Always consult a qualified tax professional or official tax authority before filing taxes.
Frequently Asked Questions
What does a Capital Gains Tax Calculator calculate?
It estimates tax payable on profits from selling assets.
Is this Capital Gains Tax Calculator free?
Yes. It is completely free and requires no signup.
What is the difference between short-term and long-term gains?
Short-term gains apply to assets held for a shorter period, while long-term gains apply to assets held longer and often have lower tax rates.
Does this calculator include exemptions?
No. It provides estimates based on inputs and does not include all exemptions.
Are results accurate worldwide?
The calculator is flexible, but accuracy depends on correct tax rate inputs.
Conclusion
This Capital Gains Tax Calculator helps you understand how much tax you may owe before selling an asset. It provides quick, clear insights and supports better financial planning.
Whether you are selling investments or property, this tool gives you instant estimates without complexity. For complete tax planning, you can also explore an Income Tax Calculator or evaluate returns using a Compound Interest Calculator.