$ $ FinanceToolbelt

Capital Gains Tax Calculator

Understand how much you'll owe in taxes after selling an asset like stocks, real estate, or other investments.

Advertisement

How Capital Gains Taxes Work

Capital gains tax is a tax on the profit that is made from the sale of a non-inventory asset that was purchased at a lower price. The most common capital gains are realized from the sale of stocks, bonds, precious metals, and property.

The calculation is straightforward but the rates vary significantly:
Capital Gain = Selling Price - (Purchase Price + Transaction Costs).

Short-term vs Long-term Capital Gains

In the United States, the length of time you hold an asset determines which tax rate applies:

  • Short-term: Assets held for 1 year or less. These gains are taxed as ordinary income, meaning they are added to your regular earnings and taxed at your marginal income tax bracket (up to 37%).
  • Long-term: Assets held for more than 1 year. These benefit from preferential tax rates of 0%, 15%, or 20%, depending on your total taxable income. This is one of the most powerful incentives for long-term investing.

Strategic Advice for Investors

  • The "Hold for a Year and a Day" Rule: Selling an asset at 364 days vs. 366 days can literally double your tax bill. Always verify your holding period before executing a large trade.
  • Tax-Loss Harvesting: You can use capital losses to offset capital gains. If you have a $5,000 gain in one stock but a $3,000 loss in another, you only pay tax on the $2,000 net gain.
  • Primary Residence Exclusion: If you sell your main home, you may be able to exclude up to $250,000 ($500,000 for married couples) of the gain from your income, provided you met the ownership and use tests.
  • Watch for the NIIT: High-income earners may be subject to an additional 3.8% Net Investment Income Tax (NIIT) on top of the standard capital gains rates.

Example Scenario: The Long-term Advantage

An investor in the 24% income tax bracket buys $10,000 of stock and sells it for $15,000.

  • Scenario A (Sold after 6 months): The $5,000 gain is taxed at 24%. Tax due: $1,200.
  • Scenario B (Sold after 14 months): The $5,000 gain is taxed at the long-term rate of 15%. Tax due: $750.

By waiting a few extra months, the investor saves $450 in taxes.

Capital Gains Frequently Asked Questions (FAQ)

What is "Cost Basis"?

Cost basis is the original value of an asset for tax purposes (usually the purchase price), adjusted for stock splits, dividends, and return of capital distributions. It also includes commissions and other fees paid during the purchase.

Do I pay capital gains tax if I haven't sold my investment?

No. You only owe capital gains tax when you "realize" the gain by selling the asset. This is known as a taxable event. Until you sell, your gains are "unrealized" or "on paper."

Can I offset regular income with capital losses?

Yes, but there is a limit. If your total capital losses exceed your total capital gains, you can use up to $3,000 of the excess loss to offset your ordinary income. Any remaining loss can be carried forward to future tax years.

User Agreement

By using this site, you agree that we have no legal obligations regarding the accuracy, completeness, or reliability of the calculators or information provided.

All tools are for educational and informational purposes only and do not constitute professional financial advice. Please consult with a qualified professional before making any financial decisions.