Emergency fund calculator: how much to keep, how much you can invest
An emergency fund is commonly 3 to 6 months of your costs. With $2,350 of costs a month, 6 months is $14,100. What is left each month after costs and other goals is the money free to invest: $3,500 in, $2,350 out and $100 for goals leaves $1,050 a month, which grows to about $162,000 in 10 years at 5% a year (an illustration, not a forecast); kept in a bank account at 0%, the same $126,000 would buy what about $98,000 buys today. Enter your own numbers below; nothing is stored or sent.
Your monthly amount after 10, 20 and 30 years
The amount free to invest each month, paid in at the end of every month. Three rates as an illustration, not a forecast; next to them the same cash kept in a bank account at 0% interest, in today's money at the inflation you entered.
| After | You pay in | 3% a year | 5% a year | 7% a year | Bank at 0%, today's money |
|---|
Plus members get the month-end routine: all 30 markets as of the latest month-end, about 15 minutes once a month.
How the calculator works
Three numbers decide how much money you can invest, and the calculator above works them out from what you enter:
- Your costs. Fixed costs (housing, insurance, loan payments) plus variable costs (food, transport, bills, leisure). With the example numbers: $1,450 + $900 = $2,350 a month.
- Your emergency fund. A number of months of those costs, kept in cash: 6 × $2,350 = $14,100. Cash you already have counts towards it; anything above it is a one-off amount free to invest ($20,000 − $14,100 = $5,900 in the example). If your cash is below the target, the gap is shown with the number of months the monthly amount needs to fill it.
- The amount free each month. Net income minus costs minus other goals you save for (a car, a holiday, a deposit): $3,500 − $2,350 − $100 = $1,050.
How big should an emergency fund be?
A common guideline is 3 to 6 months of costs. The case for the upper end, or more, is stronger when income is irregular (self-employed, commission, one earner in the household) or when a job would take long to replace; a smaller fund can be enough with a stable salary and two incomes. The point of the fund is practical: a car repair or a month without pay is paid from cash, so investments never have to be sold at a bad moment. It sits where it can be reached within days and does not fall in value: a savings account, a money market fund or short-term Treasury bills.
What money in a bank account at 0% loses
Cash does not fall in price, but inflation lowers what it buys. At 2.5% a year, prices rise by 28% in 10 years (1.025 to the power of 10 = 1.28), so money that earns nothing buys 22% less; after 30 years prices have risen by 110% and the same money buys 52% less. That is why the table under the calculator shows, next to the three rates, what the monthly amount kept at 0% is worth in today's money. The emergency fund is the part where safety matters more than growth; for the rest, the inflation calculator shows the loss for any rate and period.
What the three rates mean
The calculator shows the monthly amount at 3%, 5% and 7% a year, paid in at the end of every month, before costs and taxes. These are round numbers for an illustration, not a forecast and not what any investment will return. Real markets do not move in a straight line: a portfolio can fall for years before it recovers (the drawdown recovery calculator shows the maths), which is one more reason to have the emergency fund in place first. To try other rates and a starting amount, use the compound interest calculator; to see what a real mix of stocks, bonds and gold did, use the portfolio backtest.
Next steps
The calculator gives you the numbers; what to do with them is your decision. The savings rate calculator turns the monthly amount into the share of your income you invest, and the lesson Building and running your first portfolio goes from the emergency fund to a broker, a few ETFs and a short monthly routine.
Next to your monthly amount: real market numbers
- Drawdowns: the deepest falls and the days each took to recover
Frequently asked questions
How much should I have in an emergency fund?
A common guideline is 3 to 6 months of your costs, more if your income is irregular or you are the only earner. Add up fixed costs (housing, insurance, loans) and variable costs (food, transport, bills) for one month and multiply by the number of months: with $2,350 of costs a month, 6 months is $14,100. The calculator above does this and shows the gap to the cash you already have.
How much should I invest per month?
The arithmetic is: net income minus fixed and variable costs minus what you save for other goals. $3,500 of income, $2,350 of costs and $100 for goals leave $1,050 a month. Whether and how to invest that amount is your own decision; the calculator only shows what is free and what it could become at a few illustrative rates.
Should the emergency fund be full before I invest?
Many people fill the fund first, because then investments never have to be sold to pay a bill, often at a bad moment. The calculator shows how many months the monthly amount needs to fill the gap: a gap of $6,100 at $1,050 a month takes 6 months. Cash above the target is shown as a one-off amount free to invest.
Where should an emergency fund be kept?
Where it can be reached within days and does not fall in value: a savings account, a money market fund or short-term Treasury bills. Stocks and long-term bonds can be down just when the money is needed, which is why they are usually kept apart from the emergency fund.
How much does inflation take from cash that earns 0%?
At 2.5% inflation a year, prices rise by 28% in 10 years, so money at 0% buys 22% less; after 30 years it buys 52% less. $1,050 a month kept at 0% for 10 years adds up to $126,000, which buys what about $98,400 buys today.
What could $1,050 a month grow to?
Paid in at the end of every month, before costs and taxes: after 10 years about $146,000 at 3% a year, $162,000 at 5% and $180,000 at 7%; after 30 years about $608,000, $856,000 and $1.23 million. These rates are an illustration, not a forecast: real returns change from year to year and can be negative.
Is this calculator financial advice?
No. It is arithmetic on the numbers you enter, with stated assumptions. It does not know your situation, taxes or plans, and it does not say what to buy or how much to invest. Nothing you type is stored or sent.
Go deeper: in-depth guides
What max drawdown means, how to calculate it, the S&P 500's biggest drawdowns and recovery times, and why it is a better measure of risk than volatil…
Gold vs bonds: which protects a portfolio better in a crash?Gold rose 138% in 1973–74 when bonds failed, then fell 46% in 1980–82. Every big sell-off since 2007 and 150 years of data: when each hedge worked.
Stock market crashes in history: the biggest falls, rallies and flat decades of stocks, gold, bonds and cryptoThe worst crashes of the S&P 500, gold, bonds, Bitcoin, Ethereum and Solana since 1928: depth, speed, time underwater, the biggest rallies and flat d…
More calculators
Choose a mix of nine building blocks and see what it returned, how far it fell and how it did in 2008, 2020 and 2022.
How long will my money last? Calculator in years and monthsEnter your savings and what you spend per year: the first result is how long your money lasts, in years and months. $500,000 with $25,000 a year lasts 25 years and 7 months at a steady 5% return and 3% inflation; in real history since 1872 it lasted anywhere from 18 years to more than 40.
Dividend calculator: income per month, quarter and year$100,000 at a 3.5% dividend yield pays $3,500 a year, about $292 a month before tax. Enter your amount and the yield, or the share price and dividend per share of one stock: you get the income per month, quarter and year after tax, and how it grows.
DRIP calculator: dividend reinvestment plan, year by yearHow a dividend reinvestment plan (DRIP) grows your share count and your dividend income, year by year, compared with taking the cash.
Investment calculator: what a lump sum and monthly contributions grow to$10,000 plus $500 a month grows to about $590,600 in 25 years at 6% price growth and a 3% dividend yield, of which you paid in $160,000. Enter your own amounts and return to see the final value, the growth year by year and what reinvesting the dividends adds.
Safe withdrawal rate calculator: the 4% rule tested since 1872A 4% withdrawal from a 60/40 portfolio, raised with inflation every year, lasted 30 years in 124 of 125 retirements since 1872. Enter your portfolio, withdrawal, stock share and retirement length to see the success rate, the safe maximum and the worst start year for your own plan.
Inflation calculator: what your money will be worthSee what today's money buys in the future at a chosen inflation rate, how prices rise, and the return your savings need to stay ahead.
CAGR calculator: compound annual growth rateTurn a start value, an end value and a time span into the yearly growth rate that would have produced it, and compare two investments fairly.
Rule of 72 calculator: how long to double your moneyYears to double at a given return, the return needed to double in a given time, and the exact figure next to the rule-of-thumb.
Compound interest calculator: daily, monthly or yearly$10,000 at 5% compounded daily grows to $16,487 in 10 years and earns about $1.37 of interest on the first day. Enter your own amount, rate and years: you get the final balance, the interest per day, the effective annual rate (APY) and a year-by-year table, for daily, monthly or yearly compounding.
Savings rate & investing calculatorYour savings rate, what investing it could become, and your financial-independence number.
Drawdown recovery calculatorHow much gain — and how many years — it takes to recover from a loss.
S&P 500 calculator: what $10,000 invested in any year is worth todayWhat an amount invested in the S&P 500 in any year since 1872 became, with dividends and after inflation.
Start investing — learning pathEight short lessons from the first euro to a running portfolio.
Illustration only — not investment advice and not a forecast. Real returns vary from year to year and can be negative. Disclaimer.