Investment Taxes

Capital Gains Calculator

Calculate your tax liability on stocks, crypto, and real estate. See exactly how much you can save by holding long-term.

Stocks & Crypto
Short vs Long Term
NIIT Included
← Back to Calculators
Tax Tool

Capital Gains Tax Estimator

Calculate taxes based on 2025/2026 tax brackets.

Updated for 2026⚡ Instant Results

Asset Details

Stock, Crypto, or Real Estate

Tax Bracket Info

Your regular income determines your exact capital gains tax bracket.

Long-Term Advantage: Holding for over a year unlocks significantly lower capital gains rates (0%, 15%, or 20%).

Estimated Tax Owed

$2,250

Effective Tax Rate: 15.0%

Initial Investment
$10,000
Net Profit
$12,750
Taxes Paid
$2,250

Total Capital Gain

$15,000

Before Taxes

Net Profit

$12,750

In Your Pocket

All calculations run locally in your browser • No data stored • For estimation purposes only

Capital Gains Rules of Thumb

1 Year

The Magic Number

Hold longer to drop your rate

0, 15, 20%

Long-Term Rates

Massively lower than income tax

3.8%

NIIT Surtax

Applies to high earners

$3,000

Loss Deduction

Max net loss deducted against income

Understanding Investment Taxes

Stocks · Crypto · Real Estate

The moment you click "sell" on a profitable stock or crypto trade, you trigger a taxable event. Understanding the difference between short-term and long-term capital gains can literally save you thousands of dollars at tax time.

The "One Year" Rule

The IRS heavily rewards long-term investors. If you buy an asset and sell it in 365 days or less, any profit is considered a Short-Term Capital Gain. This is taxed identically to your normal salary from a job—at ordinary income tax rates, which can be as high as 37%.

If you hold that exact same asset for 366 days or more, it becomes a Long-Term Capital Gain. The tax brackets drop significantly to either 0%, 15%, or 20% (depending on your total income). For most middle-class Americans, the long-term capital gains tax rate is 15%.

  • Crypto Swaps: Trading Bitcoin for Ethereum is a taxable event, even if you never convert it to cash.
  • Real Estate: Selling a home has special exemptions if it was your primary residence for 2 of the last 5 years.

The Day Trading Trap

Many new day traders make thousands of dollars in the stock or crypto market, reinvest it, and then lose it all later in the year. If they don't hold back cash for taxes on those early profitable trades, they can end up owing massive tax bills to the IRS on money they no longer have. Always set aside ~30% of short-term trading profits for taxes!

Related Calculators You Might Find Useful

Explore more tools to calculate smarter and plan better

FAQ

Investment Tax Questions

What is the difference between Short-Term and Long-Term Capital Gains?
Short-term capital gains apply to assets held for one year or less and are taxed at your standard ordinary income tax rate (up to 37%). Long-term capital gains apply to assets held for more than one year and benefit from significantly lower tax rates (0%, 15%, or 20%).
Do I have to pay taxes on Crypto?
Yes. The IRS treats cryptocurrency as property for tax purposes. This means every time you sell, trade, or dispose of crypto at a profit, you owe capital gains tax. Exchanging one cryptocurrency for another (e.g., trading Bitcoin for Ethereum) is considered a taxable event.
What is the Net Investment Income Tax (NIIT)?
The NIIT is an additional 3.8% tax applied to investment income for high earners. It generally applies if your Modified Adjusted Gross Income (MAGI) exceeds $200,000 for single filers or $250,000 for married couples filing jointly.
Can I offset my capital gains with losses?
Yes! This strategy is called Tax-Loss Harvesting. You can use your capital losses to offset your capital gains. If your losses exceed your gains, you can use up to $3,000 of those losses to offset ordinary income, and carry the rest forward to future years.