HomeCalculators › US Capital Gains Tax Calculator

US Capital Gains Tax Calculator

Holding an asset over a year cuts the tax rate sharply. Enter your gain to see the difference.

$
$
Expense Tracker Income Manager app icon
Stop calculating. Start tracking. Save this us capital gains tax calculator result as a real goal in Expense Tracker: Income Manager — budgets, EMIs & a 30-day cash forecast, 100% offline with zero ads.
Download Free

What is the US Capital Gains Tax?

US capital gains are taxed two ways. Short-term gains (assets held one year or less) are taxed as ordinary income, up to 37%. Long-term gains get preferential rates of 0%, 15% or 20% depending on total income.

High earners also pay the 3.8% Net Investment Income Tax above 200,000 single or 250,000 married. State tax is separate and can add up to 13% more.

Formula & worked example

Short term: gain taxed at your marginal ordinary rate
Long term: 0% / 15% / 20% by income band, plus 3.8% NIIT above thresholds

Worked example: a single filer with 95,000 of income and a 60,000 long-term gain pays 9,000 at 15%. The same gain held under a year would be taxed at ordinary rates — dramatically more. Holding just past the one-year mark is often the highest-return decision an investor can make.

How to use this us capital gains tax calculator

  1. Enter your capital gain — sale price minus cost basis.
  2. Add your other taxable income, which determines the long-term rate band.
  3. Set whether you held the asset more than a year.
  4. Compare the short-term and long-term rows in the table.

Smart tips

Frequently asked questions

What is the long-term capital gains rate?

0%, 15% or 20% depending on total taxable income, plus 3.8% Net Investment Income Tax for higher earners.

How long must I hold to get long-term treatment?

More than one year from the day after purchase to the sale date.

Can losses offset gains?

Yes. Losses offset gains fully, and up to 3,000 of net loss can offset ordinary income annually, with excess carried forward indefinitely.

Do I pay state tax on capital gains?

Most states tax them as ordinary income. A few, including Florida and Texas, have no state income tax.

Want the theory behind the numbers? Read our US tax guides on the Money Blog.

Related calculators

📊UK Capital Gains Tax Calculator

Track it, don’t just calculate it 📲

Expense Tracker: Income Manager puts budgets, EMIs, SIP goals and a 30-day cash forecast on your phone — 100% offline, no ads, no sign-up.

Get the Free App