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

Tax-Loss Harvesting & Capital Loss Carryforward Calculator

Calculate how selling losing stock or crypto positions offsets your taxable capital gains dollar-for-dollar, deducts up to $3,000 from your W-2 salary, and carries forward to future years.

Calculating...
Net Cash Proceeds After Federal, NIIT & CA Taxes
$90,140Effective Tax on Gain: 24.3%
Gross Capital Gain (Sale − Adjusted Basis)$35,000
Harvested Capital Losses Offset-$15,000
Net Taxable Capital Gain$20,000
IRS Income-Stacked LTCG Brackets (2026)
0% LTCG Slice:$0 ($0 tax)
15% LTCG Slice:$20,000 ($3,000 tax)
20% LTCG Slice:$0 ($0 tax)
Federal Capital Gains Tax (LTCG)-$3,000
3.8% Net Investment Income Tax (NIIT)-$0
California State Capital Gains Tax-$1,860
Total Capital Gains Tax Owed-$4,860
Long-Term Advantage: On this $20,000 gain, holding >1 year saves $1,764 compared to selling short-term!

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

Compare total Federal + NIIT + State tax owed when selling at ≤1 year (Short-Term) vs. holding >1 year (Long-Term) at $120,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,289 $6,075 $2,214
+$50,000 Gain $16,614 $12,150 $4,464
+$100,000 Gain $34,194 $25,060 $9,134
+$250,000 Gain $104,774 $67,210 $37,564
+$500,000 Gain $229,141 $144,497 $84,644

Frequently Asked Questions

What happens if my capital losses are larger than my capital gains? ▾

First, your capital losses wipe out 100% of your capital gains. Next, up to $3,000 of remaining net loss is deducted directly against your ordinary W-2 or 1099 income this year, and any remaining loss carries forward indefinitely to offset gains in future tax years.