Capital gains tax is the federal tax you pay on the profit when you sell something for more than it cost you. Stocks, mutual funds, real estate, cryptocurrency, art and even a gold coin can all trigger it. The capital gains tax rate you pay depends on two things: how long you owned the asset and how much taxable income you have that year.
Many people only learn how a capital gains tax bill works after the sale, when the number is already locked in. This guide to capital gains tax walks through the rules before you sell. You will see the 2026 income thresholds, worked examples with the math shown, and a checklist you can run through before you click “sell.”
This article is general education, not financial, tax or legal advice. Rules change and personal situations differ, so confirm details with the IRS or a qualified tax professional.
Table of Contents
What capital gains tax is and how it works
The basic idea behind a capital gains tax
A capital asset is almost anything you own for personal use or investment. Your house, your car, your brokerage shares and your crypto all count. When you sell one for more than your cost, the difference is a capital gain. A capital gains tax applies to that difference, not to the full sale price.
The formula behind capital gains tax is short: sale price minus cost basis equals gain. Cost basis is roughly what you paid, plus certain costs of buying and improving the asset. If you sell for less than your basis, you have a capital loss instead, and that loss can help you elsewhere on your return.
Realized versus unrealized gains
A gain is taxed only when you “realize” it by selling or otherwise disposing of the asset. If your shares double in value and you keep holding them, you have an unrealized gain. That paper profit is not taxed this year. This is why a capital gains tax is sometimes described as a tax you can often time, at least in part.
There are a few events that surprise people. Selling one fund to buy another is a sale. Spending cryptocurrency on a purchase is a sale. A mutual fund can also hand you a taxable gain distribution even if you never sold a share yourself.
Where capital gains tax fits in your return
Capital gains tax is one part of your total income picture. They sit alongside wages, interest and business income on Form 1040. If you are new to how those pieces fit together, the tax basics guide gives a plain-English overview of the whole return. Gains from selling investments are reported on Form 8949 and Schedule D, which feed into your main return.
Short-term vs. long-term capital gains tax
The one-year line
The most important rule in this area is the holding period. If you owned the asset for one year or less, the gain is short-term. If you owned it for more than one year, the gain is long-term. The IRS counts from the day after you acquired the asset through the day you sold it, so a sale exactly one year later is still short-term.
Gifted and inherited property, and a few other categories, have special holding-period rules. The IRS refers readers to Publication 544 for those exceptions, so look there if you received an asset from someone else.
How each type is taxed
Short-term capital gains tax follows ordinary income rates: the gain is added to your other income and taxed at those rates, which range from 10% to 37% in 2026. Long-term capital gains tax rates are lower: 0%, 15% or 20%, with a few special categories covered later. That gap is the reason a long-term capital gains tax rate is so valuable to investors who can wait.
| Feature | Short-term gain | Long-term gain |
|---|---|---|
| Holding period | One year or less | More than one year |
| Federal rate | Ordinary rates, 10% to 37% | 0%, 15% or 20% |
| Stacks on top of | Your other income | Your ordinary income |
| Can offset with | Short-term losses first | Long-term losses first |
| Best for | Active trading, forced sales | Buy-and-hold investing |
A simple illustration of the difference
Example: Maya is single and earns $70,000 in wages in 2026. After the $16,100 standard deduction, her ordinary taxable income is $53,900 (70,000 minus 16,100). She sells shares for a $10,000 gain.
If the gain is short-term, it is added to her income and taxed at her bracket. Her taxable income becomes $63,900, which sits in the 22% bracket, so the tax on the gain is $2,200 (10,000 times 22%). If the gain is long-term, her $53,900 of ordinary income already sits above the $49,450 zero-rate line, so the whole gain is taxed at 15%: $1,500. Waiting past one year saves her $700. These numbers are an illustration, not a forecast.
2026 capital gains tax brackets and thresholds
The 0%, 15% and 20% income lines
The long-term capital gains tax rate depends on your taxable income, which is your income after deductions, not your gross pay. The IRS publishes new dollar lines every year for inflation. The 2026 amounts come from Revenue Procedure 2025-32 and are shown below. Each row shows the top of the 0% zone and the top of the 15% zone.
| Filing status (2026) | 0% up to | 15% up to | 20% above |
|---|---|---|---|
| Single | $49,450 | $545,500 | $545,500 |
| Married filing jointly | $98,900 | $613,700 | $613,700 |
| Head of household | $66,200 | $579,600 | $579,600 |
| Married filing separately | $49,450 | $306,850 | $306,850 |
These figures apply to income earned in 2026, with the return filed in early 2027. The IRS pages that describe the rules are available at IRS Topic 409 on capital gains and losses. That page may still show prior-year amounts until it is refreshed, so check the tax year before relying on a number.
The gains stack on top of your other income
Here is a point that trips people up. The thresholds are not applied to the gain alone. Your ordinary taxable income fills the bottom of the stack first, and your long-term gains are layered on top. Only the part of the gain that lands inside each zone gets that zone’s rate.
That means a single filer can have a gain that is partly taxed at 0% and partly at 15%. The year you sell matters too, because a big sale can push you into a higher zone for that year only.
Short-term gains use ordinary brackets
Short-term capital gains tax does not use the table above. They use the regular brackets. For a single filer in 2026, the IRS lists the rates as 10% up to $12,400, 12% above that, 22% above $50,400, 24% above $105,700, 32% above $201,775, 35% above $256,225 and 37% above $640,600 of taxable income. Married couples filing jointly have thresholds that are about double.
For a refresher on how brackets work and why only the slice of income in each bracket gets that rate, see what tax brackets are.
The 0% long-term rate and how to use it
Who can pay no federal capital gains tax
If your taxable income is low enough, some or all of your long-term gain faces no federal capital gains tax at all. For 2026 that means taxable income up to $49,450 for single filers and $98,900 for joint filers, counting the gain itself. Retirees, people between jobs and students with investments sometimes land in this zone.
The 0% capital gains tax rate is a federal rule only. Your state may still tax the gain, and each state sets its own rules, so check your state revenue department before assuming the whole sale is tax-free.
Worked example of a 0% and 15% split
Example: Jordan is single, earns $40,000 in wages in 2026 and takes the standard deduction. Ordinary taxable income is $23,900 (40,000 minus 16,100). Jordan sells shares held for three years and realizes a $30,000 long-term gain.
The 0% zone runs to $49,450, so room left at 0% is $25,550 (49,450 minus 23,900). The first $25,550 of the gain is taxed at 0%. The remaining $4,450 (30,000 minus 25,550) is taxed at 15%, which is $667.50. Total federal capital gains tax on a $30,000 gain: $667.50. All numbers here are hypothetical.
Gain harvesting
Some investors in the 0% zone deliberately sell a winner and buy it back right away. This is called gain harvesting. It resets the cost basis higher at no federal tax cost, which can reduce the tax on a later sale. The wash sale rule that blocks loss deductions does not stop you from locking in a gain.
The trade-off is that extra gain raises your taxable income and can affect other things, such as health insurance subsidies or state taxes. Run the numbers on your full return before doing it.
The 3.8% net investment income tax
How the surtax works
Beyond the regular capital gains tax, higher earners owe an extra 3.8% on investment income called the net investment income tax, or NIIT. You pay it on the smaller of two amounts: your net investment income, or the amount your modified adjusted gross income (MAGI) exceeds a threshold. The IRS lists the thresholds as $200,000 for single and head of household filers, $250,000 for married couples filing jointly and $125,000 for married filing separately.
These NIIT thresholds are set by statute and are not adjusted for inflation each year, so more taxpayers cross them over time. Details are on the IRS net investment income tax page.
Worked example with the surtax
Example: Priya is single with a MAGI of $260,000 in 2026. That includes a $40,000 long-term gain. Her excess over the $200,000 threshold is $60,000 (260,000 minus 200,000). Her net investment income is $40,000. The NIIT applies to the smaller number, so it is $1,520 (40,000 times 3.8%).
Her taxable income is about $243,900 after the standard deduction, well under $545,500, so the gain is taxed at 15%: $6,000. Total tax on the gain is $7,520 (6,000 plus 1,520), or 18.8% of the gain. This is a hypothetical case with simplified assumptions.
The top combined rate
A taxpayer in the 20% zone who also owes the NIIT faces a combined federal capital gains tax rate of 23.8% on a long-term gain. On a $100,000 gain, that is $23,800. Short-term gains for the same person can face a top ordinary rate of 37% plus 3.8%, which is 40.8%.
Special rates: collectibles, real estate and small business stock
Collectibles tax at up to 28%
Not every long-term gain gets the standard capital gains tax schedule of 0%, 15% and 20%. The IRS says net gains from collectibles, such as coins and art, are taxed at a maximum of 28%. The word “maximum” matters. If your ordinary bracket is lower than 28%, you pay your ordinary bracket instead.
Example: Sam sells a gold coin held for six years for a $3,000 gain. In the 24% bracket, the tax is $720 (3,000 times 24%). A person in the 37% bracket would pay the 28% cap: $840. At a 12% bracket the tax is $360. These are illustrations only.
Real estate depreciation recapture
Rental property owners face another special rule. The part of a gain from selling real property that comes from past depreciation, called unrecaptured section 1250 gain, is taxed at a maximum of 25%. Rental real estate is a deep topic of its own. If you are comparing ways to get started, see real estate investing apps for beginners and then talk to a tax professional before you sell a rental.
Qualified small business stock
The IRS also describes a special treatment for qualified small business stock under section 1202. The taxable part of that gain is taxed at a maximum of 28%. Many rules decide whether stock qualifies, so this is a case where professional advice is worth the fee.
| Asset type | Typical federal treatment |
|---|---|
| Stocks, ETFs, mutual funds held over 1 year | 0%, 15% or 20% |
| Any asset held 1 year or less | Ordinary income rates |
| Collectibles (coins, art) | Up to 28% maximum |
| Depreciation on real property | Up to 25% maximum |
| Qualified small business stock (taxable part) | Up to 28% maximum |
| Main home | Excluded up to $250,000 or $500,000 |
Capital gains tax on selling your home
The home sale exclusion and capital gains tax
Selling a home can trigger capital gains tax, but most sellers owe nothing. The IRS allows you to exclude up to $250,000 of gain on your main home, or up to $500,000 if you file a joint return and meet the requirements. The exclusion is a feature of the tax code, not a loophole, and it applies to your gain, not the sale price.
To qualify, you must have owned the home for at least 24 months and used it as your residence for at least 24 months within the five years before the sale. The two periods do not have to be the same 24 months. Generally, you also cannot claim the exclusion if you excluded gain on another home sold during the two years before this sale.
How to calculate the gain on a home
Your gain is the selling price, minus selling costs such as agent commissions, minus your adjusted basis. Adjusted basis is the purchase price plus the cost of major improvements, like a new roof or an addition. Routine repairs and painting usually do not count. Keep closing statements and receipts. They are your proof.
Example: A couple bought a house for $300,000 and added $40,000 of improvements, giving an adjusted basis of $340,000. They sell for $700,000 and pay $42,000 in selling costs (6%). The gain is $318,000 (700,000 minus 42,000 minus 340,000). As joint filers they exclude up to $500,000, so the taxable gain is $0.
When the exclusion does not cover everything
Now suppose a single owner has the same numbers. The exclusion is $250,000, leaving a taxable gain of $68,000 (318,000 minus 250,000). If that gain falls in the 15% zone, the tax would be $10,200. These figures are hypothetical.
If you must report the sale, use Form 8949 and Schedule D. You must also report it if you receive Form 1099-S, even when the gain is fully excluded. Buyers thinking about the other side of this transaction can start with the first-time home buyer guide, and the rent vs. buy comparison shows how future appreciation fits into the decision.
Cost basis: the number that sets your gain
What counts in your basis
Cost basis is the starting point for every gain calculation. For stock, it is generally the purchase price plus any commissions. If you reinvest dividends to buy more shares, each reinvestment is a new purchase with its own basis. Forgetting this is one of the most common ways people overpay on capital gains tax, because they report too small a basis and too large a gain.
Brokerages report basis to the IRS on Form 1099-B for most shares bought in recent years. Check the figures against your own records, especially for older shares, transferred accounts and anything bought outside a brokerage.
Gifts and inheritances
Basis works differently when you did not buy the asset. For inherited property, the IRS says your basis is generally the property’s fair market value on the date of the person’s death. This is often called a stepped-up basis, and it can erase years of gains.
For a gift, your basis for figuring gain is generally the donor’s adjusted basis. If the gift was worth less than the donor’s basis when you received it, a different basis applies when you sell at a loss. The IRS explains both rules in Publication 551. If estate matters are on your mind, the page on estate planning basics is a useful companion.
Choosing which shares to sell
If you bought the same fund at different prices, which shares you sell changes the gain. Many brokerages default to the oldest shares first (FIFO) but let you pick specific lots. Say Taylor owns three lots of 10 shares, bought at $100, $120 and $150 per share, and sells 15 shares at $160 each. Proceeds are $2,400.
Selling the oldest 15 shares has a basis of $1,600 (10 times $100 plus 5 times $120), for a gain of $800. Choosing the highest-cost shares first has a basis of $2,100 (10 times $150 plus 5 times $120), for a gain of $300. That is $500 less gain on the same sale. Assume all lots are past one year. Confirm how your broker handles lot selection before you place the order.
| Lot method | Shares used | Basis | Gain on $2,400 proceeds |
|---|---|---|---|
| Oldest first (FIFO) | 10 at $100, 5 at $120 | $1,600 | $800 |
| Highest cost first | 10 at $150, 5 at $120 | $2,100 | $300 |
Capital losses and the $3,000 limit
How losses offset gains
A loss on one investment can reduce the capital gains tax you owe on another sale. The usual order is to net short-term gains against short-term losses and long-term gains against long-term losses. Then the two results are netted against each other. Only the final net number is taxed.
Example: In one year, Alex has a $5,000 short-term gain, an $8,000 short-term loss, a $12,000 long-term gain and a $2,000 long-term loss. The short-term group nets to a $3,000 loss (5,000 minus 8,000). The long-term group nets to a $10,000 gain (12,000 minus 2,000). Netting them leaves a $7,000 long-term gain (10,000 minus 3,000), which is taxed at the long-term rate. The loss shielded $3,000 of gain.
When losses beat gains
If your total losses exceed your total gains, the IRS lets you deduct up to $3,000 of the excess against other income, such as wages. The limit is $1,500 if you are married filing separately. Anything above the limit carries forward to later years, with no expiration date.
Example: Casey has a $2,000 short-term gain, a $1,000 long-term gain and a $14,000 long-term loss. The net result is an $11,000 loss (2,000 plus 1,000 minus 14,000). Casey deducts $3,000 this year and carries $8,000 forward. Next year, that $8,000 can offset new gains or give another $3,000 deduction.
Harvesting losses on purpose
Selling a losing investment to offset gains elsewhere is called tax-loss harvesting. It can turn a bad year in the market into a smaller tax bill. It only works in taxable accounts, because losses inside an IRA or 401(k) are not deductible. For a deeper walk-through of the strategy, read what tax-loss harvesting is.
The wash sale rule
What triggers a wash sale
The wash sale rule stops you from selling at a loss only to buy the same thing right back. The SEC’s investor education site explains that a wash sale occurs when you sell a security at a loss and, within 30 days before or after the sale, you buy substantially identical securities or acquire an option or contract to buy them. The rule bars you from deducting that loss.
The window is 61 days in total: 30 days before the sale, the day of the sale and 30 days after. Buying the replacement in a different account you own can still count. Review all your accounts, including reinvested dividends, before you harvest a loss.
What happens to a disallowed loss
A disallowed loss does not always mean a permanent increase in your capital gains tax. Under the rules in IRS Publication 550, the nondeductible loss generally gets added to the basis of the replacement shares, so you recover it when you later sell them. The deduction is delayed, not erased.
Example: Riley buys 100 shares for $5,000 and sells at $42 each for $4,200, a loss of $800. Ten days later Riley buys 100 shares for $4,300. The $800 loss is disallowed. The new basis becomes $5,100 (4,300 plus 800), so the loss shows up when those shares are sold.
How to avoid the rule
Waiting 31 days before buying back is the cleanest approach. Another option is to buy a similar but not substantially identical investment, such as a fund that tracks a different index. What counts as “substantially identical” can be a judgment call, so lean toward caution. This is also a good moment to review the basics of what an ETF is, since funds are common swap candidates.
Tax-advantaged accounts and capital gains tax
Why retirement accounts change the picture
Inside a 401(k), traditional IRA or Roth IRA, you can sell investments without triggering capital gains tax in that account. Gains grow tax-deferred in traditional accounts and are taxed as ordinary income when you withdraw. In a Roth account, qualified withdrawals can be tax-free. That is a major reason many people fill these accounts first.
The trade-off is flexibility. Withdrawals before retirement age can bring taxes and penalties. A taxable brokerage account has no such restrictions, but you pay a capital gains tax when you sell at a profit. See the Roth IRA vs. traditional IRA comparison for the differences.
Other accounts worth knowing
Health savings accounts and 529 college plans also shelter investment growth when used for qualified expenses. Learn how they work in what a health savings account is and what a 529 plan is. Contribution limits change each year. The 2026 401(k) and IRA contribution limits guide lists the current caps.
| Account | Tax when you sell inside | Tax on withdrawal |
|---|---|---|
| Taxable brokerage | Capital gains tax applies | None extra (tax paid at sale) |
| Traditional 401(k) or IRA | None | Ordinary income rates |
| Roth 401(k) or Roth IRA | None | Generally none if qualified |
| HSA | None | Tax-free for qualified medical costs |
| 529 plan | None | Tax-free for qualified education costs |
Asset location
Some investors place tax-heavy investments inside sheltered accounts and tax-friendly ones in taxable accounts. For example, a fund that pays a lot of short-term gains may fit better in an IRA. A broad index fund held for years may be fine in a taxable account. This is a planning idea, not a rule, and the right mix depends on your situation. Index funds are covered in how to invest in index funds.
Ways to reduce your capital gains tax bill legally
Hold for more than a year to cut capital gains tax
The simplest way to lower capital gains tax is patience. If you are close to the one-year mark, checking the exact purchase date before you sell can save real money. In Maya’s example above, waiting turned a $2,200 tax bill into $1,500.
Time sales across tax years
You control when you realize a gain. If you expect lower income next year, such as during a sabbatical or the early years of retirement, pushing a sale into that year may bring a lower rate. If this year has a big loss, you might sell a winner to use it. A Roth conversion also adds income, so coordinate it with large sales.
Give appreciated shares instead of cash
Giving appreciated shares to charity, rather than selling them and donating cash, is a strategy some donors use to avoid realizing the gain. Rules and deduction limits apply, so discuss it with a tax professional first.
Choose investments with tax awareness
For tax-aware investors, broad index funds and ETFs tend to trade less than actively managed funds, so they often distribute fewer taxable gains. The article on index funds vs. ETFs explains the structural differences. Fewer trades inside a fund means fewer surprises at tax time.
Keep good records
Save trade confirmations, annual 1099-B forms, reinvestment records and improvement receipts. If your records are weak, you may struggle to prove your basis, which can leave more of the sale price exposed to tax. Digital records are fine as long as you can find them years later.
Capital gains tax on crypto, mutual funds and other assets
Cryptocurrency and capital gains tax
The IRS treats virtual currency as property, so the same capital gains tax rules apply when you sell or spend it. Selling for dollars, swapping one coin for another and paying for goods can each be taxable events. Holding period and cost basis matter just as they do for stocks. Keep a log of every transaction.
Mutual funds, ETFs and capital gains tax
When you sell fund shares, you calculate gain the same way as for any stock. Mutual funds can also distribute capital gains to shareholders, and those distributions are taxable in a taxable account even if you reinvest them. They are reported on Form 1099-DIV.
Dividends and capital gains tax rates
Dividends sit next to capital gains tax on your return, and the way they are taxed depends on whether they are qualified or ordinary. Your 1099-DIV shows which is which. Dividend investing has its own tax angles, which are covered in what dividend stocks are.
Installment sales
If you sell property and receive payments over several years, the installment method may spread the gain across those years. The IRS says this method is not allowed for sales at a loss or for stocks and securities traded on an established market. Depreciation recapture must be reported in the year of sale. Use Form 6252.
How to report gains and losses on your return
The forms involved
Each sale is listed on Form 8949, and totals flow to Schedule D, which then flows to Form 1040. Your broker sends Form 1099-B with the sale details. Most tax software imports these forms directly. If you file on your own, the step-by-step guide to filing with a W-2 and a 1099 shows where each form fits.
Estimated payments on a big capital gains tax bill
Selling a large position can create a capital gains tax bill that your paycheck withholding does not cover. The U.S. tax system is pay-as-you-go, so you may owe estimated tax payments during the year, or you might raise your withholding. Self-employed readers should note the quarterly schedule in how to pay taxes as a freelancer.
A safe habit is to set aside part of the sale proceeds for taxes right away. Using the examples in this guide, 15% to 25% of the gain is a reasonable range to begin planning with, then adjust once you calculate your actual figures.
State capital gains tax
Most states that have an income tax also apply their own capital gains tax, and some have no income tax at all. The rules vary, so check with your state tax agency. The federal figures in this article do not include state tax.
Common capital gains tax mistakes
Forgetting about reinvested dividends
Reinvested dividends raise your basis. If you skip them, you report a bigger gain than you really have. Always compare your broker’s basis report to your own records.
Selling a few days too soon
Selling at 11 months and 28 days instead of one year and one day can raise your capital gains tax rate sharply on the gain for some filers. Count carefully using the holding-period rule described earlier.
Triggering a wash sale by accident
Automatic dividend reinvestment, or buying the same fund in a spouse’s account or an IRA, can cancel a loss deduction. Pause automatic purchases around a loss sale.
Ignoring the tax when comparing returns
A gain is not fully yours until the capital gains tax is paid. When comparing investments or deciding whether to sell, look at the after-tax result. Sometimes holding a winner and rebalancing with new contributions is cheaper. The dollar-cost averaging vs. lump-sum investing article helps with how to add new money.
Assuming the home exclusion is automatic
The exclusion needs the ownership and use tests. Moving out early, renting the home out for years or selling twice within two years can reduce or remove it. Check the tests before you list the house.
Capital gains tax decision checklist
Before you sell
Use this worksheet before selling a taxable investment. Fill in each line with your own numbers.
- Find the purchase date and count the holding period. Is it more than one year?
- Confirm your cost basis, including commissions and reinvested dividends.
- Estimate the gain: sale price minus basis.
- Estimate your 2026 taxable income without the sale.
- Stack the gain on top of that income and see which zones it lands in: 0%, 15% or 20%.
- Check whether your MAGI is near or above the NIIT threshold ($200,000 single, $250,000 joint).
- Look for losses you can use to offset the gain, and check for wash sale conflicts.
- If you can pick lots, compare FIFO with higher-cost lots.
- Decide whether to wait for a lower-income year or the one-year mark.
- Set aside money for the tax, or adjust withholding or estimated payments.
Quick comparison of capital gains tax choices
| Situation | Often smart move |
|---|---|
| Held 11 months, large gain | Consider waiting past one year |
| Taxable income in the 0% zone | Consider realizing gains up to the line |
| Position at a loss, gains elsewhere | Consider harvesting the loss, avoiding wash sales |
| Near the NIIT threshold | Spread sales across years if possible |
| Selling your main home | Confirm the two-of-five-year tests |
| Holding inherited assets | Confirm stepped-up basis before selling |
Where to learn more
If you are just starting out as an investor, the investing for beginners guide and the guide to building a portfolio show how these tax rules fit into a plan. Retirement savers can pair this article with the retirement planning guide.
Capital gains tax FAQ
What is the capital gains tax rate in 2026?
The long-term capital gains tax rate is 0%, 15% or 20% depending on your taxable income. Short-term gains are taxed at ordinary rates from 10% to 37%. Collectibles can be taxed up to 28%, and higher earners may owe an extra 3.8% NIIT.
How long must I hold an asset for the lower rate?
More than one year. Holding exactly one year or less makes the gain short-term and taxable at ordinary rates.
Do I pay capital gains tax if I reinvest the money?
Yes. Reinvesting does not remove the tax. A sale is taxable when it happens, even if you buy something else right away. Special rules for some real estate exchanges exist, but they do not apply to ordinary stock sales.
Can I avoid capital gains tax on my house?
Often you can avoid it in whole or in part. If you meet the ownership and use tests, up to $250,000 of gain is excluded, or up to $500,000 for joint filers. Gain above the limit is taxable.
How much capital loss can I deduct each year?
Losses first offset gains. If you still have a net loss, you can deduct up to $3,000 against other income ($1,500 if married filing separately). Extra losses carry forward.
Does the wash sale rule apply to gains?
No. It only blocks the deduction of losses. You can sell a winner and buy it back right away, and the gain is still taxed.
Are capital gains taxed inside an IRA or 401(k)?
No capital gains tax applies to sales inside those accounts. Traditional account withdrawals are taxed as ordinary income, while qualified Roth withdrawals are generally tax-free.
Is cryptocurrency subject to capital gains tax?
Yes. The IRS treats it as property, so selling or spending it can create a taxable gain or loss.
Do I owe state capital gains tax too?
Possibly. The federal rules are separate from your state’s rules, and many states tax gains as income. Check your state’s tax agency.
What if I sell an inherited asset?
The IRS says inherited property generally takes a basis equal to its fair market value on the date of death. That often shrinks or removes the gain if you sell soon after. Get a professional opinion for large or complex estates.
Conclusion and your next step
Capital gains tax is manageable once you know three things: how long you held the asset, your cost basis and where the gain lands in your income stack. Long-term holding, careful records, smart use of losses and the right accounts can lower the bill without any tricks.




Your next step: pick one taxable investment you might sell this year and run it through the checklist above. Write down the purchase date, the basis, the estimated gain and the rate zone. That ten-minute exercise often reveals whether to sell now, wait, or pair the sale with a loss. For broader context, return to the tax basics guide.
This article is general education, not financial, tax or legal advice. Confirm your own numbers with the IRS or a qualified tax professional.
Keep going: see the full Tax Basics Guide: Brackets, Forms and Filing for every guide on Taxes in a suggested order.


