Net Investment Income Tax Calculator: Will You Owe the 3.8% NIIT?

The net investment income tax is an extra 3.8% on investment income once your income passes $200,000, or $250,000 for a married couple. Those thresholds haven’t moved since 2013, and one big sale (a rental, a business, a block of stock) can push you over them even if you never earn that much otherwise. Enter your income and investment income, and this calculator shows whether you owe it, how much room you have below the threshold, and what spreading a planned sale over several years would save.

1. You

2. Income that isn’t investment income

Not taxed by the NIIT, but it counts toward the income threshold.

3. Investment income

4. A sale you’re planning (optional)

Your numbers stay in your browser. Nothing is sent or saved.

What the NIIT taxes

Investment income (taxed)Not investment income (counts toward the threshold only)
Interest and dividendsWages and self-employment income
Capital gains, including on rentals and second homesIRA, 401(k) and pension withdrawals, and Roth conversions
Rental and royalty incomeSocial Security
Passive business income from K-1sIncome from a business you materially participate in
Non-qualified annuitiesExcluded gain on selling your main home

Worked example

Frank and Linda are retired. They take $60,000 a year from their IRAs, have $40,800 of taxable Social Security and earn $12,000 of interest and dividends, so their income is $112,800, well under the $250,000 threshold. Now they’re selling a rental with a $300,000 gain. Taken all in one year, their income jumps to $412,800, $162,800 over the threshold, and they owe $6,186 of NIIT on top of capital gains tax. If the buyer pays them over two years instead, each year’s income is about $262,800, only $12,800 over, and the NIIT totals about $973. The installment sale saves them about $5,200.

Selling a rental? The rental sale tax calculator estimates the rest of the tax, and the 0% capital gains calculator shows how much gain you can take tax-free in low-income years.

Frequently asked questions

What is the net investment income tax?

A 3.8% federal tax on investment income for people with higher incomes. It applies to the smaller of your net investment income or the amount your modified adjusted gross income is over $200,000 (single or head of household), $250,000 (married filing jointly) or $125,000 (married filing separately). You figure it on Form 8960.

What counts as net investment income?

Interest, dividends, capital gains, rental and royalty income, non-qualified annuities and income from businesses you don't materially participate in, minus related expenses. It doesn't include wages, self-employment income, retirement plan withdrawals, Social Security, tax-exempt interest or the excluded gain on selling your main home.

Are the NIIT thresholds adjusted for inflation?

No. They've stayed at $200,000 and $250,000 since the tax started in 2013, so more households cross them every year.

Do IRA withdrawals count for the NIIT?

They aren't taxed by the NIIT themselves, but they raise your modified adjusted gross income. That can push your investment income over the threshold, so a large IRA withdrawal or Roth conversion in the same year as a big gain can trigger the tax.

Does the NIIT apply to selling my house?

Only to the gain above the home-sale exclusion of $250,000 ($500,000 for most married couples) on a main home you've owned and lived in for two of the last five years. Gains on rentals and second homes are fully investment income.

How can I reduce the NIIT?

Spread big gains over several years with an installment sale, harvest losses, hold tax-exempt bonds, give appreciated assets to charity, keep other income like Roth conversions out of big-gain years, and materially participate in businesses you own.

Sources

Reviewed by Michael Jones, EA, CFP®, an Enrolled Agent federally licensed to represent taxpayers before the IRS. This calculator estimates the NIIT only, not regular income or capital gains tax, and assumes your other income stays the same each year. Trusts, estates, real estate professionals and passive-activity loss limits have special rules. This is education, not advice for your situation; book a free call for that.

Not sure whether you need me?

Book a free 15-minute call. Tell me what’s going on, and I’ll tell you honestly whether I can help and what the work would cost. If you don’t need me, I’ll tell you that too.