; or . (b) Phaseout Subsection (b) of section 1402 of the Internal Revenue Code of 1986 is amended by adding at the end the following: Paragraph (1) shall apply only to taxable years beginning in calendar years for which the contribution and benefit base (as determined under section 230 of the Social Security Act) is less than $250,000. . (c) Effective date The amendments made by this section shall apply to net earnings from self-employment derived, and remuneration paid, after December 31, 2017. 7. Tax on investment gain (a) In general Subsection (a) of section 1411 of the Internal Revenue Code of 1986 is amended by striking 3.8 percent each place it appears and inserting 10 percent . (b) Conforming amendment The heading for chapter 2A of the Internal Revenue Code of 1986 is amended by inserting and Social Security after Medicare . (c) Trust funds (1) Federal Old-age and Survivors Insurance Trust Fund Subsection (a) of section 201 of the Social Security Act ( 42 U.S.C. 401 ) is amended— (A) in paragraph (4), by striking the period at the end and inserting ; and ; (B) by inserting after paragraph (4) the following new paragraph: (5) 62 percent of the taxes imposed under section 1411 of the Internal Revenue Code of 1986, less the amounts specified in clause (3) of subsection (b) of this section. ; and (C) in the flush matter at the end— (i) by striking clauses (3) and (4) each place it appears and inserting clauses (3), (4), and (5) ; and (ii) by striking clauses (1) and (2) and inserting clauses (1), (2), and (3) . (2) Federal Disability Insurance Trust Fund Subsection (b) of such section is amended— (A) in paragraph (2), by striking the period at the end and inserting ; and ; and (B) by adding at the end the following new paragraph: (3) 9 percent of the taxes imposed under section 1411 of the Internal Revenue Code of 1986. . (d) Effective date The amendments made by this section shall apply to taxable years beginning after December 31, 2017.