Capital Gains Tax Calculator 2026

Calculate short-term and long-term capital gains taxes for 2026. Enter your purchase price, sale price, and holding period. Free capital gains estimator.

How to Use This Capital Gains Tax

Enter your purchase price and sale price for the asset, specify the holding period (short-term if held less than 1 year, long-term if held over 1 year), select your filing status, and enter your annual taxable income.

Optionally add your state tax rate if your state taxes capital gains. The calculator will show your capital gain, federal and state taxes owed, and your net profit after tax. Try comparing short-term vs. long-term scenarios to see the significant tax savings from holding investments longer.

What Is Capital Gains Tax?

A capital gains tax calculator estimates the federal and state taxes you'll owe when you sell an investment (stock, mutual fund, real estate, cryptocurrency, etc.) for a profit. Capital gains taxes vary dramatically depending on how long you held the asset.

Understanding capital gains taxes helps you plan investment sales strategically, evaluate the true net returns on investments, and make informed decisions about rebalancing your portfolio. The tax difference between short-term and long-term gains can be substantial, making holding periods strategically important.

Formula & Methodology

Capital gains tax calculation depends on holding period:

Capital Gain = Sale Price − Cost Basis (Purchase Price)

Short-term Tax = Capital Gain × Ordinary Income Tax Rate (10% to 37%)

Long-term Tax = Capital Gain × LTCG Rate (0%, 15%, or 20%)

The LTCG rate is determined by your total taxable income and filing status. For 2026, single filers pay 0% on LTCG up to $47,025 of taxable income, 15% from $47,025 to $518,900, and 20% above $518,900.

Net Profit = Capital Gain − Federal Tax − State Tax (if applicable)

Practical Examples

Example 1 - Long-term Gain: You buy a stock for $10,000 and sell it for $15,000 after holding it for 2 years. Capital gain = $5,000. As a single filer with $75,000 taxable income, you're in the 15% LTCG bracket. Federal tax = $5,000 × 15% = $750. With a 5% state tax, state tax = $5,000 × 5% = $250. Total tax = $1,000. Net profit = $5,000 - $1,000 = $4,000.

Example 2 - Short-term Gain: Same $10,000 investment sold for $15,000, but held only 6 months. Same filer is in the 12% ordinary income bracket. Federal tax = $5,000 × 12% = $600. State tax = $250. Total tax = $850. Net profit = $5,000 - $850 = $4,150. Note: While short-term resulted in lower tax here, this is less typical than long-term gains having lower rates.

Frequently Asked Questions

Related Calculators

People Also Calculate