free tools

Emergency fund calculator

An emergency fund is the cash that keeps a job loss or a broken boiler from turning into debt. Size it from your essential costs and the risks in your situation, not from a round number.

By Michael Afreh, senior software engineer with 12+ years in e-commerce, fintech and banking, and author of The Software Engineer's Guide to Investing. Reviewed 31 October 2026.

1 · Essential monthly costs

Rent or mortgage, utilities, internet.

Groceries and basics, not eating out.

Premiums and regular medical costs.

Public transport, or car costs you cannot avoid.

Minimum payments on loans and cards.

Childcare, support payments, contracts you cannot cancel.

Total: 2,000 a month

2 · Your situation

No employer notice period and usually no unemployment benefit.

Losing the job can start a deadline to find a new one.

Nobody else covers the bills while you look for work.

Costs you cannot cut, and less time to job-hunt.

A bad year shrinks income without any job loss.

Repairs like a boiler or roof arrive without warning.

3 · Your savings

Cash you can reach within days.

What you can put aside each month.

Your emergency fund target

6,000

3 months of essential costs.

50% of the target saved

Saved so far
3,000
Still to save
3,000
Time to target
8 months

How the months add up

  • Base cover for any household+3

Total 3 months

Why essential costs, not salary

In an emergency you stop spending on holidays and eating out, so the fund only has to cover what you cannot cut: housing, food, insurance, transport and debt payments. That is usually well below your take-home pay, which makes the target smaller and more reachable than the common “three to six salaries” advice.

How the months are worked out

Every household starts with three months, enough for most job searches or a large repair. Each risk you tick adds months, because it either makes income stop more suddenly or makes the gap last longer. The total is capped at twelve months; beyond that, cash loses value to inflation faster than the extra safety is worth.

Engineers on a work visa

If your residence permit depends on your job, losing the job can start a deadline to find a new one or leave. A bigger buffer buys time to choose the next role instead of taking the first offer. Check the exact rules for your permit with the immigration office, as they differ by country and permit type.

If you live in Germany

Employees who have paid into unemployment insurance for at least 12 of the last 30 months usually receive Arbeitslosengeld: 60% of previous net pay, or 67% with a child. That softens a job loss but does not replace your income, and the Verbraucherzentrale still recommends keeping two to three net monthly salaries in an instant-access savings account.

Frequently asked questions

+Where should I keep my emergency fund?

In an instant-access savings account (Tagesgeld in Germany), separate from your current account so you do not spend it by accident. In the EU, deposits are protected up to 100,000 € per person per bank. Keep it out of shares: a crash and a job loss often arrive together.

+Should I pay off debt or build the fund first?

Build a small buffer first, around one month of costs, so a surprise bill does not go on a credit card. Then pay down expensive debt such as overdrafts and credit cards, and finish the fund after that.

+Is twelve months too much?

For a single-income freelancer on a work visa with children, twelve months is reasonable. For a dual-income household with stable jobs, three to four is usually enough, and extra cash is better invested.

+What counts as an emergency?

Losing income, urgent medical or dental costs, a repair you cannot postpone, or travel for a family emergency. A planned expense like a holiday or a new laptop is not an emergency; save for those separately.

high availability

An emergency fund is an SLA

The Software Engineer's Guide to Investing sizes the cash buffer against real failure modes — layoffs, visa changes, medical events — the way you would size capacity for an outage.

Get the book on Amazon

Or read chapter one first, free:

One email with the chapter. No sequence, no drip campaign.

Sources

Not financial advice. The results are estimates for education, not a recommendation or a promise of returns. See the disclaimer.