Capital Gains & NIIT Calculator 2026-2030

Tax years 2026-2030. 0% / 15% / 20% long-term capital gains (plus 25% and 28% categories) stacked on ordinary income per the Schedule D Tax Worksheet. 3.8% NIIT on net investment income. Qualified dividends. MAGI threshold.
IRC 1(h) - LTCG ratesIRC 1411 - NIIT 3.8%Schedule DForm 8960
← cpavalidated.com
1

Tax Year, Filing Status & Income

2026 brackets and capital gain ceilings are from Rev. Proc. 2025-32 sections 4.01 and 4.03. 2027-2030 are projections.
Used only for 2027-2030. Brackets and capital gain ceilings are indexed under IRC 1(j)(3) and 1(j)(5)(C), with the statutory rounding.
Taxable income after deductions, excluding all net capital gain and qualified dividends (short-term gains are ordinary income). Fills the brackets first. Form 1040 line 15 less the gains entered below.
Net long-term gain from Schedule D, excluding unrecaptured section 1250 gain and 28% rate gain, which are entered separately. IRC 1(h)(3)(A), 1222. Enter net figures only (no capital loss netting here).
Form 1040 line 3a. Taxed at 0/15/20% as adjusted net capital gain. IRC 1(h)(11), 1(h)(3)(B).
Schedule D line 19. Maximum rate 25%. IRC 1(h)(1)(E), 1(h)(6).
Schedule D line 18: collectibles gain and taxable section 1202 gain. Maximum rate 28%. IRC 1(h)(1)(F), 1(h)(4).
2

Net Investment Income Tax (Form 8960)

Interest, non-qualified dividends, annuities, royalties, passive rents and passive business income. Capital gains and qualified dividends above are added automatically. IRC 1411(c)(1).
Investment interest, state income taxes allocable to the income, and other deductions properly allocable to the gross income or net gain. Reduces NII. IRC 1411(c)(1)(B).
Standard or itemized deduction plus any QBI deduction, so that AGI = taxable income + this amount. Default is the 2026 MFJ standard deduction (Rev. Proc. 2025-32 section 4.14: Single and MFS $16,100, HOH $24,150, MFJ $32,200). Change it for other years or status.
Amount excluded under IRC 911(a)(1), net of disallowed deductions (IRC 1411(d)). MAGI = AGI + this amount.
3

Results

Enter your information above.
Last verified: October 29, 2026. Figures checked against IRC 1(h), 1(j), 1411 (Cornell LII), Rev. Proc. 2025-32 sections 4.01 and 4.03, and the 2025 Schedule D Tax Worksheet.
tk.cpa AI Lab
Mission Privacy tk.cpa
Nothing on this page constitutes legal, tax, accounting, or professional advice, and no professional relationship is created by your use of this website. CPA Validated is an educational website for information purposes only. Information should be verified against current primary authority, including the Internal Revenue Code, Treasury regulations, IRS guidance, and applicable state or local law, before being relied upon or acted on. Calculator outputs are estimates only and may be incomplete or inaccurate depending on the facts, assumptions, and inputs used. CPA Inc. and tk.cpa disclaim liability to the fullest extent permitted by law. Full disclaimer: cpavalidated.com/disclaimer.html