Want the number, not just the theory? Enter your taxable income, long-term gain, and qualified dividends to see exactly how much is taxed at 0%, 15%, and 20%, plus the 3.8% NIIT.
Open the Capital Gains Tax Calculator →The Qualified Dividends and Capital Gain Tax Worksheet computes your Form 1040 line 16 tax when you have long-term gains or qualified dividends. It stacks your ordinary income first, then taxes the gains and qualified dividends on top at 0, 15, or 20 percent depending on where they land. The 0 percent band runs up to $49,450 single / $98,900 MFJ in 2026, the 15 percent band up to $545,500 / $613,700, and 20 percent above that. The 3.8 percent net investment income tax is added separately once modified AGI passes $200,000 single or $250,000 MFJ.
- It exists to lower your tax. The worksheet pulls long-term gains and qualified dividends out of ordinary rates and taxes them at 0/15/20 percent instead.
- Stacking decides the rate. Ordinary income fills the brackets first; the gains sit on top, so your wages determine which capital-gains rate the gains hit.
- The 0 percent band is generous. In 2026 a married couple can have nearly $99,000 of taxable income, gains included, and still pay zero on the gains.
- Qualified dividends get the same rates. They combine with long-term gains in the worksheet; non-qualified dividends do not.
- Short-term gains are ordinary. One-year-or-less holdings are taxed at regular rates and never enter the preferential calculation.
- NIIT is a separate 3.8 percent. Computed on Form 8960 over fixed MAGI thresholds, it can lift the top rate on gains to 23.8 percent.
- Breakpoints move, rates do not. The dollar thresholds rise with inflation each year, but the 0/15/20 percent rates and the worksheet method are unchanged for 2025 and 2026.
- Some gains are excluded. Collectibles (up to 28 percent) and unrecaptured Section 1250 gain (up to 25 percent) use the Schedule D Tax Worksheet instead.
- Losses come first. Net your capital losses on Schedule D before the gain ever reaches this worksheet.
What the Worksheet Is
The Qualified Dividends and Capital Gain Tax Worksheet is a short worksheet in the Form 1040 instructions. Whenever your return includes a net long-term capital gain or qualified dividends, you do not look your tax up in the tax table for line 16. Instead you run this worksheet, which separates the income that gets the preferential rates from the income that does not, and taxes each at the right rate.
The point is that long-term capital gains and qualified dividends are taxed more lightly than wages. Congress set rates of 0, 15, and 20 percent for that income in IRC §1(h), well below the ordinary brackets that top out at 37 percent. The worksheet is simply the mechanical way the IRS makes sure the lower rates apply to the right dollars while your ordinary income is still taxed normally.
When You Use It
You use the worksheet if you have an amount on Form 1040 line 3a (qualified dividends) or a net capital gain on line 7 from Schedule D. If your only capital transactions are short-term, or if you have a net capital loss, there is no preferential income and you tax line 16 the ordinary way. If you have 28 percent collectibles gain or unrecaptured §1250 gain, you use the longer Schedule D Tax Worksheet instead, which is built on the same stacking idea. To see the result for your own numbers, use the capital gains tax calculator.
The 0%, 15%, and 20% Rates and Breakpoints
Long-term gains and qualified dividends are taxed at three rates. Which one applies depends on your total taxable income and filing status, measured against two breakpoints that the IRS adjusts for inflation each year. Below the first breakpoint the rate is 0 percent; between the two it is 15 percent; above the second it is 20 percent.
| Filing Status | 0% up to (2026) | 15% up to (2026) | 0% up to (2025) | 15% up to (2025) |
|---|---|---|---|---|
| Single | $49,450 | $545,500 | $48,350 | $533,400 |
| Married Filing Jointly / QSS | $98,900 | $613,700 | $96,700 | $600,050 |
| Head of Household | $66,200 | $579,600 | $64,750 | $566,700 |
| Married Filing Separately | $49,450 | $306,850 | $48,350 | $300,000 |
Anything above the 15 percent ceiling is taxed at 20 percent. Note that these are taxable-income figures: the breakpoint is compared against your full taxable income with the gains included, not against the gain by itself. Because the rates are tied to income and not flat, the common shorthand "the capital gains rate is 15 percent" is only true for the middle of the income range.
The One Big Beautiful Bill Act did not change the 0/15/20 percent structure. Only the dollar breakpoints moved, rising about 2 to 3 percent from 2025 to 2026 with inflation.
How Income Stacking Works
Stacking is the single idea that makes the worksheet make sense. Your income is sorted into two piles: ordinary income (wages, interest, non-qualified dividends, short-term gains, minus your deductions) and preferential income (net long-term gains plus qualified dividends). The ordinary income is taxed first, as if it filled the brackets from the bottom. The preferential income is then placed on top of it.
The rate on each dollar of gain depends on the total height once stacked. If your ordinary income is small, the gains start low and much of them can fall in the 0 percent band. If your ordinary income is already above the 0 percent breakpoint, none of the gain gets the 0 percent rate, because the low-rate room is used up. A single gain can also straddle two bands: part at 0 percent and the rest at 15 percent, or part at 15 and part at 20.
Why Two People Pay Different Rates on the Same Gain
Consider two single filers in 2026, each with a $40,000 long-term gain. The first has $10,000 of other taxable income; the gain stacks from $10,000 to $50,000, almost entirely under the $49,450 breakpoint, so nearly all of it is taxed at 0 percent. The second has $200,000 of other income; the same gain stacks from $200,000 to $240,000, far above the breakpoint, so all of it is taxed at 15 percent. Same gain, very different tax, purely because of the income underneath it.
A Line-by-Line Walkthrough
The worksheet has around 25 lines, but the logic collapses into a few moves. Here is the path in plain terms, using a single 2026 filer with $95,000 of ordinary taxable income and $25,000 of qualified dividends and long-term gain ($120,000 total taxable income).
- Lines 1 to 6 - split the income. Start with total taxable income ($120,000), identify the qualified dividends and net capital gain ($25,000), and subtract them to find the ordinary income ($95,000). Investment interest you elected to offset gains would reduce the preferential amount here; most filers have none.
- Line 6 area - the 0% ceiling. Bring in the 0 percent breakpoint for your status ($49,450). The amount of preferential income taxed at 0 percent is whatever fits between your ordinary income and that ceiling. Here ordinary income ($95,000) already exceeds $49,450, so the 0 percent amount is zero.
- Middle lines - the 15% band. The preferential income from the top of the 0 percent band up to the 15 percent breakpoint ($545,500) is taxed at 15 percent. Here the full $25,000 lands in this band, for $3,750 of tax.
- Upper lines - the 20% band. Any preferential income above the 15 percent breakpoint is taxed at 20 percent. Here there is none.
- Line 22 area - tax the ordinary income. Compute the regular tax on the ordinary income alone ($95,000), which is about $15,612 using the 2026 single brackets.
- Final lines - add and compare. Add the ordinary tax and the preferential tax ($15,612 + $3,750 = $19,362), then compare it to the tax on the whole amount at ordinary rates and use the smaller. The smaller figure is your line 16 tax.
The final comparison is a safeguard: it guarantees the worksheet can never charge you more than ordinary rates would. The calculator runs every one of these steps for your numbers and shows the dollars in each band.
What Makes a Dividend Qualified
Only qualified dividends get the preferential rates, and they ride in the worksheet alongside long-term gains. A dividend is qualified when two conditions are met.
- Paid by a qualifying corporation. The payer must be a U.S. corporation or a qualified foreign corporation (generally one whose stock trades on a U.S. exchange or that is in a treaty country).
- You meet the holding period. You must hold the stock more than 60 days during the 121-day period that begins 60 days before the ex-dividend date. For preferred stock with dividends covering more than 366 days, the test is more than 90 days in a 181-day window.
Dividends that fail the test are ordinary dividends, taxed at your regular rate. Common examples include most distributions from real estate investment trusts (REITs), money-market funds, and dividends on shares you bought right before the ex-dividend date and sold quickly. Your Form 1099-DIV reports total ordinary dividends in box 1a and the qualified portion in box 1b; only box 1b feeds this worksheet.
The 3.8% Net Investment Income Tax
The worksheet handles the income tax on your gains, but a second tax can sit on top of it. The net investment income tax (NIIT) under IRC §1411 is a flat 3.8 percent on investment income for higher-income taxpayers, computed separately on Form 8960 and carried to Schedule 2.
It applies when your modified adjusted gross income exceeds a threshold: $200,000 single or head of household, $250,000 married filing jointly or qualifying surviving spouse, and $125,000 married filing separately. The tax is 3.8 percent of the smaller of (a) your net investment income, which includes capital gains, dividends, interest, rents, and royalties, or (b) the amount your MAGI exceeds the threshold.
| Filing Status | MAGI threshold | Top rate on gains with NIIT |
|---|---|---|
| Single / Head of Household | $200,000 | 23.8% (20% + 3.8%) |
| Married Filing Jointly / QSS | $250,000 | 23.8% (20% + 3.8%) |
| Married Filing Separately | $125,000 | 23.8% (20% + 3.8%) |
Because the thresholds have not changed since the tax took effect in 2013, inflation keeps pulling more households into it. A one-time large gain can trigger the NIIT on its own by pushing MAGI over the line, even when the rate bracket on the gain is still 15 percent.
Using the 0% Band
The 0 percent rate is not a loophole; it is a deliberate feature of the law, and it is the most valuable planning tool in this area. The room available is the 0 percent breakpoint minus your ordinary taxable income. Any long-term gain or qualified dividend that fits in that room is taxed at nothing.
The classic use is a low-income year: a gap between jobs, a sabbatical, an early retirement window before pensions and Social Security start, or a year a business shows a loss. In those years a taxpayer can deliberately sell appreciated stock up to the ceiling, pay no federal tax on the gain, and immediately rebuy it to reset basis higher. Unlike a loss harvest, there is no wash sale rule on gains, so the rebuy is unrestricted.
The discipline is to stop exactly at the breakpoint. A dollar of gain past the ceiling is taxed at 15 percent, and because the gain itself raises taxable income, large harvests have to be sized carefully. The same gain can also have phase-out side effects, for example on the premium tax credit, so the 0 percent move is best modeled before it is made.
Gains That Are Not Taxed at 0/15/20%
Not every capital gain runs through this worksheet at the standard rates. Several categories carry higher maximum rates or different treatment, and they are computed on the longer Schedule D Tax Worksheet.
- Collectibles gain. Long-term gain on art, coins, metals, and similar collectibles is taxed at a maximum of 28 percent, not 20 percent.
- Unrecaptured Section 1250 gain. The part of a gain on depreciated real estate attributable to depreciation is taxed at a maximum of 25 percent.
- Qualified small business stock. Gain on §1202 stock can be partly or fully excluded, with any taxable remainder potentially at 28 percent.
- Short-term gains. Held one year or less, these are ordinary income at your regular bracket, with no preferential rate at all.
- Non-qualified dividends. Ordinary dividends that fail the holding-period or payer test are taxed at ordinary rates.
If your return includes 28 percent or unrecaptured §1250 gain, the basic worksheet does not apply and you use the Schedule D Tax Worksheet, which layers those special rates above the 0/15/20 percent bands. The stacking logic is the same; there are just more rate steps.
Reporting It on Your Return
The numbers reach the worksheet through a few standard forms, and the tax it produces goes back to one line.
- Form 1099-DIV. Box 1a is total ordinary dividends, box 1b is the qualified portion. Box 1b flows to Form 1040 line 3a and into the worksheet; box 1a goes to line 3b.
- Form 8949 and Schedule D. Individual sales are listed on Form 8949 and summarized on Schedule D, which nets short-term and long-term and produces the net capital gain that flows to Form 1040 line 7.
- The worksheet and line 16. With qualified dividends on line 3a or a gain on line 7, you compute line 16 using the Qualified Dividends and Capital Gain Tax Worksheet (or the Schedule D Tax Worksheet for 28 percent / §1250 gain).
- Form 8960 and Schedule 2. If MAGI exceeds the NIIT threshold, the 3.8 percent tax is computed on Form 8960 and added through Schedule 2.
Most tax software runs the worksheet automatically, but understanding it is what lets you see why a gain was taxed the way it was, and where you have room to plan. Net any capital losses and confirm no wash sale disallows a loss before you rely on the net gain figure.
Ready to put your own numbers in? The calculator runs the full worksheet and shows the dollars taxed at 0%, 15%, and 20%, plus any 3.8% NIIT and your effective rate on the gains.
Open the Capital Gains Tax Calculator →Practitioner Insight (LMN Tax Inc.)
The first thing we teach a client about this worksheet is that the gain does not have a rate until you know what is underneath it. We have had two clients sell the identical position in the same month, one paying nothing and one paying 15 percent, and the only difference was the wages stacked below the gain. So the real planning is on the ordinary income, not the gain: deferring a bonus or front-loading deductions can pull a gain down into the 0 percent band.
We use the gap years aggressively. Between an early retirement and the start of Social Security and required distributions, a married couple often has very little ordinary income, which opens nearly $99,000 of zero-rate room in 2026. We realize and rebuy appreciated funds right up to the breakpoint, resetting basis at no federal cost, and we do it every year the window is open because the room does not carry forward.
The trap we watch hardest is the net investment income tax, because it does not show up in the rate brackets. A client can be comfortably in the 15 percent band on taxable income and still get hit with 3.8 percent because the gain pushed modified AGI over $250,000. We model the NIIT separately on every return with a large gain, and we time multi-year sales to keep MAGI under the threshold when we can.
Finally, we never let a client treat a one-year-and-a-day holding period as a technicality. The jump from short-term ordinary rates to long-term 15 or 20 percent is the largest single lever most investors will ever touch, and on a big position it dwarfs a few weeks of market risk. We calendar the long-term date the day the position is bought.
Real-World Scenarios
When the General Rules Differ
- Collectibles and §1250 gain. Use the Schedule D Tax Worksheet; these carry 28 percent and 25 percent maximum rates above the standard bands.
- Net capital loss. If losses exceed gains, there is no preferential income; you deduct up to $3,000 and carry the rest forward. Use the capital loss carryover calculator.
- Alternative minimum tax. The 0/15/20 percent rates also apply for AMT, but a large gain can raise AMT income and trigger AMT indirectly.
- Section 1256 contracts. Regulated futures and certain options use a 60/40 long-short split regardless of holding period.
- Trusts and estates. They reach the top capital-gains rate at a very low income level and have their own breakpoints.
- State tax. Most states tax capital gains as ordinary income with no preferential rate, so the state result can differ sharply from the federal worksheet.
- Investment interest election. Electing to treat net capital gain as investment income to deduct margin interest removes that gain from the preferential rates.
Frequently Asked Questions
What to Do Next
Find out how much of the gain fits in the 0 percent band before you sell. Enter your ordinary income and the gain in the Capital Gains Tax Calculator to see the 0/15/20 percent split and the effective rate.
Losses offset gains before any rate applies. Run the Capital Loss Carryover Calculator, and check the Wash Sale Rule Guide so a disallowed loss does not distort your net gain.
Depreciation can create 25 percent unrecaptured §1250 gain that bypasses this worksheet. Estimate a home sale with the Home Sale Capital Gains Calculator or read the Installment Sale Guide.
A large gain can trigger the 3.8 percent NIIT and other phase-outs through higher AGI. Check the ripple with the AGI & MAGI Calculator before you file.
Related Tools and Guides
- IRC §1(h) and §1(j)(5) (Cornell LII) — the 0/15/20 percent rates on net capital gain and qualified dividends and the inflation-adjusted breakpoints.
- IRS Rev. Proc. 2025-32 (§3.03) — the 2026 maximum 0 percent and 15 percent rate amounts by filing status.
- IRS Rev. Proc. 2024-40 (§2.03) — the 2025 maximum 0 percent and 15 percent rate amounts by filing status.
- IRS Form 1040 Instructions — Qualified Dividends and Capital Gain Tax Worksheet — the line-by-line worksheet for the line 16 tax.
- IRS Topic 409 — Capital Gains and Losses — the 0/15/20 percent rates, the one-year holding period, and the 28 percent and 25 percent special rates.
- IRS Topic 404 — Dividends — qualified versus ordinary dividends and the holding-period requirement.
- IRS Topic 559 — Net Investment Income Tax — the 3.8 percent §1411 tax and the $200K / $250K / $125K MAGI thresholds.