FinanceFacts101

Emergency fund calculator

Size your safety net on the spending that doesn't stop when income does: on the defaults, $3,500 of essential expenses over 6 months is a $21,000 target — with $4,000 saved, that's a $17,000 gap you close in about 32 months at $500 a month. The formula, every assumption and a worked example are below the worksheet.

Worksheet

$
▾
$
$
%
The fund you're aiming for $21,000
Already saved
$4,000
Still to save (gap)
$17,000
Months to fully funded
32
Your current cushion
1.1 mo
Interest earned while building
$1,280

How the formula works

An emergency fund has two questions: how big, and how long. The size is a plain product — your essential monthly expenses \(E\) times the number of months \(m\) you want to cover:

\[ G \;=\; E \times m \]

The time to get there is the savings-goal machinery run for months instead of dollars. Your current balance \(P\) and a fixed monthly deposit \(C\) both grow at the account's monthly rate \(i\); the balance after \(n\) end-of-month deposits is \(P(1+i)^{n} + C\dfrac{(1+i)^{n}-1}{i}\). Setting that equal to the target \(G\) and solving for \(n\):

\[ n \;=\; \frac{\ln\!\bigl(\tfrac{G\,i + C}{P\,i + C}\bigr)}{\ln(1+i)} \]

rounded up to the next whole month, since the fund isn't complete until the month's deposit lands. A high-yield savings account quotes an APY — an annual effective yield, compounding already baked in — so the matching monthly rate is not APY ÷ 12 but the rate that compounds up to the APY over twelve months:

\[ i \;=\; (1+\mathrm{APY})^{1/12} - 1 \]

The calculator applies this month by month, which is why the count matches the balance you could tick off by hand. If what you've already saved covers the target, the gap is zero and there's nothing left to fund.

Notice what the target is built on: essential spending, not total spending. The fund's job is to keep the lights on and the roof overhead when income stops — rent or mortgage, utilities, food, insurance, the minimum payments that keep you current. It is not there to preserve the gym membership, the streaming stack or the vacation. Sizing it on discretionary spending inflates the target by thousands and makes it feel unreachable; sizing it on the essentials is what makes it both honest and buildable. The number of months then follows from how stable that income is: a dual-income household with two easily replaced jobs might rest on three months, while a single earner in a specialised field with a thin job market wants closer to twelve. Three, six and twelve are guideposts on that spectrum, not a rule — the questions below put numbers on the difference.

What each input means

Essential monthly expenses — \(E\)
The spending that doesn't stop when income does: rent or mortgage, utilities, groceries, insurance premiums and the minimum payments on any debt. Deliberately not discretionary spending — dining out, subscriptions, travel — which you would cut first in a genuine emergency. This is the figure the whole target is built on, so keep it lean and real.
Months of coverage — \(m\)
How many months of those essentials the fund should hold. Three is a common floor, six a common default, nine to twelve for less stable income. It scales the target directly: every extra month adds one month of essentials.
Already saved — \(P\)
What is set aside for emergencies today. It counts fully toward the target and keeps earning interest while you top the fund up, so every dollar here shortens the timeline.
You can save each month — \(C\)
The amount you can reliably move into the fund each month, deposited at the end of the month. This is the lever on when you finish, not on how big the fund is.
HYSA APY — \(r\)
The annual percentage yield on the high-yield savings account holding the fund. APY already includes compounding, which is why the monthly rate is derived with the formula above rather than divided by 12. Real APYs float with the market; enter today's and revisit when your bank reprices.

A worked example

The worksheet's defaults: $3,500 in essential monthly expenses, 6 months of coverage, $4,000 already saved, $500 a month going in, at 4% APY.

  • The target is a plain product: $3,500 × 6 = $21,000.
  • The $4,000 already saved covers $4,000 / $3,500 = 1.1 months of essentials on its own — a real cushion, but short of the 6-month goal, leaving a gap of $21,000 − $4,000 = $17,000.
  • Monthly rate: \(i = 1.04^{1/12} - 1 = 0.003274\) — not \(0.04/12 = 0.003333\), because APY is an effective yield.
  • Growing $4,000 plus $500 a month at that rate, the balance first reaches $21,000 at month 32. Of the $21,280 you finish with, $16,000 is deposits and $1,280 is interest the account paid while you built it.

So on the defaults the fund you're aiming for is $21,000, and at $500 a month you're fully funded in about 32 months — a little under three years. Raise the monthly amount and that timeline shortens; the target itself only moves if your essentials or your months of coverage change.

$0$6k$12k$19k$25k051015202530monthsBalance$21kTarget$21k
Fig. 1 — The worked example, month by month: $4,000 plus $500 a month at 4% APY meets the $21,000 target line at month 32.

Assumptions and limits

  • The target is built on essential expenses only. If you enter your total spending it will size a much larger fund than an emergency fund needs — strip out anything you'd cut the month the income stopped.
  • The fund is assumed to sit in a liquid high-yield savings account, not invested. That is the point: the money has to be there in full on the day you need it, so it takes no market risk. A stock-market emergency fund can be down 20% exactly when you're laid off — the opposite of what a cushion is for.
  • The APY is constant for the whole period, and deposits are constant and land at the end of each month. Real HYSA rates float with the market — today's 4% is not a promise — so revisit the number when your bank reprices.
  • The months of coverage is a guideline, not a law. The right size depends on how stable and how replaceable your income is; three, six and twelve are markers on that range, not verdicts.
  • This is arithmetic, not advice. It shows what your inputs imply, not how big your own cushion should be.

Questions people ask

Three, six or twelve months — how many should I hold?

It tracks how stable and how replaceable your income is. Three months — $10,500 on the default essentials — suits a dual-income household where a lost job is quickly replaced and the other paycheck keeps the lights on. Six months, $21,000 here, is the common default for a single steady income. Nine to twelve — up to $42,000 — fits a single earner, a commission or seasonal income, a specialised field with a thin job market, or anyone supporting dependents on one salary. A soft job market argues for the higher end whatever your situation. When in doubt, build to three first, then keep going.

What counts as an essential expense?

The spending that does not stop when your income does: housing (rent or mortgage), utilities and phone, groceries, insurance premiums, transport to look for work, and the minimum payments that keep your debts current. What does not count is anything you would cut the first month of a real emergency — dining out, subscriptions, travel, extra debt payments above the minimum. Sizing the fund on essentials is what keeps the target honest and reachable; sizing it on your whole budget inflates it by thousands.

Where should the emergency fund actually sit?

Descriptively, in something liquid and safe rather than something that grows fast. High-yield savings accounts and money-market accounts are the usual homes: federally insured, no lock-up, and reachable in a day or two when you need them. The whole job of this money is to be there in full on the worst day, so the return matters far less than the certainty. Money you won't touch for years belongs in investments; the emergency fund is the part you keep boring on purpose.

Should I build this before investing or paying off debt?

The common sequencing, not a rule: a small starter fund first — often a month of essentials — so a flat tyre doesn't go on a credit card. Then capture any employer 401(k) match, which is an immediate return you can't get elsewhere. Then throw everything at high-APR debt like credit cards, whose interest usually outruns any savings yield. Then finish the full emergency fund and build long-term investing. The starter fund and the match come first because each protects the rest of the plan.

Doesn't the fund lose to inflation sitting in cash?

Slightly, yes, and that's the deal. When a HYSA yields around inflation the fund roughly holds its purchasing power; when inflation runs hotter it loses a little in real terms each year. That small drag is the price of liquidity and certainty — the money being guaranteed to be there, in full, the day you're laid off or the furnace dies. Chasing an extra point of return by investing the fund trades away exactly the safety it exists to provide. Pay the inflation toll and keep the cushion boring.

See also