Capital Gains Tax in Retirement Calculator
Estimate federal and state taxes on investment sales in retirement. Find your 0% capital gains bracket, see the impact on Social Security taxation, and explore optimal gain timing strategies.
Filing Status & Retirement Income
Investment Sale Details
Long-term gains get preferential 0%/15%/20% rates. Short-term gains are taxed as ordinary income.
Tax Efficiency Score
Excellent! Your effective capital gains rate is only 11.49%. You're keeping most of your gains.
Total Tax on Gain
$2,298
Net After Tax
$47,702
Capital Gain
$20,000
long-term gain
Federal Tax
$1,298
15.00% marginal rate
NIIT (3.8%)
$0
below threshold
Effective Tax Rate
11.49%
all-in on the gain
Proceeds Breakdown
How your investment sale is divided
Total
$80,000
Net Proceeds
60%$47,702/yr
Federal Cap Gains Tax
2%$1,298/yr
State Tax
1%$1,000/yr
Cost Basis (returned)
38%$30,000/yr
Long-Term Capital Gains Bracket Breakdown
How your gain flows through each tax bracket
Gain Timing Optimization
Total tax if you spread the same gain over multiple years
Bracket Detail
Capital gains tax by LTCG bracket
| Tax Bracket | Rate | Gain in Bracket | Tax Owed |
|---|---|---|---|
| $0 - $48,350 | 0% | $11,350 | $0 |
| $48,350 - $533,400 | 15% | $8,650 | $1,298 |
Year-by-Year Spread Analysis
Tax savings from spreading the gain over multiple tax years
| Years | Gain / Year | Federal Tax | NIIT | State Tax | Total Tax | Eff. Rate |
|---|---|---|---|---|---|---|
| 1 | $20,000 | $1,298 | $0 | $1,000 | $2,298 | 11.49% |
| 5 | $4,000 | $0 | $0 | $1,000 | $1,000 | 5.00% |
0% Capital Gains Bracket Room
How much gain you can realize at 0% federal tax
Room in 0% Bracket
$11,350
of gain taxed at 0% federal rate
Room in 15% Bracket
$496,400
total room before hitting 20% rate
Personalized Insights
Actionable recommendations based on your numbers
Effective tax rate: 11.49% on $20,000 gain
You'll pay $2,298 in total taxes (federal LTCG, NIIT, and state) on the $20,000 capital gain, keeping $47,702 of your $50,000 sale proceeds.
$11,350 of room in the 0% bracket
You can realize up to $11,350 in long-term gains at 0% federal tax. Consider selling only that amount this year and deferring the rest to future years.
No NIIT surtax applies
Your modified AGI stays below the $200,000 NIIT threshold. No 3.8% surtax on your investment income.
No additional Social Security taxation
The capital gain doesn't push more of your Social Security benefits into taxable territory. Your provisional income stays in the same SS taxation band.
Save $1,298 by spreading gains over 2 years
Selling in one year costs $2,298 in total tax. Spreading the gain evenly over 2 years reduces total tax to $1,000, a savings of $1,298.
State tax adds $1,000 to the bill
Your 5% state capital gains rate contributes $1,000. States like Florida, Texas, Nevada, and Washington have no state capital gains tax.
Consider tax-loss harvesting
If you have investments with unrealized losses, selling them in the same year can offset up to $20,000 of this gain. Any excess losses can offset up to $3,000 of ordinary income, with the remainder carried forward.