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

2026 tax year · Federal + 50 states + DC

Capital Gains Tax Calculator, State by State

Estimate federal and state tax on a sale. Start with the example or enter your own figures below.

Your 2026 example

$150,000 sale − $50,000 basis = $100,000 gain. Single filer, $100,000 other taxable income; no selling costs or exclusions.

$15,000.00 estimated tax on the sale
Federal $15,000.00 + NIIT $0.00 + Texas $0.00

Resident individual scope; other jurisdictions may tax sourced income.

State quick estimates assume a full-year resident, use federal income as a starting point and exclude credits; some states need more information. See the state worksheet for its assumptions. MAGI rises from $100,000 to $200,000; NII rises from $0 to $100,000. Other return effects are excluded.

Work out the tax on one sale

Sale desk

The sale
Holding period
Federal filing status

Joint also covers an eligible qualifying surviving spouse.

Main home sale
Your other 2026 income

After deductions; not wages or AGI.

Excluding this sale.

State tax

After credits.

Blank stays unknown.

Example figures. MAGI and net investment income with the sale follow the gain until you type your own. How to fill each line.

2026 federal long-term capital gains brackets

Taxable income includes the gain. Other income fills the lower bands first; only the part above the 15% ceiling reaches 20%. These figures are from the 2026 engine, checked against IRS Rev. Proc. 2025-32 §4.03. NIIT and state tax are separate.

2026 federal capital gain brackets
Filing status0% through15% through20%
Single$49,450$545,500Above $545,500
Married filing jointly$98,900$613,700Above $613,700
Head of household$66,200$579,600Above $579,600
Married filing separately$49,450$306,850Above $306,850

For the IRS 2027 reference thresholds, which are not active in this calculator, see the 2024–2027 bracket comparison.

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 calculator compares tax with and without the sale. Long-term and short-term gains can follow different federal rules, and other taxable income affects the result. Choose your state for its own rules; some state calculations need additional figures before a combined total can be shown.

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. 31 jurisdictions open with a quick state line: the state taxable base starts at your federal taxable income (in South Carolina, at federal AGI less its income-adjusted deduction), the gain is added in full (in Arizona, Arkansas, Missouri, New Mexico, North Dakota, South Carolina, Vermont and Wisconsin, after the state’s own gain deduction or exclusion), California adds its separate 1% tax above $1 million, New York its benefit recapture, Connecticut, Minnesota and DC use their own state records, and the result is before credits, with each line replaceable by your own figure. The other income-tax states keep their approval steps, because an extra annual figure or a special record changes their answer. 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.

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 the sale and the MAGI and net investment income lines move with the gain; any other annual figure is yours to retype, because the worksheet cannot infer the rest of a return. The combined amount appears once the state line resolves: choose your state above the sale lines or open its page from the list.

Each state’s rule in one line