There is hereby imposed on each applicable educational institution for the taxable year a tax equal to the applicable percentage of the net investment income of such institution for the taxable year.
For purposes of subsections (c) and (d), the number of students of an institution (including for purposes of determining the number of students at a particular location) shall be based on the daily average number of full-time students attending such institution (with part-time students taken into account on a full-time student equivalent basis).
Net investment income shall be determined under rules similar to the rules of section 4940(c).
Net investment income shall be determined by taking into account any interest income from a student loan made by the applicable educational institution (or any related organization) as gross investment income.
Net investment income shall be determined by taking into account any Federally-subsidized royalty income as gross investment income.
The term “Federally-subsidized royalty income” means any otherwise-regulatory-exempt royalty income if any Federal funds were used in the research, development, or creation of the patent, copyright, or other intellectual or intangible property from which such royalty income is derived.
For purposes of this subparagraph, the term “otherwise-regulatory-exempt royalty income” means royalty income which (but for this subparagraph) would not be taken into account as gross investment income by reason of being derived from patents, copyrights, or other intellectual or intangible property which resulted from the work of students or faculty members in their capacities as such with the applicable educational institution.
The term “Federal funds” includes any grant made by, and any payment made under any contract with, any Federal agency to the applicable educational institution, any related organization, or any student or faculty member referred to in subclause (II).
The Secretary shall prescribe such regulations or other guidance as may be necessary to prevent avoidance of the tax under this section, including regulations or other guidance to prevent avoidance of such tax through the restructuring of endowment funds or other arrangements designed to reduce or eliminate the value of net investment income or assets subject to the tax imposed by this section.