NIIT Exposure Calculator (3.8%) - Tool

What the NIIT Exposure Calculator does
The tool is built to answer two practical questions:
- “Am I exposed to NIIT this year?”
- “If so, what’s a ballpark estimate of the tax?”
It follows the IRS rule that NIIT equals 3.8% × min( NII, MAGI – threshold ) (IRS, Pub. 8960). That “lesser-of” rule matters; even with high MAGI, NIIT is capped by the amount of net investment income.
So what? Knowing whether NIIT is in play can help an investor avoid surprises when projecting cash needs for estimated taxes or year-end withholding.
Key Takeaways
- The calculator checks if NIIT applies and estimates the tax base as the lesser of (i) Net Investment Income (NII) or (ii) MAGI over the threshold - then multiplies by 3.8% (IRS, Pub. 8960).
- Users can enter NII directly (interest, dividends, realized gains, passive income) or estimate it from a taxable portfolio and expected return.
- The dashboard shows exposure status, upper bound, actual NIIT base, and estimated NIIT dollars, plus a detail table that documents the math.
- It’s an educational estimator, not tax advice, and excludes state taxes and other surtaxes. Values depend on each filer’s records.
Inputs (and why each matters)
Left-hand inputs mirror the IRS definition while keeping things simple:
- Filing status - sets the threshold (e.g., $250,000 for MFJ).
- MAGI - the IRS uses modified AGI, which can differ from “AGI” on a pay stub. The tool uses the number the user enters.
- Option A - Enter NII directly - total of interest, dividends, realized capital gains, passive income for the year.
- Option B - Estimate NII from a taxable portfolio - if the NII field is blank, the tool estimates NII ≈ taxable portfolio × expected return (simple heuristic for education).
- Check NIIT - computes exposure and displays:
- Excess over threshold (upper bound),
- NIIT base (the actual lesser-of amount), and
- Estimated NIIT dollars (3.8% of base).
The Detail panel restates every assumption, which makes review and documentation easier.
How to use it (step-by-step)
- Choose filing status (e.g., Married filing jointly).
- Enter expected MAGI for the year.
- Set Option A by entering known NII, or leave it blank and use Option B to estimate from a taxable portfolio plus an expected annual return.
- Click Check NIIT.
- Read the top-row tiles: Exposure (Yes/No), Excess over threshold, Subject to NIIT (actual base), and Estimated NIIT (3.8%).
- Use the Detail table to confirm how the base was computed.
What shows on the screen (and how to read it)
- Exposure? - “Yes/No” with the applicable threshold for the filing status.
- Excess over threshold - the upper bound for the NIIT base.
- Subject to NIIT (actual base) - the lesser-of number used for tax.
- Estimated NIIT (3.8%) - dollars potentially due.
- Detail table - the paper trail: filing status, MAGI, threshold, excess, NII (entered or estimated), and the final base.
This interactive analysis tool uses user-entered assumptions to illustrate potential NIIT exposure under the 3.8% Medicare surtax. Results are hypothetical, educational, and not tax, legal, or investment advice. The calculator applies simplified annual formulas based on your inputs (filing status thresholds, MAGI, and net investment income). It does not account for all NIIT definitions or adjustments (e.g., foreign income add-backs to MAGI, passive/non-passive grouping, netting rules, deductions, credits, loss carryforwards, estates/trusts rules, or state taxes), and tax laws may change. Actual outcomes depend on your records and circumstances. Results will change if inputs change.
How optimized is your portfolio?
PortfolioPilot is used by over 30,000 individuals in the US & Canada to analyze their portfolios of over $30 billion1. Discover your portfolio score now:



