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

We earn commissions from purchases made through links on this page.

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: $16,000 (2026; 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
Considering a different structure for this income? Bizee's Standard and Premium LLC formation packages include registered agent service, with add-ons like a virtual business address and privacy protection available if you want your name off public filings. Worth a look if this income comes from a business you have not formally structured yet.
We may earn a commission if you sign up through this link, at no extra cost to you.
See Bizee's LLC packages →

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, $125,000 married filing separately) have not changed since NIIT was enacted in 2013 (IRS Topic 559, Net Investment Income Tax). Bracket creep means more households cross these thresholds each year without any real income growth. These thresholds remain unadjusted for 2025 and 2026.

Worked example: why "3.8% of your investment income" is the wrong mental model

Run the calculator above with a single filer, $260,000 MAGI, $8,000 in dividends, $30,000 in long-term capital gains, and $12,000 in rental income, with interest, short-term gains, royalties, passive business income, and investment expenses all cleared to $0 (the calculator loads with a sample $4,500 of interest and $1,200 of expenses pre-filled; clear those two fields to reproduce this example exactly). Net investment income comes to $8,000 + $30,000 + $12,000 = $50,000. The threshold excess is $260,000 minus the $200,000 single threshold, or $60,000. The lesser-of formula compares $50,000 (NII) against $60,000 (excess) and taxes the smaller number: $50,000 x 3.8% = $1,900 in NIIT.

Now change only the MAGI, down to $210,000, barely over the threshold, while keeping a big $80,000 NII year (say, from selling a rental property). The naive assumption, 3.8% of all investment income, gives 0.038 x $80,000 = $3,040. The actual formula caps NIIT at the smaller of NII or excess: excess is only $210,000 minus $200,000, or $10,000, so NIIT is 0.038 x $10,000 = $380, a full $2,660 less than the naive estimate. Being barely over the threshold protects most of that capital gain from the surtax, even in a huge investment-income year. That gap is exactly why the calculator above walks through both sides of the lesser-of comparison instead of just multiplying your NII by 3.8%.

Not the same tax as the Additional Medicare Tax. NIIT is frequently confused with the 0.9% Additional Medicare Tax, since both were created by the same legislation, both took effect in 2013, and both start at similar-sounding MAGI thresholds. The difference is what they tax: NIIT's 3.8% applies to investment income like interest, dividends, and capital gains. The Additional Medicare Tax's 0.9% applies to wages and self-employment income instead, the income NIIT specifically excludes. A high earner with both wage income and investment income above the threshold can owe both surtaxes at once, on two different pools of income, calculated on two different IRS forms (Form 8960 for NIIT, Form 8959 for the Additional Medicare Tax).

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.

Estates and trusts hit NIIT at a far lower dollar amount

Select "Estates and Trusts" as the filing status above and the threshold drops to a small fraction of the individual amounts. Trusts and estates hit their top 37% income tax bracket at a strikingly low level of undistributed income, and NIIT applies starting at that same point. For 2026, the IRS set the top trust bracket, and this calculator's estate threshold, at a figure in the mid five-figure range, a small fraction of the $200,000 individual threshold. Unlike the individual thresholds, the trust and estate figure is not fixed; it is tied to the top ordinary income bracket for trusts and gets republished in an annual IRS revenue procedure, so it is worth reconfirming each filing season rather than assuming last year's number still applies.

Run the calculator with the estate filing status, $40,000 in undistributed trust income and $35,000 of that as net investment income, and you can see the mechanism directly: because the threshold is so low, almost all of the trust's investment income ends up exposed to NIIT, unlike an individual with the same $35,000 of investment income sitting comfortably under a $200,000 or $250,000 threshold. This is the reason trustees often push income out to beneficiaries through distributions before year end. A beneficiary receiving that same income typically reports it on their own return and tests it against their own, much higher, individual threshold instead of the trust's compressed one, an approach known as the distributable net income deduction. That decision involves trust accounting and fiduciary duties beyond what this calculator models, so loop in a CPA who works with trusts before acting on it.

Tax Tool Toolkit

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

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.

Why does someone barely over the NIIT threshold sometimes pay less tax than someone with the same investment income who is further over?

Because NIIT is capped by whichever number is smaller: your net investment income, or the amount your MAGI exceeds the threshold. A filer at $210,000 MAGI with $80,000 of net investment income only owes NIIT on the $10,000 excess over the $200,000 threshold, 0.038 x $10,000 = $380, not 0.038 x $80,000 = $3,040. A filer at $260,000 MAGI with the same $80,000 NII owes NIIT on the full $60,000 excess, since $60,000 is now the smaller number: 0.038 x $60,000 = $2,280. Same investment income, very different NIIT bills, purely because of how far over the threshold the MAGI sits.

Are the NIIT thresholds the same every year?

The individual thresholds ($200,000 single and head of household, $250,000 married filing jointly, $125,000 married filing separately) are fixed dollar amounts written into IRC Section 1411 and have not been adjusted for inflation since NIIT took effect in 2013, per IRS Topic 559. The estates and trusts threshold is the exception; it is tied to the top trust tax bracket and does adjust annually. For individuals, that means more households cross into NIIT territory over time from ordinary wage and investment growth alone, without any change in the law.

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.

Get new calculators and money guides as we publish them. No spam, unsubscribe anytime.

We only email you about FigureNerd tools and guides. See our privacy policy. Unsubscribe anytime.