Articles

How to calculate the net investment income tax

3.8% of the smaller of net investment income and MAGI over the threshold. The work is in sorting each item in or out.

The net investment income tax is 3.8% of the smaller of two amounts: net investment income, and MAGI over $250,000 (joint), $200,000 (single) or $125,000 (married filing separately). A single filer with MAGI of $260,000 and net investment income of $45,000 has an excess of $60,000, so the tax falls on the $45,000: $1,710.00.

Worked in full in The Net Investment Income Tax Handbook by Julian R. Sterling.Get the DRM-free PDF, $19.99 →or the paperback

Free: the net investment income tax calculator in Excel: Form 8960 (2025) lines 1 to 17 with the threshold of each filing status, and lines 18a to 21 for estates and trusts, with live formulas.

The rule in three lines

Section 1411 of the Internal Revenue Code imposes a tax of 3.8% on an individual's net investment income or, if smaller, on the amount by which modified adjusted gross income (MAGI) exceeds a threshold. The thresholds are $250,000 for a joint return or a qualifying surviving spouse, $125,000 for married filing separately and $200,000 for everyone else. They are written into the statute and are not indexed for inflation. The computation is made on Form 8960 and the tax is carried to Schedule 2 of Form 1040.

Net investment income = interest, dividends, annuities, royalties and rents + income from passive businesses and trading + net gain − properly allocable deductions

Excess MAGI = MAGI − threshold, not below zero

Tax = 3.8% × the smaller of the two

Worked example: a single filer

A single filer has MAGI of $260,000, mostly wages. Her investment income, after the deductions that are properly allocable to it, comes to $45,000: interest, dividends and a capital gain on a brokerage account.

Fictional example, rules as read in November 2026 (section 1411(a)(1) and (b); Form 8960 (2025), lines 12 to 17).
StepAmount
MAGI$260,000
Threshold (single)$200,000
Excess MAGI$60,000
Net investment income$45,000
Smaller of the two$45,000
Tax at 3.8%$1,710.00

Here net investment income, $45,000, is smaller than the excess of $60,000, so the tax is 3.8% of $45,000: $1,710.00. Had her investment income been larger than the excess, the tax would have followed the excess instead, and each extra dollar of investment income would have added nothing.

The trap: thinking wages are taxed. Wages are not net investment income, but they raise MAGI. A high salary can put every dollar of investment income inside the tax without being taxed itself.

Step 1: sort the income

Net investment income has three categories: (1) gross income from interest, dividends, annuities, royalties and rents, unless derived in the ordinary course of a trade or business that is not a passive activity or a trading business; (2) other gross income from a trade or business that is passive for the taxpayer or that trades financial instruments or commodities; and (3) net gain from the disposition of property, other than property held in a non-passive, non-trading business. Wages, self-employment income, distributions from qualified retirement plans and IRAs, tax-exempt interest, Social Security benefits, unemployment compensation and Alaska Permanent Fund dividends are among the items that stay out.

On Form 8960 the first category, and passive business income, sit on lines 1 to 4a, the adjustments for an active business on line 4b, gains on lines 5a to 5d and other modifications on line 7. An owner who works in an S corporation removes its income on line 4b; a landlord who rents to his own active company may remove the rent there too (the rental income article works that case).

Step 2: subtract the properly allocable deductions

Only deductions properly allocable to the income can reduce it: investment interest expense (line 9a), the part of state, local and foreign income tax attributable to net investment income (line 9b), and additional modifications (line 10). For 2025, miscellaneous investment expenses such as advisory fees are generally not deductible, so line 9c is usually zero. A deduction that relates both to investment income and to other income is split by a reasonable method, for example the ratio of investment gross income to adjusted gross income.

Step 3: compare and take the smaller amount

Line 12 is net investment income, line 15 the excess of MAGI over the threshold, line 16 the smaller of the two and line 17 the tax. For most individuals MAGI is simply adjusted gross income; it differs only for taxpayers who exclude foreign earned income or hold certain foreign corporations. Estates and trusts use lines 18a to 21, with undistributed net investment income and a much lower threshold, the amount at which the highest trust bracket begins ($15,650 for 2025).

Sources

  1. 26 U.S.C. 1411, Imposition of tax (net investment income tax)
  2. 26 CFR 1.1411-4, Definition of net investment income
  3. IRS, Instructions for Form 8960 (2025)
  4. IRS, Topic No. 559, Net investment income tax

Figures checked on 21 November 2026. Rules as read in November 2026. Illustrative examples, not tax or legal advice: a CPA confirms how each real item is classified and the tax that applies. The taxpayers, companies and properties in the examples are fictional.

Questions readers ask

What is the net investment income tax rate?

3.8% of the smaller of net investment income and the excess of modified adjusted gross income over the threshold (section 1411(a)(1)).

Are the net investment income tax thresholds indexed for inflation?

No. They are fixed by section 1411(b): $250,000 for married filing jointly or a qualifying surviving spouse, $125,000 for married filing separately, and $200,000 for single filers and heads of household.

Are wages subject to the net investment income tax?

No. Wages and self-employment income are excluded from net investment income, but they count in MAGI, so they can push investment income into the tax.

Where is the tax reported?

On Form 8960, attached to the return; the amount on line 17 (individuals) or line 21 (estates and trusts) is carried to Schedule 2 of Form 1040, or to the estate's or trust's return.

Read the whole book

This article is one calculation from The Net Investment Income Tax Handbook, a practitioner’s guide to section 1411 and Form 8960: the thresholds and the lesser-of test, the three kinds of net investment income, the trade or business exception, self-rentals and real estate professionals, self-charged interest, sales of S corporation stock, properly allocable deductions, estates and trusts.

Also on this site