Capital Gains Tax Calculator
Test cases replayed : 6 of 6 match · Methodology · Sources
Figure your 2026 federal income tax when you have long-term capital gains or qualified dividends, following the IRS Qualified Dividends and Capital Gain Tax Worksheet, and see how much of your gains falls in the 0%, 15% and 20% rates.
Result
Federal income tax
Taxable income
Reading the result
At a glance
What moves the result
Method and sources: How this calculator works, Sources
- Gains and qualified dividends taxed at 0%
- Gains and qualified dividends taxed at 15%
- Gains and qualified dividends taxed at 20%
- Tax on the rest of your taxable income at the regular rates
- Tax added by your capital gains, losses and qualified dividends
Estimate for planning only, not tax, legal, financial or medical advice. Check important figures with the official source listed on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Filing status: choose Single, Married filing jointly or Head of household.
- Other income for 2026, after adjustments, without the gains, losses and qualified dividends below, in dollars: enter 0 or more.
- Net long-term capital gain or loss, assets held more than 1 year (a loss is negative), in dollars: enter a number.
- Net short-term capital gain or loss, assets held 1 year or less (a loss is negative), in dollars: enter a number.
- Qualified dividends, in dollars: enter 0 or more.
- Itemized deductions, if you itemize, in dollars: enter 0 or more.
- Read the result: Federal income tax; the panel also shows Taxable income, Gains and qualified dividends taxed at 0%, Gains and qualified dividends taxed at 15%, Gains and qualified dividends taxed at 20%, Tax on the rest of your taxable income at the regular rates and Tax added by your capital gains, losses and qualified dividends.
Sources
- Federal income tax IRS checked on 2026-10-28, in effect 2026-01-01 to 2026-12-31
- Rev. Proc. 2025-32 maximum zero rate and 15 percent rate amounts for 2026 IRS checked on 2026-10-28, in effect 2026-01-01 to 2026-12-31
- Revenue Procedure 2025-32 (2026 inflation adjustments) Internal Revenue Service (IRS) checked on 2026-10-28
- 26 U.S.C. 1, tax imposed (subsection (h), maximum capital gains rate) U.S. Government Publishing Office (United States Code) checked on 2026-11-02
- 26 U.S.C. 1211, limitation on capital losses U.S. Government Publishing Office (United States Code) checked on 2026-11-02
How this calculator works
Net capital gain = the smaller of your net long-term gain and your total net gain (long-term plus short-term), or 0 if either is a loss (line 3 of the worksheet; Schedule D, lines 15 and 16). A net short-term gain is taxed at the regular rates. If your gains and losses net to a loss, you deduct at most $3,000 of it in 2026 (26 U.S.C. 1211(b); Instructions for Schedule D (Form 1040) (2025), Capital Losses, https://www.irs.gov/pub/irs-pdf/i1040sd.pdf, read on 2026-10-28); the rest is carried to later years and is not shown here.
Taxable income = other income + net gains (or the deductible loss) + qualified dividends − the larger of the standard deduction for your filing status and your itemized deductions.
Tax = the Qualified Dividends and Capital Gain Tax Worksheet of the Instructions for Form 1040 (2025), line 16 (https://www.irs.gov/pub/irs-pdf/i1040gi.pdf, read on 2026-10-28), with the 2026 amounts of its Publication 505 (2026) version, Worksheet 2-7 (https://www.irs.gov/pub/irs-pdf/p505.pdf, read on 2026-10-28): the part of the qualified dividends and net capital gain that fits under the maximum zero rate amount for your filing status is taxed at 0%, the part under the maximum 15% rate amount at 15% (line 18), the rest at 20% (line 21), the rates of 26 U.S.C. 1(h)(1)(C) and (D); the rest of taxable income is taxed at the regular brackets (line 22), and the result is the smaller of that total and the regular tax on all taxable income (line 25). Gains and dividends are stacked on top of your other income. The thresholds, brackets and standard deduction are the 2026 IRS amounts shown with their source and dates below.
The worksheet in the Instructions for Form 1040 (2025) has taxable income under $100,000 taxed with the Tax Table, which works in income bands; this page uses the exact rate schedules, as Worksheet 2-7 of Publication 505 (2026) does, so the amount on a return can differ by a few dollars.
This page does not cover 28% rate gain (collectibles, section 1202 exclusion) or unrecaptured section 1250 gain, which need the Schedule D Tax Worksheet, the net investment income tax (Form 8960), the alternative minimum tax, capital loss carryovers from earlier years, the sale of a main home, credits, the higher standard deduction for people 65 or older or blind, the limited standard deduction of a dependent, the qualified business income deduction, the Schedule 1-A deductions, the charitable deduction for people who take the standard deduction, the married filing separately status or state tax. It figures one tax year, 2026, with the amounts you enter.
Worked example
| Filing status | Single |
|---|---|
| Other income for 2026, after adjustments, without the gains, losses and qualified dividends below | $60,000 |
| Net long-term capital gain or loss, assets held more than 1 year (a loss is negative) | $20,000 |
| Net short-term capital gain or loss, assets held 1 year or less (a loss is negative) | $0 |
| Qualified dividends | $0 |
| Itemized deductions, if you itemize | $0 |
| Taxable income | $63,900 |
|---|---|
| Gains and qualified dividends taxed at 0% | $5,550 |
| Gains and qualified dividends taxed at 15% | $14,450 |
| Gains and qualified dividends taxed at 20% | $0 |
| Tax on the rest of your taxable income at the regular rates | $5,020 |
| Federal income tax | $7,188 |
| Tax added by your capital gains, losses and qualified dividends | $2,168 |
Frequently asked questions
What is the difference between short-term and long-term capital gains?
A gain on an asset you held more than 1 year is generally long-term; held 1 year or less, it is generally short-term (Instructions for Schedule D (Form 1040) (2025); some partnership interests need more than 3 years). Net long-term gains and qualified dividends can be taxed at 0%, 15% or 20%; net short-term gains are taxed at the regular rates.
Can a capital gain push my other income into a higher bracket?
No. On the worksheet, your other income is taxed first at the regular rates, and the gains and qualified dividends are placed on top. A gain can move part of itself from the 0% rate to 15%, or from 15% to 20%, but it does not change the tax on your other income.