Sub topic 2
Choosing a target: how many months of expenses
This chapter assumes you can list your monthly income and spending, and that you have a checking account and a savings account. You will set a target size, choose where to hold the money, set a first milestone, and plan the timeline.
Choosing a target: how many months of expenses
Your target is a number of months of essential expenses. Essential expenses are costs you must pay to live and work: rent, utilities, groceries, transport, insurance, minimum debt payments, and basic phone and internet. Add them up, then choose a multiple. Three months is a common floor for stable income. Six months suits variable income, a single earner, or people with dependents.
essentials = {
"rent": 1500,
"utilities": 200,
"groceries": 500,
"transport": 250,
"insurance": 300,
"minimum_debt_payments": 250,
"phone_internet": 100,
}
monthly_essentials = sum(essentials.values())
for months in (3, 6):
print(months, "months:", monthly_essentials * months)This prints 3 months: 9300 and 6 months: 18600, based on monthly essentials of 3,100.
Where to keep your emergency fund
Keep the fund in a separate savings account that is insured by a deposit guarantee, such as FDIC insurance in the United States. Choose an account you can withdraw from within a day or two. Keep it apart from your everyday checking account so you do not spend it by accident.
| Account type | Access time | Risk of losing value | Fit |
|---|---|---|---|
| Checking | Instant | Low | Too easy to spend |
| High-yield savings | 1 to 2 days | Low | Good fit |
| Brokerage investments | Several days | Medium to high | Poor fit |
Starting small: a first milestone
A full target can take years to reach. Set a starter milestone first, such as one month of essentials or a fixed amount like 1,000. Reach it, then work toward the full target.
Building a savings plan and timeline
Divide the remaining gap by your monthly deposit to estimate the months needed. The function below does this month by month, and an optional interest rate lets you test its effect.
def months_to_goal(target, balance, monthly_deposit, annual_rate=0.0):
months = 0
while balance < target:
balance = balance * (1 + annual_rate / 12) + monthly_deposit
months += 1
if months > 600:
raise ValueError("Goal not reached within 50 years")
return months
print(months_to_goal(9300, 1000, 400))This prints 21, because 1,000 plus 400 per month reaches 9,300 in 21 months.
Exercise
Your essential expenses are 2,400 per month and you choose a six-month target. What is the target?
Show answer
14,400, because 2,400 multiplied by 6 equals 14,400.