Free · IRC Section 1411 · No Login

Net Investment Income Tax CalculatorSee your 3.8% NIIT exposure before tax time

Calculate your 3.8% NIIT exposure based on your MAGI, filing status, and investment income. See exactly which income types are subject to NIIT and when the surcharge kicks in.

  • No login needed
  • Lesser-of formula (Form 8960)
  • All 5 filing statuses
  • Live chart

You crossed $250,000 in income this year -- which means every dollar of investment income you earned is now subject to an extra 3.8% federal tax on top of your regular rate. Most investors find out from their CPA at tax time. This calculator gives you the number before the surprise.

Net Investment Income Tax Calculator
Inputs update results instantly. No submission needed.
Filing Status & Income
Drives the NIIT threshold. MFJ: $250K. Single/HoH: $200K. MFS: $125K. Estates & Trusts: $15,650 (2025; this amount is indexed for inflation for trusts).
Your total income from all sources. Include wages, self-employment income, and all investment income listed below. NIIT MAGI may also include excluded foreign income (Form 2555).
Net Investment Income (NII) Sources
Enter each investment income type below. Wages and income from businesses where you materially participate are NOT entered here.
Bank interest, bond interest, savings account interest (1099-INT Box 1).
All dividends from 1099-DIV Box 1a. Qualified dividends are also subject to NIIT.
Net short-term gains from Schedule D (assets held 1 year or less).
Net long-term gains from Schedule D, including Section 1250 unrecaptured gains (also subject to NIIT).
Net rental income from Schedule E. Passive rental income is generally subject to NIIT. Real estate professionals may qualify for an exception.
Royalties from Schedule E or C depending on whether the activity is passive or active.
Income from partnerships, S-corps, or LLCs where you do NOT materially participate. Active business income where you materially participate is NOT subject to NIIT.
Certain expenses may reduce NII under Treas. Reg. 1.1411-4(f). Enter zero if unsure -- this is complex after TCJA. Confirm with a CPA what qualifies.
For Tax Stack Calculation
Used to show the combined federal tax rate on your NII. Note: long-term capital gains are taxed at preferential LTCG rates, not your ordinary rate.

Your NIIT Exposure Estimate

$0
Estimated Net Investment Income Tax (IRC Section 1411)
No NIIT applies at your current income level
Threshold Check
Filing status --
NIIT threshold --
Your MAGI --
Amount over threshold --

Your Net Investment Income (NII)
Taxable interest --
Dividends --
Short-term capital gains --
Long-term capital gains --
Net rental income --
Royalties --
Passive business income --
Less: Investment expenses --
Total Net Investment Income --

NIIT Calculation (Lesser-Of Formula)
NII vs. Amount over threshold --
NIIT applies to the lesser --
NIIT rate 3.8%
Your NIIT --

Federal Tax Stack on Investment Income
Ordinary federal income tax on NII --
NIIT surcharge (3.8%) --
Combined federal rate on investment income --
Note: Long-term capital gains are taxed at preferential LTCG rates (0%, 15%, or 20%), not at your ordinary income rate. This stack shows the combined federal rate treating all NII as ordinary income. For capital gains precision, see the Depreciation Recapture Calculator or 1031 Exchange Calculator.
Effective surcharge on total NII --
NII Composition
Your net investment income by source
MAGI vs. Threshold
How far above or below the NIIT threshold you sit

How NIIT Works

The Net Investment Income Tax is a 3.8% federal surtax imposed under IRC Section 1411. It applies when your modified adjusted gross income (MAGI) exceeds a threshold based on your filing status, and it taxes investment income -- not all income. Wages, self-employment income, and Social Security are not subject to NIIT.

The key phrase: NIIT applies to the lesser of (a) your net investment income or (b) the amount your MAGI exceeds the applicable threshold. This lesser-of formula is shown in the calculator above, and it is the single most misunderstood aspect of NIIT.

Not indexed for inflation. The NIIT thresholds ($200,000 for single filers, $250,000 for married filing jointly) have not changed since NIIT was enacted in 2013. Bracket creep means more households cross these thresholds each year without any real income growth. These thresholds remain unadjusted for 2025 and 2026.

Income Types Subject to NIIT

Net Investment Income (NII) includes:

  • Taxable interest (bank interest, bond interest, savings interest)
  • Dividends -- both ordinary and qualified dividends are subject to NIIT
  • Net capital gains -- short-term and long-term, including Section 1250 unrecaptured gains
  • Net rental income from passive activities
  • Royalties
  • Income from passive business activities (partnerships, S-corps, LLCs where you do not materially participate)

Income NOT subject to NIIT includes wages, self-employment income, active business income, Social Security benefits, alimony, tax-exempt interest, pension income, and distributions from IRAs and qualified retirement plans.

Real-World Exceptions and Flags

The calculator computes the standard NIIT formula. Several important exceptions apply in practice -- consult a CPA if any of these apply to your situation.

Material Participation Exception
Income from a trade or business where you materially participate is generally NOT subject to NIIT. Income from a business where you invest but do not materially participate (passive activity) IS subject to NIIT. This distinction matters most for S-corp owners, limited partners, and real estate investors with property management arrangements. (Treas. Reg. 1.1411-5)
Real Estate Professional Exception
Taxpayers who qualify as real estate professionals -- more than 750 hours per year in real property trades and more than half their working hours in those activities -- may be able to treat rental income as non-passive and exclude it from NIIT. The NIIT real estate professional exception (Treas. Reg. 1.1411-4(g)) has specific requirements that differ from the passive loss rules.
Self-Rental Rule
When you rent property to a business you also own and materially participate in, the rental income may be treated as non-passive -- and potentially not subject to NIIT. This is an advanced planning area that requires CPA analysis specific to your entity structure.
Installment Sales
If a prior-year installment sale is generating recognized gain payments this year, those installment payments may be subject to NIIT in the year received. The NIIT exposure from an installment sale can extend across multiple tax years.
Married Filing Separately: The Threshold Trap
The MFS NIIT threshold is $125,000 -- a fixed number per spouse, not half of $250,000. A couple with $220,000 in combined income who file separately may not automatically avoid NIIT. Depending on how their income splits, one or both spouses could still trigger the surcharge.

Tax Tool Toolkit

This calculator is part of FigureNerd's Tax and Investment Income cluster:

Frequently Asked Questions

What is the Net Investment Income Tax (NIIT)?

The Net Investment Income Tax is a 3.8% federal surtax on net investment income that applies when your modified adjusted gross income exceeds $200,000 (single) or $250,000 (married filing jointly). It was enacted by the Affordable Care Act and went into effect in 2013. NIIT applies on top of regular income tax and capital gains tax -- it does not replace them.

What income is subject to NIIT?

Net Investment Income includes taxable interest, dividends, capital gains, net rental income, royalties, and income from passive business activities. Wages, self-employment income, Social Security benefits, and income from businesses where you materially participate are generally not subject to NIIT. The NIIT applies to the net amount after certain investment expense deductions.

How is NIIT calculated?

NIIT is 3.8% times the lesser of: (1) your net investment income, or (2) the amount your modified adjusted gross income exceeds the applicable threshold ($200,000 for single filers, $250,000 for married filing jointly). You compute NIIT on IRS Form 8960 and attach it to your Form 1040.

Can a 1031 exchange reduce NIIT?

Yes. A 1031 like-kind exchange defers the capital gain and rental income event that would otherwise create net investment income. By reinvesting in a replacement property within the IRS-required 180-day window, you defer the gain -- and the NIIT that would have applied to it -- into future tax years. If you continue doing 1031 exchanges, the NIIT can be deferred indefinitely.

Is rental income always subject to NIIT?

Rental income is generally subject to NIIT for passive investors. Taxpayers who qualify as real estate professionals (750 or more hours per year in real property trades and more than half their working hours in those activities) may be able to treat rental income as non-passive and potentially exclude it from NIIT. The NIIT real estate professional exception has specific requirements that differ from the passive loss rules -- consult a CPA if you may qualify.

This calculator is designed to estimate Net Investment Income Tax under IRC Section 1411. The computation uses the lesser-of formula: NIIT applies to the lesser of your net investment income or the amount your MAGI exceeds the applicable threshold. Results are for educational planning purposes only. Complex scenarios -- including material participation exceptions, real estate professional status, self-rental rules, and installment sales -- are not fully modeled here. Thresholds are based on 2025/2026 IRS guidance. Consult a CPA or tax attorney before making transactions based on this estimate. IRS Form 8960 and its instructions are the authoritative source for NIIT computation.