Guide

The Capital Gains Tax Guide

Holding an investment for a year can cut the tax on your gain roughly in half. This guide shows why, plus the surtax that catches higher earners.

Download PDF

How long you hold an investment before selling can matter more to your tax bill than what you sell it for. The tax code rewards patience, and it does so with a rate structure that is genuinely worth understanding before you hit the sell button.

Long-term vs short-term

Sell an asset you have held one year or less and the gain is short-term, taxed as ordinary income at your regular bracket. Hold it more than a year and the gain is long-term, taxed at the preferential rates of 0, 15, or 20 percent.

That difference is large. A gain taxed at a 22 percent ordinary rate as short-term might be taxed at just 15 percent as long-term. Waiting until the one-year mark passes, when you are close, is one of the simplest tax moves available.

A worked example you can reproduce

Suppose a single filer has 60,000 dollars of ordinary taxable income and sells for a 20,000 dollar long-term gain in 2026. The gain stacks on top of the income. Because 60,000 dollars is already above the 49,450 dollar top of the 0 percent band, the whole 20,000 dollar gain falls in the 15 percent band and the tax is about 3,000 dollars.

Had that same gain been short-term, it would be taxed at the 22 percent ordinary rate, roughly 4,400 dollars. Holding past a year saved about 1,400 dollars on the same 20,000 dollar profit. The Capital Gains Tax Calculator runs this for your income and gain.

The 0 percent band people miss

There really is a 0 percent long-term rate. For 2026 a single filer pays no federal tax on long-term gains that fall below about 49,450 dollars of total taxable income. Retirees and people in low-income years can sometimes realize gains entirely tax-free by staying under that line.

This is the basis of tax-gain harvesting, where you deliberately sell appreciated assets in a low-income year to reset your cost basis at no tax cost. The room available shrinks as your ordinary income fills up the lower band first.

The surtax that catches higher earners

Above 200,000 dollars of income for a single filer, an extra 3.8 percent net investment income tax applies to investment income, including capital gains. It stacks on top of the 15 or 20 percent rate, so a high earner can face an effective rate well above the headline number.

That surtax is easy to forget and can turn a planned 15 percent into 18.8 percent. If a large sale would push you over the threshold, spreading it across tax years can keep you under it. The Capital Gains Tax Calculator includes the NIIT so the total is not a surprise.

Key takeaway. Hold more than a year to unlock the 0, 15, or 20 percent long-term rates, and watch the 200,000 dollar line where the 3.8 percent surtax begins.

Assumptions

Sources

Last updated: 2026-08-08 · Tax year 2026

This resource is educational and is not financial, tax, or investment advice. See our methodology and disclaimer.

Frequently asked questions

How long must I hold for the lower rate?

More than one year. At one year or less the gain is short-term and taxed as ordinary income. Past a year it is long-term and taxed at 0, 15, or 20 percent depending on your income.

Can I really pay 0 percent on gains?

Yes, on long-term gains that fall below the 0 percent breakpoint, about 49,450 dollars of taxable income for a single filer in 2026. Low-income years are when this is most useful.

What is the 3.8 percent NIIT?

The net investment income tax adds 3.8 percent to investment income, including capital gains, once your income passes 200,000 dollars single. It stacks on top of the regular capital gains rate.

Are short-term gains really taxed as ordinary income?

Yes. A gain on an asset held one year or less is taxed at your ordinary marginal rate, which is usually higher than the long-term rate. That is the core reason holding past a year can pay off.

Try the calculators

Capital Gains Tax Calculator (2026) Calculate the tax on a long-term capital gain in 2026, with the gain stacked on your income across the 0, 15, and 20 percent rates. Federal Income Tax Calculator (2026) Calculate your federal income tax on a given taxable income, with a clear bracket-by-bracket breakdown. RSU Calculator Your vesting RSUs are withheld at a flat 22%, but your real tax depends on your bracket. This shows the shortfall you may owe at filing. Roth Conversion Calculator See the federal tax cost of a Roth conversion and the bracket it pushes you into this year.

Related resources

The Federal Income Tax Guide A raise does not push all your income into a higher bracket. This guide shows how the brackets really stack, and why your effective rate is lower than you think. The RSU Tax Guide RSUs are taxed as ordinary income the day they vest, and the default withholding often is not enough. This guide shows the gap before it surprises you.

Download this resource as a PDF