CAPITAL GAINS TAX ESTIMATOR

This calculator estimates federal income tax on a long-term capital gain (i.e., gain from a capital asset held more than one year), using the preferential rate brackets of § 1(h) and the 3.8% net investment income tax under § 1411 where applicable. The calculator uses tax-year 2026 brackets, which apply to returns filed in 2027 (per IRS Rev. Proc. 2025-32). Brackets are inflation-adjusted annually; verify current-year brackets before relying on the result. NIIT thresholds are statutory and not inflation-adjusted.

Wages, business income, interest, short-term capital gains, and other ordinary income, after standard or itemized deductions.
Long-term capital gain from sale of investment or business assets held more than one year.
NIIT applies to net investment income to the extent modified AGI exceeds the threshold ($200,000 single / $250,000 MFJ / $125,000 MFS). The auto-determine option applies the standard rules.

Tax on Long-Term Capital Gain

Total taxable income with gain
Gain taxed at 0%
Gain taxed at 15%
Gain taxed at 20%
Capital gains tax (preferential rates)
Net Investment Income Tax (3.8%)
Total federal tax on the gain
Effective rate on the gain
HOW THIS CALCULATION WORKS

Tax-year 2026 long-term capital gain brackets (per IRS Rev. Proc. 2025-32):

  • Single: 0% up to $49,450; 15% from $49,451 to $545,500; 20% above $545,500
  • Married Filing Jointly: 0% up to $98,900; 15% from $98,901 to $613,700; 20% above $613,700
  • Head of Household: 0% up to $66,200; 15% from $66,201 to $579,600; 20% above $579,600
  • Married Filing Separately: 0% up to $49,450; 15% from $49,451 to $306,850; 20% above $306,850

The brackets are applied to total taxable income (ordinary income + gain) sequentially, so that ordinary income is “used up” first against the lower brackets and the gain falls in whatever bracket(s) remain.

Net Investment Income Tax (NIIT) under § 1411 imposes an additional 3.8% on net investment income to the extent modified AGI exceeds $200,000 (single, HoH), $250,000 (MFJ), or $125,000 (MFS). These thresholds are statutory and have not been inflation-adjusted since enactment in 2013. NIIT generally does not apply to gain from the disposition of property held in an active trade or business or to certain gain on the disposition of an interest in an active partnership.

Important. This calculator addresses federal tax only on the long-term capital gain at preferential rates. It does not address: (i) state income tax (which often does not honor the federal preferential rate); (ii) depreciation recapture under § 1245 (taxed at ordinary rates) or unrecaptured § 1250 gain (taxed at a maximum rate of 25%); (iii) the 28% rate on collectibles and certain qualified small business stock; (iv) alternative minimum tax interactions; (v) the qualified business income deduction under § 199A; or (vi) the additional Medicare tax of 0.9% on earned income above the NIIT thresholds. Tax brackets are revised annually for inflation. The calculator is illustrative; verify all figures against current-year IRS guidance before acting.

Need Help With Your Specific Matter?

The calculations above are based on simplified assumptions. To discuss your specific situation with the firm, contact us directly.

Contact The Firm
© Donovan Legal PLLC. 2026. | DISCLAIMER