Skip to content
FiftyCalc Free calculators for all 50 states

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

Sample figures

Federal income tax—

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—
  • 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.

Capital Gains Tax Calculator

Filing status

Filing status: choose Single, Married filing jointly or Head of household. Prefilled example: Single.

Other income for 2026, after adjustments, without the gains, losses and qualified dividends below, in dollars: enter 0 or more. Prefilled example: 60,000.

Net long-term capital gain or loss, assets held more than 1 year (a loss is negative), in dollars: enter a number. Prefilled example: 20,000.

Net short-term capital gain or loss, assets held 1 year or less (a loss is negative), in dollars: enter a number. Prefilled example: 0.

Qualified dividends, in dollars: enter 0 or more. Prefilled example: 0.

Itemized deductions, if you itemize, in dollars: enter 0 or more. Prefilled example: 0.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Filing status: choose Single, Married filing jointly or Head of household.
  2. Other income for 2026, after adjustments, without the gains, losses and qualified dividends below, in dollars: enter 0 or more.
  3. Net long-term capital gain or loss, assets held more than 1 year (a loss is negative), in dollars: enter a number.
  4. Net short-term capital gain or loss, assets held 1 year or less (a loss is negative), in dollars: enter a number.
  5. Qualified dividends, in dollars: enter 0 or more.
  6. Itemized deductions, if you itemize, in dollars: enter 0 or more.
  7. 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

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 statusSingle
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.

Questions answered

Related calculators