Free tool

Net investment income tax calculator

Enter your filing status, your modified adjusted gross income and your net investment income. The calculator applies the threshold for your status and the smaller-of rule from the Form 8960 instructions. It does not work out what counts as net investment income.

Reviewed November 26, 2026 · Runs in your browser

Your AGI plus any foreign earned income exclusion you took. For most people that is their AGI.

From Form 8960, line 12.

Net investment income tax

$2,280

Income the 3.8% applies to
$60,000

Net investment income is smaller than the excess, so the tax is figured on net investment income.

Step by step

  1. Threshold for your filing status$200,000Set by section 1411 and not indexed.
  2. Modified AGI over the threshold$80,000Modified AGI less the threshold, or zero.
  3. Net investment income$60,000The amount you entered.
  4. Smaller of the two$60,000The tax applies to the smaller of net investment income and the excess.
  5. Net investment income tax$2,2803.8 percent of the smaller amount.

Rules and sources: see Sources below.

A general answer, not tax advice. The math runs in your browser; nothing you enter is sent or stored.

How it works

Individuals owe 3.8% of the smaller of their net investment income and the amount by which modified AGI is over the threshold for their filing status. The thresholds are 250,000 for joint filers, 125,000 for separate filers and 200,000 for everyone else.

The calculator takes your two figures and applies that rule. Working out net investment income, including the deductions allocable to it, is done on Form 8960 and is not covered here.

The rule in plain words. Tax equals 3.8% of the smaller of net investment income and modified AGI over the threshold.

Each step and its rule

  1. Threshold for your filing status. Set by section 1411 and not indexed.
  2. Modified AGI over the threshold. Modified AGI less the threshold, or zero.
  3. Net investment income. The amount you entered.
  4. Smaller of the two. The tax applies to the smaller of net investment income and the excess.
  5. Net investment income tax. 3.8 percent of the smaller amount.

Worked example

A single filer with 280,000 of modified AGI and 60,000 of net investment income. The excess is 80,000, so the tax applies to 60,000.

Filing statusSingle or head of household
Modified adjusted gross income$280,000
Net investment income$60,000

Net investment income tax

$2,280

Income the 3.8% applies to
$60,000

Net investment income is smaller than the excess, so the tax is figured on net investment income.

Step by step

  1. Threshold for your filing status$200,000Set by section 1411 and not indexed.
  2. Modified AGI over the threshold$80,000Modified AGI less the threshold, or zero.
  3. Net investment income$60,000The amount you entered.
  4. Smaller of the two$60,000The tax applies to the smaller of net investment income and the excess.
  5. Net investment income tax$2,2803.8 percent of the smaller amount.

Rules and sources: see Sources below.

Sources

Checked November 26, 2026. Public pages and tax rules change; confirm them before relying on them.

Questions about this tool

What are the thresholds?

Married filing jointly and qualifying surviving spouse are 250,000 dollars, married filing separately is 125,000, and single or head of household is 200,000. They are set in the statute and are not indexed for inflation.

What counts as net investment income?

In general interest, dividends, capital gains, rental and royalty income and non-qualified annuities, less allowed deductions. It generally does not include wages, unemployment compensation, Social Security benefits or most self-employment income.

Is the gain on my home included?

Gain on the sale of a personal residence that is excluded from gross income for regular income tax is not net investment income. Only the part of the gain that is taxed counts.

How does it differ from the Additional Medicare Tax?

The 0.9 percent Additional Medicare Tax applies to wages and self-employment income over a threshold. The two taxes can both apply, but not to the same type of income.

Is this tax advice?

No. It is a general answer from the Form 8960 instructions. Trusts, estates, nonresident aliens and the elections on the form are outside it, so confirm with a tax professional.

Let Usual send the follow-ups.

Start free