Capital Gains Calculator - Investment Capital Gains Tax Calculator & Stock Capital Gains Calculator
Free capital gains calculator & investment capital gains tax calculator. Calculate capital gains tax, taxable amount, and net proceeds. Our calculator uses current tax brackets to provide accurate calculations for stocks, investments, and asset sales.
Last updated: October 19, 2025
Need a custom tax calculator for your platform? Get a Quote
Leave empty to use purchase price
Adds to cost basis (e.g., home renovations, stock fees)
Commissions, closing costs, legal fees, etc.
Used to determine capital gains tax bracket
Leave empty to auto-calculate based on income and holding period
Capital Gain/Loss
$5,000
Capital Gain
Taxable Gain
$5,000
Tax Owed
$750
Tax Rate
15.0%
Net Proceeds
$14,250
Tax Analysis
- •Long-term capital gain - qualifies for lower tax rates (0%, 15%, or 20%).
Capital Gains Facts:
- • Long-term gains (1+ year): 0%, 15%, or 20% tax rate
- • Short-term gains: Taxed as ordinary income (10-37%)
- • Capital losses can offset gains and reduce taxes
- • Cost basis includes purchase price plus improvements
Capital Gains Calculator Features
Tax Rates
0-20% vs 10-37%
Long-term gains (1+ year) qualify for lower preferential rates
Calculation
Based on Income
Uses 2024 tax brackets for accurate rate calculations
Basis
Purchase + Costs
Accurately track all costs to maximize cost basis and minimize taxes
Deduction
Up to $3,000/year
Offset gains or deduct from ordinary income
Formula
Sale - Tax - Expenses
See actual cash you'll receive after all costs
Strategies
Tax Tips
Receive actionable advice to minimize capital gains taxes
Quick Example Result
For stocks purchased at $10,000 and sold at $15,000 after 1+ year:
Capital Gain
$5,000
Tax Rate
15%
Tax Owed
$750
How Our Capital Gains Calculator Works
Our capital gains calculator uses current tax brackets and formulas to calculate capital gains tax accurately. The calculation applies IRS tax brackets and holding period rules to determine whether gains are short-term or long-term, and applies the appropriate tax rates.
Capital Gains Calculation Formulas
Capital Gain = Sale Price - Cost Basis - Selling ExpensesCost Basis = Purchase Price + Improvements + FeesTaxable Gain = Capital Gain (if positive)Capital Gains Tax = Taxable Gain × Tax RateThese formulas provide accurate capital gains calculations. Long-term gains (1+ year) receive preferential tax rates (0%, 15%, or 20%), while short-term gains are taxed as ordinary income (10-37%). Tax rates depend on filing status and taxable income level.
Illustrates how holding period, income level, and filing status affect capital gains tax rates
Understanding Capital Gains Tax
Capital gains tax is levied on profits from selling investments, stocks, real estate, or other assets. The tax rate depends on how long you held the asset and your income level. Long-term capital gains (assets held 1+ year) receive significantly lower tax rates than short-term gains, making long-term investing more tax-efficient.
- Long-term gains (1+ year): 0%, 15%, or 20% tax rate based on income bracket
- Short-term gains (<1 year): Taxed as ordinary income (10-37% depending on bracket)
- Cost basis includes purchase price, improvements, fees, and commissions
- Capital losses can offset gains dollar-for-dollar, reducing tax liability
- Up to $3,000 in net capital losses can be deducted from ordinary income per year
- Tax rates vary by filing status (single, married filing jointly, etc.)
Sources & References
- Internal Revenue Service (IRS) - Publication 544: Sales and Other Dispositions of AssetsOfficial IRS guidelines for capital gains and losses, tax rates, and reporting requirements
- IRS Tax Brackets (2024) - Capital Gains Tax RatesCurrent tax brackets and rates for long-term and short-term capital gains
- IRS.gov - Capital Gains and LossesOfficial IRS information about capital gains tax, exemptions, and reporting requirements
Need help with other tax calculations? Check out our Real Estate Capital Gains Tax Calculator and Dividend Yield Calculator.
Get Custom Calculator for Your PlatformCapital Gains Calculator Examples
Investment Details:
- Purchase Price: $10,000
- Sale Price: $15,000
- Holding Period: 2 years (Long-term)
- Filing Status: Single
- Taxable Income: $50,000
Calculation Steps:
- Capital Gain = $15,000 - $10,000 = $5,000
- Holding period: 2 years = Long-term gain
- Income $50,000 falls in 15% bracket for long-term gains
- Capital Gains Tax = $5,000 × 15% = $750
- Net Proceeds = $15,000 - $750 = $14,250
Result: $5,000 long-term capital gain, $750 tax (15% rate), $14,250 net proceeds
Long-term holding qualified for preferential 15% rate instead of higher ordinary income rates.
Short-term Example
Held less than 1 year
Taxed as ordinary income (22-24% typical)
0% Rate Example
Lower income, long-term gain
0% long-term capital gains rate applies
Frequently Asked Questions
Found This Calculator Helpful?
Share it with others who need help with capital gains calculations
Suggested hashtags: #CapitalGains #Tax #Investment #Calculator