The sale
Up to $250,000 is tax-free ($500,000 jointly). Add improvements and selling costs to the cost basis.
Before deductions. Leave out this sale.
Federal tax on the gain$6,667.50
Effective rate on the gain13.3%
Capital gain$50,000
Tax-free (home sale exclusion)
0% band$5,550
15% band$44,450 at 15%: $6,667.50
20% band
Taxed as income, at
Net investment income tax (3.8%)
Gain after federal tax$43,332.50
Loss used against 2026 income
Tax it saves
Loss carried to 2027