trelvane
100% Free Forever 100% Private · Inputs Never Saved No Sign-Up Required

3.8% Net Investment Income Tax (NIIT) & High-Earner Calculator

Calculate whether your combined salary and capital gains cross the $200,000 (Single) or $250,000 (Married) MAGI cliff triggering the 3.8% Form 8960 Medicare investment surtax.

If Sold Short-Term (≤ 365 Days):$62,675 total tax
If Held Long-Term (> 365 Days):$37,375 total tax
Holding >1 Year Saves You: $25,300
Calculating...
Net Cash Proceeds After Federal, NIIT & NJ Taxes
$212,625Effective Tax on Gain: 24.9%
Gross Capital Gain (Sale − Adjusted Basis)$150,000
Net Taxable Capital Gain$150,000
IRS Income-Stacked LTCG Brackets (2026)
0% LTCG Slice:$0 ($0 tax)
15% LTCG Slice:$150,000 ($22,500 tax)
20% LTCG Slice:$0 ($0 tax)
Federal Capital Gains Tax (LTCG)-$22,500
3.8% Net Investment Income Tax (NIIT)-$5,320
New Jersey State Capital Gains Tax-$9,555
Total Capital Gains Tax Owed-$37,375
Long-Term Advantage: On this $150,000 gain, holding >1 year saves $25,300 compared to selling short-term!

Short-Term vs. Long-Term Capital Gains Tax Comparison (NJ)

Compare total Federal + NIIT + State tax owed when selling at ≤1 year (Short-Term) vs. holding >1 year (Long-Term) at $190,000 annual income:

Capital Gain Amount Short-Term Tax (≤1 Yr) Long-Term Tax (>1 Yr) Saved by Holding >1 Yr
+$25,000 Gain $8,163 $5,913 $2,250
+$50,000 Gain $18,475 $12,205 $6,270
+$100,000 Gain $40,090 $24,790 $15,300
+$250,000 Gain $107,845 $62,545 $45,300
+$500,000 Gain $226,350 $136,804 $89,546

Frequently Asked Questions

How is the 3.8% Net Investment Income Tax (NIIT) calculated? ▾

Under IRC § 1411 (Form 8960), you owe 3.8% on the lesser of (1) your net investment income, or (2) the amount by which your Modified Adjusted Gross Income (MAGI) exceeds $200,000 for Single filers ($250,000 for Married Filing Jointly).