The lesser-of rule is the whole design. A household with an enormous portfolio and modest total income pays on the modified adjusted gross income excess, which may be nothing. A household with a very large salary and one small dividend pays on the dividend. Neither pays 3.8% of everything. The practical result is that the tax phases itself in: a couple whose modified adjusted gross income has just crossed the joint threshold owes the tax only on the small amount by which they crossed, however large their investment income happens to be.
What counts as net investment income. Section 1411(c) builds it from three categories: gross income from interest, dividends, annuities, royalties and rents; gross income from a passive trade or business or from trading in financial instruments or commodities; and net gain from the disposition of property. Income from a trade or business the taxpayer is not passive in is excluded from the first two categories. Allocable deductions are then subtracted, which is why the figure is a net one and why investment interest expense and the portion of state income tax attributable to investment income can reduce it.
The notable exclusions are as informative as the inclusions. Wages and self-employment income are not investment income, and section 1411 expressly keeps out income already subject to self-employment tax. Distributions from qualified retirement plans and individual retirement accounts under sections 401(a), 403(a), 403(b), 408, 408A and 457(b) are excluded. Interest that is excluded from gross income, most municipal bond interest among it, never enters the computation, because section 1411(c) starts from gross income from interest and tax-exempt interest is not in gross income. The distinction matters in both directions: a large traditional retirement distribution owes no net investment income tax on itself, but it raises modified adjusted gross income and can therefore drag other investment income into the tax.
The thresholds do not move, and that is a fact about the statute rather than a claim about anyone's intentions. Section 1411(b) sets $250,000 for a joint return or a surviving spouse, half that amount for a married person filing separately, and $200,000 in any other case. There is no inflation-adjustment provision anywhere in section 1411, and the tax has been in force for taxable years beginning after December 31, 2012. So the figures are the ones enacted more than a decade ago, in nominal dollars, and the share of households they reach grows as nominal incomes grow.
Two interactions worth knowing. Modified adjusted gross income for this purpose is defined in section 1411(d) and is not the same modified figure used by other provisions, which is a general hazard of that label. And because the tax stacks on the preferential capital gains rates rather than replacing them, the top federal rate on a long-term gain for a household above the threshold is 20% plus 3.8%.