Net Investment Income Tax Calculator
Estimate the 3.8% Net Investment Income Tax (NIIT) reported on IRS Form 8960. Enter your MAGI, net investment income, and filing status to see whether NIIT applies and how much you may owe for 2026.
Net Investment Income Tax Calculator
Filing Status
Modified Adjusted Gross Income (MAGI)
Your AGI plus the foreign earned income exclusion. For most domestic filers, MAGI equals AGI.
Net Investment Income
Interest, dividends, capital gains, rental and royalty income, non-qualified annuity income, and income from passive businesses, minus allocable investment expenses.
Estimates only. Not tax or legal advice. NIIT is reported on IRS Form 8960. Consult a tax professional for your situation.
Capital gains feed into net investment income, see the breakdown →The 3.8% surtax applies to the lesser of your net investment income or your MAGI over the threshold. Enter values to see which side binds for you.
Federal NIIT only. Does not include capital gains tax, ordinary income tax, or state tax. For a full estimate including state taxes, deductions, and credits, download Tax47.
Get the Full Picture
NIIT stacks on top of ordinary income and capital gains tax. Tax47 puts all three together for a full federal estimate.
How the 3.8% Net Investment Income Tax works
The Net Investment Income Tax is a flat 3.8% federal surtax on certain investment income. It was created by Section 1411 of the Internal Revenue Code as part of the 2010 Affordable Care Act and first applied to tax year 2013. It sits separate from, and stacks on top of, ordinary income tax and capital gains tax.
The surtax applies to the smaller of two amounts: your net investment income for the year, or the amount your Modified Adjusted Gross Income (MAGI) exceeds the statutory threshold for your filing status. That "lesser of" rule means a small MAGI excess can cap a much larger investment gain, and a small investment gain can cap a much larger MAGI excess.
NIIT is reported on IRS Form 8960 and the result flows to Schedule 2 of Form 1040. The One Big Beautiful Bill Act (P.L. 119-21) did not repeal or modify NIIT, so the 3.8% rate and statutory thresholds carry into 2026 unchanged.
What counts as net investment income (and what doesn't)
Net investment income has clear boundaries. The following items are included:
- Taxable interest and dividends (including qualified dividends)
- Capital gains, both short-term and long-term, including gains on the taxable portion of a home sale above the Sec. 121 exclusion
- Rental and royalty income, unless you qualify as a real estate professional and materially participate
- Non-qualified annuity distributions
- Income from passive businesses and from trading in financial instruments or commodities
The following items are not investment income for NIIT:
- Wages and salary
- Self-employment income from an active trade or business
- Social Security benefits
- Distributions from qualified retirement plans (401(k), traditional IRA, Roth IRA, pension)
- Tax-exempt municipal bond interest
Before applying the 3.8% rate, you reduce gross investment income by allocable investment expenses such as investment interest expense and the portion of advisor fees attributable to taxable accounts.
MAGI thresholds by filing status
The 2026 thresholds are set by statute and are the same as every year since 2013:
| Filing Status | MAGI Threshold |
|---|---|
| Single | $200,000 |
| Head of Household | $200,000 |
| Married Filing Jointly | $250,000 |
| Qualifying Surviving Spouse | $250,000 |
| Married Filing Separately | $125,000 |
The MFS threshold is exactly half of the MFJ threshold, and the Single and HoH thresholds are equal. These thresholds are not indexed for inflation, so more taxpayers cross them each year as wages and asset values rise. (The threshold for estates and trusts is indexed and sits at $16,000 for 2026.)
Common strategies to reduce NIIT exposure
Because NIIT depends on both MAGI and net investment income, planning usually attacks one or both. A few common approaches:
- Tax-loss harvesting: realize capital losses to offset gains and shrink net investment income.
- Asset location: hold income-producing assets (REITs, taxable bonds) inside tax-advantaged accounts where the income does not count as net investment income for NIIT.
- Roth conversions in lower-income years: the conversion itself raises MAGI, but pulling future income out of traditional accounts lowers MAGI in retirement, when investment income is more likely to be present.
- Charitable bunching and donor-advised funds: larger itemized deductions can reduce MAGI in the year you fund the gift.
- Installment sales: spreading a large gain over multiple years can keep MAGI under the threshold in any single year.
- Timing of large capital gains: realize them in years when MAGI is otherwise low, such as after retirement but before Social Security and required minimum distributions begin.
NIIT was not repealed by OBBBA, so 2026 planning still matters. Coordinate these moves with a qualified tax professional, because strategies that reduce NIIT can have side effects on other parts of your return.
Frequently Asked Questions
Common questions about net investment income tax calculator
What is the Net Investment Income Tax?
The NIIT is a 3.8% federal surtax on certain investment income for higher-income individuals, estates, and trusts. It was enacted under IRC Sec. 1411 as part of the Affordable Care Act and is reported on IRS Form 8960, with the surtax flowing to Schedule 2 of Form 1040.
Who has to pay NIIT?
Individuals whose Modified Adjusted Gross Income (MAGI) exceeds $200,000 (Single or Head of Household), $250,000 (Married Filing Jointly or Qualifying Surviving Spouse), or $125,000 (Married Filing Separately), and who also have net investment income, may owe NIIT. The tax applies to the lesser of net investment income or the MAGI excess over the threshold.
What counts as net investment income?
Taxable interest, dividends, capital gains, rental and royalty income, non-qualified annuity distributions, and income from passive businesses or trading in financial instruments, reduced by allocable investment expenses. Wages, self-employment earnings, Social Security, and qualified retirement plan distributions are not investment income for NIIT purposes.
What is MAGI for NIIT purposes?
MAGI for NIIT is your Adjusted Gross Income (AGI) plus the foreign earned income exclusion and certain other adjustments. For most domestic filers without foreign income, MAGI for NIIT equals AGI.
Are the NIIT thresholds indexed for inflation?
No. For individuals, the $200k / $250k / $125k thresholds are fixed by statute and have not changed since NIIT took effect in 2013. Only the threshold for estates and trusts is indexed annually (it is $16,000 for 2026).
Does the 2026 One Big Beautiful Bill Act change NIIT?
No. OBBBA (P.L. 119-21) did not repeal or modify the 3.8% NIIT or its thresholds. The surtax applies in 2026 on the same terms as in prior years.
How is NIIT reported?
On IRS Form 8960 (Net Investment Income Tax, Individuals, Estates, and Trusts), filed with Form 1040. The 3.8% surtax is computed as 3.8% times the smaller of net investment income (line 12) or MAGI minus the threshold (line 14), and the result flows to Schedule 2.
Can I reduce or avoid NIIT?
Yes, in some cases. Common moves include realizing losses to offset gains, deferring income, contributing to tax-advantaged accounts like a 401(k) or HSA, doing Roth conversions in lower-income years, and making sure allocable investment expenses are properly subtracted on Form 8960. Confirm any plan with a qualified tax professional.