Skip to content
Menu

NIIT calculator

Work out the 3.8% net investment income tax: how much of your investment income it reaches, how far your income is over the threshold, and how much room is left when you owe nothing.

Inputs

Wages, business income, pensions, IRA and 401(k) withdrawals, taxable Social Security.

Taxable interest, dividends, capital gains, rents, royalties, passive business income.

Form 8960 Part II: investment interest, the share of state income tax on investment income.

NIIT owed
$760.00

3.8% of $20,000

Investment income taxed
$20,000

of $30,000 net investment income

MAGI over the threshold
$20,000

MAGI $220,000, threshold $200,000

Rate on investment income
2.53%

NIIT ÷ net investment income

The lesser-of rule

3.8% × the smaller of $30,000 (net investment income) and $20,000 (MAGI over $200,000) = 3.8% × $20,000 = $760.00. Each extra dollar of MAGI, from any source, adds 3.8 cents of NIIT until the excess reaches $30,000.

The NIIT formula

NIIT = 3.8% × the smaller of net investment income and modified AGI above the threshold. The threshold is $200,000 for a single filer or head of household, $250,000 for a married couple filing jointly (or a surviving spouse) and $125,000 for married filing separately. The tax can never be more than 3.8% of net investment income.

What counts

Net investment income includes taxable interest, ordinary and qualified dividends, capital gains, rents and royalties, annuities from contracts outside retirement plans, and income from a business that is passive to you. It does not include wages, self-employment income, income of an active business, distributions from IRAs, 401(k)s and other retirement plans, municipal bond interest, Social Security benefits, or home-sale gain excluded under § 121.

Income that is not investment income still counts toward modified AGI. A raise, an IRA withdrawal or a Roth conversion can bring investment income into the tax. In “Add up my income” the calculator takes modified AGI as other income plus investment income. The deductions on Form 8960 lower net investment income but not AGI. Investment advisory fees are not deductible.

Assumptions and limits

This is the tax for individuals under Internal Revenue Code § 1411. The thresholds are set in § 1411(b) and are not adjusted for inflation: they have been the same since the tax began in 2013 and apply to tax years 2026 and 2027 unchanged. Modified AGI here equals AGI; it is higher only for foreign earned income excluded under § 911 and some foreign company holdings. Estates and trusts pay the NIIT above a much lower amount ($16,000 of AGI in 2026) and are not covered. Nonresident aliens do not pay it. Whether an item is net investment income can turn on facts, such as whether a business is passive, that a tax professional decides. The NIIT is reported on Form 8960. Read more in Net investment income tax (NIIT): the 3.8% surtax in depth.

More calculators

For illustration, not investment advice. A calculator shows what follows from the numbers you enter; it does not predict returns or recommend any security. Taxes, fees and real returns will differ.