Emergency Fund Calculator
How many months can you survive if everything goes sideways? Let's count.
Monthly Expenses
Employment & Risk Profile
Health & Dependents
Current Savings
Emergency Funds: The Complete Guide
Everything you need to know about how much to save, where to keep it, and when to use it.
The standard advice is "3 to 6 months of expenses," but that range is too broad to be useful without context. The right number depends on your employment stability, income volatility, number of dependents, and health insurance situation. A single person with a stable government job needs a very different safety net than a freelance consultant with two kids.
Guidelines by employment type:
- W-2 stable employment (low layoff risk): 3–6 months of essential expenses. This is the baseline that most financial planners recommend. If you work in government, healthcare, utilities, or another recession-resistant sector, the lower end may be sufficient.
- W-2 unstable or contract work: 6–9 months. If your contract could end without notice, or your industry goes through frequent layoff cycles (tech, media, startups), you need more runway. Job searches in specialized fields can take 3–6 months even in good markets.
- Self-employed or freelance: 9–12 months. Income irregularity is the norm, not the exception. You need to cover not just living expenses but also the gap between losing a major client and replacing that revenue. Many self-employed people also lack employer-subsidized benefits, adding to the buffer needed.
- Dual income households: 3–4 months. Two earners provide a natural hedge — the odds of both losing income simultaneously are lower. However, this assumes both incomes are meaningful. If one spouse earns 90% of household income, treat it more like a single-income situation.
Additional adjustments: Add approximately 1 month per dependent (children, elderly parents) since their expenses cannot be easily cut. Add your health insurance deductible as a flat buffer — a medical emergency shouldn't force you to drain your fund. And if your industry has high volatility (cyclical sectors, startups), add 1–2 extra months.
The key insight: Your emergency fund target should be based on essential expenses only (rent, food, utilities, insurance, debt minimums), not your total spending. In a real emergency, you cut Netflix, dining out, and shopping immediately. Your burn rate in crisis mode is lower than your normal monthly spending.
Your emergency fund needs to be liquid, safe, and accessible within 1–2 business days. This eliminates stocks, bonds, CDs with early withdrawal penalties, and anything with significant principal risk. The goal is not to maximize returns — it's to have the money there when you need it.
Best options ranked:
- High-yield savings account (HYSA): The gold standard for emergency funds. Online banks like Marcus, Ally, and Discover typically offer 4–5% APY (as of early 2025), which significantly beats the 0.01–0.5% you get at traditional brick-and-mortar banks. FDIC insured up to $250K. Transfers to your checking account usually arrive in 1 business day.
- Money market account: Similar yields to HYSAs, sometimes with check-writing or debit card access for faster withdrawals. Slightly more liquid than a pure savings account. Also FDIC insured.
- Treasury bills (T-bills): For the portion of your emergency fund above your immediate 1–2 month needs, short-term T-bills (4-week or 13-week) offer competitive yields with the backing of the U.S. government. They're also state-tax exempt. The downside is you may need to sell before maturity in a true emergency, which adds a small friction cost.
- Tiered approach: Many people keep 1–2 months in a regular checking or HYSA for immediate access, and the remainder in T-bills or a money market fund for slightly higher yield. This optimizes for both accessibility and returns.
Where NOT to keep your emergency fund:
- Stocks or ETFs: A market crash is exactly when emergencies are most likely (layoffs correlate with downturns). You don't want to sell stocks down 30% to cover rent.
- CDs with penalties: A 12-month CD with a 3-month interest penalty defeats the purpose of an emergency fund. No-penalty CDs are fine but often offer lower rates than HYSAs.
- Cryptocurrency: Too volatile. A "safe" stablecoin can still de-peg (see UST/Luna), and exchange withdrawals can freeze at the worst possible moment.
The bottom line: A HYSA earning 4–5% is the simplest, safest, and most liquid option for most people. Don't overthink this. The point of the emergency fund is not to earn money — it's to be there when your income disappears.
This is where most people get tripped up. An emergency fund is not a "large unexpected expense fund" — it's a survival fund for when your ability to earn income is threatened or a major unplanned expense would otherwise put you into debt. The distinction matters.
Legitimate uses for your emergency fund:
- Job loss or significant income reduction: This is the primary use case. Your fund covers rent, food, and minimum debt payments while you find new employment.
- Medical emergency: A hospital bill, surgery, or extended illness that exceeds your insurance coverage. This is why the calculator includes your deductible as a buffer.
- Critical home or car repair: Your furnace dies in January. Your transmission fails and you need the car to get to work. These are genuine emergencies that affect your ability to function.
- Emergency travel: A family member is seriously ill and you need a last-minute flight across the country. You shouldn't go into credit card debt for this.
NOT emergencies (even if they feel like it):
- Planned irregular expenses: Car registration, annual insurance premiums, holiday gifts, tax bills. These are predictable. Budget for them separately with sinking funds.
- Lifestyle wants: A "great deal" on a vacation, a flash sale on furniture, an investment "opportunity." If it's not threatening your survival or financial stability, it's not an emergency.
- Market opportunities: "Stocks are down 40%, I should invest my emergency fund!" Do not do this. Markets can stay down for years, and the layoffs that accompany market crashes are exactly when you'll need that cash.
A simple test: Ask yourself, "If I don't pay for this right now, will it cause serious harm to my health, shelter, transportation, or earning ability?" If yes, use the fund. If no, find another way or wait.
After you use it: Replenishing your emergency fund should become your top financial priority after the emergency passes. Pause retirement contributions above the employer match, cut discretionary spending, and rebuild. Operating without a safety net is riskier than missing a few months of market returns.
This is one of the most common questions in personal finance, and the answer is a clear no for the core emergency fund. The entire purpose of an emergency fund is capital preservation and immediate liquidity — not growth. Accepting a small inflation drag is the cost of financial security.
The math on "lost" returns:
- A $25,000 emergency fund in a 4% HYSA earns about $1,000/year. In the stock market (average 10% nominal), it might earn $2,500. You're "losing" $1,500/year in potential returns.
- But that same $25,000 invested in stocks could be worth $17,500 during a market crash — exactly when you're most likely to need it. Selling at a 30% loss to cover rent costs far more than $1,500 in opportunity cost.
- The opportunity cost of a HYSA emergency fund is about $100–$150/month for a typical fund size. That's the price of insurance against financial catastrophe. Most people spend more on streaming subscriptions.
When a partial investment approach might work:
- If your emergency fund is significantly larger than needed (e.g., you have 18 months of expenses saved but only need 6), you could invest the excess above your target in a conservative allocation.
- Some people keep their minimum target (e.g., 3 months) in cash and the remainder (months 4–6) in short-term bonds or a conservative balanced fund. This is reasonable but adds complexity and risk.
The real opportunity cost calculation: Compare the $1,500/year you "lose" in a HYSA against the potential cost of not having an emergency fund — credit card interest (20–25% APR), personal loan fees, 401(k) early withdrawal penalties (10% + taxes), or selling investments at a loss. A single emergency without cash could easily cost you $5,000–$15,000 in penalties, interest, and lost gains. The HYSA is cheaper.
If you're starting from zero, the full emergency fund target can feel impossible. The key is to stop thinking about the final number and focus on the first milestone. Even $500–$1,000 in savings can prevent a minor problem from becoming a financial disaster.
Step-by-step approach:
- Start with $1,000. This is your "starter" emergency fund. It covers a surprise car repair, an ER copay, or an emergency flight. Set this as your first goal and celebrate when you hit it.
- Automate a small amount. Set up an automatic transfer of $25–$50 per paycheck to a separate HYSA. The amount matters less than the consistency. At $50 every two weeks, you'll have $1,300 in a year.
- Use windfalls strategically. Tax refunds, bonuses, cash gifts, selling unused items — direct at least half of any unexpected money to the emergency fund before spending it.
- Cut one discretionary expense. Cancel one subscription, cook at home one more night per week, or switch to a cheaper phone plan. Redirect the savings automatically.
- Increase gradually. Every time you get a raise, increase your automatic transfer by half the raise amount. You'll still feel the raise in your paycheck but also accelerate your savings.
The priority sequence matters:
- First: $1,000 starter fund + minimum debt payments
- Second: Pay off high-interest debt (credit cards, payday loans)
- Third: Build to your full emergency fund target
- Fourth: Invest for retirement and other goals
Some financial experts argue you should pay off all debt before building the full emergency fund, but having at least $1,000 in cash prevents you from going deeper into debt when the next emergency hits. It's a pragmatic compromise between ideal math and real-life risk management.
One more thing: Keep the emergency fund in a separate account from your checking. Out of sight, out of mind. If it's sitting in your checking account, it will get spent. A separate HYSA creates a small friction barrier that makes you think twice before withdrawing.
These two concepts are frequently confused, but they serve fundamentally different purposes. An emergency fund is for the unexpected. A sinking fund is for the expected but irregular. Conflating them leads to either chronically dipping into your emergency fund for predictable expenses or over-saving in your emergency fund at the expense of other financial goals.
Emergency fund:
- Purpose: Cover job loss, medical emergencies, and unforeseen financial shocks
- Frequency of use: Rarely — ideally never
- Target: 3–12 months of essential expenses depending on your situation
- Where to keep it: HYSA or money market account
- Replenishment: Top priority after any withdrawal
Sinking funds:
- Purpose: Save for planned, predictable expenses that don't happen monthly
- Frequency of use: Regularly, on a known schedule
- Examples: Car maintenance ($100/month toward a future repair), holiday gifts ($50/month), annual insurance premiums, property taxes, vacations
- Where to keep it: Can be in the same HYSA, tracked as separate "buckets" or sub-accounts
Why the distinction matters for your emergency fund target: If you don't have sinking funds, you'll end up using your emergency fund for every "surprise" bill that was actually predictable. Car repairs, medical copays, home maintenance — these are certain to happen. You just don't know exactly when. Set aside money for them separately, and your emergency fund stays intact for genuine crises.
A simple framework: If you can see it coming (even approximately), fund it with a sinking fund. If it would truly blindside you, that's what the emergency fund is for.
A high-yield savings account is a standard FDIC-insured savings account — typically offered by online banks — that pays a significantly higher interest rate than a traditional bank savings account. As of early 2025, top HYSAs offer around 4–5% APY, compared to the 0.01–0.5% you'd earn at most brick-and-mortar banks.
How they work:
- Interest compounds daily or monthly: Your balance earns interest, and that interest earns interest. On a $25,000 balance at 4.5% APY, you'd earn roughly $94/month or $1,125/year.
- FDIC insured: Up to $250,000 per depositor per institution is protected by the federal government. Your emergency fund is as safe as any bank deposit.
- No lock-up period: Unlike CDs, you can withdraw at any time with no penalty. Most HYSAs let you transfer to an external checking account in 1 business day.
- Variable rates: HYSA rates move with the Federal Reserve's interest rate decisions. When the Fed raises rates, HYSA rates go up. When the Fed cuts, they come down. The 4–5% rates in 2024–2025 reflect the post-pandemic rate hiking cycle. They will eventually decrease as the Fed lowers rates.
What to look for in a HYSA:
- No monthly fees or minimum balance requirements. Most good online HYSAs have neither.
- Competitive APY. Compare rates at Bankrate.com or NerdWallet. Don't chase the absolute highest rate — a difference of 0.1% on $20,000 is $20 per year. Focus on reliability and usability.
- Easy transfers. Make sure you can link your primary checking account and move money quickly.
Tax note: Interest earned on a HYSA is taxable as ordinary income. You'll receive a 1099-INT form each year. At a 22% marginal tax rate, a 4.5% HYSA effectively earns about 3.5% after tax — still far better than 0.01% at a traditional bank.
This is one of the oldest debates in personal finance, and the answer is both — sequentially, with a pragmatic approach. The mathematically optimal strategy (pay off high-interest debt first) and the practically optimal strategy (have some cash buffer) are slightly different.
The recommended sequence:
- Phase 1: Starter emergency fund ($1,000–$2,000). This prevents you from going deeper into debt when the next emergency hits. Without any cash buffer, a $400 car repair goes on a 25% APR credit card, making your debt situation worse.
- Phase 2: Attack high-interest debt aggressively. Credit cards (18–28% APR), payday loans, and personal loans above 10% should be paid off before building a full emergency fund. The math is simple: paying off a 25% credit card gives you a guaranteed 25% return, which no emergency fund or investment can match.
- Phase 3: Build the full emergency fund. Once high-interest debt is gone, redirect those payments toward building your 3–12 month emergency fund. You already have momentum from Phase 2.
- Phase 4: Continue with moderate-interest debt. Student loans, car loans, and mortgages (3–8%) can coexist with a fully funded emergency fund. The interest rates are low enough that the security of having cash outweighs the marginal benefit of paying them off faster.
Why not just pay off all debt first? Because life doesn't pause while you're paying off debt. Without a cash buffer, any unexpected expense pushes you right back into debt, creating a demoralizing cycle. The starter fund breaks that cycle. It's not mathematically optimal, but it's behaviorally optimal — and behavior drives financial outcomes more than math does.
Exception: If your debt has very low interest rates (0% promotional APR, low-rate federal student loans), prioritize the full emergency fund first. You're not losing much to interest, and the security of cash is worth more than the small interest savings.
Your employment type is the single biggest factor in determining your emergency fund size because it directly affects how likely you are to lose income, how long a gap might last, and how quickly you can replace it. A tenured professor and a freelance graphic designer have very different risk profiles.
Detailed breakdown by employment type:
- W-2 stable (3–6 months): Full-time employees in stable industries (government, healthcare, utilities, education) with low layoff risk. You're likely to receive severance, can file for unemployment benefits, and have time to find a comparable role. The lower end (3 months) works if you also have in-demand skills and live in an area with strong job markets.
- W-2 unstable or contract (6–9 months): This includes employees in cyclical industries (tech, media, real estate, finance), anyone who's been through layoffs before, and contract workers whose engagements have defined end dates. Job searches in specialized roles take longer. Contract gaps between engagements are normal and need to be funded.
- Self-employed (9–12 months): Freelancers, solopreneurs, and small business owners face the highest income volatility. Revenue can drop 50% in a single month if a major client leaves. You typically don't qualify for unemployment benefits, and replacing lost revenue means sales and marketing cycles that take months. Additionally, you may need to cover business expenses (insurance, licenses, software) even when revenue drops.
- Dual income household (3–4 months): When two people contribute meaningfully to household income, the risk of total income loss is substantially lower. One partner can cover essentials while the other job-searches. However, this lower target assumes roughly equal income contributions. If one partner earns 80%+ of household income, treat the fund calculation based on that primary earner's employment type.
Industry matters within employment type: A W-2 employee at a pre-revenue startup has a very different risk profile than a W-2 employee at a utility company, even though both are technically "W-2 stable." Use the industry volatility adjustment to account for this. If your company just went through a round of layoffs, or your industry is contracting, err toward the higher end of your range.
The opportunity cost is real but smaller than most people think — and dramatically smaller than the cost of not having an emergency fund when you need one. The right comparison is not "HYSA vs. stocks" but "HYSA vs. what you'd actually do without a fund" (credit card debt, 401k loans, panic selling).
Running the numbers:
- Assume a $30,000 emergency fund earning 4% in a HYSA: $1,200/year in interest.
- That same $30,000 invested in stocks (10% average nominal return) would earn $3,000/year on average. The "cost" is roughly $1,800/year, or $150/month.
- But the stock market doesn't return 10% every year. In a down year (-20%), your $30,000 becomes $24,000 — exactly when a recession might also cost you your job. Selling $24,000 in investments to cover 6 months of expenses means you permanently locked in a $6,000 loss.
The cost of NOT having an emergency fund:
- Credit card debt at 24% APR: Carrying $10,000 for 6 months costs $1,200 in interest alone.
- 401(k) early withdrawal: 10% penalty + income taxes = you lose 30–40% of the amount withdrawn.
- Selling investments at a loss during a downturn: The loss is permanent and you miss the recovery.
- Stress, damaged credit, and compounding financial mistakes made under pressure: Difficult to quantify but very real.
A useful reframe: Think of the $150/month opportunity cost as an insurance premium. You're paying $150/month for a policy that covers job loss, medical emergencies, and financial catastrophe with a $0 deductible and instant payout. No commercial insurance product comes close to that value.
Once your emergency fund is fully funded, every dollar above it should absolutely be invested. The emergency fund is the foundation that makes confident investing possible — because you'll never be forced to sell at the worst possible time.
Once your emergency fund is set, put the rest to work. Find undervalued stocks with a DCF model.