Tax & Investment

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

Long-term and short-term calculations
Automatic tax bracket determination
Cost basis and improvement tracking

Need a custom tax calculator for your platform? Get a Quote

Capital Gains Calculator
Calculate capital gains, taxable amount, and tax owed on investment sales

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 Gains Results

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

Long-term vs Short-term
Automatic holding period calculation from purchase and sale dates

Tax Rates

0-20% vs 10-37%

Long-term gains (1+ year) qualify for lower preferential rates

Tax Bracket Calculation
Automatic tax rate determination based on income and filing status

Calculation

Based on Income

Uses 2024 tax brackets for accurate rate calculations

Cost Basis Tracking
Include improvements, fees, and expenses in cost basis

Basis

Purchase + Costs

Accurately track all costs to maximize cost basis and minimize taxes

Capital Loss Deduction
Calculate capital losses and offset strategies

Deduction

Up to $3,000/year

Offset gains or deduct from ordinary income

Net Proceeds Calculation
Calculate actual proceeds after taxes and expenses

Formula

Sale - Tax - Expenses

See actual cash you'll receive after all costs

Tax Optimization Tips
Get personalized recommendations for tax strategies

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 Rate

These 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.

📊 Capital Gains Tax Diagram

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

Capital Gains Calculator Examples

Capital Gains Calculator Example
Calculate capital gains tax for stocks purchased at $10,000 and sold at $15,000 after 2 years

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:

  1. Capital Gain = $15,000 - $10,000 = $5,000
  2. Holding period: 2 years = Long-term gain
  3. Income $50,000 falls in 15% bracket for long-term gains
  4. Capital Gains Tax = $5,000 × 15% = $750
  5. 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

Share This Calculator
Help others discover this useful tool

Suggested hashtags: #CapitalGains #Tax #Investment #Calculator

Related Calculators

Real Estate Capital Gains Tax Calculator
Calculate real estate capital gains tax with primary residence exclusion, depreciation recapture, and property sale tax implications.
Use Calculator
Real Estate Capital Gains Tax Calculator
Calculate real estate capital gains tax with primary residence exclusion, depreciation recapture, and property sale tax implications.
Use Calculator
Dividend Yield Calculator
Calculate dividend yield, income analysis, and evaluate dividend stock performance for income-focused investments.
Use Calculator
Roth Conversion Calculator
Calculate Roth IRA conversion costs, tax implications, and long-term benefits of converting traditional IRA to Roth.
Use Calculator
Rental ROI Calculator
Calculate rental property returns, cap rate, cash-on-cash return, and analyze real estate investment performance.
Use Calculator
Stock Average Down Calculator
Calculate average cost basis when buying more shares at different prices to lower your cost per share.
Use Calculator