2026 NIIT Net Investment Income Calculator
Work out the 3.8% net investment income tax: the rate applied to the smaller of your investment income or your MAGI above the $200,000 or $250,000 threshold.
2026 NIIT Net Investment Income Calculator
Background.
Do I owe the 3.8% tax on my investments? It is one of the more common questions at tax time from people whose income has crept upward, because the net investment income tax does not appear in the ordinary rate tables. It is a separate federal tax, figured on Form 8960 and added to the bottom of Form 1040, and it applies only once modified adjusted gross income passes a fixed line: $200,000 for a single filer or head of household, $250,000 for a married couple filing jointly or a qualifying surviving spouse, and $125,000 for married filing separately.
Crossing the line does not mean all your investment income is taxed. The 3.8% is charged on whichever is smaller — your net investment income, or the amount by which MAGI exceeds the threshold. Someone whose salary sits just under the line and whose dividends push them over pays only on the slice above it. Someone far above the line pays on every dollar of net investment income, and the threshold stops mattering.
The thresholds have not changed since the tax took effect in 2013, and the IRS says plainly that they are not indexed for inflation. A household that stayed comfortably under $250,000 a decade ago can drift over it on ordinary raises and a good year in the market, without ever thinking of itself as a high earner.
The default rate of 3.8% and the threshold figures used here are the ones in force for the 2026 tax year. You set the threshold yourself, because it follows your filing status.
What is 2026 niit net investment income calculator?
The net investment income tax is a 3.8% federal tax on investment income for individuals, estates and trusts whose income is above a statutory threshold. Investment income here means interest, dividends, capital gains, rents and royalties, non-qualified annuities, income from trading financial instruments or commodities, and income from businesses in which you are a passive participant. It is net because expenses properly allocable to that income come off first — investment interest, advisory and brokerage fees, and the share of state and local income tax that relates to it. Wages, self-employment income, Social Security benefits, unemployment compensation, alimony, tax-exempt bond interest and distributions from qualified retirement plans are outside it. Nonresident aliens are not subject to it at all.
How to use this calculator.
- Enter your net investment income for the year. If you filed Form 8960 last year, its bottom-line figure is the place to start; otherwise add taxable interest, ordinary dividends, net capital gains, net rents and royalties and passive partnership or S-corporation income, then subtract investment expenses. Leave out wages, retirement plan distributions, municipal bond interest and any home-sale gain covered by the exclusion.
- Enter modified adjusted gross income. For most US residents this is simply the adjusted gross income on Form 1040; it is higher only if you excluded foreign earned income on Form 2555, which is added back. MAGI already contains your investment income — do not add it twice.
- Set the threshold for your filing status: $200,000 single or head of household, $250,000 married filing jointly or qualifying surviving spouse, $125,000 married filing separately. An estate or trust uses the income level at which its top bracket begins, which the IRS gives as $15,650 for 2025, and enters its undistributed investment income.
- Leave the rate at 3.8%, the statutory figure. Change it only to test a proposal or to see the tax on a single extra dollar.
- Compare the MAGI excess with your net investment income. Whichever is smaller is the base the tax was charged on, and it tells you which side of the rule is limiting your bill.
The formula.
NIIT = r × min(NII, max(MAGI − T, 0)), where NII is net investment income, MAGI is modified adjusted gross income, T is the filing-status threshold and r is the rate, 3.8%. The inner max stops a MAGI below the threshold from producing a negative excess; when that happens the base is zero and so is the tax. The outer min is the lesser-of rule from section 1411 of the Internal Revenue Code. Because MAGI includes the investment income, the two caps interact in a way that surprises people. While the MAGI excess is the smaller figure, any extra dollar of income — a bonus, an IRA withdrawal, a Roth conversion — raises the tax by 3.8 cents even though that dollar is not investment income itself, because it exposes one more dollar of NII. Once the excess is larger than NII, only additional investment income adds tax. The calculation takes NII and MAGI as finished figures: it does not sort income into investment and non-investment types, allocate expenses, or choose the threshold for you.
A worked example.
A single filer has a salary of $180,000 and $80,000 of dividends and capital gains, so MAGI is $260,000. The threshold for a single filer is $200,000. Step one: the excess over the threshold is $260,000 − $200,000 = $60,000. Step two: the base is the smaller of net investment income ($80,000) and that excess ($60,000), which is $60,000. Step three: $60,000 × 3.8% = $2,280 of net investment income tax. The excess was the binding side here, so $20,000 of the investment income is effectively sheltered by the room left under the threshold. A married couple filing jointly with exactly the same income would compare against $250,000 instead: an excess of $10,000, a base of $10,000, and a tax of $380.
Frequently asked questions.
Will selling my house trigger the 3.8% tax?
Are my IRA withdrawals or a Roth conversion subject to the NIIT?
Is rental income counted as net investment income?
Do I need to pay the NIIT during the year, or just when I file?
How is this different from the 0.9% Additional Medicare Tax?
Which expenses reduce net investment income?
Do trusts and estates pay the NIIT on the same terms?
References& sources.
- [1]IRS Questions and Answers on the Net Investment Income Tax; 3.8% rate and statutory thresholds. Retrieved 2026-08-07.
- [2]U.S. Internal Revenue Service. About Form 8960, Net Investment Income Tax. Retrieved 2026-08-07.
- [3]U.S. Internal Revenue Service. Topic no. 559, Net investment income tax. Retrieved 2026-08-07.
How this page was produced
- Published by
- Quanta Calculator
- Overseen by
- Daniel, Quanta Calculator Researcher
- Primary sources
- 3 cited below
- Method
- NIIT = 3.8% × min(net investment income, max(MAGI − filing threshold, 0))
- Published
- Last verified
Built with AI assistance and verified by automated tests against the cited sources — every worked example on this page is computed by the same code that runs the calculator. How we build and check calculators.
In this category
Embed
Quanta Pro
Paid features are coming later.
- All 1560 calculators remain free
- No billing is enabled