Skip to content

NIIT 3.8% Tax Calculator

Estimate Net Investment Income Tax using the Form 8960 lesser-of test. Model MAGI thresholds, net investment income, capital gains, dividends, passive income, deductions, Roth conversion exposure, and estimated payment planning.

Last Updated: May 31, 2026

NIIT Inputs

Estimate Form 8960 exposure by separating non-investment MAGI from net investment income such as interest, dividends, gains, passive rental income, and nonqualified annuities.

Controls the statutory NIIT MAGI threshold.

$

Wages, retirement distributions, taxable Social Security, active business income, and other MAGI before NII.

$

Taxable interest from Form 1040 line 2b or Form 8960 line 1.

$
$

Qualified dividends can receive preferential regular tax rates, but they still count in NII.

$

Use net Schedule D gain after capital-loss offsets. Negative values are allowed for planning.

$

Enter net passive rental or royalty income after property-level expenses.

$
$
$

Income from trading financial instruments or commodities can require Form 8960 review.

$
$

Use only deductions not already reflected in the net income fields.

$

Section 911 foreign earned income add-backs, CFC/PFIC adjustments, and similar NIIT MAGI adjustments.

$

Optional cash-flow field for estimated payment planning.

NIIT 3.8% Tax

$1,976.00

NIIT Base

$52,000.00

Net Investment Income

$66,000.00

Modified AGI

$252,000.00

MAGI Above Threshold

$52,000.00

Estimated NIIT Balance

$476.00

Form 8960 Readout

The modeled NIIT base is $52,000.00 because the calculator compares $66,000.00 of net investment income with $52,000.00 of MAGI above the selected threshold. Current status: MAGI excess cap applies.

Filing-status threshold
$200,000
Threshold room
$0.00
Exposed NII remaining
$14,000.00
Effective rate on NII
2.99%
Marginal NIIT on extra investment income
3.80%
Marginal NIIT on extra non-investment income
3.80%
Payments entered
$1,500.00
Overpaid
$0.00
MAGI needed for full NII exposure
$14,000.00

NIIT Worksheet Lines

Worksheet itemAmount
1. Total modeled investment income$67,000.00
2. Less Form 8960 deductions$1,000.00
3. Net investment income$66,000.00
4. Modified adjusted gross income$252,000.00
5. Filing-status threshold$200,000.00
6. MAGI above threshold$52,000.00
7. Lesser of line 3 or line 6$52,000.00
8. NIIT at 3.8%$1,976.00
9. Withholding and estimated payments entered$1,500.00
10. Estimated NIIT balance due$476.00

Income Classification

ItemNIIT treatmentAmount
Non-investment MAGIMAGI only / adjustment$185,000.00
Taxable interestIncluded in NII model$2,000.00
Ordinary dividendsIncluded in NII model$3,000.00
Qualified dividendsIncluded in NII model$7,000.00
Net capital gainsIncluded in NII model$55,000.00
Rental, royalty, and passive incomeIncluded in NII model$0.00
Nonqualified annuitiesIncluded in NII model$0.00
Passive business incomeIncluded in NII model$0.00
Trading business incomeIncluded in NII model$0.00
Other net investment incomeIncluded in NII model$0.00
MAGI add-backsMAGI only / adjustment$0.00
Form 8960 deductionsIncluded in NII model$1,000.00

NIIT Planning Estimate Disclaimer

This calculator is an educational estimate for individual taxpayers. It does not replace Form 8960, tax software, or professional review for estates, trusts, nonresident aliens, CFC/PFIC interests, business disposition adjustments, passive activity rules, or detailed deduction allocation.

Professional Review Status

This YMYL page has internal methodology review, but no external credentialed professional review is recorded yet.

Internal methodology review only
Reliance status
Credentialed tax review required before professional reliance
Required credentials
CPA, Enrolled Agent, licensed tax professional
Review scope
tax formulas, jurisdiction assumptions, withholding language, filing-sensitive examples, and compliance caveats

Current reviewer: Iliyas Khan, Internal tax and sales-tax methodology reviewer.

This page is educational planning support. A named CPA, EA, or licensed tax professional should review the page before it is positioned as tax advice or used for filing decisions.

Tax credentialed review: professional reliance limit

This page is educational planning support. A named CPA, EA, or licensed tax professional should review the page before it is positioned as tax advice or used for filing decisions. Results should be treated as a preliminary estimate, not a filing instruction, diagnosis, product recommendation, eligibility decision, or compliance sign-off. Required professional review: CPA, Enrolled Agent, licensed tax professional. Source expectation: Review should cite current IRS, state revenue department, payroll-tax, or official tax authority sources where applicable.

Checked by Iliyas Khan

NIIT 3.8% Tax Calculator is checked for formula labels, source links, and result limits.

Iliyas Khan, Chief Operating Officer. Updated May 31, 2026. Scope: tax calculators.

Tax credentialed review: Named internal reviewer: Iliyas Khan, Chief Operating Officer. External credentialed professional review is still required before this page is treated as professional advice.

Internal tax and sales-tax methodology reviewer. Review scope: calculator assumptions, labels, source context, workflow clarity, and compliance-sensitive disclaimers.

Relevant review context: CalculatorWallah tax and sales-tax calculator workflow owner; Source-first review of IRS, state revenue, rate, and filing-sensitive references; Compliance-sensitive labels, assumptions, and user-facing disclaimer review.

Required professional credentials: CPA, Enrolled Agent, licensed tax professional. Scope: tax formulas, jurisdiction assumptions, withholding language, filing-sensitive examples, and compliance caveats.

This page is educational planning support. A named CPA, EA, or licensed tax professional should review the page before it is positioned as tax advice or used for filing decisions.

Sources & methodology · Review standards

How To Use The NIIT 3.8% Tax Calculator

Start with filing status and non-investment MAGI. Non-investment MAGI is where you place wages, taxable retirement distributions, taxable Social Security, active business income, and other taxable income that is not net investment income.

Then enter investment income by category. Use net amounts for items such as capital gains and passive rental income when losses or property expenses have already been applied. Use the Form 8960 deductions field only for additional allocable deductions that have not already reduced an income field.

The output shows the two caps separately: net investment income and MAGI above the filing-status threshold. NIIT applies only to the smaller number.

  1. Step 1: Choose filing status

    The selected filing status controls the statutory MAGI threshold used on Form 8960.

  2. Step 2: Enter non-investment MAGI

    Include wages, retirement distributions, taxable Social Security, active business income, and other MAGI before net investment income.

  3. Step 3: Break out investment income

    Enter taxable interest, dividends, net capital gains, rental or royalty income, annuities, passive business income, and other NII items separately.

  4. Step 4: Add Form 8960 deductions and MAGI add-backs

    Use deductions only when they are allocable to NII and not already reflected in a net income field. Add section 911 and similar MAGI adjustments when relevant.

  5. Step 5: Review the lesser-of test

    NIIT is 3.8% of the lesser of net investment income or MAGI above the threshold. The readout shows which cap controls.

How The NIIT 3.8% Formula Works

NIIT applies at 3.8% to individual taxpayers who have both net investment income and modified adjusted gross income above the applicable threshold. The tax is not charged on all income. It is charged on the lesser of net investment income or MAGI above the threshold.

The thresholds are statutory and are not indexed like ordinary tax brackets. That is why the same threshold amounts continue to matter in high-income planning years.

Filing statusNIIT MAGI thresholdPlanning note
Single$200,000Same threshold as head of household.
Married filing jointly$250,000Also used for qualifying surviving spouse.
Married filing separately$125,000Lower threshold can create NIIT exposure earlier.
Head of household$200,000Same threshold as single.
Qualifying surviving spouse$250,000Same threshold as married filing jointly.

NIIT 3.8% Tax Guide: Form 8960, MAGI Thresholds, Net Investment Income, Roth Conversion Exposure, Passive Income, And Estimated Payments

What income can be net investment income?

Net investment income is not just one line from a brokerage statement. Form 8960 can include interest, dividends, gains, certain rental and royalty income, nonqualified annuity income, passive activity income, and trading income. The final result can be reduced by properly allocable deductions.

Income itemNIIT treatmentCalculator note
Taxable interestGenerally NIIBank interest, CD interest, corporate bond interest.
DividendsGenerally NIIOrdinary and qualified dividends can both count.
Capital gainsGenerally NIIIncludes many stock, fund, crypto, and property gains.
Rental and royalty incomeOften NII when passiveEnter net amounts after property-level expenses.
Nonqualified annuitiesOften NIIQualified retirement-plan distributions are different.
Passive business incomeCan be NIIMaterial participation and self-employment treatment can change the result.
Trading incomeCan be NIITrading financial instruments or commodities can require Form 8960 detail.

What is excluded from NIIT?

Some income is not net investment income but still matters. Wages, taxable retirement distributions, taxable Social Security, and Roth conversion income can raise MAGI. When MAGI rises above the threshold, existing investment income can become exposed to the 3.8% tax.

Income itemNIIT treatmentWhy it still matters
Wages and active compensationNot NIIStill included in MAGI, so it can expose investment income.
Social Security benefitsNot NIITaxable Social Security can be part of MAGI if included in AGI.
IRA, 401(k), and pension distributionsGenerally not NIITaxable distributions can raise MAGI and indirectly increase NIIT.
Most self-employment incomeGenerally excludedForm 8960 has special rules for business income and self-employed individuals.
Excluded home-sale gainExcluded to the extent not taxedThe regular section 121 exclusion generally keeps that part out of NII.
Tax-exempt interestGenerally not NIIDifferent from the Social Security taxable-benefits worksheet.

Why the lesser-of test matters

The NIIT base is limited twice. If net investment income is $80,000 but MAGI is only $20,000 above the threshold, the base is $20,000. If MAGI is far above the threshold but net investment income is only $12,000, the base is $12,000. The calculator labels which cap controls so the result is easier to diagnose.

Common planning triggers

NIIT often appears when several decisions happen in the same tax year: a stock sale, a Roth conversion, a required minimum distribution, passive rental income, or a high dividend year. The best estimate usually starts with the full-year MAGI stack, not a single isolated investment item.

Planning triggerNIIT effectHow to use the calculator
Large capital gain yearRaises NII and MAGI at the same time.Can create full 3.8% exposure when the gain pushes MAGI over the threshold.
Roth conversionRaises MAGI but is not NII.Can expose existing dividends, interest, gains, or passive income to NIIT.
RMD or pension yearRaises MAGI but is generally not NII.Can still move a taxpayer above the statutory NIIT threshold.
Loss harvestingMay reduce net capital gain and NII.The final result depends on capital-loss limits, carryovers, and Form 8960 treatment.

Connect NIIT to other tax tools

Use this page when the main question is Form 8960 exposure. If you need regular tax on dividends and interest too, use the Dividend and Investment Income Tax Calculator. If the issue is sale proceeds, cost basis, and holding period, use the Capital Gains Tax Calculator. If ordinary income from a Roth conversion is the driver, use the Roth Conversion Tax Calculator.

Keep the research moving with Dividend and Investment Income Tax Calculator, Capital Gains Tax Calculator, Roth Conversion Tax Calculator, and Federal Income Tax Calculator.

Frequently Asked Questions

The Net Investment Income Tax is a 3.8% federal surtax on the lesser of net investment income or modified adjusted gross income above the statutory filing-status threshold.

The individual thresholds are $200,000 for single and head of household, $250,000 for married filing jointly and qualifying surviving spouse, and $125,000 for married filing separately. These thresholds are statutory and are not indexed like ordinary tax brackets.

NIIT can include taxable interest, dividends, capital gains, rental and royalty income, nonqualified annuities, passive business income, trading income, and other investment income, reduced by properly allocable Form 8960 deductions.

Wages, unemployment compensation, Social Security benefits, alimony, most self-employment income, and most qualified retirement-plan distributions are generally not net investment income. Some excluded items can still raise MAGI and expose investment income to NIIT.

A Roth conversion is not net investment income, but it can raise MAGI. If the taxpayer also has net investment income, the higher MAGI can increase the amount exposed to the 3.8% tax.

Tax-exempt interest is generally not net investment income and is not added to NIIT MAGI the way it is for the Social Security taxable-benefits worksheet. State rules and AMT considerations can still matter.

No. NIIT is a 3.8% tax on certain investment income when MAGI is above the threshold. Additional Medicare Tax is a separate 0.9% payroll/self-employment tax on earned income above its thresholds.

No. It is a planning estimate. Form 8960 includes detailed lines, adjustments, elections, estate and trust rules, CFC/PFIC rules, and allocation methods that may require tax software or professional review.

Related Calculators

Related Guides

Sources & References

  1. 1.IRS - Net Investment Income Tax(Accessed May 2026)
  2. 2.IRS Topic No. 559 - Net Investment Income Tax(Accessed May 2026)
  3. 3.IRS Instructions for Form 8960(Accessed May 2026)
  4. 4.IRS Form 8960 - Net Investment Income Tax(Accessed May 2026)
  5. 5.IRS Questions and Answers on the Net Investment Income Tax(Accessed May 2026)
  6. 6.IRS Publication 550 - Investment Income and Expenses(Accessed May 2026)