The 50/30/20 rule is, in part, designed to help people have funds on hand for an emergency (as well as save money for retirement). The idea is that you spend 50% of your after-tax income on needs, 30% on wants, and 20% on savings. How much of that 20% you allocate to an emergency fund will depend on your own personal situation and your other savings goals.