Sub topic 3
Budget for healthcare and long-term care
This chapter assumes you can work with percentages, understand compound growth, and run short Python scripts. It builds on the spending gap and withdrawal rate you already estimated.
Budget for healthcare and long-term care
Healthcare costs usually rise with age. Long-term care, meaning help with daily tasks such as bathing, dressing, or eating, can cost far more than routine care. Add a separate healthcare line to your spending estimate, in today's dollars, before you calculate the gap.
Long-term care
Long-term care is often not covered by standard health insurance or public programs. Price local care options now, then decide whether to self-insure, buy a policy, or plan on family help.
Calculate your target nest egg
Divide the annual spending gap, including the healthcare allowance, by your withdrawal rate.
gap = 36_000 + 6_000 # spending gap plus healthcare allowance
withdrawal_rate = 0.04
target = gap / withdrawal_rate
print(f"Target nest egg: {target:,.0f}") # 1,050,000Project whether your savings reach the target
Use real (after-inflation) returns so the projection stays in today's dollars.
def project(balance, contribution, real_return, years):
for _ in range(years):
balance = balance * (1 + real_return) + contribution
return balance
projected = project(100_000, 15_000, 0.05, 25)
print(f"Projected: {projected:,.0f}") # about 1,054,500Sequence-of-returns risk
Poor market returns in the first years of retirement do more damage than the same losses later. Withdrawals sold during a downturn lock in the loss. Keep a cash reserve for the first few years so you do not sell investments at low prices.
Test the plan with a Monte Carlo simulation
A Monte Carlo simulation runs many random return paths and reports how often the plan lasts through the horizon.
import random
def success_rate(start, withdrawal, years, mean=0.05, stdev=0.12, trials=10_000):
rng = random.Random(1)
wins = 0
for _ in range(trials):
balance = start
for _ in range(years):
balance -= withdrawal
if balance <= 0:
break
balance *= 1 + rng.gauss(mean, stdev)
else:
wins += 1
return wins / trials
print(f"Plan survived in {success_rate(1_050_000, 42_000, 30):.0%} of runs")Review and adjust the estimate over time
Revisit the estimate each year and after any major change, such as a health event, a new tax rule, or a shift in spending. Update the inputs, rerun the projections, and record what changed.
Exercise
The annual spending gap is 30,000 and the withdrawal rate is 4%. What is the target nest egg?
Show answer
750,000, because 30,000 divided by 0.04 equals 750,000.