StructureX

Home › Tools

Net investment income tax calculator

This page is for United States, federal rules (IRS); state taxes are not covered

Pick a filing status, then type your modified adjusted gross income (MAGI) and your net investment income. You get the 3.8% tax and the Form 8960 lines that lead to it.

Free tool · IRS Form 8960 and instructions · US federal only · runs in your browser · Updated 2026-11-28

The tax is 3.8% of the smaller of two amounts: your net investment income, and your MAGI minus the threshold for your filing status. The IRS 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.

Form 8960 lineWhat it isAmount

How it works: the IRS taxes 3.8% of the smaller of two numbers: your net investment income, and the amount your MAGI is over the threshold for your filing status. If MAGI is at or under the threshold, or net investment income is zero or less, the tax is zero. MAGI is your adjusted gross income, plus any foreign earned income you excluded.

The formula

MAGI
modified adjusted gross income: adjusted gross income, plus any foreign earned income you excluded
Threshold
$200,000 single or head of household, $250,000 married filing jointly or qualifying surviving spouse, $125,000 married filing separately
Net investment income
interest, dividends, capital gains, rents, royalties, non-qualified annuities and passive-business income, less the expenses allocable to them

Worked example (IRS Q&A, single filer)

  1. A single filer has $180,000 of wages and $90,000 from a passive partnership interest. MAGI is $270,000. Net investment income is $90,000.
  2. MAGI is $70,000 over the $200,000 single threshold ($270,000 − $200,000).
  3. The smaller of $90,000 and $70,000 is $70,000. The tax is $70,000 × 3.8% = $2,660.

The net investment income tax is $2,660. The IRS Q&A page gives this same example.

What this assumes

Questions

What is the net investment income tax rate?

3.8%, under section 1411 of the Internal Revenue Code, on the smaller of net investment income and the MAGI over the threshold. See the net investment income tax guide.

What are the thresholds?

$200,000 for single and head of household, $250,000 for married filing jointly and qualifying surviving spouse, $125,000 for married filing separately. The IRS says they are not indexed for inflation.

Where does the tax go on my return?

Figure it on Form 8960. The result goes on Schedule 2 (Form 1040), line 12.

Does my whole investment income get taxed?

Not unless it is the smaller number. If MAGI is only a little over the threshold, only the amount over the line is taxed.

Reminder: this page is for United States, federal rules (IRS); state taxes are not covered

Follow along

XTradingViewFacebook