Free Capital Gains Tax Calculator (2026)

Vector illustration of income growth chart with arrow and euro coins against purple background

Our free capital gains tax calculator helps investors, traders, and home sellers estimate federal capital gains tax on the sale of stocks, cryptocurrency, real estate, mutual funds, and other capital assets for 2026. Capital gains tax depends on two key factors: how long you held the asset (short-term versus long-term) and your total taxable income for the year. Short-term gains on assets held one year or less are taxed at ordinary income rates. Long-term gains on assets held over one year benefit from preferential rates of 0%, 15%, or 20%. Use this free capital gains tax calculator to see your exact tax owed, your effective rate, and your net proceeds after tax.

Free Capital Gains Tax Calculator

Enter your sale details and other income to see your 2026 federal capital gains tax, effective rate, and net proceeds.

📈 Asset Sale Details





đŸ’ŧ Other 2026 Income




How This Free Capital Gains Tax Calculator Works

This free capital gains tax calculator estimates federal tax on capital asset sales using 2026 long-term capital gains brackets and ordinary income rates for short-term gains. Here is how to use it:

Step 1 — Enter Sale Details

Enter your sale price and cost basis. Cost basis is what you originally paid for the asset, including commissions, plus any qualifying improvements (for real estate). Select your holding period — long-term if held over one year, short-term if held one year or less. Long-term gains receive significantly preferential tax rates compared to short-term gains.

Step 2 — Choose Asset Type

Select the type of asset you sold. Most assets follow the same federal capital gains rules, but primary residences benefit from the Section 121 exclusion of up to $250,000 single or $500,000 married filing jointly if you meet the ownership and use tests. The calculator highlights this exclusion when you select primary residence.

Step 3 — Enter Your Other 2026 Income

Enter your total other taxable income for 2026, your filing status, and any pre-tax deductions. Your total income determines which long-term capital gains bracket applies (0%, 15%, or 20%) and whether you owe the 3.8% Net Investment Income Tax (NIIT). For state capital gains tax, enter your state rate — many states tax capital gains as ordinary income.

Frequently Asked Questions

What is the difference between short-term and long-term capital gains?

Short-term capital gains apply to assets held one year or less and are taxed at your ordinary federal income tax rate (10% to 37%). Long-term capital gains apply to assets held more than one year and are taxed at preferential rates of 0%, 15%, or 20% depending on your total taxable income. The difference can be massive — a $50,000 gain in the 24% bracket would owe $12,000 if short-term but only $7,500 (15%) if long-term. Holding investments for over one year is one of the most powerful tax strategies available to individual investors.

What are the 2026 long-term capital gains tax rates?

For 2026, long-term capital gains rates are: 0% for single filers with taxable income up to $48,350 (or $96,700 married filing jointly); 15% for income between those thresholds and $533,400 single or $600,050 married filing jointly; and 20% for income above those upper thresholds. The 0% bracket means many lower-income and retired investors pay no federal tax on long-term capital gains.

How is capital gains tax calculated on a home sale?

For a primary residence, the Section 121 exclusion lets you exclude up to $250,000 of gain (single) or $500,000 of gain (married filing jointly) if you owned and used the home as your primary residence for at least 2 of the last 5 years. Only the gain above this exclusion is taxable. For investment real estate, the full gain is taxable but you may also owe depreciation recapture (taxed at up to 25%) on any depreciation deductions you took during ownership. This calculator shows the basic capital gains calculation — for complex real estate transactions, consult a tax professional.

Do I owe capital gains tax on cryptocurrency?

Yes. The IRS treats cryptocurrency as property for tax purposes, meaning every sale, trade, or use of crypto is a taxable event subject to capital gains tax. If you held the crypto for over a year you qualify for long-term rates; otherwise it is short-term and taxed at ordinary income rates. This applies to Bitcoin, Ethereum, and all other cryptocurrencies. Even crypto-to-crypto trades (like Bitcoin for Ethereum) trigger capital gains tax on any appreciation.

What is the Net Investment Income Tax (NIIT)?

The Net Investment Income Tax is an additional 3.8% federal tax on investment income (including capital gains, dividends, and interest) for high-income taxpayers. It applies when modified adjusted gross income exceeds $200,000 single or $250,000 married filing jointly. The 3.8% NIIT stacks on top of regular capital gains tax — meaning high-income investors can pay an effective federal capital gains rate of up to 23.8%. This calculator automatically applies NIIT when your income exceeds the threshold.

Need More Free Pay Tools?

Understanding Capital Gains Tax in 2026

The Power of Long-Term Holding

The federal tax code rewards long-term investment with dramatically lower tax rates than short-term trading. A taxpayer in the 24% federal income tax bracket who realizes a $50,000 gain pays $12,000 in tax if the asset was held one year or less, but only $7,500 if held over one year — a savings of $4,500 simply by holding for one extra day past the one-year mark. For high-income investors in the 37% bracket, the savings are even more substantial: $18,500 in short-term tax versus $10,000 in long-term tax on the same $50,000 gain. This preferential treatment is one of the strongest incentives in the entire tax code and is the primary reason most personal finance experts recommend buy-and-hold investing over frequent trading. The IRS provides comprehensive guidance on capital gains taxation in IRS Topic 409 — Capital Gains and Losses.

Tax Loss Harvesting and Other Capital Gains Strategies

Beyond simply holding investments long-term, several strategies can further reduce capital gains tax liability. Tax loss harvesting involves selling losing investments to offset gains — capital losses fully offset capital gains dollar for dollar, and excess losses up to $3,000 per year can offset ordinary income. Asset location involves placing high-tax investments in tax-advantaged accounts (IRAs, 401ks) and tax-efficient investments in taxable accounts. Charitable giving of appreciated assets lets you donate stock or other assets directly to charity, avoiding capital gains tax entirely while claiming a deduction for the full market value. Step-up in basis at death means heirs inherit assets at their date-of-death value, eliminating all built-up capital gains. For independent guidance on capital gains tax planning and investment tax strategy, the SEC Investor.gov capital gains resource is a free and reliable reference.

Scroll to Top