Sizing starts with the right denominator: essential monthly expenses, the rent or mortgage, groceries, insurance, utilities, minimum debt payments, not gross income and not your full lifestyle spend, since discretionary spending compresses in a crisis. Three to six months of that number is the standard heuristic, and it is a heuristic, not a law. Dual incomes in stable fields can reasonably sit near the low end; a single earner, a commission-based income, a specialized job with a long re-hiring cycle, or a family with health issues justifies six months or more. Self-employed people often carry more still, because their income is the emergency.
Layers keep the fund from becoming dead weight, and keep the wrong bills from draining it. Underneath the fund sits a checking buffer of a few weeks of spending whose only job is timing: absorbing the mismatch between paydays and due dates so nothing overdrafts. Beside it sit sinking funds for predictable irregular costs like insurance premiums and car maintenance, so those stop masquerading as emergencies. The fund itself then tiers: roughly one month of essentials in savings at your everyday bank for instant access; the bulk in a high-yield savings account or money market fund earning meaningful interest; and, for larger funds, a third tier in Treasury bills or a short CD ladder, slightly less instant, slightly better or more tax-efficient yield. Deposits at FDIC-insured banks are protected up to $250,000 per depositor, per bank, per ownership category. Every tier stays boring on purpose; the stock market is where this money must never live, because emergencies and market drops like to travel together.
The sequencing question, save this first or attack high-interest debt, has a balanced answer. Carrying credit card debt while stockpiling six months of cash costs real money; carrying zero cash while attacking debt means the next surprise goes straight back on the card. The common middle path: build a starter fund of roughly one month of essentials, direct the firehose at high-interest debt, then finish the fund. Discipline about what counts as an emergency does the rest: sudden, necessary, and unavoidable qualifies; a sale on flights does not.
Retirees run a larger version of the same idea. Holding one to two years of planned withdrawals in cash means a market decline never forces selling investments at depressed prices: the defense against sequence of returns risk, where poor early-retirement returns combined with withdrawals do lasting damage. The mechanism is identical to the working-years fund: the cash buys time and removes the need for forced decisions.