Tax & Paycheck Updated for Tax Year 2024 IRS Compliant

Capital Gains Tax Calculator

Determine your capital gains tax liability and net investment profit after taxes.

Advertisement
728 × 90 Leaderboard Ad

Asset Sale Details

$
$
$
Estimated Capital Gains Tax
$3,750
Total Net Gain: $25,000 | Rate: 15%
Capital Gain Profit $25,000
Net After-Tax Proceeds $36,250
Advertisement
728 × 90 Display Ad
Fact-Checked & Verified Reviewed by US Financial Analysis Team • Statutory Alignment: IRS / CFPB / Federal Reserve Standards • Updated for 2024–2025 Financial Year

Understanding the Capital Gains Tax Calculator

A capital gains tax calculator determines the federal and state tax liabilities triggered when you sell a capital asset—such as stocks, mutual funds, cryptocurrency, precious metals, or real estate—for a profit in the United States. The tax treatment depends heavily on the holding period of the asset: assets held for one year or less are classified as short-term, whereas assets held longer than one year qualify for favorable long-term capital gains tax rates.

Investors and real estate owners use this tool to optimize asset sales timing, calculate the benefit of tax-loss harvesting, and plan for potential Net Investment Income Tax (NIIT) surtaxes on high earners.

How to Use This Tool

  • Purchase Price (Cost Basis): Enter the total acquisition cost of the asset, including original purchase price, broker commissions, and reinvested dividends.
  • Selling Price: Input the gross proceeds received upon the sale of the asset, minus transaction fees.
  • Holding Duration: Specify whether the asset was owned for 1 year or less (Short-Term) or longer than 1 year (Long-Term).
  • Annual Taxable Income & Filing Status: Input your overall household taxable income to establish your capital gains tax bracket.
  • Outputted Results: The tool details your net capital gain, applicable marginal capital gains tax rate, Net Investment Income Tax (NIIT) if applicable, and total tax owed.

How the Calculation Works

The net taxable gain is calculated as: Capital Gain = Selling Price – Adjusted Cost Basis.

If held for 1 year or less (Short-Term), the gain is taxed as ordinary income at your regular federal income tax bracket (10% to 37%). If held for more than 1 year (Long-Term), gains are taxed at preferential rates: 0%, 15%, or 20% based on taxable income thresholds. Additionally, under the Affordable Care Act, high earners with Modified Adjusted Gross Income (MAGI) exceeding $200,000 (Single) or $250,000 (Married Filing Jointly) incur an additional 3.8% Net Investment Income Tax (NIIT) on investment gains.

Essential Terms to Know

  • Cost Basis: The original purchase price of an asset, adjusted for stock splits, reinvested dividends, and capital improvements in real estate.
  • Long-Term Capital Gains: Profits realized from the sale of an investment held for more than 365 days, taxed at statutory preferential rates of 0%, 15%, or 20%.
  • Tax-Loss Harvesting: The strategy of selling underperforming investments at a loss to offset realized capital gains and up to $3,000 of ordinary income per tax year.
  • Wash-Sale Rule: An IRS rule prohibiting investors from claiming a tax deduction on the sale of a security if they purchase a "substantially identical" security within 30 days before or after the sale.

2024–2025 Capital Gains Tax Rate Brackets

Rate Single Filers (Taxable Income) Married Filing Jointly Holding Period Required
0% Up to $47,025 Up to $94,050 More than 1 year (Long-Term)
15% $47,026 – $518,900 $94,051 – $583,750 More than 1 year (Long-Term)
20% Over $518,900 Over $583,750 More than 1 year (Long-Term)
10% – 37% (Ordinary Rate) Treated as standard W-2 wages Treated as standard W-2 wages 1 year or less (Short-Term)

Frequently Asked Questions

What are the long-term capital gains income brackets for 2024?

For 2024 Single filers: the 0% capital gains rate applies up to $47,025 of taxable income; the 15% rate applies from $47,026 to $518,900; and the 20% rate applies to taxable income exceeding $518,900. For Married Filing Jointly, the 0% bracket extends to $94,050, and the 20% bracket begins at $583,750.

Can capital losses offset ordinary employment income?

Yes. If your total capital losses exceed your capital gains in a tax year, you can use up to $3,000 of net capital losses to offset ordinary wages on Form 1040. Any excess net losses above $3,000 roll forward indefinitely to future tax years.

Is cryptocurrency taxed as capital gains in the US?

Yes. The IRS treats cryptocurrency and digital assets as property under IRS Notice 2014-21. Selling crypto for US dollars, trading one cryptocurrency for another, or using crypto to purchase goods triggers a taxable capital gain or loss event.