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 →
Short Answer

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.

Key Takeaways
  • 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.
M
Written by Munib Ur Rehman · Reviewed by Nausheen Shahid (LMN Tax Inc.) · Tax Years 2025 & 2026 · Last Reviewed: June 2026

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.

Maximum 0% and 15% Rate Amounts (taxable income) - Rev. Proc. 2025-32 and 2024-40
Filing Status0% 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.

Net Investment Income Tax Thresholds (IRC §1411, fixed - not indexed)
Filing StatusMAGI thresholdTop rate on gains with NIIT
Single / Head of Household$200,00023.8% (20% + 3.8%)
Married Filing Jointly / QSS$250,00023.8% (20% + 3.8%)
Married Filing Separately$125,00023.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.)

LMN Tax Inc. — Planning Notes

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

Scenario 1 — Gain in the 15% band (2026 single)
Ordinary taxable income$95,000
Long-term gain + qualified dividends$25,000
Taxed at 15%$25,000
Tax on the gains$3,750
Scenario 2 — Full 0% rate (2026 single)
Ordinary taxable income$0
Long-term gain$40,000
Under the $49,450 ceilingYes
Tax on the gain$0
Scenario 3 — Gain straddles two bands (2026 single)
Ordinary taxable income$30,000
Long-term gain$40,000
Taxed at 0%$19,450
Taxed at 15%$20,550
Tax on the gain$3,083
Scenario 4 — 20% band plus NIIT (2026 MFJ)
Ordinary taxable income$500,000
Long-term gain$300,000
Tax on the gain (15% + 20%)$54,315
Plus 3.8% NIIT (MAGI $850K)$11,400
Scenario 5 — Qualified beats ordinary dividend
$10,000 qualified dividend (15%)$1,500
$10,000 ordinary dividend (24%)$2,400
Saved by qualifying$900
Scenario 6 — Short-term gain, no preferential rate
Held 8 monthsShort-term
Gain$20,000
Taxed asOrdinary income

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 is the Qualified Dividends and Capital Gain Tax Worksheet?
It is the worksheet in the Form 1040 instructions used to compute the tax on line 16 when you have net long-term capital gains or qualified dividends. Instead of taxing everything at ordinary rates, it carves out your long-term gains and qualified dividends and applies the preferential 0 percent, 15 percent, and 20 percent rates to them, while taxing your remaining ordinary income at the regular brackets. The worksheet's whole job is to stack your income correctly so each dollar of gain lands in the right rate band.
What are the 0%, 15%, and 20% capital gains rates?
They are the federal long-term capital gains and qualified dividend rates. For 2026, the 0 percent rate applies to taxable income up to $49,450 single and $98,900 married filing jointly; the 15 percent rate applies up to $545,500 single and $613,700 MFJ; and 20 percent applies above that. For 2025, the 0 percent ceilings are $48,350 single and $96,700 MFJ, and the 15 percent ceilings are $533,400 single and $600,050 MFJ. The rate depends on total taxable income, not the size of the gain alone.
How does income stacking work?
The worksheet treats your ordinary income (wages, interest, short-term gains, less deductions) as filling the tax brackets from the bottom up. Your long-term gains and qualified dividends are then stacked on top of that ordinary income. Whether each dollar of gain is taxed at 0, 15, or 20 percent depends on where it sits once the ordinary income is counted underneath it. High ordinary income uses up the low-rate room, so the gains are pushed into the 15 or 20 percent band.
What makes a dividend qualified?
A dividend is qualified if it is paid by a U.S. corporation or a qualified foreign corporation and you held the stock for more than 60 days during the 121-day period that begins 60 days before the ex-dividend date (90 days within a 181-day window for certain preferred stock). Qualified dividends are taxed at the 0/15/20 percent rates. Dividends that fail the test, including most REIT and money-market distributions, are ordinary dividends taxed at your regular rate.
Does the 3.8% net investment income tax stack on top?
Yes. The 3.8 percent net investment income tax under IRC §1411 is separate from the worksheet and is added afterward on Form 8960. It applies to investment income, including capital gains and dividends, when modified adjusted gross income exceeds $200,000 single, $250,000 married filing jointly, or $125,000 married filing separately. So a high earner can pay 20 percent under the worksheet plus 3.8 percent NIIT, an effective 23.8 percent on the top layer of gain.
Can I really pay 0% on capital gains?
Yes. If your total taxable income, including the gain, stays under the 0 percent breakpoint for your filing status, the long-term gain and qualified dividends in that band are taxed at nothing. Because gains stack on top of ordinary income, the room available is the breakpoint minus your ordinary taxable income. Retirees and people in low-income years often realize gains deliberately up to that ceiling to reset basis at no federal cost, but a dollar over the line is taxed at 15 percent.
Are short-term gains on this worksheet?
No. Short-term capital gains, on assets held one year or less, are taxed as ordinary income at your regular bracket rate. They are part of the ordinary income that the worksheet stacks first, not the preferential income that gets the 0/15/20 percent rates. Only net long-term capital gain (the result after netting short-term and long-term on Schedule D) and qualified dividends receive the preferential treatment.
Where do I report it on my return?
Qualified dividends go on Form 1040 line 3a and capital gains flow from Schedule D and Form 8949 to line 7. If you have a net capital gain or qualified dividends, the tax on line 16 is computed using the Qualified Dividends and Capital Gain Tax Worksheet (or the Schedule D Tax Worksheet if you have 28 percent collectibles gain or unrecaptured Section 1250 gain). The 3.8 percent net investment income tax, if any, is computed separately on Form 8960 and carried to Schedule 2.

What to Do Next

If You Are Planning a Sale

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.

If You Have Losses to Net First

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.

If You Are Selling Real Estate

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.

If the Gain Changes Your AGI

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

Official Sources
Disclaimer: This guide explains the IRS Qualified Dividends and Capital Gain Tax Worksheet, the 0/15/20 percent long-term capital gains and qualified dividend rates under IRC §1(h), the 2026 breakpoints from Rev. Proc. 2025-32 and the 2025 breakpoints from Rev. Proc. 2024-40, and the 3.8 percent net investment income tax under §1411, for tax years 2025 and 2026. It is educational only and not tax or legal advice. The One Big Beautiful Bill Act (P.L. 119-21) made no change to these rates. Collectibles gain (up to 28 percent), unrecaptured §1250 gain (up to 25 percent), §1202 stock, the alternative minimum tax, §1256 contracts, trusts and estates, and state tax can change the result. Consult a qualified tax professional for your specific facts.