Summary
Capital gains tax is the tax you may owe when you sell an investment for more than you paid for it. Whether you hold stocks, bonds, real estate, cryptocurrency, or precious metals, the profit from a sale can trigger a tax obligation that directly affects how much of your return you actually keep. The amount you owe depends on several factors: the size of your gain, how long you held the asset, your income level, any offsetting losses, and the type of account where the investment is held. Understanding how capital gains tax works is one of the most practical steps any investor can take toward making informed portfolio decisions.
Tax rules change; consult a qualified tax professional about your specific situation.
What Is Capital Gains Tax?
Capital gains tax is a tax levied on the profit you realize when you sell a capital asset for more than its adjusted cost basis. It applies to a wide range of assets, including stocks, bonds, mutual funds, real estate, collectibles, cryptocurrencies, and precious metals. According to IRS Topic No. 409: Capital Gains and Losses, you have a capital gain if you sell an asset for more than your adjusted basis, and you have a capital loss if you sell it for less.
The IRS treats capital gains as a form of income, but the tax rate you pay depends on the details of the transaction. Not every increase in value triggers a tax bill, though. The distinction between realized and unrealized gains is critical.
A realized gain occurs when you actually sell or dispose of an asset at a profit. An unrealized gain is simply the increase in an asset's value while you still own it. In most cases, tax is due only when you sell the asset, not while you hold it. This distinction is especially relevant for long-term investors who may hold crypto or precious metals for years without selling.
Here is a simple example:
- You buy an asset for $1,000.
- The asset rises in value to $1,500 while you hold it (unrealized gain of $500, not yet taxable).
- You sell the asset for $1,500 (realized gain of $500, potentially taxable).

When Do You Pay Capital Gains Tax on Investments?
Capital gains tax is triggered when you sell or dispose of a capital asset at a profit. Taxable events include selling stocks, ETFs, mutual funds, crypto, real estate, or other capital assets for more than you paid. In some cases, exchanging one asset for another can also create a taxable event.
Simply watching an investment rise in value does not create a realized gain. Your portfolio might show significant paper profits, but until you sell, there is generally no tax owed on those gains.
Do I Have to Pay Capital Gains Tax Immediately?
The timing of your tax obligation depends on the transaction, reporting rules, and your tax filing requirements. Capital gains from sales made during a given tax year are generally reported on your federal tax return for that year. Some taxpayers with significant gains may need to make estimated tax payments throughout the year to avoid penalties. The specifics vary by situation, so working with a tax professional can help clarify your obligations.
How Are Short-Term and Long-Term Capital Gains Taxed?
Not all capital gains are taxed equally. The rate you pay depends primarily on how long you held the asset before selling it and your taxable income. The holding period is the single most impactful variable in determining your capital gains tax rate.
Short-term capital gains apply to assets held for one year or less. These gains are taxed at ordinary income tax rates, which means they can be taxed at rates as high as 37% at the federal level for higher-income earners. This applies equally to stocks, crypto, and precious metals sold within a year of purchase.
Long-term capital gains apply to assets held for more than one year. These gains are generally eligible for preferential tax rates of 0%, 15%, or 20%, depending on your taxable income and filing status. According to the Tax Policy Center, short-term capital gains are taxed as ordinary income at rates up to 37%, while long-term gains are taxed at lower rates, up to 20%.
Capital Gains Tax Rates by Holding Period

High-income taxpayers may also owe an additional 3.8% Net Investment Income Tax (NIIT) on top of their capital gains rate. This surtax applies to individuals with modified adjusted gross income above certain thresholds ($200,000 for single filers, $250,000 for married filing jointly).
Certain asset types face unique rates as well. The IRS taxes gains on collectibles, including artwork and physical gold and silver held outside of a tax-advantaged account, at rates up to 28%. Primary residence sales may qualify for a federal exclusion of up to $250,000 for single filers or $500,000 for married couples filing jointly, provided ownership and use tests are met.
- Collectibles (art, coins, physical gold/silver outside IRAs): Up to 28%
- Primary residence: Up to $250K/$500K exclusion if qualified
- Qualified small business stock: May have partial exclusions under certain conditions
How Much Capital Gains Tax Will I Pay If I Sell My Assets?
The amount of capital gains tax you may owe after selling an asset, such as stocks, bonds, precious metals, real estate, or cryptocurrency, depends on several factors:
- Sale price
- Cost basis (what you originally paid, including fees and commissions)
- Holding period
- Filing status
- Taxable income
- Capital losses available to offset gains
- State taxes, where applicable
The core formula is straightforward:
Capital Gain = Sale Proceeds - Adjusted Cost Basis
Your cost basis is the starting point for calculating a capital gain. It typically includes the original purchase price plus any fees, commissions, or adjustments like dividend reinvestment. For a deeper explanation of how basis is determined, see IRS Publication 551: Basis of Assets. Brokerage firms also report cost basis information on Form 1099-B, which FINRA explains in its Cost Basis Basics guide.
Here is a simple example:
- You buy 100 shares of a stock for $5,000 and pay $50 in brokerage fees. Your adjusted cost basis is $5,050.
- You sell all 100 shares for $7,000.
- Your capital gain is $7,000 - $5,050 = $1,950.
- If you held the shares for more than one year, the $1,950 gain would generally be taxed at long-term rates. If you held them for one year or less, it would be taxed at your ordinary income rate.
Keeping accurate records of purchase dates, prices, and fees is essential for correct reporting.
How Does Capital Gains Tax Affect Investment Returns?
The return you see on a brokerage statement is your pre-tax return. What actually matters for building wealth over time is your after-tax return, which is the amount left after accounting for taxes on gains. Every time you sell an investment at a profit in a taxable account, a portion of that gain goes to taxes, reducing the amount available to reinvest.
Why After-Tax Returns Matter
Over time, taxes create a drag on compounding. If you sell and repurchase investments frequently, each taxable event chips away at your capital. This effect, sometimes called "tax drag," can meaningfully reduce the long-term growth of a portfolio compared to a scenario where gains compound without interruption.
For example, an investor who sells winning positions annually and pays capital gains tax each year will have less capital working for them than an investor who holds the same positions and defers those taxes. This is one reason why account type and holding period are such important considerations.
What Is the Difference Between Capital Gains Tax and Income Tax?
Ordinary income tax applies to wages, salaries, interest, and certain other types of income. Short-term capital gains are also taxed at ordinary income rates, which means they are effectively treated the same as your paycheck for tax purposes.
Long-term capital gains, however, receive preferential treatment. The rates of 0%, 15%, or 20% are generally lower than the ordinary income tax brackets that apply to wages and short-term gains. This distinction is one of the primary incentives for holding investments longer.
For a more detailed comparison of how these two tax types interact, see this explainer on capital gains vs. federal income tax.
How Do Capital Losses Work?
When you sell an investment for less than your cost basis, you realize a capital loss. Capital losses can be used to offset capital gains, reducing your overall tax liability. If your losses exceed your gains in a given year, you can use up to $3,000 of the remaining loss to offset ordinary income. Any unused losses beyond that can generally be carried forward to future tax years.
Tax-loss harvesting is a strategy where investors intentionally sell investments that have declined in value to realize losses, which can then offset gains from other positions. For more on the rules governing investment losses, see IRS Publication 550: Investment Income and Expenses.
There are important limitations. The wash-sale rule prevents investors from claiming a loss if they repurchase a substantially identical security within 30 days before or after the sale. Wash-sale rules currently apply to securities; the applicability to cryptocurrency may vary, and investors should consult a tax professional for guidance on their specific situation.
How Are Crypto Gains Taxed?
The IRS treats cryptocurrency as property, which means the same capital gains rules that apply to stocks and other investments also apply to crypto. Selling, swapping, or otherwise disposing of cryptocurrency at a profit can create a taxable event. Both short-term and long-term rates apply based on the holding period, just as with traditional assets.
Crypto tax reporting can be more complex than traditional securities because investors may have multiple wallets, exchanges, transfers, and transaction types. Each transaction may need to be tracked individually to determine cost basis and holding period. Digital assets can be highly volatile, and the tax implications of frequent transactions can add up quickly. For a comprehensive look at current rules, read about how crypto is taxed in the U.S..
Why Cost Basis Matters for Crypto
Accurately tracking your cost basis for every crypto transaction is essential. Your basis includes the purchase price plus any fees paid at the time of acquisition. When you sell or exchange crypto, your gain or loss is calculated by subtracting your adjusted basis from the proceeds. Given that many crypto investors make numerous transactions across different platforms, maintaining detailed records is critical for accurate tax reporting.
How Do Retirement Accounts Affect Capital Gains Tax?
Tax-advantaged retirement accounts can fundamentally change when and whether you owe capital gains tax. In a taxable investment account, every profitable sale can trigger a capital gains tax event. Retirement accounts work differently.
In a Traditional IRA, gains grow tax-deferred. You do not owe capital gains tax when you buy and sell assets inside the account. Instead, taxes are generally owed when you withdraw funds, and those withdrawals are taxed as ordinary income. In a Roth IRA, qualified withdrawals, including gains, may be completely tax-free, subject to IRS rules. To learn more about the potential crypto IRA tax benefits, explore how different account structures compare.
Some self-directed IRAs allow investors to buy and sell alternative assets like crypto and precious metals inside a retirement account, but tax rules and account requirements still apply. Understanding why opening a self-directed IRA may be worth considering is an important part of the research process.
Taxable Account vs. IRA

How Can Investors Manage Capital Gains Tax?
While capital gains tax is unavoidable in many situations, there are well-established approaches investors use to manage their tax exposure. Each strategy has trade-offs and limitations.
- Consider tax-advantaged accounts first. Investing through an IRA can defer or potentially eliminate capital gains tax on transactions made within the account.
- Understand your cost basis. Knowing exactly what you paid, including fees, is the foundation of accurate gain or loss calculations.
- Track holding periods. Holding an asset for more than one year before selling can significantly reduce the applicable tax rate.
- Offset gains with eligible losses. Tax-loss harvesting can reduce your taxable gains, subject to wash-sale rules and annual limits.
- Avoid unnecessary taxable events. Frequent transactions in taxable accounts can create recurring tax liabilities that erode returns over time.
- Work with a tax professional. Before making tax-driven investment decisions, consulting a qualified tax advisor can help you understand the rules that apply to your specific circumstances.
Frequently Asked Questions
What is capital gains tax in simple terms?
Capital gains tax is a tax on the profit you make when you sell an asset for more than you paid for it. It applies to stocks, bonds, real estate, crypto, precious metals, and other capital assets.
How much capital gains tax will I pay if I sell stock?
It depends on your gain amount, holding period, taxable income, filing status, available capital losses, and applicable federal or state rules. Short-term gains are taxed at ordinary income rates, while long-term gains are taxed at preferential rates.
What is the capital gains tax rate for 2026?
Rates depend on IRS thresholds, income, and filing status. Long-term rates are generally 0%, 15%, or 20%, while short-term rates match ordinary income brackets. Check current IRS guidance or consult a tax professional for the most up-to-date figures.
How can investors reduce or defer capital gains tax?
Common approaches include holding assets for more than one year to qualify for lower long-term rates, using eligible capital losses to offset gains, investing through tax-advantaged accounts like IRAs, and working with a qualified tax professional.
Do I pay capital gains tax if I do not sell?
Usually, unrealized gains are not taxed until a sale or taxable disposition occurs. Some exceptions and special rules may apply in certain situations.
How are capital gains taxed in an IRA?
Capital gains inside an IRA are generally treated differently than gains in a taxable account. Traditional IRAs may defer taxes until withdrawal, while Roth IRAs may allow qualified tax-free withdrawals.
Categories:
Disclaimer
This article is for informational purposes only and is not intended to constitute investment or tax advice in any way or constitute an offer to buy or sell any digital asset, cryptocurrency, or security or to participate in any investment strategy.
iTrustCapital is a fintech software platform for alternative assets. TrustCapital is not an exchange, funding portal, custodian, trust company, licensed broker, dealer, broker-dealer, investment advisor, investment manager, or adviser in the United States or elsewhere. iTrustCapital is not affiliated with and does not endorse any particular digital asset, precious metal or investment strategy.
Investing in any digital asset or cryptocurrency (including meme coins) carries significant risks due to their speculative and highly volatile nature. Past performance is not an indication of future results. No investment is completely risk-free, and every investment carries the potential for losing some or all of the principal amount invested. Digital assets and cryptocurrencies are not legal tender backed by the United States government, nor is it subject to Federal Deposit Insurance Corporation (“FDIC”) insurance or protections. Clients do not receive a choice of custody partner.
Investors assume the risk of all purchase and sale decisions. iTrustCapital makes no guarantee or representation regarding investors’ ability to profit from any transaction or the tax implications of any transaction. iTrustCapital does not provide legal, investment or tax advice. Conduct your own research and consult with a qualified legal, investment, or tax professional to assess your own risk tolerance prior to investing.
iTrustCapital makes no representation or warranty as to the accuracy or completeness of this information and does not have any liability for any representations (expressed or implied) or omissions from the information contained herein. iTrustCapital disclaims any and all liability to any party for any direct, indirect, implied, punitive, special, incidental or other consequential damages arising directly or indirectly from any use of this information, which is provided as is, without warranties.
© 2026 ITC2.0, Inc.
All rights reserved.