2026 tax year editionFederal tax · NIIT · 50 states and DC

2026 tax year · Federal + 50 states + DC

Capital Gains Tax Calculator by State

Calculate an individual sale’s federal tax change, then resolve the state component using the state’s actual rules. Choose your state for its eligibility checks and calculation options.

Work out the tax on one sale

Sale desk

The sale
Federal filing status

Joint also covers an eligible qualifying surviving spouse.

Holding period
Your other 2026 income

After deductions; not wages or AGI.

Excluding this sale.

State tax

After credits.

Blank stays unknown.

Illustrative defaults. Confirm annual inputs; changing proceeds does not automatically update MAGI or net investment income. How to fill each line.

The state and District directory explains how the no-income-tax, flat-rate, Washington excise and specialized resident modes differ before you choose.

What this worksheet calculates

The federal estimate compares ordinary or preferential income tax and net investment income tax before and after an ordinary capital-asset sale. It uses 2026 thresholds for single, joint, head-of-household and separate filers. Other ordinary taxable income and other preferential gains are held fixed. Enter approved federal exclusions and offsets rather than assuming eligibility.

State rules can modify the income base, tax category, eligible asset or source allocation. Eight confirmed resident individual modes show no state income tax. Washington has an annual taxable-gain excise comparison. Selected verified flat-rate states provide a prepared taxable-base comparison before credits. Every state also accepts final prepared liability comparisons; blank state inputs leave the combined estimate unresolved.

The tool does not calculate a complete federal or state return, credits, alternative minimum tax, depreciation recapture, collectibles, special stock, changing deductions or installment-sale timing. A sale loss is shown without estimating a refund or carryover deduction.

From sale price to taxable gain

Gain is what the sale realized minus adjusted basis and approved selling costs, not the cash that reaches your bank account. An ordinary investment sold for $150,000 with a $50,000 adjusted basis and no selling costs produces a $100,000 gain. A loan paid off at closing shrinks the cash you receive but does not shrink the gain. Purchase confirmations, settlement statements, documented improvements and earlier basis adjustments establish what you invested for tax purposes. The holding period sets the category: an asset held more than one year is long-term, one year or less is short-term (IRS Topic 409).

The opening example, line by line

The worksheet opens on a single filer with $100,000 of ordinary taxable income and a $100,000 long-term gain, no other preferential income, and MAGI rising from $100,000 to $200,000. Ordinary income already fills the 0% band, which ends at $49,450 of taxable income for single filers in 2026, so the whole gain sits in the 15% band that runs to $545,500 (Rev. Proc. 2025-32 §4.03): 15% × $100,000 = $15,000 of federal tax. NIIT stays at $0 because MAGI after the sale reaches, but does not exceed, the $200,000 single threshold. Change any annual figure and re-enter the others yourself; the worksheet cannot infer the rest of a return. The combined amount appears only once the state line is resolved.

Each state’s rule in one line