100% Client-Side Privacy: Zero files or data uploaded.
100% Private Browser Execution

US Capital Gains Tax Calculator (Short-Term vs Long-Term)

100% FreeNo Sign-UpNo Upload — Runs In Your Browser

Calculate federal capital gains taxes on stocks, crypto, and real estate with 0%, 15%, 20% brackets and 3.8% NIIT surtax.

Quick Answer

This US capital gains tax calculator estimates the federal tax on profit from selling assets such as shares, crypto, or property. Enter your purchase and sale prices, holding period, and income, and it separates short-term from long-term gains and applies the matching rates. No sign-up is needed to use it.

Capital Asset Gains

Federal Capital Gains Liability

Federal Capital Gains Tax $9,750.00
Net Proceeds Retained $55,250.00
Federal Effective Rate 15.00%

IRS Federal Capital Gains Brackets:

  • Long-Term (0%): Taxable income up to $49,450 (Single) / $98,900 (Joint).
  • Long-Term (15%): Taxable income up to $545,500 (Single) / $613,700 (Joint).
  • Long-Term (20% + 3.8% NIIT): Taxable income exceeding highest threshold.
  • Short-Term: Taxed identically to regular W-2 earned income (10% - 37%).
Holding Advantage: Holding assets for 366+ days saves up to 17% in federal taxes compared to short-term trading.

How to Use US Capital Gains Tax Calculator (Short-Term vs Long-Term)

Follow these 3 simple steps to process your files securely in seconds.

1

Enter Capital Gain

Input total profit from the sale of investments or real estate.

2

Select Holding Period

Choose Long-Term (> 1 year) or Short-Term (≤ 1 year).

3

Select Tax Filing Status

Pick your income bracket to apply 0%, 15%, 20%, or ordinary income rates.

Why Choose Toolenix Client-Side Tools?

Engineered for US & UK professionals who value maximum data privacy, speed, and zero cloud footprints.

0%, 15%, 20% Long-Term Brackets

Accurately models IRS capital gains thresholds.

3.8% NIIT Surtax Support

Includes Net Investment Income Tax for high-income earners.

Holding Period Comparison

Demonstrates the tax benefits of holding investments past 1 year.

100% Private Client-Side

Financial gain details remain strictly on your device.

Expert Financial & Statutory Guide

In-Depth Guide to US Capital Gains Tax Calculator (Short-Term vs Long-Term)

Capital gains tax is charged on the profit from selling an asset — shares, property, a business — and the rate depends on how long you held it. Hold it for a year or less and the gain is taxed as ordinary income; hold it longer and the preferential long-term rates apply. This calculator works out the tax on a long-term gain for 2026.

The 2026 long-term thresholds

  • 0%: taxable income up to $49,450 single, $98,900 married filing jointly.
  • 15%: up to $545,500 single, $613,700 married filing jointly.
  • 20%: above those figures.

The thresholds apply to taxable income, not to the gain alone: a $40,000 gain on top of $30,000 of other income sits partly in the 0% band and partly in the 15% band. Short-term gains ignore all of this — they are taxed at your ordinary marginal rate, which is why holding an asset past the one-year mark can be worth thousands.

The 3.8% surcharge on top

On top of the capital gains rate, the Net Investment Income Tax adds 3.8% on investment income — including capital gains — once modified adjusted gross income passes $200,000 single or $250,000 married filing jointly. A higher-rate taxpayer with a large gain can therefore pay 23.8% rather than 20%. The surcharge is not indexed to inflation, so more people cross it every year.

Losses, and the $3,000 rule

Capital losses offset capital gains dollar for dollar, and up to $3,000 of net loss a year can be deducted against ordinary income, with the rest carried forward. That is the whole logic of tax-loss harvesting: realise a loss in a down year to shelter a gain. But the wash-sale rule blocks the obvious trick — sell a stock for a loss and buy it back within 30 days, and the loss is disallowed.

Long-term rates only start after a year of holding, the 0% band ends at $49,450 of taxable income for a single filer, and losses offset gains before the $3,000 annual deduction.

Frequently Asked Questions

Everything you need to know about using this free online tool.

What is the difference between short-term and long-term capital gains in the US?
Short-term capital gains apply to assets held for one year or less and are taxed at ordinary income rates (10% to 37%). Long-term gains apply to assets held for more than one year and receive preferential tax rates (0%, 15%, or 20%).
What is the Net Investment Income Tax (NIIT)?
NIIT is an additional 3.8% Medicare surtax on investment income for individuals with modified AGI above $200,000 (Single) or $250,000 (Married Filing Jointly).
Can capital losses offset capital gains in the US?
Yes. Capital losses offset capital gains dollar-for-dollar. If net losses exceed gains, you can deduct up to $3,000 against ordinary income per year and carry forward the rest.
Is there a capital gains exclusion on selling a primary home?
Yes. Section 121 allows single homeowners to exclude up to $250,000 (and married couples up to $500,000) of capital gain on their primary residence if they lived in it for 2 of the past 5 years.
Are cryptocurrency trades subject to capital gains tax?
Yes. The IRS treats crypto as property. Selling, trading, or spending crypto triggers a taxable capital gain or loss.
How is capital gains tax calculated in the US?
Subtract what you paid for the asset, including fees, from what you sold it for; the difference is your gain. Assets held over a year are taxed at lower long-term rates, while shorter holdings are taxed at your ordinary income rates.
What is the current capital gains tax rate?
For long-term gains, the federal rates are 0%, 15%, or 20%, depending on your taxable income, with most taxpayers paying 15%. Short-term gains are taxed at your normal income tax rates, which are higher for most people.
Are short-term capital gains taxed as ordinary income?
Yes. Short-term gains from assets held one year or less are taxed at your marginal ordinary income rate, from 10% to 37%. Long-term gains are taxed at the lower 0%, 15% or 20% rates instead.
What income counts for the 0%, 15% and 20% capital gains rates in 2026?
Taxable income, not the gain alone: 0% up to $49,450 single or $98,900 married filing jointly, 15% up to $545,500 single or $613,700 married filing jointly, and 20% above. A gain that straddles a threshold is taxed partly at each rate.