Phase 1 · Core Sovereign Layer
Net Investment Income Tax Calculator
The 3.8% surtax that turns a 15% capital-gains rate into 18.8%. See whether you cross the threshold, which of the two tests binds, and what your next dollar of income really costs.
Do I owe the 3.8% net investment income tax?
Only if your modified AGI exceeds the threshold — $200,000 single, $250,000 married filing jointly. The tax is 3.8% of the lesser of your net investment income or the amount MAGI sits above that line. Whichever is smaller caps the tax, so a big portfolio just over the threshold may owe very little.
- Worked example (defaults on this page): a single filer with $40,000 of net investment income and $230,000 of MAGI is $30,000 over the threshold — the smaller number — so NIIT applies to $30,000 and costs $1,140.
- This stacks on capital-gains tax: a long-term gain taxed at 15% actually costs 18.8%, and one at 20% costs 23.8% once NIIT applies.
- Wages, self-employment income and IRA or 401(k) withdrawals are not investment income — but they do raise MAGI, so they can pull investment income you already had into the surtax.
- The thresholds are fixed in statute since 2013 with no inflation adjustment, so the surtax reaches further down the income scale every year.
Under the hood
The math, fully exposed
One rate, applied to whichever of two numbers is smaller:
Thresholds — fixed in statute since 2013, never indexed
| Filing status | MAGI threshold | Rate above it | Inflation-indexed? |
|---|---|---|---|
| Single | $200,000 | 3.8% | No — unchanged since 2013 |
| Married filing jointly | $250,000 | 3.8% | No — unchanged since 2013 |
| Head of household | $200,000 | 3.8% | No — unchanged since 2013 |
What counts as net investment income
| Included | Excluded |
|---|---|
| Interest and dividends | Wages and self-employment income |
| Capital gains | IRA and 401(k) distributions |
| Rental and royalty income | Social Security benefits |
| Non-qualified annuities | Tax-exempt municipal interest |
| Passive business income | Income from a business you actively run |
- The excluded column still matters. Wages and IRA withdrawals are not investment income, but they raise MAGI — so they can drag investment income you already had into the surtax.
- Married filing separately uses a $125,000 threshold, which is not shown above because it rarely pays without a specific reason.
- NIIT shares its thresholds with the Additional Medicare surtax (0.9% on wages and self-employment income), so high earners frequently cross both lines in the same year.
Your directives
What to do next, based on your numbers
Adjust the sliders to generate tailored recommendations.
Answers